diff --git a/src/api/order.js b/src/api/order.js index 85ddb4b..2b6dc59 100644 --- a/src/api/order.js +++ b/src/api/order.js @@ -165,3 +165,39 @@ params: { id }, }); } + +// business/workOrder/queryWorkOrderCallConfig +export function queryWorkOrderCallConfig() { + return request({ + url: '/business/workOrder/queryWorkOrderCallConfig', + method: 'get', + }); +} + +// business/workOrder/updateWorkOrderCallConfig?autoOrderFlag=1 +export function updateWorkOrderCallConfig(data) { + return request({ + url: '/business/workOrder/updateWorkOrderCallConfig', + headers: { 'Content-Type': 'multipart/form-data' }, + method: 'put', + data, + }); +} + +// business/commonWarning/queryOfflineWarnConfig +export function queryOfflineWarnConfig() { + return request({ + url: '/business/commonWarning/queryOfflineWarnConfig', + method: 'get', + }); +} + +// /business/commonWarning/updateOfflineWarnConfig +export function updateOfflineWarnConfig(data) { + return request({ + url: '/business/commonWarning/updateOfflineWarnConfig', + headers: { 'Content-Type': 'multipart/form-data' }, + method: 'put', + data, + }); +} diff --git a/src/api/order.js b/src/api/order.js index 85ddb4b..2b6dc59 100644 --- a/src/api/order.js +++ b/src/api/order.js @@ -165,3 +165,39 @@ params: { id }, }); } + +// business/workOrder/queryWorkOrderCallConfig +export function queryWorkOrderCallConfig() { + return request({ + url: '/business/workOrder/queryWorkOrderCallConfig', + method: 'get', + }); +} + +// business/workOrder/updateWorkOrderCallConfig?autoOrderFlag=1 +export function updateWorkOrderCallConfig(data) { + return request({ + url: '/business/workOrder/updateWorkOrderCallConfig', + headers: { 'Content-Type': 'multipart/form-data' }, + method: 'put', + data, + }); +} + +// business/commonWarning/queryOfflineWarnConfig +export function queryOfflineWarnConfig() { + return request({ + url: '/business/commonWarning/queryOfflineWarnConfig', + method: 'get', + }); +} + +// /business/commonWarning/updateOfflineWarnConfig +export function updateOfflineWarnConfig(data) { + return request({ + url: '/business/commonWarning/updateOfflineWarnConfig', + headers: { 'Content-Type': 'multipart/form-data' }, + method: 'put', + data, + }); +} diff --git a/src/views/order/debugging/index.vue b/src/views/order/debugging/index.vue index ef217b2..e8b72f3 100644 --- a/src/views/order/debugging/index.vue +++ b/src/views/order/debugging/index.vue @@ -4,17 +4,45 @@ 触发排水工单 触发燃气工单 -
+
自动转工单: - + +
+
+ 离线生成报警: +