From 3c510ea35b428feed7f7a1743a595e7dba634518 Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期三, 16 四月 2025 15:50:45 +0800
Subject: [PATCH] 网络分析仪数采配置

---
 src/views/CNAS/resourceDemand/device/component/management.vue |    4 +++-
 src/main.js                                                   |    2 +-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/main.js b/src/main.js
index 7d6ac6b..bc3eb07 100644
--- a/src/main.js
+++ b/src/main.js
@@ -66,7 +66,7 @@
 Vue.prototype.HaveJson = (val) => {
   return JSON.parse(JSON.stringify(val));
 };
-Vue.prototype.javaApi = "http://192.168.18.50:7002"; //娴嬭瘯搴擄細192.168.18.50:7002
+Vue.prototype.javaApi = "http://10.21.10.99:8088"; //娴嬭瘯搴擄細192.168.18.50:7002
 Vue.prototype.checkPermi = checkPermi;
 Vue.prototype.uploadHeader = {
   Authorization: "Bearer " + getToken(),
diff --git a/src/views/CNAS/resourceDemand/device/component/management.vue b/src/views/CNAS/resourceDemand/device/component/management.vue
index 61caf79..649138e 100644
--- a/src/views/CNAS/resourceDemand/device/component/management.vue
+++ b/src/views/CNAS/resourceDemand/device/component/management.vue
@@ -387,7 +387,7 @@
 				</el-row>
 			</span>
 		</el-dialog>
-		<dataAcquisitionConfig v-if="showData" :deviceId="deviceId" />
+		<dataAcquisitionConfig v-if="showData" :deviceId="deviceId" :deviceName="deviceName" />
 	</div>
 </template>
 
@@ -423,6 +423,7 @@
 			uploadAction: process.env.VUE_APP_BASE_API + '/deviceScope/importDevice',
 			dateFormat: 'yyyy-MM-dd',
 			deviceId: '',
+			deviceName: '',
 			fileTypeOptions: [
 				{ label: 'csv', value: '.csv' },
 				{ label: 'db', value: '.db' },
@@ -905,6 +906,7 @@
 			})
 			this.tableList = list2
 			this.deviceId = row.id
+			this.deviceName = row.deviceName
 			this.$nextTick(() => {
 				this.showData = true
 			})

--
Gitblit v1.9.3