telephone-clients 3.0.103 → 3.0.104-11

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.
Files changed (132) hide show
  1. package/package.json +3 -3
  2. package/src/App.vue +54 -56
  3. package/src/assets//345/210/240/351/231/244.png +0 -0
  4. package/src/components/Util/RightTreeSafe.vue +2 -2
  5. package/src/components/Util/RightTreeSafeDep.vue +350 -0
  6. package/src/components/android/AddMyTask.vue +7 -0
  7. package/src/components/guoxin/Console.vue +9 -0
  8. package/src/components/guoxin/VisitInfo.vue +0 -11
  9. package/src/components/pc/NewRepairPaper.vue +370 -370
  10. package/src/components/pc/RepairsWork.vue +23 -2
  11. package/src/components/pc/RoleSelectorDep.vue +158 -0
  12. package/src/components/pc/TelFindUser.vue +1 -1
  13. package/src/components/pc/TelListener.vue +47 -16
  14. package/src/components/pc/VisitInfo.vue +44 -17
  15. package/src/components/pc/WorkCenter.vue +1 -1
  16. package/src/components/pc/WorkCenterList.vue +1 -1
  17. package/src/components/pc/WorkHistory.vue +20 -2
  18. package/src/components/pc/WorkListAll.vue +1 -1
  19. package/src/components/pc/WorkListAllNew.vue +10 -3
  20. package/src/components/pc/WorkListNew.vue +9 -3
  21. package/src/components/pc/olddata/OldWorkList.vue +193 -0
  22. package/src/components/telreport/RepairsDetailsReport.vue +98 -0
  23. package/src/components/telreport/TableFaultReport.vue +96 -0
  24. package/src/components/telreport/Traffic.vue +3 -3
  25. package/src/components/telreport/TrafficClassificationReport.vue +134 -0
  26. package/src/components/temp/ChangemeterInfo.vue +75 -87
  27. package/src/components/temp/DeviceInfo.vue +80 -82
  28. package/src/components/temp/HandplanInfo.vue +14 -3
  29. package/src/components/temp/InfoTable.vue +5 -2
  30. package/src/components/temp/MetereadInfo.vue +1 -4
  31. package/src/components/temp/OldRepairList.vue +100 -0
  32. package/src/components/temp/RepairList.vue +2 -2
  33. package/src/components/weinan/Console.vue +1 -1
  34. package/src/components/weinan/RecordList.vue +2 -2
  35. package/src/components/weinan/SiteSend.vue +2 -2
  36. package/src/components/weinan/SiteSendWeixiu.vue +7 -16
  37. package/src/components/weinan/StandWorkWeixiu.vue +1 -1
  38. package/src/components/weinan/WorkList.vue +73 -0
  39. package/src/components/weinan/WorkListAll.vue +90 -14
  40. package/src/components/weinan/WorkListWeixiu.vue +1 -1
  41. package/src/components/workorder/CompletedRepair.vue +269 -183
  42. package/src/components/workorder/FaultAll.vue +826 -826
  43. package/src/components/workorder/PhoneStandWork.vue +354 -354
  44. package/src/components/workorder/PhoneUpDetail.vue +3 -0
  45. package/src/components/workorder/RepairDetails.vue +12 -2
  46. package/src/components/workorder/RepairFirstV.vue +1 -1
  47. package/src/components/workorder/RepairOrderV.vue +1446 -1446
  48. package/src/filiale/furuike/pc/ComplainWork.vue +348 -348
  49. package/src/filiale/furuike/pc/Seekwork.vue +352 -352
  50. package/src/filiale/gongyi/android/RepairOrderV.vue +1415 -1415
  51. package/src/filiale/hanzhong/telephone.js +1 -1
  52. package/src/filiale/kelai/android/AppTakePic.vue +143 -0
  53. package/src/filiale/kelai/android/PhoneVentilationLeave.vue +176 -0
  54. package/src/filiale/kelai/pc/WorkCenterList.vue +20 -3
  55. package/src/filiale/kelai/pc/WorkListAllNew.vue +47 -9
  56. package/src/filiale/kelai/pc/serviceDeleteOrder.vue +55 -0
  57. package/src/filiale/kelai/telephone.js +9 -8
  58. package/src/filiale/kelai/telephoneAndroid.js +3 -1
  59. package/src/filiale/liaoyuan/android/RepairOrderV.vue +831 -831
  60. package/src/filiale/qianneng/android/FaultAll.vue +883 -883
  61. package/src/filiale/qianneng/android/MaterIialOne.vue +123 -123
  62. package/src/filiale/qianneng/android/RepairOrderV.vue +874 -874
  63. package/src/filiale/qianneng/android/TemporarySingle.vue +25 -0
  64. package/src/filiale/qianneng/android/chargesList.vue +161 -161
  65. package/src/filiale/qianneng/pc/MaterialDetailed.vue +15 -3
  66. package/src/filiale/qianneng/pc/MaterialStatistics.vue +144 -0
  67. package/src/filiale/qianneng/pc/NewRepairPaper.vue +467 -467
  68. package/src/filiale/qianneng/pc/RepairsWork.vue +992 -982
  69. package/src/filiale/qianneng/pc/WorkHistory.vue +2 -2
  70. package/src/filiale/qianneng/pc/WorkListAllNew.vue +53 -5
  71. package/src/filiale/qianneng/pc/changetable.vue +273 -0
  72. package/src/filiale/qianneng/telephone.js +2 -0
  73. package/src/filiale/rizhao/pc/DispatchMan.vue +3 -3
  74. package/src/filiale/rizhao/pc/DispatchWork.vue +3 -3
  75. package/src/filiale/rizhao/pc/Traffic.vue +3 -3
  76. package/src/filiale/rizhao/pc/WorkListAllNew.vue +8 -3
  77. package/src/filiale/rizhao/telephone.js +1 -1
  78. package/src/filiale/rongcheng/CliWorkListAll.vue +442 -407
  79. package/src/filiale/rongcheng/FaultAll.vue +3 -3
  80. package/src/filiale/rongcheng/RepairOrderV.vue +1445 -0
  81. package/src/filiale/rongcheng/telephoneAndroid.js +3 -1
  82. package/src/filiale/shanxian/android/RepairFirstV.vue +5 -1
  83. package/src/filiale/shanxian/pc/RepairsWork.vue +826 -0
  84. package/src/filiale/shanxian/pc/WorkList.vue +1 -1
  85. package/src/filiale/shanxian/telephone.js +13 -12
  86. package/src/filiale/shexian/android/AddMyTask.vue +7 -0
  87. package/src/filiale/shexian/android/CompletedRepair.vue +280 -0
  88. package/src/filiale/shexian/android/FaultAll.vue +847 -0
  89. package/src/filiale/shexian/android/Outlay.vue +182 -165
  90. package/src/filiale/shexian/android/RepairFirstV.vue +16 -2
  91. package/src/filiale/shexian/android/RepairInfo.vue +1 -0
  92. package/src/filiale/shexian/pc/QueryVisitHistory.vue +237 -0
  93. package/src/filiale/shexian/pc/TelAgentVoiceReport.vue +271 -0
  94. package/src/filiale/shexian/pc/TelByOrderManCount.vue +10 -2
  95. package/src/filiale/shexian/pc/WorkList.vue +782 -740
  96. package/src/filiale/shexian/pc/WorkListAllNew.vue +75 -67
  97. package/src/filiale/shexian/telephone.js +21 -18
  98. package/src/filiale/shexian/telephoneAndroid.js +32 -26
  99. package/src/filiale/tongchuan/android/RepairDetails.vue +623 -0
  100. package/src/filiale/tongchuan/android/TicketDetails.vue +3 -0
  101. package/src/filiale/tongchuan/pc/UserWork.vue +805 -805
  102. package/src/filiale/tongchuan/pc/WorkOrderStatistics.vue +2 -2
  103. package/src/filiale/tongchuan/telephone.js +52 -52
  104. package/src/filiale/tongchuan/telephoneAndroid.js +23 -22
  105. package/src/filiale/wenxi/android/FailureShow.vue +61 -0
  106. package/src/filiale/wenxi/android/PhoneUpUserinfo.vue +1053 -0
  107. package/src/filiale/wenxi/android/RepairInfo.vue +158 -74
  108. package/src/filiale/wenxi/android/RepairOrderV.vue +805 -1419
  109. package/src/filiale/wenxi/android/RepairUserInfo.vue +532 -0
  110. package/src/filiale/wenxi/android/ZHihuanFirst.vue +502 -0
  111. package/src/filiale/wenxi/pc/DistributeWork.vue +107 -121
  112. package/src/filiale/wenxi/pc/FailureEdit.vue +1 -1
  113. package/src/filiale/wenxi/pc/GasWork.vue +747 -0
  114. package/src/filiale/wenxi/pc/MetereadInfo.vue +82 -0
  115. package/src/filiale/wenxi/pc/RepairsWork.vue +15 -0
  116. package/src/filiale/wenxi/pc/TelFindUser.vue +213 -116
  117. package/src/filiale/wenxi/pc/WorkListAll.vue +348 -297
  118. package/src/filiale/wenxi/telephone.js +4 -5
  119. package/src/filiale/wenxi/telephoneAndroid.js +4 -1
  120. package/src/filiale/wuan/android/RepairOrderV.vue +1384 -1384
  121. package/src/filiale/wuhai/telephone.js +1 -1
  122. package/src/filiale/yuncheng/pc/TelFindUser.vue +302 -0
  123. package/src/filiale/yuncheng/telephone.js +12 -0
  124. package/src/filiale/zhongsheng/android/FaultAll.vue +741 -0
  125. package/src/filiale/zhongsheng/android/RepairOrderV.vue +1430 -1430
  126. package/src/filiale/zhongsheng/android/RepairUserInfo.vue +241 -214
  127. package/src/filiale/zhongsheng/pc/RepairsWork.vue +775 -775
  128. package/src/filiale/zhongsheng/telephone.js +23 -23
  129. package/src/filiale/zhongsheng/telephoneAndroid.js +2 -1
  130. package/src/main.js +1 -1
  131. package/src/telephone.js +17 -1
  132. package/src/weinan.js +6 -0
