Commit 222ed32b by 刘泽志

相同字段查询

parent 276e7e88
......@@ -505,6 +505,20 @@
<el-table-column align="center" label="字段类型" prop="fieldType" show-overflow-tooltip/>
</el-table>
</el-dialog>
<!-- 相同字段 -->
<el-dialog :visible.sync="sameFieldDialog.show" append-to-body close-on-click-modal title="相同字段整理"
width="80%"
>
<el-table :data="sameFieldDialog.list"
border height="500px" max-height="500px" stripe
>
<el-table-column align="center" label="代码" prop="code" show-overflow-tooltip/>
<el-table-column align="center" label="指标名称" prop="title" show-overflow-tooltip/>
<el-table-column align="center" label="字段名称" prop="fieldName" show-overflow-tooltip/>
<el-table-column align="center" label="字段类型" prop="fieldType" show-overflow-tooltip/>
<el-table-column align="center" label="字段备注" prop="fieldComment" show-overflow-tooltip/>
</el-table>
</el-dialog>
</div>
</template>
......@@ -628,6 +642,10 @@ export default {
list: [],
checked:[]
},
sameFieldDialog:{ // 相同字段列表
show: false,
list:[],
},
importLoading: false, // 导入数据loading
queryTemplateLoading: false, // 模板查询loading
queryTableLoading: false, // 查询数据表loading
......@@ -1573,7 +1591,8 @@ export default {
if (!res.data || res.data.length === 0){
this.$message.success("无重复字段,可建表")
}else {
this.sameFieldDialog.list = res.data
this.sameFieldDialog.show = true
}
})
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment