telephone-clients 3.0.104-43 → 3.0.104-45

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "telephone-clients",
3
- "version": "3.0.104-43",
3
+ "version": "3.0.104-45",
4
4
  "description": "呼叫模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -251,6 +251,9 @@
251
251
  <th>
252
252
  <nobr>维护信息</nobr>
253
253
  </th>
254
+ <th>
255
+ <nobr>备注</nobr>
256
+ </th>
254
257
  </tr>
255
258
  </template>
256
259
  <template partial='body'>
@@ -316,10 +319,10 @@
316
319
  </td>
317
320
 
318
321
  <td style="text-align: center;">
319
- <nobr>{{ $parent.$parent.$parent.d1(row)}}</nobr>
322
+ <nobr>{{ row.f_overdue_show}}</nobr>
320
323
  </td>
321
324
  <td style="text-align: center;">
322
- <nobr>{{ row.f_finish_date == '1900-01-01 00:00:00' ? '' : row.f_finish_date}}</nobr>
325
+ <nobr>{{ row.f_finish_time_show }}</nobr>
323
326
  </td>
324
327
  <td style="text-align: center;">
325
328
  <nobr>{{ row.f_result_status }}</nobr>
@@ -327,6 +330,9 @@
327
330
  <td style="text-align: center;">
328
331
  <nobr>{{ row.f_content }}</nobr>
329
332
  </td>
333
+ <td style="text-align: center;">
334
+ <nobr>{{ row.f_remarks }}</nobr>
335
+ </td>
330
336
 
331
337
 
332
338
  </template>
@@ -420,11 +426,11 @@ export default {
420
426
  thead: '',
421
427
  tfoot: '',
422
428
  zhihuans: [{label: '全部', value: ''}, {label: '正常', value: '正常'}, {label: '异常', value: '异常'}],
423
- headData: ['工单类型', '工单编号', '派单时间','客户信息', '联系电话', '故障明细', '工单来源', '工单状态', '派单人', '话务员','接单员',
424
- '结单时间','到达时间', '离开时间','逾期状态','截止时间','工单结果','维护信息'],
425
- bodyData: ['f_workorder_type', 'f_service_id', 'f_created_date', 'f_customer_info_show','f_contact_phone', 'f_json', 'f_source',
429
+ headData: ['工单类型', '工单编号', '派单时间','客户姓名','客户地址', '联系电话', '故障明细', '工单来源', '工单状态', '派单人', '话务员','接单员',
430
+ '结单时间','到达时间', '离开时间','逾期状态','截止时间','工单结果','维护信息','备注'],
431
+ bodyData: ['f_workorder_type', 'f_service_id', 'f_created_date', 'f_user_name','f_address','f_contact_phone', 'f_json', 'f_source',
426
432
  'f_state_show', 'f_single_man','f_attendant','f_order_man','f_date','f_date_come','f_date_leave',
427
- 'f_overdue_show','f_finish_time_show','f_result_status','f_content'],
433
+ 'f_overdue_show','f_finish_time_show','f_result_status','f_content','f_remarks'],
428
434
  searchData: {
429
435
  condition: '1=1'
430
436
  },
@@ -432,7 +438,8 @@ export default {
432
438
  'f_workorder_type': '工单类型',
433
439
  'f_service_id': '工单编号',
434
440
  'f_created_date': '派单时间',
435
- 'f_customer_info_show': '客户信息',
441
+ 'f_user_name': '客户姓名',
442
+ 'f_address': '客户地址',
436
443
  'f_contact_phone': '联系电话',
437
444
  'f_json': '故障明细',
438
445
  'f_source': '工单来源',
@@ -446,7 +453,8 @@ export default {
446
453
  'f_overdue_show': '逾期状态',
447
454
  'f_finish_time_show': '截止时间',
448
455
  'f_result_status': '工单结果',
449
- 'f_content': '维护信息'
456
+ 'f_content': '维护信息',
457
+ 'f_remarks':'备注'
450
458
  },
451
459
  criteriaShow: false
452
460
  }
@@ -31,6 +31,7 @@
31
31
  <v-select :value.sync="model.attendants"
32
32
  :options='$parent.$parent.operators'
33
33
  placeholder='请选择话务员'
34
+ :multiple="true"
34
35
  style="width: 60%"
35
36
  ></v-select>
36
37
  </div>
@@ -99,17 +100,17 @@
99
100
  this.model.f_filialeid = this.$login.convertToIn(obj.resids);
100
101
  },
101
102
  search(args){
102
- debugger
103
103
  if (args.model.attendants && args.model.attendants.length>0){
104
- // let attStr = "("
105
- // for (let attendantKey in args.model.attendants) {
106
- // attStr +=`'${args.model.attendants[attendantKey]}',`
107
- // }
108
- // attStr+="'')"
109
- // args.model.attendant = attStr
110
- args.model.attendant = args.model.attendants[0]
104
+ let attStr = ""
105
+ for (let attendantKey in args.model.attendants) {
106
+ attStr +=`'${args.model.attendants[attendantKey]}',',',`
107
+ }
108
+ attStr=attStr.substring(0, attStr.length-1)
109
+ args.model.attendant = attStr
110
+ // args.model.attendant = args.model.attendants[0]
111
111
  }else {
112
- args.model.attendant = ""
112
+ this.$showMessage('请选择话务员')
113
+ return
113
114
  }
114
115
  this.model.search('1=1',args.model)
115
116
  }