From db2e18aa67c70db7ff4752e2d3468eed04a8b84f Mon Sep 17 00:00:00 2001 From: wangchengming <15110151257@163.com> Date: Sat, 21 Jun 2025 21:19:59 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/data/modules/editdataseach.vue | 12 +- src/views/data/modules/exptable.vue | 10 +- src/views/data/modules/tablelist.vue | 11 +- .../dataSearch/applicationlibrary/index.vue | 10 +- .../dataSearch/integrationlibrary/index.vue | 680 +++++++++-------- src/views/dataSearch/sourceDatabase/index.vue | 681 ++++++++++-------- 6 files changed, 783 insertions(+), 621 deletions(-) diff --git a/src/views/data/modules/editdataseach.vue b/src/views/data/modules/editdataseach.vue index cf60359..0018f14 100644 --- a/src/views/data/modules/editdataseach.vue +++ b/src/views/data/modules/editdataseach.vue @@ -40,18 +40,25 @@ export default { submitForm: { schemaMass: null, tableName: null, - fieldValues: null + fieldValues: null, + sourceType: null, + mdl: null, + hn: null } } }, created() { }, methods: { - initForm(schemaMass, tableName, columns, record) { + initForm(schemaMass, tableName, columns, record, sourceType, mdl, hn) { + console.log('接收', sourceType) this.visible = true; this.nodes = columns this.submitForm.schemaMass = schemaMass this.submitForm.tableName = tableName + this.submitForm.sourceType = sourceType + this.submitForm.mdl = mdl + this.submitForm.hn = hn this.form = record }, close() { @@ -64,6 +71,7 @@ export default { if (valid) { that.confirmLoading = true; that.submitForm.fieldValues = that.form + updateDmTableBySeqNo(that.submitForm).then((res) => { if (res.success) { that.$message.success(res.message); diff --git a/src/views/data/modules/exptable.vue b/src/views/data/modules/exptable.vue index cb2a861..87bafe3 100644 --- a/src/views/data/modules/exptable.vue +++ b/src/views/data/modules/exptable.vue @@ -50,7 +50,10 @@ import {getAction} from '@/api/manage' title:"导出日志", visible: false, confirmLoading: false, + sourceType: null, schemaMass:null, + mdl: null, + hn: null, dataSource:[], selectedRowKeys: [], columns: [ @@ -115,13 +118,16 @@ import {getAction} from '@/api/manage' }, methods: { - add (schemaMass) { + add (sourceType, schemaMass, mdl, hn) { this.visible =true; + this.sourceType = sourceType; this.schemaMass = schemaMass; + this.mdl = mdl; + this.hn = hn; this.getTableInfo(); }, getTableInfo(){ - getAction("/dataManager/DmExportLog?schemaMass="+this.schemaMass,{}).then(res => { + getAction("/dataManager/DmExportLog?schemaMass="+this.schemaMass + '&mdl='+ this.mdl + '&hn=' + this.hn + '&sourceType='+this.sourceType,{}).then(res => { if (res.code == 200) { this.dataSource = res.result console.log(this.dataSource) diff --git a/src/views/data/modules/tablelist.vue b/src/views/data/modules/tablelist.vue index 09504a0..856f623 100644 --- a/src/views/data/modules/tablelist.vue +++ b/src/views/data/modules/tablelist.vue @@ -46,9 +46,11 @@ import { metaDataTypeTree } from '@/api/metaData' visible: false, confirmLoading: false, queryParam: { - sourceType: 2, + sourceType: null, schemaMass: null, - massKey: null + massKey: null, + mdl: null, + hn: null }, dataSource:[], selectedRowKeys: [], @@ -80,9 +82,12 @@ import { metaDataTypeTree } from '@/api/metaData' }, methods: { - add (schemaMass) { + add (sourceType, schemaMass, mdl, hn) { this.visible =true; + this.queryParam.sourceType = sourceType; this.queryParam.schemaMass = schemaMass; + this.queryParam.mdl = mdl; + this.queryParam.hn = hn; this.getTableInfo(); }, getTableInfo(){ diff --git a/src/views/dataSearch/applicationlibrary/index.vue b/src/views/dataSearch/applicationlibrary/index.vue index 1a8694b..fe0f7d8 100644 --- a/src/views/dataSearch/applicationlibrary/index.vue +++ b/src/views/dataSearch/applicationlibrary/index.vue @@ -47,9 +47,9 @@ 查询  - 导出dmp  + @@ -192,9 +192,9 @@ export default { getselect() { getAction("/dataType/getExistingDataTypes", {}).then((res) => { if (res.success) { - this.dataTypedataSources = res.result.result.DATA_CONN_STANDARD - if (res.result.result.DATA_CONN_STANDARD.length > 0) { - this.queryParam.schemaMass = res.result.result.DATA_CONN_STANDARD[0].cnName + this.dataTypedataSources = res.result.result.special + if (res.result.result.special.length > 0) { + this.queryParam.schemaMass = res.result.result.special[0].cnName } this.getMetaDataTypeTree(); } else { diff --git a/src/views/dataSearch/integrationlibrary/index.vue b/src/views/dataSearch/integrationlibrary/index.vue index 1a8694b..35e8ebe 100644 --- a/src/views/dataSearch/integrationlibrary/index.vue +++ b/src/views/dataSearch/integrationlibrary/index.vue @@ -1,88 +1,109 @@ \ No newline at end of file diff --git a/src/views/dataSearch/sourceDatabase/index.vue b/src/views/dataSearch/sourceDatabase/index.vue index 2010372..80f02d6 100644 --- a/src/views/dataSearch/sourceDatabase/index.vue +++ b/src/views/dataSearch/sourceDatabase/index.vue @@ -1,88 +1,109 @@ \ No newline at end of file