diff --git a/public/config/project.config.json b/public/config/project.config.json
index f986319..1b2796d 100644
--- a/public/config/project.config.json
+++ b/public/config/project.config.json
@@ -2,7 +2,7 @@
"title": "管网运行监测系统",
"subtitle": "",
"theme":"blue",
- "baseUrl": "http://111.198.10.15:11309/",
+ "baseUrl": "https://38911d91v5.zicp.fun/",
"mainPage": "http://111.198.10.15:11404/dcms/#",
"singleSys": true,
"refreshType":"websocket",
diff --git a/public/config/project.config.json b/public/config/project.config.json
index f986319..1b2796d 100644
--- a/public/config/project.config.json
+++ b/public/config/project.config.json
@@ -2,7 +2,7 @@
"title": "管网运行监测系统",
"subtitle": "",
"theme":"blue",
- "baseUrl": "http://111.198.10.15:11309/",
+ "baseUrl": "https://38911d91v5.zicp.fun/",
"mainPage": "http://111.198.10.15:11404/dcms/#",
"singleSys": true,
"refreshType":"websocket",
diff --git a/src/api/device/deviceModel.js b/src/api/device/deviceModel.js
index 2eb93c8..1064968 100644
--- a/src/api/device/deviceModel.js
+++ b/src/api/device/deviceModel.js
@@ -7,7 +7,7 @@
// 设备型号名称
export function getDevice(params) {
return request({
- url: 'device/model',
+ url: 'device/type',
method: 'get',
params
})
@@ -44,7 +44,7 @@
url: 'deviceModels/delete',
method: 'post',
params: {
- ids: ids
+ deviceModelsId: ids
},
paramsSerializer: params => {
return qs.stringify(params, { indices: false })
diff --git a/public/config/project.config.json b/public/config/project.config.json
index f986319..1b2796d 100644
--- a/public/config/project.config.json
+++ b/public/config/project.config.json
@@ -2,7 +2,7 @@
"title": "管网运行监测系统",
"subtitle": "",
"theme":"blue",
- "baseUrl": "http://111.198.10.15:11309/",
+ "baseUrl": "https://38911d91v5.zicp.fun/",
"mainPage": "http://111.198.10.15:11404/dcms/#",
"singleSys": true,
"refreshType":"websocket",
diff --git a/src/api/device/deviceModel.js b/src/api/device/deviceModel.js
index 2eb93c8..1064968 100644
--- a/src/api/device/deviceModel.js
+++ b/src/api/device/deviceModel.js
@@ -7,7 +7,7 @@
// 设备型号名称
export function getDevice(params) {
return request({
- url: 'device/model',
+ url: 'device/type',
method: 'get',
params
})
@@ -44,7 +44,7 @@
url: 'deviceModels/delete',
method: 'post',
params: {
- ids: ids
+ deviceModelsId: ids
},
paramsSerializer: params => {
return qs.stringify(params, { indices: false })
diff --git a/src/api/well/well.js b/src/api/well/well.js
index c7beaa8..51aa8a0 100644
--- a/src/api/well/well.js
+++ b/src/api/well/well.js
@@ -32,6 +32,15 @@
})
}
+// 通讯方式
+export function communicationType(params) {
+ return request({
+ url: '/sys/dict/code/communicationType',
+ method: 'get',
+ params
+ })
+}
+
// 添加井
export function addWell(params) {
return request({
diff --git a/public/config/project.config.json b/public/config/project.config.json
index f986319..1b2796d 100644
--- a/public/config/project.config.json
+++ b/public/config/project.config.json
@@ -2,7 +2,7 @@
"title": "管网运行监测系统",
"subtitle": "",
"theme":"blue",
- "baseUrl": "http://111.198.10.15:11309/",
+ "baseUrl": "https://38911d91v5.zicp.fun/",
"mainPage": "http://111.198.10.15:11404/dcms/#",
"singleSys": true,
"refreshType":"websocket",
diff --git a/src/api/device/deviceModel.js b/src/api/device/deviceModel.js
index 2eb93c8..1064968 100644
--- a/src/api/device/deviceModel.js
+++ b/src/api/device/deviceModel.js
@@ -7,7 +7,7 @@
// 设备型号名称
export function getDevice(params) {
return request({
- url: 'device/model',
+ url: 'device/type',
method: 'get',
params
})
@@ -44,7 +44,7 @@
url: 'deviceModels/delete',
method: 'post',
params: {
- ids: ids
+ deviceModelsId: ids
},
paramsSerializer: params => {
return qs.stringify(params, { indices: false })
diff --git a/src/api/well/well.js b/src/api/well/well.js
index c7beaa8..51aa8a0 100644
--- a/src/api/well/well.js
+++ b/src/api/well/well.js
@@ -32,6 +32,15 @@
})
}
+// 通讯方式
+export function communicationType(params) {
+ return request({
+ url: '/sys/dict/code/communicationType',
+ method: 'get',
+ params
+ })
+}
+
// 添加井
export function addWell(params) {
return request({
diff --git a/src/views/deviceManage/deviceModel/components/editDeviceModel.vue b/src/views/deviceManage/deviceModel/components/editDeviceModel.vue
index 0ca37b4..fb76377 100644
--- a/src/views/deviceManage/deviceModel/components/editDeviceModel.vue
+++ b/src/views/deviceManage/deviceModel/components/editDeviceModel.vue
@@ -13,12 +13,21 @@
>