@@ -154,13 +154,13 @@
154
154
  @click="repairlist($index)">查看详情
155
155
  </button>
156
156
  </div>
157
- <div style="margin-top: 5px" v-if="activity.type === 't_servicework' && activity.f_button =='维修完成' ">
157
+ <!-- <div style="margin-top: 5px" v-if="activity.type === 't_servicework' && activity.f_button =='维修完成' ">
158
158
  <p>验收人员: {{ activity.f_name }} &nbsp;&nbsp;&nbsp;完成结果: {{ activity.f_result_status }}
159
159
  </p>
160
160
  <button type="button" name="button"style="margin-left: 0px" class="button_spacing button_search-1"
161
161
  @click="repairlist($index)">查看详情
162
162
  </button>
163
- </div>
163
+ </div>-->
164
164
  <!-- 工单结案 -->
165
165
  <div style="margin-top: 5px" v-if="activity.type === 't_serviceend'">
166
166
  <p>{{ activity.f_date }}</p>
@@ -8,7 +8,7 @@
8
8
  <div class="col-sm-3 form-group form-input-group" style="width: 20%">
9
9
  <label class="font_normal_body" style="width: 40%">工单编号</label>
10
10
  <input type="text" class="input_search" v-model="model.f_service_id" placeholder='工单编号'
