管道基础大数据平台系统开发-【前端】-新系統界面
Surpriseplus
2022-12-14 ea52386a7c7b3ef91784280e3033f190ac39caee
src/views/datamanage/metadataManage.vue
@@ -330,7 +330,7 @@
            border
          style="width: 100%"
          >
            <el-table-column width="60" type="index" :label="$t('common.index')" />
            <el-table-column width="60"  align="center" type="index" :label="$t('common.index')" />
            <el-table-column
              v-for="(item, index) in attributeData"
              :key="index"
@@ -338,6 +338,7 @@
              :prop="item.field"
              show-overflow-tooltip
              align="center"
            ></el-table-column>
          </el-table>
            <div style="margin-top: 10px" class="pagination_box">
@@ -514,11 +515,14 @@
        ns:val[0],
        tab:val[1]
      })
      if(data.code != 200){
          this.$message.error('字段列表调用失败');
        return
      }
      this.dialogVisible = true;
      this.attributeData =data.result;
@@ -536,6 +540,22 @@
          this.$message.error('字段列表调用失败');
        return
      }
      debugger
      var option = data1.result;
      for (var i in option) {
        option[i].dirid = option[i].dirName;
        option[i].depid = option[i].depName;
        option[i].createuser = option[i].createName;
        option[i].updateuser = option[i].updateName;
        option[i].verid = option[i].verName;
        if (option[i].createtime != null) {
          option[i].createtime = this.setInfoBoxTime(option[i].createtime)
        }
        if (option[i].updatetime != null) {
          option[i].updatetime = this.setInfoBoxTime(option[i].updatetime)
        }
      }
 this.dbTableData =data1.result;
 this.count1 = data1.count;
    },