From 21c92f7c4b3c62455c21a0e8043866f61cb07d49 Mon Sep 17 00:00:00 2001 From: jinna Date: Fri, 13 Dec 2024 10:26:54 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=A1=B5=E9=9D=A2=EF=BC=8C?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E8=AE=BE=E5=A4=87=E5=AF=BC=E5=87=BA=E5=8A=9F?= =?UTF-8?q?=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/common.js | 9 + src/api/labManagement/task.js | 17 + src/assets/json/status.json | 25 +- src/page/index/top/index.vue | 8 +- src/page/index/top/top-notice.vue | 17 +- src/store/getters.js | 1 + src/store/modules/common.js | 6 + .../businessManagement/inspection/task.vue | 191 +++--- src/views/businessManagement/ordinary.vue | 95 +++ src/views/desk/message.vue | 21 +- .../labManagement/components/addDialog.vue | 560 +++++++++--------- src/views/operation/hand.vue | 41 +- 12 files changed, 580 insertions(+), 411 deletions(-) diff --git a/src/api/common.js b/src/api/common.js index 1328c34..1da6f98 100644 --- a/src/api/common.js +++ b/src/api/common.js @@ -13,3 +13,12 @@ export const exportBlob = (url, params) => { responseType: 'blob' }) } + +export const exportBlob1 = (url, params) => { + return request({ + url: url, + params: params, + method: 'post', + responseType: 'blob' + }) +} diff --git a/src/api/labManagement/task.js b/src/api/labManagement/task.js index 97088b1..04bb3df 100644 --- a/src/api/labManagement/task.js +++ b/src/api/labManagement/task.js @@ -95,3 +95,20 @@ export const customerRefuse = (data) =>{ }) } +export const updateSign = (data) =>{ + return request({ + url:'/api/lab-ops/maintenance/task-serviceman-update-sign', + method:'post', + data + }) +} + +// 设备导出 +export const exportDevice = (query) =>{ + return request({ + url:'/api/lab-ops/maintenance/task-detail-configuration', + method:'post', + params:query + }) +} + diff --git a/src/assets/json/status.json b/src/assets/json/status.json index bb13b4e..1b1d6e5 100644 --- a/src/assets/json/status.json +++ b/src/assets/json/status.json @@ -84,6 +84,12 @@ "status": 102, "color": "#f56c6c", "type": "danger" + }, + { + "name": "待评价", + "status": 20, + "color": "#67c23a", + "type": "success" } ], "1123598816738675201": [ @@ -170,6 +176,12 @@ "status": 102, "color": "#f56c6c", "type": "danger" + }, + { + "name": "维修完成", + "status": 20, + "color": "#67c23a", + "type": "success" } ], "1839536982874193922": [ @@ -250,6 +262,12 @@ "status": 102, "color": "#f56c6c", "type": "danger" + }, + { + "name": "维修完成", + "status": 20, + "color": "#67c23a", + "type": "success" } ], "1839537055389515777": [ @@ -318,8 +336,13 @@ "status": 102, "color": "#f56c6c", "type": "danger" + }, + { + "name": "维修完成", + "status": 20, + "color": "#67c23a", + "type": "success" } - ], "1839552581620793346": [ { diff --git a/src/page/index/top/index.vue b/src/page/index/top/index.vue index a3993fb..1c3293b 100644 --- a/src/page/index/top/index.vue +++ b/src/page/index/top/index.vue @@ -179,12 +179,12 @@ }], }, ] - } + }, + value:'' }; }, filters: {}, - created() { - }, + created() {}, mounted() { listenfullscreen(this.setScreen); }, @@ -207,7 +207,7 @@ "isCollapse", "tag", "logsLen", - "logsFlag" + "logsFlag", ]) }, methods: { diff --git a/src/page/index/top/top-notice.vue b/src/page/index/top/top-notice.vue index b5fbbf5..b298d64 100644 --- a/src/page/index/top/top-notice.vue +++ b/src/page/index/top/top-notice.vue @@ -1,6 +1,6 @@