11
- condition="f_service_id like '%{}%'"
11
+ condition="tswo.f_service_id like '%{}%'"
12
12
  :size="model.f_service_id ? model.f_service_id.length : 6">
13
13
  </div>
14
14
  <div class="col-sm-3 form-group form-input-group" style="width: 20%">
@@ -177,7 +177,6 @@
177
177
  <label class="font_normal_body" style="width: 40%">工单结果</label>
178
178
  <v-select :value.sync="model.f_result_status" :value-single="true" v-model="model.f_result_status"
179
179
  :options='$parent.$parent.result_status' placeholder='工单结果'
180
- condition="tsw.f_result_status = '{}'"
181
180
  close-on-select>
182
181
  </v-select>
183
182
  </div>
@@ -187,6 +186,20 @@
187
186
  condition="tswo.f_single_man like '%{}%'"
188
187
  :size="model.f_single_man ? model.f_single_man.length : 6">
189
188
  </div>
189
+ <div class="col-sm-3 form-group form-input-group" style="width: 20%">
190
+ <label class="font_normal_body" style="width: 40%">客户类型</label>
191
+ <v-select :value.sync="model.f_user_type" :value-single="true" v-model="model.f_user_type"
192
+ :options='$parent.$parent.user_types' placeholder='客户类型'
193
+ condition="tswo.f_user_type = '{}'"
194
+ close-on-select>
195
+ </v-select>
196
+ </div>
197
+ <div class="col-sm-3 form-group form-input-group" style="width: 20%">
198
+ <label class="font_normal_body" style="width: 40%">维修类型</label>
199
+ <input type="text" class="input_search" v-model="model.f_failure" placeholder='维修类型'
200
+ condition="tf.f_failure like '%{}%'" style="width: 150px"
201
+ >
202
+ </div>
190
203
  </div>
191
204
  </div>
192
205
  </criteria>
@@ -251,9 +264,21 @@
251
264
  <th>
252
265
  <nobr>工单结果</nobr>
