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 {