diff --git a/public/config/config.json b/public/config/config.json
index bbd1e3a..310124c 100644
--- a/public/config/config.json
+++ b/public/config/config.json
@@ -3,7 +3,7 @@
"baseUrl": "http://111.198.10.15:11643",
"securityJsCode": "56bf9671d4b3517d294caec4751889a1",
"JsKey": "40849e82b4e33f5255b17372520c954d",
- "xuntengMap": "http://localhost:8080/_allLayer/tile",
+ "xuntengMap": "http://111.198.10.15:11643/getMap?mapPath=http://172.17.206.70:20198/_allLayer/tile",
"version": "1.0.1",
"node": "16.18.1"
}
diff --git a/public/config/config.json b/public/config/config.json
index bbd1e3a..310124c 100644
--- a/public/config/config.json
+++ b/public/config/config.json
@@ -3,7 +3,7 @@
"baseUrl": "http://111.198.10.15:11643",
"securityJsCode": "56bf9671d4b3517d294caec4751889a1",
"JsKey": "40849e82b4e33f5255b17372520c954d",
- "xuntengMap": "http://localhost:8080/_allLayer/tile",
+ "xuntengMap": "http://111.198.10.15:11643/getMap?mapPath=http://172.17.206.70:20198/_allLayer/tile",
"version": "1.0.1",
"node": "16.18.1"
}
diff --git a/src/api/home/device/device.ts b/src/api/home/device/device.ts
index ba63678..fbfcf2d 100644
--- a/src/api/home/device/device.ts
+++ b/src/api/home/device/device.ts
@@ -128,3 +128,11 @@
responseType: 'blob',
})
}
+// 撤防/布防
+export function bfDevice(data: any) {
+ return request({
+ url: '/system/busDevice/bfcf',
+ method: 'post',
+ data,
+ })
+}
diff --git a/public/config/config.json b/public/config/config.json
index bbd1e3a..310124c 100644
--- a/public/config/config.json
+++ b/public/config/config.json
@@ -3,7 +3,7 @@
"baseUrl": "http://111.198.10.15:11643",
"securityJsCode": "56bf9671d4b3517d294caec4751889a1",
"JsKey": "40849e82b4e33f5255b17372520c954d",
- "xuntengMap": "http://localhost:8080/_allLayer/tile",
+ "xuntengMap": "http://111.198.10.15:11643/getMap?mapPath=http://172.17.206.70:20198/_allLayer/tile",
"version": "1.0.1",
"node": "16.18.1"
}
diff --git a/src/api/home/device/device.ts b/src/api/home/device/device.ts
index ba63678..fbfcf2d 100644
--- a/src/api/home/device/device.ts
+++ b/src/api/home/device/device.ts
@@ -128,3 +128,11 @@
responseType: 'blob',
})
}
+// 撤防/布防
+export function bfDevice(data: any) {
+ return request({
+ url: '/system/busDevice/bfcf',
+ method: 'post',
+ data,
+ })
+}
diff --git a/src/components/TableContainer/index.vue b/src/components/TableContainer/index.vue
index ff678cb..6e6af6a 100644
--- a/src/components/TableContainer/index.vue
+++ b/src/components/TableContainer/index.vue
@@ -73,7 +73,7 @@