253
266
  </th>
267
+ <th>
268
+ <nobr>客户类型</nobr>
269
+ </th>
270
+ <th>
271
+ <nobr>维修类型</nobr>
272
+ </th>
254
273
  <th>
255
274
  <nobr>派单类型</nobr>
256
275
  </th>
276
+ <th>
277
+ <nobr>汇总备注</nobr>
278
+ </th>
279
+ <th>
280
+ <nobr>隐患备注</nobr>
281
+ </th>
257
282
  </tr>
258
283
  </template>
259
284
  <template partial='body'>
@@ -281,7 +306,7 @@
281
306
 
282
307
  <td>
283
308
  <nobr>
284
- {{ row.f_user_name }}&nbsp;&nbsp;&nbsp;{{ row.f_address }}&nbsp;&nbsp;&nbsp;
309
+ {{ row.f_userinfo_code }}&nbsp;&nbsp;&nbsp;{{ row.f_user_name }}&nbsp;&nbsp;&nbsp;{{ row.f_address }}&nbsp;&nbsp;&nbsp;
285
310
  </nobr>
286
311
  </td>
287
312
  <td style="text-align: center;">
@@ -324,9 +349,21 @@
324
349
  <td style="text-align: center;">
325
350
  <nobr>{{ row.f_result_status }}</nobr>
326
351
  </td>
352
+ <td style="text-align: center;">
353
+ <nobr>{{ row.f_user_type }}</nobr>
354
+ </td>
355
+ <td style="text-align: center;">
356
+ <nobr>{{ row.f_failure }}</nobr>
357
+ </td>
327
358
  <td style="text-align: center;">
328
359
  <nobr>{{ row.f_handlingtype }}</nobr>
329
360
  </td>
361
+ <td style="text-align: center;">
362
+ <nobr>{{ row.f_repair_remarks }}</nobr>
363
+ </td>
364
+ <td style="text-align: center;">
365
+ <nobr>{{ row.f_content }}</nobr>
366
+ </td>
330
367
  </template>
331
368
  </data-grid>
332
369
  </criteria-paged>
@@ -403,6 +440,7 @@ export default {
403
440
  model: new PagedList('rs/sql/serviceDetails', 20),
404
441
  row: null,
405
442
  orderMan: '',
443
+ user_types:[{label: '全部', value: ''}, {label: '民用', value: '民用'},{label: '非民用', value: '非民用'}],
406
444
  handling_types:[{label: '全部', value: ''}, {label: '转站点', value: '转站点'},{label: '转维修员', value: '转维修员'},{label: '转运营系统', value: '转运营系统'}],
407
445
  msgs: [],
408
446
  service: Object,
@@ -443,7 +481,11 @@ export default {
443
481
  'f_overdue_show': '逾期状态',
444
482
  'f_finish_time_show': '截止时间',
445
483
  'f_result_status': '工单结果',
446
- 'f_handlingtype': '派单类型'
484
+ 'f_user_type': '客户类型',
485
+ 'f_failure': '维修类型',
486
+ 'f_handlingtype': '派单类型',
487
+ 'f_repair_remarks': '汇总备注',
488
+ 'f_content': '隐患备注'
447
489
  },
448
490
  criteriaShow: false
449
491
  }
@@ -570,7 +612,13 @@ export default {
570
612
  } else {
571
613
  args.condition += ` and f_filiale_id = '${this.$login.f.orgid}'`
572
614
  }
573
-
615
+ if (args.model.f_result_status) {
616
+ if (args.model.f_result_status == '已完成') {
617
+ args.condition += ` and tsw.f_result_status = '已完成'`
618
+ }else {
619
+ args.condition += ` and tsw.f_result_status is null `
620
+ }
621
+ }
574
622
  this.searchData.condition = args.condition
575
623
  return this.model.search(args.condition, args.model)
576
624
  },
