管道基础大数据平台系统开发-【前端】-新系統界面
xing
2023-02-26 ca1adeef650c8d07fa8024fcf16f231eb88704df
src/views/datamanage/metadataManage.vue
@@ -109,7 +109,8 @@
                icon="el-icon-refresh"
                type="info"
                size="small"
                >{{ $t("common.reset") }}</el-button
              >{{ $t("common.reset") }}
              </el-button
              >
            </el-form-item>
            <el-form-item>
@@ -118,7 +119,8 @@
                icon="el-icon-search"
                class="primary"
                size="small"
                >{{ $t("common.iquery") }}</el-button
              >{{ $t("common.iquery") }}
              </el-button
              >
            </el-form-item>
            <el-form-item v-if="btnStatus.delete">
@@ -127,7 +129,8 @@
                size="small"
                @click="deleteMetaInfo"
                icon="el-icon-delete"
                >{{ $t("common.delete") }}</el-button
              >{{ $t("common.delete") }}
              </el-button
              >
            </el-form-item>
            <el-form-item v-if="btnStatus.download">
@@ -136,7 +139,8 @@
                icon="el-icon-download"
                type="success"
                size="small"
                >{{ $t("common.download") }}</el-button
              >{{ $t("common.download") }}
              </el-button
              >
            </el-form-item>
          </div>
@@ -263,7 +267,8 @@
              type="primary"
              plain
              size="small"
              >{{ $t("common.details") }}</el-button
            >{{ $t("common.details") }}
            </el-button
            >
            <el-button
              type="warning"
@@ -272,7 +277,8 @@
              v-if="btnStatus.update"
              @click="editInfo(scope.row)"
              style="margin-left: 10px"
              >{{ $t("common.edit") }}</el-button
            >{{ $t("common.edit") }}
            </el-button
            >
          </template>
        </el-table-column>
@@ -449,25 +455,29 @@
      <div v-if="behavior == '修改信息'" slot="footer" class="dialog-footer">
        <el-button size="small" @click="cancelEdit()">{{
          $t("common.reset")
        }}</el-button>
          }}
        </el-button>
        <el-button
          size="small"
          type="primary"
          @click="sendEdit('editForm')"
          v-loading.fullscreen.lock="fullscreenLoading"
          >{{ $t("common.submit") }}</el-button
        >{{ $t("common.submit") }}
        </el-button
        >
      </div>
      <div v-else slot="footer" class="dialog-footer">
        <el-button size="small" @click="cancelAdd('editForm')">{{
          $t("common.reset")
        }}</el-button>
          }}
        </el-button>
        <el-button
          size="small"
          type="primary"
          @click="sendAdd('editForm')"
          v-loading.fullscreen.lock="fullscreenLoading"
          >{{ $t("common.submit") }}</el-button
        >{{ $t("common.submit") }}
        </el-button
        >
      </div>
    </el-dialog>
@@ -541,11 +551,13 @@
            class="primary"
            size="small"
            @click="download('codeForm')"
            >{{ $t("common.confirm") }}</el-button
          >{{ $t("common.confirm") }}
          </el-button
          >
          <el-button type="info" size="small" @click="closeDown('codeForm')">{{
            $t("common.cancel")
          }}</el-button>
            }}
          </el-button>
        </el-form-item>
      </el-form>
    </div>
@@ -562,10 +574,12 @@
          <el-form-item>
            <el-button type="primary" size="small" @click="setSearchMetaData()"
              >查询</el-button
            >查询
            </el-button
            >
            <el-button type="info" size="small" @click="setRestMetaData()"
              >重置</el-button
            >重置
            </el-button
            >
          </el-form-item>
        </el-form>
@@ -663,24 +677,23 @@
import $ from "jquery";
import { getToken } from "@/utils/auth";
import {
  select_meta_ByPageAndCount,
  // queryDataCount,
  updateMeta,
  deleteMeta,
  insertMeta,
  selectDictTab,
  selectdirTab,
  selectdepTab,
  meta_downloadReq,
  sign_getPublicKey,
  meta_selectByPageForUpload,
  meta_selectDownloadFile,
  meta_selectFields,
  meta_selectByPageForUpload,
  meta_selectVerByDirid,
  meta_selectPageAndCountByPid,
  meta_selectVerByDirid,
  select_meta_ByPageAndCount,
  selectdepTab,
  selectdirTab,
  sign_getPublicKey,
  updateMeta,
} from "../../api/api";
import MyBread from "../../components/MyBread.vue";
export default {
  name: "metadataManage",
  components: { MyBread },
@@ -1278,7 +1291,8 @@
          this.editForm = {};
          done();
        })
        .catch((_) => {});
          .catch((_) => {
          });
    },
    // 提交修改
@@ -1417,6 +1431,7 @@
    display: block;
    margin-left: 10px; //这个用于圆点居中
  }
  .downloadBox {
    position: absolute;
    top: 20%;