From 5af481c9ac8951beb98d756ac8c06c4d7e27a1c8 Mon Sep 17 00:00:00 2001
From: hekaiyu <13673834656@163.com>
Date: Sun, 22 Jun 2025 11:37:51 +0800
Subject: [PATCH] =?UTF-8?q?=E7=BC=96=E7=9B=AE=E6=9F=A5=E8=AF=A2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/data/dataCataloguing.vue | 1 +
src/views/dataSearch/sourceDatabase/index.vue | 28 +++++++++++++++++++
2 files changed, 29 insertions(+)
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])