From e00de3a89775f11e7390c57602866fd694483def Mon Sep 17 00:00:00 2001
From: xiaofajia <1665375861@qq.com>
Date: Mon, 4 Nov 2024 16:08:13 +0800
Subject: [PATCH] =?UTF-8?q?=E6=9C=8D=E5=8A=A1=E9=A1=BE=E9=97=AE=E9=80=89?=
=?UTF-8?q?=E6=8B=A9=E7=9F=AD=E4=BF=A1=E6=88=96=E6=98=AF=E7=9B=B4=E6=8E=A5?=
=?UTF-8?q?=E6=8B=A8=E6=89=93=E7=94=B5=E8=AF=9D?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../tickets/Components/TicketManagerItem.vue | 7 +--
.../repair/tickets/form/RecordSetting.vue | 5 ++
.../tickets/form/TicketFinishManager.vue | 58 ++++++++++++-------
3 files changed, 42 insertions(+), 28 deletions(-)
diff --git a/src/views/repair/tickets/Components/TicketManagerItem.vue b/src/views/repair/tickets/Components/TicketManagerItem.vue
index b5c43a2..d9550d7 100644
--- a/src/views/repair/tickets/Components/TicketManagerItem.vue
+++ b/src/views/repair/tickets/Components/TicketManagerItem.vue
@@ -56,7 +56,7 @@
@click="handleVoid(scope.row)">
作废
-
维修记录设置
@@ -114,11 +114,6 @@
command="handleReTake" size="mini" type="text" icon="el-icon-refresh"
>重新指派
- 维修记录设置
-
diff --git a/src/views/repair/tickets/form/RecordSetting.vue b/src/views/repair/tickets/form/RecordSetting.vue
index 1b3192e..6556cf0 100644
--- a/src/views/repair/tickets/form/RecordSetting.vue
+++ b/src/views/repair/tickets/form/RecordSetting.vue
@@ -23,6 +23,11 @@
{{ scope.$index + 1 }}
+
+
+ {{scope.row.dealUserName}}
+
+
diff --git a/src/views/repair/tickets/form/TicketFinishManager.vue b/src/views/repair/tickets/form/TicketFinishManager.vue
index be84783..4a9ad24 100644
--- a/src/views/repair/tickets/form/TicketFinishManager.vue
+++ b/src/views/repair/tickets/form/TicketFinishManager.vue
@@ -102,19 +102,19 @@
-
-
+
+
-
+
-
+
@@ -123,7 +123,7 @@
@@ -179,6 +179,7 @@ export default {
},
noticeLoading: false,
noticeDialog: false,
+ isNoticeChoose: false
}
},
mounted() {
@@ -247,23 +248,36 @@ export default {
this.$refs.updateRepair.open(row)
},
async noticeCus(row){
- this.noticeData = {
- time: [],
- name: null,
- mobile: null,
- id: null,
- remark: null,
- }
- this.noticeDialog = true
- this.noticeData.id = row.id
- try {
- this.noticeLoading = true
- const res = await getUserProfile()
- this.noticeData.name = res.data.nickname
- this.noticeData.mobile = res.data.mobile
- }finally {
- this.noticeLoading = false
- }
+ this.$confirm('请选择使用什么方式通知客户?', '选择', {
+ confirmButtonText: '短信通知',
+ cancelButtonText: '拨打电话',
+ type: 'info'
+ }).then(async () => {
+ this.isNoticeChoose = false
+ this.noticeData = {
+ time: [],
+ name: null,
+ mobile: null,
+ id: null,
+ remark: null,
+ }
+ this.noticeDialog = true
+ this.noticeData.id = row.id
+ try {
+ this.noticeLoading = true
+ const res = await getUserProfile()
+ this.noticeData.name = res.data.nickname
+ this.noticeData.mobile = res.data.mobile
+ } finally {
+ this.noticeLoading = false
+ }
+ }).catch(() => {
+ this.isNoticeChoose = true
+ this.noticeDialog = true
+ this.noticeData.name = row.userName
+ this.noticeData.mobile = row.userMobile
+ })
+
},
async doNotice(){
try {