Explorar o código

抢单改为接单

seimin hai 1 ano
pai
achega
a3364ca337

+ 1 - 1
src/components/EventInformation/index.vue

@@ -21,7 +21,7 @@
21 21
             model.incident.state.value == "pending"
22 22
               ? model.incident.handlerUser && !model.incident.candidateGroups
23 23
                 ? "待接单"
24
-                : "待单"
24
+                : "待单"
25 25
               : model.incident.state.name
26 26
           }}</span
27 27
         >

+ 1 - 1
src/router/index.js

@@ -23,7 +23,7 @@ import ReferenceDetail from './../views/referenceDetail.vue'//知识库详情(
23 23
 import Guide from './../views/guide.vue'//公告公示
24 24
 import GuideDetail from './../views/guideDetail.vue'//常见问题
25 25
 import Order from './../views/order.vue' //接单页面
26
-import GrabSheet from './../views/grabSheet.vue' //单页面
26
+import GrabSheet from './../views/grabSheet.vue' //单页面
27 27
 import AgainAssign from './../views/againAssign.vue' //重新指派页面
28 28
 import Processing from './../views/processing.vue' //处理中页面
29 29
 import Solved from './../views/solved.vue' //已解决页面

+ 6 - 6
src/views/IncidentNewList.vue

@@ -54,7 +54,7 @@
54 54
                         item.state.name == "待接单"
55 55
                           ? item.handlerUser && !item.candidateGroups
56 56
                             ? "待接单"
57
-                            : "待单"
57
+                            : "待单"
58 58
                           : item.state.name
59 59
                       }}</span
60 60
                     >
@@ -128,7 +128,7 @@
128 128
                      v-if="item.state.value != 1546 && !item.handlerUser && jurisdiction(item) && qiangdan(item)"
129 129
                   >
130 130
                     <cube-button @click.stop="subVali(item)"
131
-                      >单</cube-button
131
+                      >单</cube-button
132 132
                     >
133 133
                   </cube-form-group>
134 134
                 </div>