@@ -0,0 +1,273 @@
1
+ <template>
2
+ <div class="flex-row">
3
+ <div style="height: 95%" class="basic-main" >
4
+ <criteria-paged :model="model" v-ref:cp>
5
+ <criteria partial='criteria' @condition-changed='$parent.searchCondition' v-ref:cri>
6
+ <div class="form-horizontal select-overspread container-fluid auto" partial>
7
+ <div class="row">
8
+ <div class="col-sm-3 form-group form-input-group" style="width: 20%">
9
+ <label class="font_normal_body" style="width: 40%">工单编号</label>
10
+ <input type="text" class="input_search" v-model="model.f_service_id" placeholder='工单编号'
11
+ condition="tswo.f_service_id like '%{}%'"
12
+ :size="model.f_service_id ? model.f_service_id.length : 6">
13
+ </div>
14
+ <div class="col-sm-3 form-group form-input-group" style="width: 20%;">
15
+ <label class="font_normal_body" style="width: 40%">客户姓名</label>
16
+ <input type="text" class="input_search" v-model="model.f_user_name" placeholder='客户姓名'
17
+ condition="tswo.f_user_name like '%{}%'"
18
+ :size="model.f_user_name ? model.f_user_name.length : 6">
19
+ </div>
20
+ <div class="col-sm-3 form-group form-input-group" style="width: 20%">
21
+ <label class="font_normal_body" style="width: 40%">开始时间</label>
22
+ <datepicker placeholder="维修完成时间"
23
+ :value.sync="model.f_date_start"
24
+ v-model="model.f_date_start"
25
+ :format="'yyyy-MM-dd 00:00:00'"
26
+ condition="f_date > '{}'"
27
+ ></datepicker>
28
+ </div>
29
+ <div class="col-sm-3 form-group form-input-group" style="width: 20%">
30
+ <label class="font_normal_body" style="width: 40%">结束时间</label>
31
+ <datepicker placeholder="维修完成时间"
32
+ :value.sync="model.f_date_end"
33
+ v-model="model.f_date_end"
34
+ :format="'yyyy-MM-dd 23:59:59'"
35
+ condition="f_date < '{}'"
36
+ ></datepicker>
37
+ </div>
38
+ <div class="form-group col-sm-3 button-range">
39
+ <button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
40
+ <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
41
+ <export-excel :data="$parent.$parent.getCondition"
42
+ :field="$parent.$parent.getfield"
43
+ sqlurl="rs/logic/telephoneExport"
44
+ sql-name="changeTable"
45
+ template-name='工单换表记录'
46
+ :choose-col="true"></export-excel>
47
+ <div style="float: right;" class="button_spacing button_search"
48
+ :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
49
+ @click="$parent.$parent.hidden()"></div>
50
+ </div>
51
+ </div>
52
+ <div class="row" v-show="$parent.$parent.criteriaShow">
53
+ <div class="col-sm-3 form-group form-input-group" style="width: 20%">
54
+ <label class="font_normal_body" style="width: 40%">客户编号</label>
55
+ <input type="text" class="input_search" v-model="model.f_userinfo_code" placeholder='客户编号'
56
+ condition="tswo.f_userinfo_code like '%{}%'"
57
+ :size="model.f_userinfo_code ? model.f_userinfo_code.length : 6">
58
+ </div>
59
+ <div class="col-sm-3 form-group form-input-group" style="width: 20%">
60
+ <label class="font_normal_body" style="width: 40%">联系电话</label>
61
+ <input type="text" class="input_search" v-model="model.f_contact_phone" placeholder='联系电话'
62
+ condition="tswo.f_contact_phone like '%{}%'"
63
+ :size="model.f_contact_phone ? model.f_contact_phone.length : 6">
64
+ </div>
65
+ <div class="col-sm-3 form-group form-input-group" style="width: 20%">
66
+ <label class="font_normal_body" style="width: 40%">地&emsp;&emsp;址</label>
67
+ <input type="text" class="input_search" v-model="model.f_address" placeholder='地址'
68
+ condition="tswo.f_address like '%{}%'"
69
+ :size="model.f_address ? model.f_address.length : 4">
70
+ </div>
71
+ </div>
72
+ </div>
73
+ </criteria>
74
+ <data-grid :model="model" partial='list' v-ref:grid style="overflow: auto" class="list_area table_sy">
75
+ <template partial='head'>
76
+ <tr>
77
+ <th><nobr>序号</nobr></th>
78
+ <th><nobr>工单编号</nobr></th>
79
+ <th><nobr>用户编号</nobr></th>
80
+ <th><nobr>用户名称</nobr></th>
81
+ <th><nobr>用户地址</nobr></th>
82
+ <th><nobr>联系电话</nobr></th>
83
+ <th><nobr>是否换表</nobr></th>
84
+ <th><nobr>换表类型</nobr></th>
85
+ <th><nobr>换表原因</nobr></th>
86
+ <th><nobr>旧表底数</nobr></th>
87
+ <th><nobr>旧表剩余气量</nobr></th>
88
+ <th><nobr>累用金额</nobr></th>
89
+ <th><nobr>剩余金额</nobr></th>
90
+ <th><nobr>表向</nobr></th>
91
+ <th><nobr>防盗卡1</nobr></th>
92
+ <th><nobr>防盗卡2</nobr></th>
93
+ <th><nobr>出厂日期</nobr></th>
94
+ <th><nobr>表位置</nobr></th>
95
+ <th><nobr>气表品牌</nobr></th>
96
+ <th><nobr>气表型号</nobr></th>
97
+ <th><nobr>新表号</nobr></th>
98
+ <th><nobr>新表底数</nobr></th>
99
+ <th><nobr>补气量</nobr></th>
100
+ <th><nobr>补气金额</nobr></th>
101
+ <th><nobr>换表费用</nobr></th>
102
+ <th><nobr>备注</nobr></th>
103
+ <th><nobr>完成时间</nobr></th>
104
+ </tr>
105
+ </template>
106
+ <template partial='body'>
107
+ <tr >
108
+ <td style="text-align: center;">
109
+ <nobr><font>{{$index+1}}</font></nobr>
110
+ </td>
111
+ <td style="text-align: center;">
112
+ <nobr><font>{{ row.f_service_id}}</font></nobr>
113
+ </td>
114
+ <td style="text-align: center;">
115
+ <nobr><font>{{ row.f_userinfo_code}}</font></nobr>
116
+ </td>
117
+ <td style="text-align: center;">
118
+ <nobr><font>{{ row.f_user_name}}</font></nobr>
119
+ </td>
120
+ <td style="text-align: center;">
121
+ <nobr><font>{{ row.f_address}}</font></nobr>
122
+ </td>
123
+ <td style="text-align: center;">
124
+ <nobr><font>{{ row.f_contact_phone}}</font></nobr>
125
+ </td>
126
+ <td style="text-align: center;">
127
+ <nobr><font>{{ row.是否换表 }}</font></nobr>
128
+ </td>
129
+ <td style="text-align: center;">
130
+ <nobr><font>{{ row.换表类型 }}</font></nobr>
131
+ </td>
132
+ <td style="text-align: center;">
133
+ <nobr><font>{{ row.换表原因 }}</font></nobr>
134
+ </td>
135
+ <td style="text-align: center;">
136
+ <nobr><font>{{ row.旧表底数 }}</font></nobr>
137
+ </td>
138
+ <td style="text-align: center;">
139
+ <nobr><font>{{ row.旧表剩余气量 }}</font></nobr>
140
+ </td>
141
+ <td style="text-align: center;">
142
+ <nobr><font>{{ row.累用金额 }}</font></nobr>
143
+ </td>
144
+ <td style="text-align: center;">
145
+ <nobr><font>{{ row.剩余金额 }}</font></nobr>
146
+ </td>
147
+ <td style="text-align: center;">
148
+ <nobr><font>{{ row.表向 }}</font></nobr>
149
+ </td>
150
+ <td style="text-align: center;">
151
+ <nobr><font>{{ row.防盗卡1 }}</font></nobr>
152
+ </td>
153
+ <td style="text-align: center;">
154
+ <nobr><font>{{ row.防盗卡2 }}</font></nobr>
155
+ </td>
156
+ <td style="text-align: center;">
157
+ <nobr><font>{{ row.出厂日期 }}</font></nobr>
158
+ </td>
159
+ <td style="text-align: center;">
160
+ <nobr><font>{{ row.表位置 }}</font></nobr>
161
+ </td>
162
+ <td style="text-align: center;">
163
+ <nobr><font>{{ row.气表品牌 }}</font></nobr>
164
+ </td>
165
+ <td style="text-align: center;">
166
+ <nobr><font>{{ row.气表型号 }}</font></nobr>
167
+ </td>
168
+ <td style="text-align: center;">
169
+ <nobr><font>{{ row.新表号 }}</font></nobr>
170
+ </td>
171
+ <td style="text-align: center;">
172
+ <nobr><font>{{ row.新表底数 }}</font></nobr>
173
+ </td>
174
+ <td style="text-align: center;">
175
+ <nobr><font>{{ row.补气量 }}</font></nobr>
176
+ </td>
177
+ <td style="text-align: center;">
178
+ <nobr><font>{{ row.补气金额 }}</font></nobr>
179
+ </td>
180
+ <td style="text-align: center;">
181
+ <nobr><font>{{ row.换表费用 }}</font></nobr>
182
+ </td>
183
+ <td style="text-align: center;">
184
+ <nobr><font>{{ row.备注 }}</font></nobr>
185
+ </td>
186
+ <td style="text-align: center;">
187
+ <nobr><font>{{ row.f_date }}</font></nobr>
188
+ </td>
189
+ </tr>
190
+ </template>
191
+ </data-grid>
192
+ </criteria-paged>
193
+ </div>
194
+
195
+ </div>
196
+ </template>
197
+
198
+ <script>
199
+ import {PagedList} from 'vue-client'
200
+ export default {
201
+ title: '工单换表记录',
202
+ data () {
203
+ return {
204
+ model: new PagedList('rs/sql/changeTable', 30, {
205
+ f_orgid: 'this.model.f_orgid'
206
+ }),
207
+ criteriaShow: false,
208
+ getfield: {
209
+ 'f_service_id': '工单编号',
210
+ 'f_userinfo_code': '客户编号',
211
+ 'f_user_name': '客户名称',
212
+ 'f_address': '用户地址',
213
+ 'f_contact_phone': '联系电话',
214
+ '是否换表':'是否换表',
215
+ '换表类型':'换表类型',
216
+ '换表原因':'换表原因',
217
+ '旧表底数':'旧表底数',
218
+ '旧表剩余气量':'旧表剩余气量',
219
+ '累用金额':'累用金额',
220
+ '剩余金额':'剩余金额',
221
+ '表向':'表向',
222
+ '防盗卡1':'防盗卡1',
223
+ '防盗卡2':'防盗卡2',
224
+ '出厂日期':'出厂日期',
225
+ '表位置':'表位置',
226
+ '气表品牌':'气表品牌',
227
+ '气表型号':'气表型号',
228
+ '新表号':'新表号',
229
+ '新表底数':'新表底数',
230
+ '补气量':'补气量',
231
+ '补气金额':'补气金额',
232
+ '换表费用':'换表费用',
233
+ '备注':'备注',
234
+ 'f_date': '完成时间'
235
+ }
236
+ }
237
+ },
238
+ ready () {
239
+ // 调用查询
240
+ this.$refs.cp.$refs.cri.model.f_orgid = this.$login.f.orgid
241
+ this.search()
242
+ },
243
+ methods: {
244
+ clear () {
245
+ Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
246
+ this.$refs.cp.$refs.cri.model[key] = ''
247
+ })
248
+ },
249
+ searchCondition (args) {
250
+ this.$refs.cp.$refs.cri.model.f_orgid = this.$login.f.orgid
251
+ this.model.search(args.condition, args.model)
252
+ },
253
+ // 查询
254
+ search () {
255
+ this.$refs.cp.$refs.cri.search()
256
+ },
257
+ hidden () {
258
+ this.criteriaShow = !this.criteriaShow
259
+ },
260
+ },
261
+ computed: {
262
+ getCondition () {
263
+ return {
264
+ condition: this.model.condition,
265
+ f_orgid: this.$login.f.orgid
266
+ }
267
+ }
268
+ }
269
+ }
270
+ </script>
271
+
272
+ <style scoped>
273
+ </style>
@@ -12,6 +12,8 @@ let specialComp = {
12
12
  'failure-edit':(resolve) => { require(['./pc/FailureEdit'], resolve) },
13
13
  'new-repair-paper': (resolve) => { require(['./pc/NewRepairPaper'], resolve)},
14
14
  'tel-material-detailed': (resolve) => { require(['./pc/MaterialDetailed'], resolve)},
15
+ 'material-statistics': (resolve) => { require(['./pc/MaterialStatistics'], resolve)},
16
+ 'change-table': (resolve) => { require(['./pc/changetable'], resolve)},
15
17
  }
