From 9334a78e7a7d06e3fd0fc2feff9aa5d646df27f7 Mon Sep 17 00:00:00 2001 From: yaowanxin <3588231647@qq.com> Date: 星期六, 19 七月 2025 10:24:57 +0800 Subject: [PATCH] 数据显示,数量 --- src/views/CNAS/resourceDemand/device/component/acquisitionConfig.vue | 23 +++++++++++++++++++---- 1 files changed, 19 insertions(+), 4 deletions(-) diff --git a/src/views/CNAS/resourceDemand/device/component/acquisitionConfig.vue b/src/views/CNAS/resourceDemand/device/component/acquisitionConfig.vue index 1bbe52c..23a9e18 100644 --- a/src/views/CNAS/resourceDemand/device/component/acquisitionConfig.vue +++ b/src/views/CNAS/resourceDemand/device/component/acquisitionConfig.vue @@ -150,6 +150,14 @@ <div class="search_label">鏂囦欢鍚嶇О锛�</div> <el-input size="small" placeholder="璇疯緭鍏�" clearable v-model="configForm.dbFileName"></el-input> </div> + <div class="search_thing" style="margin-bottom: 14px;"> + <div class="search_label">鏁版嵁搴撹处鍙凤細</div> + <el-input size="small" placeholder="璇疯緭鍏�" clearable v-model="configForm.dbUserName"></el-input> + </div> + <div class="search_thing" style="margin-bottom: 14px;"> + <div class="search_label">鏁版嵁搴撳瘑鐮侊細</div> + <el-input size="small" placeholder="璇疯緭鍏�" clearable v-model="configForm.dbPassword"></el-input> + </div> <span slot="footer" class="dialog-footer"> <el-row> <el-button @click="dialogVisible4 = false">鍙� 娑�</el-button> @@ -234,7 +242,9 @@ entrustCode: "", sampleCode: "", dbFileName: "", - fiberOpticRibbon: "" + fiberOpticRibbon: "", + dbUserName: "", + dbPassword: "" }, domains: [ { @@ -254,6 +264,7 @@ { label: "mdb", value: ".mdb" }, { label: "word", value: ".docx" }, { label: "excel", value: ".xlsx" }, + { label: "excel", value: ".xls" }, { label: "txt", value: ".txt" }, { label: "png", value: ".png" } ], @@ -404,7 +415,9 @@ this.$set(this.configForm, "entrustCode", res.data.entrustCode); this.$set(this.configForm, "sampleCode", res.data.sampleCode); this.$set(this.configForm, "dbFileName", res.data.dbFileName); - this.$set(this.configForm, "fiberOpticRibbon", res.data.fiberOpticRibbon) + this.$set(this.configForm, "fiberOpticRibbon", res.data.fiberOpticRibbon); + this.$set(this.configForm, "dbUserName", res.data.dbUserName); + this.$set(this.configForm, "dbPassword", res.data.dbPassword) }) }, // 鎻愪氦鏂囦欢閰嶇疆 @@ -418,7 +431,9 @@ entrustCode: this.configForm.entrustCode, sampleCode: this.configForm.sampleCode, dbFileName: this.configForm.dbFileName, - fiberOpticRibbon: this.configForm.fiberOpticRibbon + fiberOpticRibbon: this.configForm.fiberOpticRibbon, + dbUserName: this.configForm.dbUserName, + dbPassword: this.configForm.dbPassword }); this.upLoad4 = true; saveDeviceFileConfiguration({ deviceId: this.deviceId, ...obj }).then(res => { @@ -603,7 +618,7 @@ } .search_thing { - width: 350px; + width: 370px; display: flex; align-items: center; } -- Gitblit v1.9.3