From c733b4fc98e348f4f60f71a291c3acfa6d7d4ce9 Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期四, 24 四月 2025 10:38:59 +0800
Subject: [PATCH] 网分仪调整
---
src/views/CNAS/resourceDemand/device/component/acquisitionConfig.vue | 47 +++++++++++++++++++++++++----------------------
1 files changed, 25 insertions(+), 22 deletions(-)
diff --git a/src/views/CNAS/resourceDemand/device/component/acquisitionConfig.vue b/src/views/CNAS/resourceDemand/device/component/acquisitionConfig.vue
index ffc8f3f..eb3fe36 100644
--- a/src/views/CNAS/resourceDemand/device/component/acquisitionConfig.vue
+++ b/src/views/CNAS/resourceDemand/device/component/acquisitionConfig.vue
@@ -148,7 +148,7 @@
</div>
<el-input size="small" placeholder="璇疯緭鍏�" clearable v-model="configForm.collectUrl"></el-input>
</div>
- <div class="search_thing" style="margin-bottom: 14px;" v-if="deviceName && deviceName.includes('缃戠粶鍒嗘瀽')">
+ <!-- <div class="search_thing" style="margin-bottom: 14px;" v-if="deviceName && deviceName.includes('缃戠粶鍒嗘瀽')">
<div class="search_label" style="width: 130px;">
<span style="color:red;margin-right: 4px;">*</span>缃戝垎浠噰闆嗛�氶亾锛�
</div>
@@ -156,7 +156,7 @@
<el-option v-for="(item, index) in channelList" :key="index" :label="item" :value="item">
</el-option>
</el-select>
- </div>
+ </div> -->
<div class="search_thing" style="margin-bottom: 14px;" v-if="deviceName && !deviceName.includes('缃戠粶鍒嗘瀽')">
<div class="search_label">鍌ㄥ瓨鍦板潃锛�</div>
<el-input size="small" placeholder="璇疯緭鍏�" clearable v-model="configForm.storageUrl"></el-input>
@@ -300,7 +300,10 @@
{ label: "word", value: ".docx" },
{ label: "excel", value: ".xlsx" },
{ label: "txt", value: ".txt" },
- { label: "png", value: ".png" }
+ { label: "png", value: ".png" },
+ { label: "et", value: ".et" },
+ { label: "xls", value: ".xls" },
+ { label: "pdf", value: ".pdf" }
],
spanList: [],
specialSpanList: [],
@@ -452,9 +455,9 @@
this.tableList[0].fiberOpticRibbon
)
this.$set(this.configForm, "port", this.tableList[0].port);
- let arr = this.tableList[0].channel ? this.tableList[0].channel.split(',') : []
- this.$set(this.configForm, "channel", arr);
- this.channelList = arr
+ // let arr = this.tableList[0].channel ? this.tableList[0].channel.split(',') : []
+ // this.$set(this.configForm, "channel", arr);
+ // this.channelList = arr
}
},
init() {
@@ -511,18 +514,18 @@
"fiberOpticRibbon",
this.tableList[0].fiberOpticRibbon
)
- let arr = this.tableList[0].channel ? this.tableList[0].channel.split(',') : []
- this.$set(
- this.configForm,
- "channel",
- arr
- )
- this.$set(
- this.configForm,
- "port",
- this.tableList[0].port
- )
- this.channelList = arr;
+ // let arr = this.tableList[0].channel ? this.tableList[0].channel.split(',') : []
+ // this.$set(
+ // this.configForm,
+ // "channel",
+ // arr
+ // )
+ // this.$set(
+ // this.configForm,
+ // "port",
+ // this.tableList[0].port
+ // )
+ // this.channelList = arr;
}
// 涓�鑸殑鍚堝苟琛�
if (
@@ -579,15 +582,15 @@
dbFileName: this.configForm.dbFileName,
fiberOpticRibbon: this.configForm.fiberOpticRibbon,
port: this.configForm.port,
- channel: this.configForm.channel
+ // channel: this.configForm.channel
});
if (this.deviceName && this.deviceName.includes('缃戠粶鍒嗘瀽')) {
if (!this.configForm.port) {
return this.$message.error("璇峰~鍐欑鍙�");
}
- if (!this.configForm.channel || !this.configForm.channel.length) {
- return this.$message.error("璇峰~鍐欑綉鍒嗕华閲囬泦閫氶亾");
- }
+ // if (!this.configForm.channel || !this.configForm.channel.length) {
+ // return this.$message.error("璇峰~鍐欑綉鍒嗕华閲囬泦閫氶亾");
+ // }
}
this.upLoad4 = true;
saveDataAcquisitionConfiguration({ deviceId: this.deviceId, ...obj }).then(res => {
--
Gitblit v1.9.3