16
18
  exports.specialComp = specialComp
17
19
 
@@ -27,14 +27,14 @@
27
27
  <input type="text" class="form-control" v-model="model.f_single_man"
28
28
  placeholder='操作员'>
29
29
  <button class="btn btn-default" @click="search()">查询</button>
30
- <export-excel class="button_search button_spacing"
30
+ <export-excel-tel class="button_search button_spacing"
31
31
  :data="{startDate: this.model.startDate,endDate: this.model.endDate}"
32
32
  :field="{'f_filiale':'分公司','f_single_man':'派单员',
33
33
  'baoxiudan':'报修单量','dianhuotongqi':'点火通气单量',
34
34
  'baoxiuzongliang':'总单量'}"
35
35
  style="margin-top: 20px"
36
- sqlurl="rs/logic/exportfile" sql-name="getDispatch" template-name='派单员工作量导出'
37
- :choose-col="true"></export-excel>
36
+ sqlurl="rs/logic/telephoneExport" sql-name="getDispatch" template-name='派单员工作量导出'
37
+ :choose-col="true"></export-excel-tel>
38
38
  </div>
39
39
  </div>
40
40
  </criteria>
@@ -27,14 +27,14 @@
27
27
  <!-- <input type="text" class="form-control" v-model="model.f_single_man"-->
