From 65b215c6a8120be84273acc659533f08d1562b4a Mon Sep 17 00:00:00 2001 From: RenCheng Date: Sun, 25 May 2025 23:11:56 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=BC=96=E8=BE=91=E7=8A=B6?= =?UTF-8?q?=E6=80=81=E8=BF=98=E5=8E=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/datalink/modules/creatdblink.vue | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/views/datalink/modules/creatdblink.vue b/src/views/datalink/modules/creatdblink.vue index 4c9b372..3264f9f 100644 --- a/src/views/datalink/modules/creatdblink.vue +++ b/src/views/datalink/modules/creatdblink.vue @@ -226,8 +226,10 @@ import { datasyncqueryPage, add () { this.visible =true; this.recordId = ''; - this.testConnBool = false, + this.testConnBool = false; this.getselect(); + this.selectDataBase = true; + this.createSchemaboll = true; let model = {}; model.ip = ""; model.port = 0; @@ -248,6 +250,9 @@ import { datasyncqueryPage, this.model = Object.assign({},record); this.getselect(); this.recordId = record.id; + this.selectDataBase = true; + this.createSchemaboll = true; + this.testConnBool = false; datasyncqueryById({id:record.id}).then((res) => { if (res.success) { let model = {}; @@ -347,7 +352,7 @@ import { datasyncqueryPage, var that = this; if (!err) { that.confirmLoading = true; - datasynccreateSchema({shipModelId:this.datamodel.shipModel,shipNumId:this.datamodel.shipNum,dataTypeId:this.datamodel.dataType}).then((res) => { + datasynccreateSchema({shipModelId:this.datamodel.shipModel,shipNumId:this.datamodel.shipNum,dataTypeId:this.datamodel.dataType, dbType:this.datamodel.dbType}).then((res) => { if (res.success) { this.createSchemaboll =false; } else {