@@ -394,7 +394,7 @@ export default {
394 394
     jurisdiction(incident){
395 395
       return this.loginUser.group.some(v => v.id == incident.candidateGroups);
396 396
     },
397
-    // 
397
+    // 
398 398
     subVali(incident) {
399 399
       //数据提交
400 400
       var that = this;
@@ -402,7 +402,7 @@ export default {
402 402
         type: 'confirm',
403 403
         icon: 'cubeic-alert',
404 404
         title: '提示',
405
-        content: '是否单?',
405
+        content: '是否单?',
406 406
         confirmBtn: {
407 407
           text: '确定',
408 408
           active: true,
@@ -427,7 +427,7 @@ export default {
427 427
               that
428 428
                 .$createDialog({
429 429
                   type: "alert",
430
-                  title: "单成功",
430
+                  title: "单成功",
431 431
                   content: "点击返回首页",
432 432
                   icon: "cubeic-right",
433 433
                   onConfirm: (e, promptValue) => {
@@ -864,7 +864,7 @@ export default {
864 864
           // 指派给人 接单
865 865
           name = "Order";
866 866
         } else if (data.candidateGroups && !data.handlerUser) {
867
-          // 指派给组 
867
+          // 指派给组 
868 868
           name = "GrabSheet";
869 869
         }
870 870
       } else if (data.state.value == "reassign") {

+ 4 - 4
src/views/grabSheet.vue

@@ -72,7 +72,7 @@
72 72
             </p>
73 73
           </div>
74 74
           <cube-form-group class="sub" v-if="model.incident.state.value != 1546 && !model.incident.handlerUser && jurisdiction && qiangdan">
75
-            <cube-button type="submit" @click="subVali()">单</cube-button>
75
+            <cube-button type="submit" @click="subVali()">单</cube-button>
76 76
           </cube-form-group>
77 77
         </div>
78 78
       </div>
@@ -111,7 +111,7 @@ export default {
111 111
       wxIncidentId: "",
112 112
       progressInfo: [], //处理进度
113 113
       model: {}, //提交数据
114
-      jurisdiction: false, //是否有单权限
114
+      jurisdiction: false, //是否有单权限
115 115
       pro_hides: false, //展开/收起处理进度
116 116
     };
117 117
   },
@@ -214,7 +214,7 @@ export default {
214 214
         type: 'confirm',
215 215
         icon: 'cubeic-alert',
216 216
         title: '提示',
217
-        content: '是否单?',
217
+        content: '是否单?',
218 218
         confirmBtn: {
219 219
           text: '确定',
220 220
           active: true,
@@ -239,7 +239,7 @@ export default {
239 239
               that
240 240
                 .$createDialog({
241 241
                   type: "alert",
242
-                  title: "单成功",
242
+                  title: "单成功",
243 243
                   content: "点击返回首页",
244 244
                   icon: "cubeic-right",
245 245
                   onConfirm: (e, promptValue) => {

+ 6 - 6
src/views/incidentList.vue

@@ -57,7 +57,7 @@
57 57
                         item.state.name == "待接单"
58 58
                           ? item.handlerUser && !item.candidateGroups
59 59
                             ? "待接单"
60
-                            : "待单"
60
+                            : "待单"
61 61
                           : item.state.name
62 62
                       }}</span
63 63
                     >
@@ -135,7 +135,7 @@
135 135
                      v-if="item.state.value != 1546 && !item.handlerUser && jurisdiction(item) && qiangdan(item)"
136 136
                   >
137 137
                     <cube-button @click.stop="subVali(item)"
138
-                      >单</cube-button
138
+                      >单</cube-button
139 139
                     >
140 140
                   </cube-form-group>
141 141
                 </div>
@@ -327,7 +327,7 @@ export default {
327 327
     jurisdiction(incident){
328 328
       return this.loginUser.group.some(v => v.id == incident.candidateGroups);
329 329
     },
330
-    // 
330
+    // 
331 331
     subVali(incident) {
332 332
       //数据提交
333 333
       var that = this;
@@ -335,7 +335,7 @@ export default {
335 335
         type: 'confirm',
336 336
         icon: 'cubeic-alert',
337 337
         title: '提示',
338
-        content: '是否单?',
338
+        content: '是否单?',
339 339
         confirmBtn: {
340 340
           text: '确定',
341 341
           active: true,
@@ -360,7 +360,7 @@ export default {
360 360
               that
361 361
                 .$createDialog({
362 362
                   type: "alert",
363
-                  title: "单成功",
363
+                  title: "单成功",
364 364
                   content: "点击返回首页",
365 365
                   icon: "cubeic-right",
366 366
                   onConfirm: (e, promptValue) => {
@@ -789,7 +789,7 @@ export default {
789 789
           // 指派给人 接单
790 790
           name = "Order";
791 791
         } else if (data.candidateGroups && !data.handlerUser) {
792
-          // 指派给组 
792
+          // 指派给组 
793 793
           name = "GrabSheet";
794 794
         }
795 795
       } else if (data.state.value == "reassign") {

+ 2 - 2
src/views/indes.vue

@@ -148,7 +148,7 @@
148 148
                     item.state.name == "待接单"
149 149
                       ? item.handlerUser && !item.candidateGroups
150 150
                         ? "待接单"
151
-                        : "待单"
151
+                        : "待单"
152 152
                       : item.state.name
153 153
                   }}</span
154 154
                 >
@@ -406,7 +406,7 @@ export default {
406 406
           // 指派给人 接单
407 407
           name = "Order";
408 408
         } else if (data.candidateGroups && !data.handlerUser) {
409
-          // 指派给组 
409
+          // 指派给组 
410 410
           name = "GrabSheet";
411 411
         }
412 412
       } else if (data.state.value == "reassign") {

+ 1 - 1
src/views/waitConfirm.vue

@@ -58,7 +58,7 @@
58 58
                     ? model.incident.handlerUser &&
59 59
                       !model.incident.candidateGroups
60 60
                       ? "待接单"
61
-                      : "待单"
61
+                      : "待单"
62 62
                     : model.incident.state.name
63 63
                 }}</span
64 64
               >