diff --git a/src/views/data/dataCataloguing.vue b/src/views/data/dataCataloguing.vue
index ff932e5..5ba709e 100644
--- a/src/views/data/dataCataloguing.vue
+++ b/src/views/data/dataCataloguing.vue
@@ -333,6 +333,7 @@ export default {
},
gettagTables() {
this.tagloading = true;
+ this.queryParam.tagId = this.queryRefsParam.tagId
getTableTagRefs(this.queryRefsParam).then((res) => {
if (res.success) {
this.dataRefsSources = res.result;
diff --git a/src/views/dataSearch/sourceDatabase/index.vue b/src/views/dataSearch/sourceDatabase/index.vue
index fd7b304..ea5539d 100644
--- a/src/views/dataSearch/sourceDatabase/index.vue
+++ b/src/views/dataSearch/sourceDatabase/index.vue
@@ -58,6 +58,15 @@
format="YYYY-MM-DD HH:mm:ss" @change="onChangeTime" />
+
+
+
+
+ {{ d.tagName }}
+
+
+
+
@@ -113,6 +122,7 @@ import moment from 'moment';
import tablelist from '../../data/modules/tablelist.vue'
import exptable from '../../data/modules/exptable.vue'
import editdataseach from '../../data/modules/editdataseach.vue'
+import {idcTableTaglist} from "@api/tag";
export default {
name: "metadata",
@@ -141,6 +151,7 @@ export default {
// 查询条件
queryParam: {
sourceType: 1,
+ tagId: null,
massKey: null,
mdl: null, // 型号
hn: null, // 舷号
@@ -151,12 +162,18 @@ export default {
pageSize: 10,
pageNum: 1
},
+ tagqueryParam: {
+ pageNum: 1,
+ pageSize: 20,
+ tagName: ""
+ },
treeDate: [],
dataSource: [],
columns: [],
dataTypeList: [],
shipModel: [],
shipNumber: [],
+ datatagSources: [],
existingDataTypes: {},
treeHeight: 0
}
@@ -176,6 +193,7 @@ export default {
created() {
this.getselect()
this.queryAllTask()
+ this.getdatatagSources()
// this.initDate()
},
methods: {
@@ -217,6 +235,16 @@ export default {
option.componentOptions.children[0].text.toLowerCase().indexOf(input.toLowerCase()) >= 0
);
},
+ getdatatagSources() {
+ idcTableTaglist(this.tagqueryParam).then((res) => {
+ if (res.success) {
+ this.datatagSources = res.result.records;
+ this.queryParam.tagId = res.result.records[0].id;
+ } else {
+ this.$message.warning(res.message);
+ }
+ });
+ },
changeshipModel(value) {
this.queryParam.shipModel = value
var number = Object.keys(this.existingDataTypes[value])