28
28
  <!-- placeholder='操作员'>-->
29
29
  <button class="btn btn-default" @click="search()">查询</button>
30
- <export-excel class="button_search button_spacing"
30
+ <export-excel-tel class="button_search button_spacing"
31
31
  :data="{startDate: this.model.startDate,endDate: this.model.endDate}"
32
32
  :field="{'gongsi':'分公司',
33
33
  'zixun':'咨询单','baoxiu':'报修单',
34
34
  'dianhuo':'点火通气单'}"
35
35
  style="margin-top: 20px"
36
- sqlurl="rs/logic/exportfile" sql-name="getDispatchWork" template-name='派单员工作量导出'
37
- :choose-col="true"></export-excel>
36
+ sqlurl="rs/logic/telephoneExport" sql-name="getDispatchWork" template-name='派单员工作量导出'
37
+ :choose-col="true"></export-excel-tel>
38
38
  </div>
39
39
  </div>
40
40
  </criteria>
@@ -25,14 +25,14 @@
25
25
  <!-- <input type="text" class="form-control" v-model="model.f_single_man"-->
26
26
  <!-- placeholder='操作员'>-->
27
27
  <button class="btn btn-default" @click="search()">查询</button>
28
- <export-excel class="button_search button_spacing"
28
+ <export-excel-tel class="button_search button_spacing"
29
29
  :data="{startDate: this.model.startDate,endDate: this.model.endDate}"
