From 375823ecac7cab77ed8854bfd66fe51216a1f77d Mon Sep 17 00:00:00 2001 From: chenze <1824191732@qq.com> Date: Thu, 29 Aug 2024 13:36:34 +0800 Subject: [PATCH 1/7] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BA=86=E6=96=B0?= =?UTF-8?q?=E5=A2=9E=E5=B7=A5=E5=8D=95=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/admin/repair.js | 2 +- src/views/admin/RepairList.vue | 80 +++++++++++++++---- src/views/admin/RepairView.vue | 6 -- src/views/admin/modules/RepairModal.vue | 20 +++-- .../repair/modules/RepairFailureTypeModal.vue | 1 + 5 files changed, 79 insertions(+), 30 deletions(-) diff --git a/src/api/admin/repair.js b/src/api/admin/repair.js index 161eece..f585004 100644 --- a/src/api/admin/repair.js +++ b/src/api/admin/repair.js @@ -58,7 +58,7 @@ export function complete (parameter) { export function delRepair (parameter) { return axios({ - url: api.repair + '/remove', + url: api.repair + '/delete', method: 'post', params: parameter }) diff --git a/src/views/admin/RepairList.vue b/src/views/admin/RepairList.vue index e2abc24..1dcfb7a 100644 --- a/src/views/admin/RepairList.vue +++ b/src/views/admin/RepairList.vue @@ -3,15 +3,31 @@
+ + + + + - + + + + {{ item.label }} + + + + + + + {{ item.name }} @@ -56,7 +72,7 @@ - 查询 + 查询 重置 导出工单模版 导入 @@ -90,8 +106,12 @@ 详情 - - + + + 编辑 + + + 删除 @@ -114,8 +134,8 @@ From 31fa901fe540eb9208e346a56c7c5a8ba4d394f7 Mon Sep 17 00:00:00 2001 From: SelfRidicule Date: Thu, 29 Aug 2024 17:35:04 +0800 Subject: [PATCH 6/7] =?UTF-8?q?=E6=8F=8F=E8=BF=B0=EF=BC=9A=E6=8A=A5?= =?UTF-8?q?=E4=BF=AE=E7=BB=9F=E8=AE=A1=E5=9B=BE=E6=A0=87=E5=A4=A7=E5=B0=8F?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/admin/repair/RepairStatistics.vue | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/views/admin/repair/RepairStatistics.vue b/src/views/admin/repair/RepairStatistics.vue index 1d7baf4..602c1ad 100644 --- a/src/views/admin/repair/RepairStatistics.vue +++ b/src/views/admin/repair/RepairStatistics.vue @@ -4,27 +4,27 @@
+ :style="{'background' : `no-repeat center/60px 60px url(${baseUrl + '/img/paidan.png'}), white`}">
待派单
{{ adminStatsCount.wait }}
+ :style="{'background' : `no-repeat center/60px 60px url(${baseUrl + '/img/paidanjump.png'}), white`}">
重派单
{{ adminStatsCount.anew }}
+ :style="{'background' : `no-repeat center/60px 60px url(${baseUrl + '/img/time.png'}), white`}">
未查看通知
{{ adminStatsCount.newnotice }}
+ :style="{'background' : `no-repeat center/60px 60px url(${baseUrl + '/img/info.png'}), white`}">
已查看通知
{{ adminStatsCount.oldnotice }}
@@ -38,7 +38,7 @@
-
+
维修工单
{{ repairStatsCount.zs }}
@@ -46,19 +46,19 @@
处理中工单
{{ repairStatsCount.wait }}
-
+
超时量
{{ repairStatsCount.timeout }}
-
+
差评量
{{ repairStatsCount.l }}
-
+
中评量
{{ repairStatsCount.m }}
-
+
好评量
{{ repairStatsCount.h }}
@@ -278,7 +278,7 @@ export default { }, // 跳转通知 jumpInfo(tabKey) { - this.$router.push({ name: 'messageNotice', query: {tabKey} }) + this.$router.push({ name: 'messageNotice', query: { tabKey } }) }, onChange2() { this.repairCount2() From a4b31a2c6751eed590031722849823e4baf4a3b0 Mon Sep 17 00:00:00 2001 From: chenze <1824191732@qq.com> Date: Thu, 29 Aug 2024 17:39:35 +0800 Subject: [PATCH 7/7] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BA=86=E6=96=B0?= =?UTF-8?q?=E5=A2=9E=E5=B7=A5=E5=8D=95=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/admin/modules/RepairModal.vue | 199 ++++++++++++------------ 1 file changed, 97 insertions(+), 102 deletions(-) diff --git a/src/views/admin/modules/RepairModal.vue b/src/views/admin/modules/RepairModal.vue index 2326015..cdf9103 100644 --- a/src/views/admin/modules/RepairModal.vue +++ b/src/views/admin/modules/RepairModal.vue @@ -1,122 +1,122 @@