管道基础大数据平台系统开发-【前端】-新系統界面
Surpriseplus
2023-02-28 0e2ff3e40f3412e8e8fa9546d54d97985faab68b
src/views/Archive/index.vue
@@ -161,7 +161,7 @@
              class="clearfix"
            >
              <span v-show="formInline.dataType=='type2'">
              <span v-show="formInline.dataType =='type2'">
                <span v-if="item.ismeta > 0">
                  <el-link
                    style="color: #409eff"
@@ -178,7 +178,7 @@
                  >{{ item.name }}</el-link></span>
                <span v-else>{{ item.name }}</span>
              </span>
              <span v-show="!formInline.dataType">{{item.tabDesc}}</span>
              <span v-show="formInline.dataType !='type2'">{{item.tabDesc}}</span>
              <div style="float: right; padding: 3px 0">
                <i
                  class="el-icon-tickets"
@@ -763,7 +763,7 @@
            align="center"
            prop="sizes"
            :label="$t('common.size')"
            :formatter="changeSizeFile"
            :formatter="stateFormatSizes"
          />
          <el-table-column
            align="center"
@@ -867,7 +867,7 @@
            align="center"
            prop="sizes"
            :label="$t('common.size')"
            :formatter="changeSizeFile"
            :formatter="stateFormatSizes"
          />
          <el-table-column
            align="center"
@@ -966,6 +966,7 @@
      }
    };
    return {
      fromSqlflag: false,
      filedsOption: [],
      condOption: [],
@@ -1063,6 +1064,9 @@
    this.signGetPublicKey();
  },
  methods: {
    getAttachTable() {
    },
    setRestMetaData() {
      this.fromQueryMeta.name = "";
      this.listMetaData.name = this.fromQueryMeta.name;
@@ -1391,15 +1395,21 @@
    },
    //重置
    setQuerAllTablesRefresh() {
      this.formInline = {
        fileName: "",//高级搜索
        dataType: "type2", //数据类型
        category: [], //查询类别,
        item: [],
        depcode: this.depOption[0].code,
        depName: this.depOption[0].name,
        keywords: '',
      }
      // this.formInline = {
      //   fileName: "",//高级搜索
      //   dataType: "type2", //数据类型
      //   category: [], //查询类别,
      //   item: [],
      //   depcode: null, //单位,
      //   depName: null,//单位,
      //   keywords: '',
      // }
      this.formInline.fileName = "";//高级搜索
      this.formInline.category = [];//高级搜索
      this.formInline.item = [];//高级搜索
      this.formInline.depcode = null;//高级搜索
      this.formInline.depName = null;//高级搜索
      this.formInline.keywords = "";//高级搜索
      this.getAllTabesData();
    },
    handleSelectionChange() {
@@ -1712,6 +1722,7 @@
    //查询文件数据
    async getQueryFileData() {
      this.listData.dirs = "";
      this.listData.count = 0;
      if (this.formInline.category.length != 0) {
        this.listData.dirs += this.formInline.category.toString();
      }
@@ -1722,7 +1733,7 @@
        this.listData.dirs += this.formInline.item.toString();
      }
      this.listData.depcode = this.formInline.depcode;
      this.listData.name = this.formInline.keywords;
      this.listData.tab = this.formInline.keywords;
      const data = await dataLib_selectByPageForMeta(this.listData);
      if (data.code != 200) {
        this.$message.error('文件数据列表调用失败');
@@ -1795,8 +1806,8 @@
        return this.$message.error('单位列表获取失败');
      }
      this.depOption = this.treeData(data.result);
      this.formInline.depcode = this.depOption[0].code
      this.formInline.depName = this.depOption[0].name;
      // this.formInline.depcode = this.depOption[0].code
      // this.formInline.depName = this.depOption[0].name;
      this.getAllTabesData();
    },
    //树列表生成