30
30
  :field="{'cetime':'时段','hwzl':'话务总量','weijie':'未接数',
31
31
  'yijie':'已接数','jtl':'接听率(%)',
32
32
  'zthsc':'总通话时长(分)'}"
33
33
  style="margin-top: 20px"
34
- sqlurl="rs/logic/exportfile" sql-name="getTraffic" template-name='话务量报表导出'
35
- :choose-col="true"></export-excel>
34
+ sqlurl="rs/logic/telephoneExport" sql-name="getTraffic" template-name='话务量报表导出'
35
+ :choose-col="true"></export-excel-tel>
36
36
  </div>
37
37
  </div>
38
38
  </criteria>
@@ -152,7 +152,6 @@
152
152
  <v-select :value.sync="model.defname" v-model='model.defname'
153
153
  :value-single="true"
154
154
  :options='$parent.$parent.defnames' placeholder='工单状态'
155
- condition="defname = '{}'"
156
155
  close-on-select></v-select>
157
156
  </div>
158
157
  <div class="col-sm-3 form-group form-input-group" style="width: 20%">
@@ -453,7 +452,7 @@ export default {
453
452
  // }else {
454
453
  // this.backservice = '是'
455
454
  // }
456
- this.selfSearch()
455
+ // this.selfSearch()
457
456
  },
458
457
  watch: {
459
458
  'all' (val) {
@@ -540,7 +539,13 @@ export default {
540
539
  },
541
540
 
542
541
  search (args) {
543
-
542
+ if(this.$refs.paged.$refs.criteria.model.defname){
543
+ if(this.$refs.paged.$refs.criteria.model.defname == '完成' || this.$refs.paged.$refs.criteria.model.defname == '撤销'){
544
+ args.condition += ` and f_state = '${this.$refs.paged.$refs.criteria.model.defname}'`
545
+ }else{
546
+ args.condition += ` and defname = '${this.$refs.paged.$refs.criteria.model.defname}'`
547
+ }
548
+ }
544
549
  if (this.f_filialeids) {
545
550
  args.condition += ` and f_filiale_id in ${this.f_filialeids}`
546
551
  } else {
@@ -45,7 +45,7 @@ let specialComp = {
45
45
  'record-list-left':(resolve) => { require(['./pc/RecordListLeft'], resolve) },
46
46
  'changemeter-info':(resolve) => { require(['./pc/ChangemeterInfo'], resolve) },
47
47
  'work-list': (resolve) => { require(['./pc/WorkList'], resolve) },
48
- 'console': (resolve) => { require(['./pc/console'], resolve) },
48
+ 'console': (resolve) => { require(['./pc/Console'], resolve) },
49
49
  'reminder-order': (resolve) => { require(['./pc/ReminderOrder'], resolve) },
50
50
  'new-repair-paper': (resolve) => { require(['./pc/NewRepairPaper'], resolve) },
51
51
  }