telephone-clients 4.0.0-1-89 → 4.0.0-1-91
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 +2 -2
- package/src/components/pc/MaintenanceWorker.vue +152 -0
- package/src/components/pc/NewRepairPaper.vue +704 -704
- package/src/components/pc/NewRepairTablePaper.vue +442 -442
- package/src/components/pc/WorkHistory.vue +650 -650
- package/src/components/pc/WorkListNew.vue +838 -838
- package/src/components/sendsingle/onlinecharge.vue +424 -424
- package/src/components/workorder/ChangeMeterPageNew.vue +663 -663
- package/src/components/workorder/ChangeMeterUserInfo.vue +130 -130
- package/src/components/workorder/RepairFirstV.vue +736 -736
- package/src/components/workorder/RepairInfo.vue +178 -178
- package/src/components/workorder/RepairOrderT.vue +713 -713
- package/src/components/workorder/oldMeterPage.vue +104 -104
- package/src/components/workorder/repairFirstTable.vue +715 -715
- package/src/filiale/jinhong/android/FaultAll.vue +936 -936
- package/src/filiale/jinhong/android/ZHihuanFirst.vue +540 -540
- package/src/filiale/jinhong/pc/WorkListAllNew.vue +884 -884
- package/src/filiale/jinhong/telephone.js +10 -10
- package/src/filiale/jinhong/telephoneAndroid.js +13 -13
- package/src/filiale/meihekou/android/Othercharge.vue +454 -454
- package/src/filiale/meihekou/android/PhoneStandWorkNew.vue +692 -692
- package/src/filiale/meihekou/android/ServiceOnlineQuery.vue +477 -477
- package/src/filiale/meihekou/pc/WorkListAllNew.vue +925 -901
- package/src/filiale/meihekou/pc/WorkListNew.vue +1113 -1049
- package/src/filiale/meihekou/telephoneAndroid.js +26 -26
- package/src/filiale/xinjiangdexin/telephone.js +16 -16
- package/src/filiale/xinliansihui/android/FaultAll.vue +923 -923
- package/src/filiale/xinliansihui/android/RepairFirstV.vue +734 -734
- package/src/filiale/xinliansihui/android/RepairOrderT.vue +713 -713
- package/src/main.js +1 -1
- package/src/telephone-android.js +425 -425
- package/src/telephone.js +799 -796
|
@@ -1,901 +1,925 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div id="stand-work-list" class="flex bg-white p-10">
|
|
3
|
-
<div class="span">
|
|
4
|
-
<criteria-paged :model="model" v-ref:paged>
|
|
5
|
-
<criteria partial='criteria' v-ref:criteria @condition-changed='$parent.search'>
|
|
6
|
-
<div novalidate 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
|
-
<v-select :value.sync="model.f_workorder_type" :value-single="true" v-model="model.f_workorder_type"
|
|
17
|
-
:options='$parent.$parent.serviceorders' placeholder='工单类型'
|
|
18
|
-
condition="tswo.f_workorder_type like '%{}%'"
|
|
19
|
-
close-on-select>
|
|
20
|
-
</v-select>
|
|
21
|
-
</div>
|
|
22
|
-
<div class="col-sm-3 form-group form-input-group" style="width: 20%;">
|
|
23
|
-
<label class="font_normal_body" style="width: 40%">客户姓名</label>
|
|
24
|
-
<input type="text" class="input_search" v-model="model.f_user_name" placeholder='客户姓名'
|
|
25
|
-
condition="tswo.f_user_name like '%{}%'"
|
|
26
|
-
:size="model.f_user_name ? model.f_user_name.length : 6">
|
|
27
|
-
</div>
|
|
28
|
-
<div class="form-group col-sm-6 button-range" style="margin-right: 10px">
|
|
29
|
-
<button class="button_search button_spacing" style="margin-right: 9px"
|
|
30
|
-
@click="$parent.$parent.clearmsg()">清空
|
|
31
|
-
</button>
|
|
32
|
-
<button class="button_search button_spacing" style="margin-right: 9px"
|
|
33
|
-
@click="search(),$dispatch('search')">查询
|
|
34
|
-
</button>
|
|
35
|
-
<export-excel-tel
|
|
36
|
-
:data="$parent.$parent.searchData"
|
|
37
|
-
:field="$parent.$parent.excelHeaders"
|
|
38
|
-
sqlurl="af-telephone/rs/logic/telephoneExport"
|
|
39
|
-
sql-name="serviceDetails"
|
|
40
|
-
template-name='工单详情导出'
|
|
41
|
-
:choose-col="true">
|
|
42
|
-
</export-excel-tel>
|
|
43
|
-
|
|
44
|
-
<div style="float: right" class="button_spacing"
|
|
45
|
-
:class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
|
|
46
|
-
@click="$parent.$parent.hidden()"></div>
|
|
47
|
-
|
|
48
|
-
</div>
|
|
49
|
-
</div>
|
|
50
|
-
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
51
|
-
<div class="col-sm-3 form-group form-input-group" style="width: 20%">
|
|
52
|
-
<label class="font_normal_body" style="width: 40%">客户编号</label>
|
|
53
|
-
<input type="text" class="input_search" v-model="model.f_userinfo_code" placeholder='客户编号'
|
|
54
|
-
condition="tswo.f_userinfo_code like '%{}%'"
|
|
55
|
-
:size="model.f_userinfo_code ? model.f_userinfo_code.length : 6">
|
|
56
|
-
</div>
|
|
57
|
-
<div class="col-sm-3 form-group form-input-group" style="width: 20%">
|
|
58
|
-
<label class="font_normal_body" style="width: 40%">派单时间</label>
|
|
59
|
-
<datepicker placeholder="起始派单时间"
|
|
60
|
-
:value.sync="model.f_created_date"
|
|
61
|
-
v-model="model.f_created_date"
|
|
62
|
-
:format="'yyyy-MM-dd 00:00:00'"
|
|
63
|
-
condition="f_created_date > '{}'"
|
|
64
|
-
></datepicker>
|
|
65
|
-
</div>
|
|
66
|
-
<div class="col-sm-3 form-group form-input-group" style="width: 20%">
|
|
67
|
-
<label class="font_normal_body" style="width: 40%">派单时间</label>
|
|
68
|
-
<datepicker placeholder="终止派单时间"
|
|
69
|
-
:value.sync="model.f_created_enddate"
|
|
70
|
-
v-model="model.f_created_enddate"
|
|
71
|
-
:format="'yyyy-MM-dd 23:59:59'"
|
|
72
|
-
condition="f_created_date < '{}'"
|
|
73
|
-
></datepicker>
|
|
74
|
-
</div>
|
|
75
|
-
<div class="col-sm-3 form-group form-input-group" style="width: 20%">
|
|
76
|
-
<label class="font_normal_body" style="width: 40%">来电电话</label>
|
|
77
|
-
<input type="text" class="input_search" v-model="model.f_phone" placeholder='来电电话'
|
|
78
|
-
condition="tswo.f_phone like '%{}%'"
|
|
79
|
-
:size="model.f_phone ? model.f_phone.length : 6">
|
|
80
|
-
</div>
|
|
81
|
-
<div class="col-sm-3 form-group form-input-group" style="width: 20%">
|
|
82
|
-
<label class="font_normal_body" style="width: 40%">联系电话</label>
|
|
83
|
-
<input type="text" class="input_search" v-model="model.f_contact_phone" placeholder='联系电话'
|
|
84
|
-
condition="tswo.f_contact_phone like '%{}%'"
|
|
85
|
-
:size="model.f_contact_phone ? model.f_contact_phone.length : 6">
|
|
86
|
-
</div>
|
|
87
|
-
</div>
|
|
88
|
-
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
89
|
-
<div class="col-sm-3 form-group form-input-group" style="width: 20%">
|
|
90
|
-
<label class="font_normal_body" style="width: 40%">地  址</label>
|
|
91
|
-
<input type="text" class="input_search" v-model="model.f_address" placeholder='地址'
|
|
92
|
-
condition="tswo.f_address like '%{}%'"
|
|
93
|
-
:size="model.f_address ? model.f_address.length : 4">
|
|
94
|
-
</div>
|
|
95
|
-
<div class="col-sm-3 form-group form-input-group" style="width: 20%">
|
|
96
|
-
<label class="font_normal_body" style="width: 40%">接单站点</label>
|
|
97
|
-
<v-select :value.sync="model.f_outlets" v-model='model.f_outlets'
|
|
98
|
-
multiple="true"
|
|
99
|
-
:options='$parent.$parent.outlets' placeholder='接单站点'
|
|
100
|
-
close-on-select></v-select>
|
|
101
|
-
<!-- <input type="text" class="input_search" v-model="model.f_outlets" placeholder='接单站点'-->
|
|
102
|
-
<!-- condition="tswo.f_outlets like '%{}%'"-->
|
|
103
|
-
<!-- :size="model.f_outlets ? model.f_outlets.length : 6">-->
|
|
104
|
-
</div>
|
|
105
|
-
<div class="col-sm-3 form-group form-input-group" style="width: 20%">
|
|
106
|
-
<label class="font_normal_body" style="width: 40%">完成时间</label>
|
|
107
|
-
<datepicker placeholder="维修开始时间"
|
|
108
|
-
:value.sync="model.f_date_start"
|
|
109
|
-
v-model="model.f_date_start"
|
|
110
|
-
:format="'yyyy-MM-dd 00:00:00'"
|
|
111
|
-
condition="f_date > '{}'"
|
|
112
|
-
></datepicker>
|
|
113
|
-
</div>
|
|
114
|
-
<div class="col-sm-3 form-group form-input-group" style="width: 20%">
|
|
115
|
-
<label class="font_normal_body" style="width: 40%">完成时间</label>
|
|
116
|
-
<datepicker placeholder="维修结束时间"
|
|
117
|
-
:value.sync="model.f_date_end"
|
|
118
|
-
v-model="model.f_date_end"
|
|
119
|
-
:format="'yyyy-MM-dd 23:59:59'"
|
|
120
|
-
condition="f_date < '{}'"
|
|
121
|
-
></datepicker>
|
|
122
|
-
</div>
|
|
123
|
-
<div class="col-sm-3 form-group form-input-group" style="width: 20%">
|
|
124
|
-
<label class="font_normal_body" style="width: 40%">话 务 员</label>
|
|
125
|
-
<input type="text" class="input_search" v-model="model.f_attendant" placeholder='话务员'
|
|
126
|
-
condition="tswo.f_attendant like '%{}%'"
|
|
127
|
-
:size="model.f_attendant ? model.f_attendant.length : 6">
|
|
128
|
-
</div>
|
|
129
|
-
</div>
|
|
130
|
-
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
131
|
-
<div class="col-sm-6 form-group form-input-group" style="width: 40%">
|
|
132
|
-
<role-selector-tel
|
|
133
|
-
role-name="维修员"
|
|
134
|
-
role-lable="维 修 员"
|
|
135
|
-
@re-res="$parent.$parent.getRes"
|
|
136
|
-
:value.sync="model.f_checker_id"
|
|
137
|
-
v-model="model.f_checker_id"
|
|
138
|
-
condition="tswo.f_order_man = '{}'">
|
|
139
|
-
</role-selector-tel>
|
|
140
|
-
</div>
|
|
141
|
-
<!-- <div class="col-sm-3 form-group form-input-group" style="width: 20%">-->
|
|
142
|
-
<!-- <label class="font_normal_body" style="width: 40%">接 单 员</label>-->
|
|
143
|
-
<!-- <input type="text" class="input_search" v-model="model.f_order_man" placeholder='接单员'-->
|
|
144
|
-
<!-- condition="tswo.f_order_man like '%{}%'"-->
|
|
145
|
-
<!-- :size="model.f_order_man ? model.f_order_man.length : 6">-->
|
|
146
|
-
<!-- </div>-->
|
|
147
|
-
<div class="col-sm-3 form-group form-input-group" style="width: 20%">
|
|
148
|
-
<label class="font_normal_body" style="width: 40%">工单状态</label>
|
|
149
|
-
<v-select :value.sync="model.defname" v-model='model.defname'
|
|
150
|
-
:value-single="true"
|
|
151
|
-
:options='$parent.$parent.defnames' placeholder='工单状态'
|
|
152
|
-
condition="sa.defname = '{}'"
|
|
153
|
-
close-on-select></v-select>
|
|
154
|
-
</div>
|
|
155
|
-
<div class="col-sm-3 form-group form-input-group" style="width: 20%">
|
|
156
|
-
<label class="font_normal_body" style="width: 40%"
|
|
157
|
-
<
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
<
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
<
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
<
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
</div>
|
|
242
|
-
<div class="col-sm-3 form-group form-input-group" style="width: 20%">
|
|
243
|
-
<label class="font_normal_body" style="width: 40%"
|
|
244
|
-
<
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
></
|
|
250
|
-
</div>
|
|
251
|
-
<div class="col-sm-3 form-group form-input-group" style="width: 20%">
|
|
252
|
-
<label class="font_normal_body" style="width: 40%"
|
|
253
|
-
<
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
<th>
|
|
307
|
-
<nobr
|
|
308
|
-
</th>
|
|
309
|
-
<th>
|
|
310
|
-
<nobr
|
|
311
|
-
</th>
|
|
312
|
-
<th>
|
|
313
|
-
<nobr
|
|
314
|
-
</th>
|
|
315
|
-
<th>
|
|
316
|
-
<nobr
|
|
317
|
-
</th>
|
|
318
|
-
<th>
|
|
319
|
-
<nobr
|
|
320
|
-
</th>
|
|
321
|
-
<th>
|
|
322
|
-
<nobr
|
|
323
|
-
</th>
|
|
324
|
-
<th>
|
|
325
|
-
<nobr
|
|
326
|
-
</th>
|
|
327
|
-
<th>
|
|
328
|
-
<nobr
|
|
329
|
-
</th>
|
|
330
|
-
<th>
|
|
331
|
-
<nobr
|
|
332
|
-
</th>
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
</
|
|
364
|
-
<
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
<
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
</td>
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
<td
|
|
399
|
-
<nobr>
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
</td>
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
<
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
</
|
|
508
|
-
|
|
509
|
-
<
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
'
|
|
574
|
-
|
|
575
|
-
'f_date_come'
|
|
576
|
-
'
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
}
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
this.
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
}
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
}
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
if (
|
|
684
|
-
|
|
685
|
-
}
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
if (
|
|
690
|
-
|
|
691
|
-
}
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
args.condition += `
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
args.model.
|
|
771
|
-
|
|
772
|
-
}
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
}
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
}
|
|
900
|
-
|
|
901
|
-
|
|
1
|
+
<template>
|
|
2
|
+
<div id="stand-work-list" class="flex bg-white p-10">
|
|
3
|
+
<div class="span">
|
|
4
|
+
<criteria-paged :model="model" v-ref:paged>
|
|
5
|
+
<criteria partial='criteria' v-ref:criteria @condition-changed='$parent.search'>
|
|
6
|
+
<div novalidate 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
|
+
<v-select :value.sync="model.f_workorder_type" :value-single="true" v-model="model.f_workorder_type"
|
|
17
|
+
:options='$parent.$parent.serviceorders' placeholder='工单类型'
|
|
18
|
+
condition="tswo.f_workorder_type like '%{}%'"
|
|
19
|
+
close-on-select>
|
|
20
|
+
</v-select>
|
|
21
|
+
</div>
|
|
22
|
+
<div class="col-sm-3 form-group form-input-group" style="width: 20%;">
|
|
23
|
+
<label class="font_normal_body" style="width: 40%">客户姓名</label>
|
|
24
|
+
<input type="text" class="input_search" v-model="model.f_user_name" placeholder='客户姓名'
|
|
25
|
+
condition="tswo.f_user_name like '%{}%'"
|
|
26
|
+
:size="model.f_user_name ? model.f_user_name.length : 6">
|
|
27
|
+
</div>
|
|
28
|
+
<div class="form-group col-sm-6 button-range" style="margin-right: 10px">
|
|
29
|
+
<button class="button_search button_spacing" style="margin-right: 9px"
|
|
30
|
+
@click="$parent.$parent.clearmsg()">清空
|
|
31
|
+
</button>
|
|
32
|
+
<button class="button_search button_spacing" style="margin-right: 9px"
|
|
33
|
+
@click="search(),$dispatch('search')">查询
|
|
34
|
+
</button>
|
|
35
|
+
<export-excel-tel
|
|
36
|
+
:data="$parent.$parent.searchData"
|
|
37
|
+
:field="$parent.$parent.excelHeaders"
|
|
38
|
+
sqlurl="af-telephone/rs/logic/telephoneExport"
|
|
39
|
+
sql-name="serviceDetails"
|
|
40
|
+
template-name='工单详情导出'
|
|
41
|
+
:choose-col="true">
|
|
42
|
+
</export-excel-tel>
|
|
43
|
+
|
|
44
|
+
<div style="float: right" class="button_spacing"
|
|
45
|
+
:class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
|
|
46
|
+
@click="$parent.$parent.hidden()"></div>
|
|
47
|
+
|
|
48
|
+
</div>
|
|
49
|
+
</div>
|
|
50
|
+
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
51
|
+
<div class="col-sm-3 form-group form-input-group" style="width: 20%">
|
|
52
|
+
<label class="font_normal_body" style="width: 40%">客户编号</label>
|
|
53
|
+
<input type="text" class="input_search" v-model="model.f_userinfo_code" placeholder='客户编号'
|
|
54
|
+
condition="tswo.f_userinfo_code like '%{}%'"
|
|
55
|
+
:size="model.f_userinfo_code ? model.f_userinfo_code.length : 6">
|
|
56
|
+
</div>
|
|
57
|
+
<div class="col-sm-3 form-group form-input-group" style="width: 20%">
|
|
58
|
+
<label class="font_normal_body" style="width: 40%">派单时间</label>
|
|
59
|
+
<datepicker placeholder="起始派单时间"
|
|
60
|
+
:value.sync="model.f_created_date"
|
|
61
|
+
v-model="model.f_created_date"
|
|
62
|
+
:format="'yyyy-MM-dd 00:00:00'"
|
|
63
|
+
condition="f_created_date > '{}'"
|
|
64
|
+
></datepicker>
|
|
65
|
+
</div>
|
|
66
|
+
<div class="col-sm-3 form-group form-input-group" style="width: 20%">
|
|
67
|
+
<label class="font_normal_body" style="width: 40%">派单时间</label>
|
|
68
|
+
<datepicker placeholder="终止派单时间"
|
|
69
|
+
:value.sync="model.f_created_enddate"
|
|
70
|
+
v-model="model.f_created_enddate"
|
|
71
|
+
:format="'yyyy-MM-dd 23:59:59'"
|
|
72
|
+
condition="f_created_date < '{}'"
|
|
73
|
+
></datepicker>
|
|
74
|
+
</div>
|
|
75
|
+
<div class="col-sm-3 form-group form-input-group" style="width: 20%">
|
|
76
|
+
<label class="font_normal_body" style="width: 40%">来电电话</label>
|
|
77
|
+
<input type="text" class="input_search" v-model="model.f_phone" placeholder='来电电话'
|
|
78
|
+
condition="tswo.f_phone like '%{}%'"
|
|
79
|
+
:size="model.f_phone ? model.f_phone.length : 6">
|
|
80
|
+
</div>
|
|
81
|
+
<div class="col-sm-3 form-group form-input-group" style="width: 20%">
|
|
82
|
+
<label class="font_normal_body" style="width: 40%">联系电话</label>
|
|
83
|
+
<input type="text" class="input_search" v-model="model.f_contact_phone" placeholder='联系电话'
|
|
84
|
+
condition="tswo.f_contact_phone like '%{}%'"
|
|
85
|
+
:size="model.f_contact_phone ? model.f_contact_phone.length : 6">
|
|
86
|
+
</div>
|
|
87
|
+
</div>
|
|
88
|
+
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
89
|
+
<div class="col-sm-3 form-group form-input-group" style="width: 20%">
|
|
90
|
+
<label class="font_normal_body" style="width: 40%">地  址</label>
|
|
91
|
+
<input type="text" class="input_search" v-model="model.f_address" placeholder='地址'
|
|
92
|
+
condition="tswo.f_address like '%{}%'"
|
|
93
|
+
:size="model.f_address ? model.f_address.length : 4">
|
|
94
|
+
</div>
|
|
95
|
+
<div class="col-sm-3 form-group form-input-group" style="width: 20%">
|
|
96
|
+
<label class="font_normal_body" style="width: 40%">接单站点</label>
|
|
97
|
+
<v-select :value.sync="model.f_outlets" v-model='model.f_outlets'
|
|
98
|
+
multiple="true"
|
|
99
|
+
:options='$parent.$parent.outlets' placeholder='接单站点'
|
|
100
|
+
close-on-select></v-select>
|
|
101
|
+
<!-- <input type="text" class="input_search" v-model="model.f_outlets" placeholder='接单站点'-->
|
|
102
|
+
<!-- condition="tswo.f_outlets like '%{}%'"-->
|
|
103
|
+
<!-- :size="model.f_outlets ? model.f_outlets.length : 6">-->
|
|
104
|
+
</div>
|
|
105
|
+
<div class="col-sm-3 form-group form-input-group" style="width: 20%">
|
|
106
|
+
<label class="font_normal_body" style="width: 40%">完成时间</label>
|
|
107
|
+
<datepicker placeholder="维修开始时间"
|
|
108
|
+
:value.sync="model.f_date_start"
|
|
109
|
+
v-model="model.f_date_start"
|
|
110
|
+
:format="'yyyy-MM-dd 00:00:00'"
|
|
111
|
+
condition="f_date > '{}'"
|
|
112
|
+
></datepicker>
|
|
113
|
+
</div>
|
|
114
|
+
<div class="col-sm-3 form-group form-input-group" style="width: 20%">
|
|
115
|
+
<label class="font_normal_body" style="width: 40%">完成时间</label>
|
|
116
|
+
<datepicker placeholder="维修结束时间"
|
|
117
|
+
:value.sync="model.f_date_end"
|
|
118
|
+
v-model="model.f_date_end"
|
|
119
|
+
:format="'yyyy-MM-dd 23:59:59'"
|
|
120
|
+
condition="f_date < '{}'"
|
|
121
|
+
></datepicker>
|
|
122
|
+
</div>
|
|
123
|
+
<div class="col-sm-3 form-group form-input-group" style="width: 20%">
|
|
124
|
+
<label class="font_normal_body" style="width: 40%">话 务 员</label>
|
|
125
|
+
<input type="text" class="input_search" v-model="model.f_attendant" placeholder='话务员'
|
|
126
|
+
condition="tswo.f_attendant like '%{}%'"
|
|
127
|
+
:size="model.f_attendant ? model.f_attendant.length : 6">
|
|
128
|
+
</div>
|
|
129
|
+
</div>
|
|
130
|
+
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
131
|
+
<div class="col-sm-6 form-group form-input-group" style="width: 40%">
|
|
132
|
+
<role-selector-tel
|
|
133
|
+
role-name="维修员"
|
|
134
|
+
role-lable="维 修 员"
|
|
135
|
+
@re-res="$parent.$parent.getRes"
|
|
136
|
+
:value.sync="model.f_checker_id"
|
|
137
|
+
v-model="model.f_checker_id"
|
|
138
|
+
condition="tswo.f_order_man = '{}'">
|
|
139
|
+
</role-selector-tel>
|
|
140
|
+
</div>
|
|
141
|
+
<!-- <div class="col-sm-3 form-group form-input-group" style="width: 20%">-->
|
|
142
|
+
<!-- <label class="font_normal_body" style="width: 40%">接 单 员</label>-->
|
|
143
|
+
<!-- <input type="text" class="input_search" v-model="model.f_order_man" placeholder='接单员'-->
|
|
144
|
+
<!-- condition="tswo.f_order_man like '%{}%'"-->
|
|
145
|
+
<!-- :size="model.f_order_man ? model.f_order_man.length : 6">-->
|
|
146
|
+
<!-- </div>-->
|
|
147
|
+
<div class="col-sm-3 form-group form-input-group" style="width: 20%">
|
|
148
|
+
<label class="font_normal_body" style="width: 40%">工单状态</label>
|
|
149
|
+
<v-select :value.sync="model.defname" v-model='model.defname'
|
|
150
|
+
:value-single="true"
|
|
151
|
+
:options='$parent.$parent.defnames' placeholder='工单状态'
|
|
152
|
+
condition="sa.defname = '{}'"
|
|
153
|
+
close-on-select></v-select>
|
|
154
|
+
</div>
|
|
155
|
+
<div v-if="model.defname == '结案'" class="col-sm-3 form-group form-input-group" style="width: 20%">
|
|
156
|
+
<label class="font_normal_body" style="width: 40%">结案时间</label>
|
|
157
|
+
<datepicker placeholder="结案开始时间"
|
|
158
|
+
:value.sync="model.f_close_time_start"
|
|
159
|
+
v-model="model.f_close_time_start"
|
|
160
|
+
:format="'yyyy-MM-dd 00:00:00'"
|
|
161
|
+
condition="tsc.f_date > '{}'"
|
|
162
|
+
></datepicker>
|
|
163
|
+
</div>
|
|
164
|
+
<div v-if="model.defname == '结案'" class="col-sm-3 form-group form-input-group" style="width: 20%">
|
|
165
|
+
<label class="font_normal_body" style="width: 40%">结案时间</label>
|
|
166
|
+
<datepicker placeholder="结案结束时间"
|
|
167
|
+
:value.sync="model.f_close_time_end"
|
|
168
|
+
v-model="model.f_close_time_end"
|
|
169
|
+
:format="'yyyy-MM-dd 23:59:59'"
|
|
170
|
+
condition="tsc.f_date < '{}'"
|
|
171
|
+
></datepicker>
|
|
172
|
+
</div>
|
|
173
|
+
<div class="col-sm-3 form-group form-input-group" style="width: 20%">
|
|
174
|
+
<label class="font_normal_body" style="width: 40%" >报修类型</label>
|
|
175
|
+
<v-select :value.sync="model.f_repairtype" :value-single="true" v-model="model.f_repairtype"
|
|
176
|
+
:options='$parent.$parent.repairstypes' placeholder='报修类型'
|
|
177
|
+
condition="f_repairtype like '%{}%'"
|
|
178
|
+
close-on-select>
|
|
179
|
+
</v-select>
|
|
180
|
+
</div>
|
|
181
|
+
<div class="col-sm-3 form-group form-input-group" style="width: 20%">
|
|
182
|
+
<label class="font_normal_body" style="width: 40%" >逾期天数</label>
|
|
183
|
+
<v-select :value.sync="model.overday" :value-single="true" v-model="model.overday"
|
|
184
|
+
:options='$parent.$parent.overdays' placeholder='逾期天数'
|
|
185
|
+
close-on-select>
|
|
186
|
+
</v-select>
|
|
187
|
+
</div>
|
|
188
|
+
</div>
|
|
189
|
+
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
190
|
+
<div class="col-sm-3 form-group form-input-group" style="width: 20%">
|
|
191
|
+
<label class="font_normal_body" style="width: 40%" >是否回访</label>
|
|
192
|
+
<v-select :value.sync="model.f_revisit" :value-single="true" v-model="model.f_revisit"
|
|
193
|
+
:options='$parent.$parent.revisits' placeholder='是否回访'
|
|
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
|
+
<v-select :value.sync="model.failure" :value-single="true" v-model="model.failure"
|
|
200
|
+
:options='$parent.$parent.failures' placeholder='故障类型'
|
|
201
|
+
condition="failure like '%{}%'"
|
|
202
|
+
close-on-select>
|
|
203
|
+
</v-select>
|
|
204
|
+
</div>
|
|
205
|
+
<div class="col-sm-3 form-group form-input-group" style="width: 20%">
|
|
206
|
+
<label class="font_normal_body" style="width: 40%">工单来源</label>
|
|
207
|
+
<v-select :value.sync="model.f_source" v-model='model.f_source'
|
|
208
|
+
:value-single="true"
|
|
209
|
+
:options='$parent.$parent.sources' placeholder='工单来源'
|
|
210
|
+
close-on-select
|
|
211
|
+
condition="tswo.f_source = '{}'"></v-select>
|
|
212
|
+
</div>
|
|
213
|
+
<div class="col-sm-3 form-group form-input-group" style="width: 20%">
|
|
214
|
+
<label class="font_normal_body" style="width: 40%">工单结果</label>
|
|
215
|
+
<v-select :value.sync="model.f_result_status" :value-single="true" v-model="model.f_result_status"
|
|
216
|
+
:options='$parent.$parent.result_status' placeholder='工单结果'
|
|
217
|
+
close-on-select>
|
|
218
|
+
</v-select>
|
|
219
|
+
</div>
|
|
220
|
+
<div class="col-sm-3 form-group form-input-group" style="width: 20%">
|
|
221
|
+
<label class="font_normal_body" style="width: 40%">维修内容</label>
|
|
222
|
+
<input type="text" class="input_search" v-model="model.f_remarks" placeholder='维修内容'
|
|
223
|
+
condition="tsw.f_remarks like '%{}%'"
|
|
224
|
+
:size="model.f_remarks ? model.f_remarks.length : 6">
|
|
225
|
+
</div>
|
|
226
|
+
<div class="col-sm-3 form-group form-input-group" style="width: 20%">
|
|
227
|
+
<label class="font_normal_body" style="width: 40%">用户类型</label>
|
|
228
|
+
<v-select :value.sync="model.f_user_type" v-model='model.f_user_type'
|
|
229
|
+
:value-single="true"
|
|
230
|
+
:options='$parent.$parent.userType' placeholder='用户类型'
|
|
231
|
+
close-on-select
|
|
232
|
+
condition="tswo.f_user_type = '{}'"></v-select>
|
|
233
|
+
</div>
|
|
234
|
+
<div class="col-sm-3 form-group form-input-group" style="width: 20%">
|
|
235
|
+
<label class="font_normal_body" style="width: 40%">片  区</label>
|
|
236
|
+
<v-select :value.sync="model.f_small_area" v-model='model.f_small_area'
|
|
237
|
+
:value-single="true"
|
|
238
|
+
:options='$parent.$parent.slice_areas' placeholder='片区'
|
|
239
|
+
close-on-select
|
|
240
|
+
condition="f_small_area = '{}'"></v-select>
|
|
241
|
+
</div>
|
|
242
|
+
<div class="col-sm-3 form-group form-input-group" style="width: 20%">
|
|
243
|
+
<label class="font_normal_body" style="width: 40%">是否退回</label>
|
|
244
|
+
<v-select :value.sync="model.f_isback" v-model='model.f_isback'
|
|
245
|
+
:value-single="true"
|
|
246
|
+
:options='$parent.$parent.revisits'
|
|
247
|
+
placeholder='是否退回'
|
|
248
|
+
close-on-select
|
|
249
|
+
></v-select>
|
|
250
|
+
</div>
|
|
251
|
+
<div class="col-sm-3 form-group form-input-group" style="width: 20%">
|
|
252
|
+
<label class="font_normal_body" style="width: 40%">接单时间</label>
|
|
253
|
+
<datepicker placeholder="接单开始时间"
|
|
254
|
+
:value.sync="model.f_order_date_start"
|
|
255
|
+
v-model="model.f_order_date_start"
|
|
256
|
+
:format="'yyyy-MM-dd 00:00:00'"
|
|
257
|
+
condition="tswo.f_order_date > '{}'"
|
|
258
|
+
></datepicker>
|
|
259
|
+
</div>
|
|
260
|
+
<div class="col-sm-3 form-group form-input-group" style="width: 20%">
|
|
261
|
+
<label class="font_normal_body" style="width: 40%">接单时间</label>
|
|
262
|
+
<datepicker placeholder="接单结束时间"
|
|
263
|
+
:value.sync="model.f_order_date_end"
|
|
264
|
+
v-model="model.f_order_date_end"
|
|
265
|
+
:format="'yyyy-MM-dd 23:59:59'"
|
|
266
|
+
condition="tswo.f_order_date < '{}'"
|
|
267
|
+
></datepicker>
|
|
268
|
+
</div>
|
|
269
|
+
<div class="col-sm-3 form-group form-input-group" style="width: 20%">
|
|
270
|
+
<label class="font_normal_body" style="width: 40%">故障明细</label>
|
|
271
|
+
<input type="text" class="input_search" v-model="model.f_failure" placeholder='故障明细'
|
|
272
|
+
condition="tswo.failure like '%{}%'"
|
|
273
|
+
:size="model.f_failure ? model.f_failure.length : 6">
|
|
274
|
+
</div>
|
|
275
|
+
<div class="col-sm-3 form-group form-input-group" style="width: 20%">
|
|
276
|
+
<label class="font_normal_body" style="width: 40%">工单备注</label>
|
|
277
|
+
<input type="text" class="input_search" v-model="model.fo_remarks" placeholder='工单备注'
|
|
278
|
+
condition="tswo.f_remarks like '%{}%'"
|
|
279
|
+
:size="model.fo_remarks ? model.fo_remarks.length : 6">
|
|
280
|
+
</div>
|
|
281
|
+
</div>
|
|
282
|
+
|
|
283
|
+
</div>
|
|
284
|
+
</criteria>
|
|
285
|
+
|
|
286
|
+
<data-grid partial='list' v-ref:grid :model="model" class="list_area table_sy">
|
|
287
|
+
<template partial='head'>
|
|
288
|
+
<tr>
|
|
289
|
+
<th>
|
|
290
|
+
<nobr>序号</nobr>
|
|
291
|
+
</th>
|
|
292
|
+
<th>
|
|
293
|
+
<nobr>回访</nobr>
|
|
294
|
+
</th>
|
|
295
|
+
<th>
|
|
296
|
+
<nobr>工单类型</nobr>
|
|
297
|
+
</th>
|
|
298
|
+
<!--<th><nobr>报修类型</nobr></th>-->
|
|
299
|
+
<th>
|
|
300
|
+
<nobr>工单编号</nobr>
|
|
301
|
+
</th>
|
|
302
|
+
<th>
|
|
303
|
+
<nobr>派单时间</nobr>
|
|
304
|
+
</th>
|
|
305
|
+
|
|
306
|
+
<th>
|
|
307
|
+
<nobr>客户信息</nobr>
|
|
308
|
+
</th>
|
|
309
|
+
<th>
|
|
310
|
+
<nobr>用户类型</nobr>
|
|
311
|
+
</th>
|
|
312
|
+
<th>
|
|
313
|
+
<nobr>表号</nobr>
|
|
314
|
+
</th>
|
|
315
|
+
<th>
|
|
316
|
+
<nobr>来电电话</nobr>
|
|
317
|
+
</th>
|
|
318
|
+
<th>
|
|
319
|
+
<nobr>联系电话</nobr>
|
|
320
|
+
</th>
|
|
321
|
+
<th>
|
|
322
|
+
<nobr>故障明细</nobr>
|
|
323
|
+
</th>
|
|
324
|
+
<th>
|
|
325
|
+
<nobr>工单来源</nobr>
|
|
326
|
+
</th>
|
|
327
|
+
<th>
|
|
328
|
+
<nobr>工单状态</nobr>
|
|
329
|
+
</th>
|
|
330
|
+
<th>
|
|
331
|
+
<nobr>派单人</nobr>
|
|
332
|
+
</th>
|
|
333
|
+
<th>
|
|
334
|
+
<nobr>话务员</nobr>
|
|
335
|
+
</th>
|
|
336
|
+
<th>
|
|
337
|
+
<nobr>接单员</nobr>
|
|
338
|
+
</th>
|
|
339
|
+
<th>
|
|
340
|
+
<nobr>接单时间</nobr>
|
|
341
|
+
</th>
|
|
342
|
+
<th>
|
|
343
|
+
<nobr>结单时间</nobr>
|
|
344
|
+
</th>
|
|
345
|
+
<th>
|
|
346
|
+
<nobr>结案时间</nobr>
|
|
347
|
+
</th>
|
|
348
|
+
<th>
|
|
349
|
+
<nobr>到达时间</nobr>
|
|
350
|
+
</th>
|
|
351
|
+
<th>
|
|
352
|
+
<nobr>离开时间</nobr>
|
|
353
|
+
</th>
|
|
354
|
+
|
|
355
|
+
<th>
|
|
356
|
+
<nobr>逾期状态</nobr>
|
|
357
|
+
</th>
|
|
358
|
+
<th>
|
|
359
|
+
<nobr>截止时间</nobr>
|
|
360
|
+
</th>
|
|
361
|
+
<th>
|
|
362
|
+
<nobr>工单结果</nobr>
|
|
363
|
+
</th>
|
|
364
|
+
<th>
|
|
365
|
+
<nobr>维护信息</nobr>
|
|
366
|
+
</th>
|
|
367
|
+
<th>
|
|
368
|
+
<nobr>是否加急</nobr>
|
|
369
|
+
</th>
|
|
370
|
+
<th>
|
|
371
|
+
<nobr>工单备注</nobr>
|
|
372
|
+
</th>
|
|
373
|
+
</tr>
|
|
374
|
+
</template>
|
|
375
|
+
<template partial='body'>
|
|
376
|
+
<td style="text-align: center;" :style="row.f_overdue_show == '已逾期'?'color:#FF5744':row.defname == '话务员派单'? 'color:#FF9900':''">
|
|
377
|
+
<nobr>{{ $index + 1 }}</nobr>
|
|
378
|
+
</td>
|
|
379
|
+
<td style="text-align: center;" :style="row.f_overdue_show == '已逾期'?'color:#FF5744':row.defname == '话务员派单'? 'color:#FF9900':''">
|
|
380
|
+
<nobr v-if="row.f_phone&&row.f_again_revisit!='否'">
|
|
381
|
+
<button-link type="button" class="btn btn-link"
|
|
382
|
+
@click="$parent.$parent.$parent.playWav(row.f_phone,row)">回访
|
|
383
|
+
</button-link>
|
|
384
|
+
</nobr>
|
|
385
|
+
<nobr v-if="(!row.f_phone)||row.f_again_revisit=='否'">回访</nobr>
|
|
386
|
+
</td>
|
|
387
|
+
<td style="text-align: center;" :style="row.f_overdue_show == '已逾期'?'color:#FF5744':row.defname == '话务员派单'? 'color:#FF9900':''">
|
|
388
|
+
<nobr>{{ row.f_workorder_type }}</nobr>
|
|
389
|
+
</td>
|
|
390
|
+
|
|
391
|
+
<td style="text-align: center;" :style="row.f_overdue_show == '已逾期'?'color:#FF5744':row.defname == '话务员派单'? 'color:#FF9900':''">
|
|
392
|
+
<nobr>{{ row.f_service_id }}</nobr>
|
|
393
|
+
</td>
|
|
394
|
+
<td style="text-align: center;" :style="row.f_overdue_show == '已逾期'?'color:#FF5744':row.defname == '话务员派单'? 'color:#FF9900':''">
|
|
395
|
+
<nobr>{{ row.f_created_date }}</nobr>
|
|
396
|
+
</td>
|
|
397
|
+
|
|
398
|
+
<td style="text-align: center;" :style="row.f_overdue_show == '已逾期'?'color:#FF5744':row.defname == '话务员派单'? 'color:#FF9900':''">
|
|
399
|
+
<nobr>
|
|
400
|
+
{{ row.f_user_name }} {{ row.f_address }}
|
|
401
|
+
</nobr>
|
|
402
|
+
</td>
|
|
403
|
+
<td style="text-align: center;" :style="row.f_overdue_show == '已逾期'?'color:#FF5744':row.defname == '话务员派单'? 'color:#FF9900':''">
|
|
404
|
+
<nobr>
|
|
405
|
+
{{ row.f_user_type}}
|
|
406
|
+
</nobr>
|
|
407
|
+
</td>
|
|
408
|
+
|
|
409
|
+
<td style="text-align: center;" :style="row.f_overdue_show == '已逾期'?'color:#FF5744':row.defname == '话务员派单'? 'color:#FF9900':''">
|
|
410
|
+
<nobr>
|
|
411
|
+
{{ row.f_meternumber }}
|
|
412
|
+
</nobr>
|
|
413
|
+
</td>
|
|
414
|
+
<td style="text-align: center;" :style="row.f_overdue_show == '已逾期'?'color:#FF5744':row.defname == '话务员派单'? 'color:#FF9900':''">
|
|
415
|
+
<nobr>
|
|
416
|
+
{{ row.f_phone }}
|
|
417
|
+
</nobr>
|
|
418
|
+
</td>
|
|
419
|
+
<td style="text-align: center;" :style="row.f_overdue_show == '已逾期'?'color:#FF5744':row.defname == '话务员派单'? 'color:#FF9900':''">
|
|
420
|
+
<nobr>{{ row.f_contact_phone }}</nobr>
|
|
421
|
+
</td>
|
|
422
|
+
<td style="text-align: center;" :style="row.f_overdue_show == '已逾期'?'color:#FF5744':row.defname == '话务员派单'? 'color:#FF9900':''">
|
|
423
|
+
<nobr>{{ $parent.$parent.$parent.trouble(row.failure) }}</nobr>
|
|
424
|
+
</td>
|
|
425
|
+
<td style="text-align: center;" :style="row.f_overdue_show == '已逾期'?'color:#FF5744':row.defname == '话务员派单'? 'color:#FF9900':''">
|
|
426
|
+
<nobr>{{ row.f_source }}</nobr>
|
|
427
|
+
</td>
|
|
428
|
+
<td style="text-align: center;" :style="row.f_overdue_show == '已逾期'?'color:#FF5744':row.defname == '话务员派单'? 'color:#FF9900':''">
|
|
429
|
+
<nobr>
|
|
430
|
+
{{ row.defname ? row.defname : (row.f_state ?row.f_state:'完成')}}
|
|
431
|
+
</nobr>
|
|
432
|
+
</td>
|
|
433
|
+
<td style="text-align: center;" :style="row.f_overdue_show == '已逾期'?'color:#FF5744':row.defname == '话务员派单'? 'color:#FF9900':''">
|
|
434
|
+
<nobr>{{ row.f_single_man }}</nobr>
|
|
435
|
+
</td>
|
|
436
|
+
<td style="text-align: center;" :style="row.f_overdue_show == '已逾期'?'color:#FF5744':row.defname == '话务员派单'? 'color:#FF9900':''">
|
|
437
|
+
<nobr>{{ row.f_attendant }}</nobr>
|
|
438
|
+
</td>
|
|
439
|
+
<td style="text-align: center;" :style="row.f_overdue_show == '已逾期'?'color:#FF5744':row.defname == '话务员派单'? 'color:#FF9900':''">
|
|
440
|
+
<nobr>{{ row.f_order_man }} {{ row.f_repairman_phone }}</nobr>
|
|
441
|
+
</td>
|
|
442
|
+
<td style="text-align: center;" :style="row.f_overdue_show == '已逾期'?'color:#FF5744':row.defname == '话务员派单'? 'color:#FF9900':''">
|
|
443
|
+
<nobr>{{ row.f_order_date }}</nobr>
|
|
444
|
+
</td>
|
|
445
|
+
<td style="text-align: center;" :style="row.f_overdue_show == '已逾期'?'color:#FF5744':row.defname == '话务员派单'? 'color:#FF9900':''">
|
|
446
|
+
<nobr>{{ row.f_date }}</nobr>
|
|
447
|
+
</td>
|
|
448
|
+
<td style="text-align: center;" :style="row.f_overdue_show == '已逾期'?'color:#FF5744':row.defname == '话务员派单'? 'color:#FF9900':''">
|
|
449
|
+
<nobr>{{ row.f_close_time }}</nobr>
|
|
450
|
+
</td>
|
|
451
|
+
<td style="text-align: center;" :style="row.f_overdue_show == '已逾期'?'color:#FF5744':row.defname == '话务员派单'? 'color:#FF9900':''">
|
|
452
|
+
<nobr>{{ row.f_date_come }}</nobr>
|
|
453
|
+
</td>
|
|
454
|
+
<td style="text-align: center;" :style="row.f_overdue_show == '已逾期'?'color:#FF5744':row.defname == '话务员派单'? 'color:#FF9900':''">
|
|
455
|
+
<nobr>{{ row.f_date_leave }}</nobr>
|
|
456
|
+
</td>
|
|
457
|
+
|
|
458
|
+
<td style="text-align: center;" :style="row.f_overdue_show == '已逾期'?'color:#FF5744':row.defname == '话务员派单'? 'color:#FF9900':''">
|
|
459
|
+
<nobr>{{ row.f_overdue_show}}</nobr>
|
|
460
|
+
</td>
|
|
461
|
+
<td style="text-align: center;" :style="row.f_overdue_show == '已逾期'?'color:#FF5744':row.defname == '话务员派单'? 'color:#FF9900':''">
|
|
462
|
+
<nobr>{{ row.f_finish_time_show }}</nobr>
|
|
463
|
+
</td>
|
|
464
|
+
<td style="text-align: center;" :style="row.f_overdue_show == '已逾期'?'color:#FF5744':row.defname == '话务员派单'? 'color:#FF9900':''">
|
|
465
|
+
<nobr>{{ row.f_result_status }}</nobr>
|
|
466
|
+
</td>
|
|
467
|
+
<td style="text-align: center;" :style="row.f_overdue_show == '已逾期'?'color:#FF5744':row.defname == '话务员派单'? 'color:#FF9900':''">
|
|
468
|
+
<nobr>{{ row.f_content }}</nobr>
|
|
469
|
+
</td>
|
|
470
|
+
<td style="text-align: center;" :style="row.f_overdue_show == '已逾期'?'color:#FF5744':row.defname == '话务员派单'? 'color:#FF9900':''">
|
|
471
|
+
<nobr>{{ row.f_remindersign }}</nobr>
|
|
472
|
+
</td>
|
|
473
|
+
<td style="text-align: center;" :style="row.f_overdue_show == '已逾期'?'color:#FF5744':row.defname == '话务员派单'? 'color:#FF9900':''">
|
|
474
|
+
<nobr>{{ row.f_remarks }}</nobr>
|
|
475
|
+
</td>
|
|
476
|
+
</template>
|
|
477
|
+
</data-grid>
|
|
478
|
+
</criteria-paged>
|
|
479
|
+
</div>
|
|
480
|
+
<!--打印-->
|
|
481
|
+
<modal :show.sync="printshow" v-ref:modal backdrop="false">
|
|
482
|
+
<header slot="modal-header" class="modal-header text-center">
|
|
483
|
+
<h4 class="modal-title">打印列选择</h4>
|
|
484
|
+
<input type="checkbox" class="" id="f_generations" v-model="all">
|
|
485
|
+
<label for="f_generations" class="font-size">全选</label>
|
|
486
|
+
</header>
|
|
487
|
+
<article slot="modal-body">
|
|
488
|
+
<div class="auto col-sm-11 col-md-offset-1" style="margin-top: 10px;">
|
|
489
|
+
<div class="col-sm-3" v-for="f in fields">
|
|
490
|
+
<input type="checkbox" class="" :id="'water-owe-details-'+$index" v-model="modelval" :value="$key">
|
|
491
|
+
<label :for="'water-owe-details-'+$index" class="font-size">{{ f }}</label>
|
|
492
|
+
</div>
|
|
493
|
+
</div>
|
|
494
|
+
</article>
|
|
495
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
496
|
+
<center>
|
|
497
|
+
<button v-show="printshow" type="button" class="btn btn-default" @click='close()'>取消</button>
|
|
498
|
+
<button v-show="printshow" type="button" class="btn btn-success" @click='print()'>打印</button>
|
|
499
|
+
<print-table :model='model' v-show="false" v-ref:print
|
|
500
|
+
:top='40' :left='60' :right='40' :bottom='60'
|
|
501
|
+
:thead="thead" :tfoot='tfoot' :attach="yangsen"
|
|
502
|
+
:fields="modelval">
|
|
503
|
+
</print-table>
|
|
504
|
+
</center>
|
|
505
|
+
</footer>
|
|
506
|
+
</modal>
|
|
507
|
+
</div>
|
|
508
|
+
<modal :show.sync="showVisit" v-ref:modal backdrop="false">
|
|
509
|
+
<header slot="modal-header" class="modal-header">
|
|
510
|
+
</header>
|
|
511
|
+
<article slot="modal-body" class="modal-body">
|
|
512
|
+
<visit-info v-if="showVisit" :row="visitrow" :phone="wavflie"
|
|
513
|
+
@show-obj="watchShow" @visitback="visitback"></visit-info>
|
|
514
|
+
</article>
|
|
515
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
516
|
+
</footer>
|
|
517
|
+
</modal>
|
|
518
|
+
<modal :show.sync="imgshow" v-ref:modal backdrop="true">
|
|
519
|
+
<header slot="modal-header" class="modal-header">
|
|
520
|
+
在线抢修照片
|
|
521
|
+
</header>
|
|
522
|
+
<article slot="modal-body" class="modal-body">
|
|
523
|
+
<div class="from-group">
|
|
524
|
+
<img-self :src="imgfilename" width="500" height="500"></img-self>
|
|
525
|
+
</div>
|
|
526
|
+
</article>
|
|
527
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
528
|
+
<button type="button" class="btn btn-success" @click='imgclose'>关闭</button>
|
|
529
|
+
</footer>
|
|
530
|
+
</modal>
|
|
531
|
+
</template>
|
|
532
|
+
|
|
533
|
+
<script>
|
|
534
|
+
import {PagedList} from 'vue-client'
|
|
535
|
+
import defaultPrint from '../../../components/pc/config/DefaultPrint'
|
|
536
|
+
import {HttpResetClass} from 'vue-client'
|
|
537
|
+
import Vue from "vue";
|
|
538
|
+
|
|
539
|
+
export default {
|
|
540
|
+
title: '工单列表',
|
|
541
|
+
data () {
|
|
542
|
+
return {
|
|
543
|
+
orgstrs: [{label: '全部', value: ''}],
|
|
544
|
+
editflag: null,
|
|
545
|
+
showVisit: false,
|
|
546
|
+
outltime: this.getNowFormatDate(),
|
|
547
|
+
wavflie: '',
|
|
548
|
+
selectone: '',
|
|
549
|
+
model: new PagedList('af-telephone/rs/sql/serviceDetails', 20,{overday:'this.overday'}),
|
|
550
|
+
row: null,
|
|
551
|
+
orderMan: '',
|
|
552
|
+
msgs: [],
|
|
553
|
+
service: Object,
|
|
554
|
+
pendingCount: 0,
|
|
555
|
+
// 打印
|
|
556
|
+
all: false,
|
|
557
|
+
modelval: [],
|
|
558
|
+
visitrow: {},
|
|
559
|
+
printshow: false,
|
|
560
|
+
imgshow: false,
|
|
561
|
+
imgfilename: '',
|
|
562
|
+
slice_areas:[],
|
|
563
|
+
fields: {},
|
|
564
|
+
thead: '',
|
|
565
|
+
tfoot: '',
|
|
566
|
+
userType:this.$appdata.getParam('用户类型')?[{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]:[{label: '全部', value: ''}],
|
|
567
|
+
outlets:this.$appdata.getParam('呼叫所属部门')? [{label: '全部', value: ''}, ...this.$appdata.getParam('呼叫所属部门')]:this.$appdata.getParam('呼叫所属部门'),
|
|
568
|
+
result_status:this.$appdata.getParam('工单结果')?[{label: '全部', value: ''}, ...this.$appdata.getParam('工单结果')]:[{label: '全部', value: ''}],
|
|
569
|
+
revisits:[{label: '全部', value: ''}, {label: '是', value: '是'}, {label: '否', value: 'null'}],
|
|
570
|
+
overdays:[{label: '全部', value: ''}, {label: '一级(7天以上)', value: '一级'}, {label: '二级(7天内)', value: '二级'}],
|
|
571
|
+
zhihuans: [{label: '全部', value: ''}, {label: '正常', value: '正常'}, {label: '异常', value: '异常'}],
|
|
572
|
+
headData: ['工单类型', '工单编号', '派单时间','客户姓名','客户地址', '客户表号', '来电电话', '联系电话', '故障明细', '工单来源', '工单状态', '派单人', '话务员','接单站点','接单员','接单时间',
|
|
573
|
+
'结单时间','到达时间', '离开时间','逾期状态','截止时间','工单结果','维护信息','工单备注'],
|
|
574
|
+
bodyData: ['f_workorder_type', 'f_service_id', 'f_created_date', 'f_user_name','f_address','f_meternumber','f_phone','f_contact_phone', 'f_json', 'f_source',
|
|
575
|
+
'f_state_show', 'f_single_man','f_attendant','f_outlets','f_order_man','f_order_date','f_date','f_date_come','f_date_leave',
|
|
576
|
+
'f_overdue_show','f_finish_time_show','f_result_status','f_content','f_remarks'],
|
|
577
|
+
searchData: {
|
|
578
|
+
condition: '1=1',
|
|
579
|
+
overday: ''
|
|
580
|
+
},
|
|
581
|
+
excelHeaders: {
|
|
582
|
+
'f_workorder_type': '工单类型',
|
|
583
|
+
'f_service_id': '工单编号',
|
|
584
|
+
'f_created_date': '派单时间',
|
|
585
|
+
'f_user_name': '客户姓名',
|
|
586
|
+
'f_address': '客户地址',
|
|
587
|
+
'f_meternumber': '客户表号',
|
|
588
|
+
'f_phone': '来电电话',
|
|
589
|
+
'f_contact_phone': '联系电话',
|
|
590
|
+
'f_json': '故障明细',
|
|
591
|
+
'f_source': '工单来源',
|
|
592
|
+
'f_state_show': '工单状态',
|
|
593
|
+
'f_single_man': '派单人',
|
|
594
|
+
'f_attendant': '话务员',
|
|
595
|
+
'f_outlets': '接单站点',
|
|
596
|
+
'f_order_man': '接单员',
|
|
597
|
+
'f_order_date': '接单时间',
|
|
598
|
+
'f_date': '结单时间',
|
|
599
|
+
'f_date_come': '到达时间',
|
|
600
|
+
'f_date_leave': '离开时间',
|
|
601
|
+
'f_overdue_show': '逾期状态',
|
|
602
|
+
'f_finish_time_show': '截止时间',
|
|
603
|
+
'f_result_status': '工单结果',
|
|
604
|
+
'f_content': '维护信息',
|
|
605
|
+
'f_remarks':'工单备注'
|
|
606
|
+
},
|
|
607
|
+
criteriaShow: false
|
|
608
|
+
}
|
|
609
|
+
},
|
|
610
|
+
props: {
|
|
611
|
+
user: {
|
|
612
|
+
type: Object
|
|
613
|
+
},
|
|
614
|
+
sum: 0,
|
|
615
|
+
maintenance: [],
|
|
616
|
+
|
|
617
|
+
serviceId: '',
|
|
618
|
+
|
|
619
|
+
defname: {
|
|
620
|
+
type: String
|
|
621
|
+
},
|
|
622
|
+
systemshow: {
|
|
623
|
+
type: Boolean,
|
|
624
|
+
default: false
|
|
625
|
+
}
|
|
626
|
+
},
|
|
627
|
+
ready () {
|
|
628
|
+
this.initSliceAreas()
|
|
629
|
+
},
|
|
630
|
+
watch: {
|
|
631
|
+
'all' (val) {
|
|
632
|
+
if (val) {
|
|
633
|
+
this.modelval = this.bodyData
|
|
634
|
+
} else {
|
|
635
|
+
this.modelval = defaultPrint.config
|
|
636
|
+
this.put()
|
|
637
|
+
}
|
|
638
|
+
},
|
|
639
|
+
'modelval.length' () {
|
|
640
|
+
this.put()
|
|
641
|
+
},
|
|
642
|
+
'serviceId' () {
|
|
643
|
+
this.selfSearch()
|
|
644
|
+
},
|
|
645
|
+
'sum' (val) {
|
|
646
|
+
this.selfSearch()
|
|
647
|
+
//this.model.search()
|
|
648
|
+
}
|
|
649
|
+
},
|
|
650
|
+
methods: {
|
|
651
|
+
initSliceAreas(){
|
|
652
|
+
let criteria = {
|
|
653
|
+
items: 'name',
|
|
654
|
+
tablename: 't_zone',
|
|
655
|
+
condition: `name IS NOT NULL and f_orgid = '${this.$login.f.orgid}'`,
|
|
656
|
+
groupitem: 'name'
|
|
657
|
+
}
|
|
658
|
+
new HttpResetClass().load('POST', `af-telephone/rs/sql/tel_singleTable_GroupBy`, {data: criteria}, {
|
|
659
|
+
warnMsg: null,
|
|
660
|
+
resolveMsg: null
|
|
661
|
+
}).then((result)=>{
|
|
662
|
+
result.data.forEach(item => this.slice_areas.push({
|
|
663
|
+
label: item.name,
|
|
664
|
+
value: item.name
|
|
665
|
+
}))
|
|
666
|
+
})
|
|
667
|
+
},
|
|
668
|
+
visitback(val) {
|
|
669
|
+
this.visitrow = {}
|
|
670
|
+
this.showVisit = false
|
|
671
|
+
if (val == 'commit') {
|
|
672
|
+
this.model.search(this.searchData.condition)
|
|
673
|
+
}
|
|
674
|
+
},
|
|
675
|
+
clearmsg(){
|
|
676
|
+
this.$refs.paged.$refs.criteria.model={}
|
|
677
|
+
},
|
|
678
|
+
d1(row){
|
|
679
|
+
return row.f_workorder_type == '报修单'?(row.f_result_status == '已完成'?(this.datejisuan(row.f_finish_date,row.f_date)<0?'已逾期':'未逾期'):(this.datejisuan(row.f_finish_date,this.getNowFormatDate())<0?'已逾期':'未逾期')):''
|
|
680
|
+
},
|
|
681
|
+
d2(row){
|
|
682
|
+
const result = row.f_workorder_type == '报修单'?(row.f_result_status == '已完成'?(this.datejisuan(row.f_finish_date,row.f_date)<0?this.formatDuring(new Date(row.f_date).getTime(),new Date(row.f_finish_date).getTime()):'未逾期'):(this.datejisuan(row.f_finish_date,'')<0?this.formatDuring(new Date().getTime(),new Date(row.f_finish_date).getTime()):'未逾期')):''
|
|
683
|
+
if (result == '未逾期' && row.f_finish_date == '1900-01-01 00:00:00'){
|
|
684
|
+
return ''
|
|
685
|
+
}
|
|
686
|
+
return result
|
|
687
|
+
},
|
|
688
|
+
datejisuan(a,b){
|
|
689
|
+
if (a && b && a != '1900-01-01 00:00:00'){
|
|
690
|
+
return new Date(a).getTime()-new Date(b).getTime()
|
|
691
|
+
}else {
|
|
692
|
+
return ''
|
|
693
|
+
}
|
|
694
|
+
},
|
|
695
|
+
getNowFormatDate () {
|
|
696
|
+
var date = new Date()
|
|
697
|
+
var seperator1 = '-'
|
|
698
|
+
var seperator2 = ':'
|
|
699
|
+
var month = date.getMonth() + 1
|
|
700
|
+
var strDate = date.getDate()
|
|
701
|
+
var hour = date.getHours()
|
|
702
|
+
var min = date.getMinutes()
|
|
703
|
+
var second = date.getSeconds()
|
|
704
|
+
if (month >= 1 && month <= 9) {
|
|
705
|
+
month = '0' + month
|
|
706
|
+
}
|
|
707
|
+
if (strDate >= 0 && strDate <= 9) {
|
|
708
|
+
strDate = '0' + strDate
|
|
709
|
+
}
|
|
710
|
+
if (hour >= 0 && hour <= 9) {
|
|
711
|
+
hour = '0' + hour
|
|
712
|
+
}
|
|
713
|
+
if (min >= 0 && min <= 9) {
|
|
714
|
+
min = '0' + min
|
|
715
|
+
}
|
|
716
|
+
if (second >= 0 && second <= 9) {
|
|
717
|
+
second = '0' + second
|
|
718
|
+
}
|
|
719
|
+
var currentdate = date.getFullYear() + seperator1 + month + seperator1 + strDate
|
|
720
|
+
+ ' ' + hour + seperator2 + min
|
|
721
|
+
+ seperator2 + second
|
|
722
|
+
return currentdate
|
|
723
|
+
},
|
|
724
|
+
watchShow (val) {
|
|
725
|
+
this.visitrow = {}
|
|
726
|
+
this.showVisit = val
|
|
727
|
+
this.selfSearch()
|
|
728
|
+
},
|
|
729
|
+
playWav (val, val2) {
|
|
730
|
+
//tag
|
|
731
|
+
this.wavflie = val
|
|
732
|
+
this.visitrow = val2
|
|
733
|
+
this.showVisit = true
|
|
734
|
+
},
|
|
735
|
+
showpicture (val) {
|
|
736
|
+
//tag
|
|
737
|
+
//tag)
|
|
738
|
+
this.imgshow = true
|
|
739
|
+
this.imgfilename = 'rs/image/file/' + val.f_single_path
|
|
740
|
+
},
|
|
741
|
+
imgclose () {
|
|
742
|
+
this.imgshow = false
|
|
743
|
+
},
|
|
744
|
+
yccolor (val) {
|
|
745
|
+
if (val == '异常') {
|
|
746
|
+
return 'color:red'
|
|
747
|
+
}
|
|
748
|
+
return ''
|
|
749
|
+
},
|
|
750
|
+
|
|
751
|
+
search (args) {
|
|
752
|
+
|
|
753
|
+
if (args.model.f_result_status) {
|
|
754
|
+
if (args.model.f_result_status == '已完成') {
|
|
755
|
+
args.condition += ` and (sa.defname in ('处理完成','维修完成','结案','撤销') or sa.defname is null)`
|
|
756
|
+
}else {
|
|
757
|
+
args.condition += ` and sa.defname in ('话务员派单','维修员接单','站点接单') `
|
|
758
|
+
}
|
|
759
|
+
}
|
|
760
|
+
|
|
761
|
+
if (this.f_filialeids) {
|
|
762
|
+
args.condition += ` and f_filiale_id in ${this.f_filialeids}`
|
|
763
|
+
} else {
|
|
764
|
+
args.condition += ` and f_filiale_id = '${this.$login.f.orgid}'`
|
|
765
|
+
}
|
|
766
|
+
if(args.model.overday){
|
|
767
|
+
if(args.model.overday == '一级'){
|
|
768
|
+
this.model.overday = ` and overday > 604800 and (f_state != '撤销' or f_state is null)`
|
|
769
|
+
}
|
|
770
|
+
if(args.model.overday == '二级'){
|
|
771
|
+
this.model.overday = ` and overday <= 604800 and overday > 0 and (f_state != '撤销' or f_state is null)`
|
|
772
|
+
}
|
|
773
|
+
}
|
|
774
|
+
// if(args.model.f_result_status === '未完成'){
|
|
775
|
+
// args.condition += ` and tsw.f_result_status is null`
|
|
776
|
+
// }
|
|
777
|
+
// if(args.model.f_result_status === '已完成'){
|
|
778
|
+
// args.condition += ` and tsw.f_result_status = '已完成'`
|
|
779
|
+
// }
|
|
780
|
+
if(args.model.f_revisit == '是'){
|
|
781
|
+
args.condition += ` and f_revisit = '是'`
|
|
782
|
+
}
|
|
783
|
+
if(args.model.f_revisit == 'null'){
|
|
784
|
+
args.condition += ` and f_revisit is null`
|
|
785
|
+
}
|
|
786
|
+
if(args.model.f_isback == '是'){
|
|
787
|
+
args.condition += ` and f_isback = '是'`
|
|
788
|
+
}
|
|
789
|
+
if(args.model.f_isback == 'null'){
|
|
790
|
+
args.condition += ` and f_isback is null`
|
|
791
|
+
}
|
|
792
|
+
if(args.model.f_outlets && args.model.f_outlets.length > 0){
|
|
793
|
+
let info = ``
|
|
794
|
+
args.model.f_outlets.forEach((value) => {
|
|
795
|
+
info += `'${value}',`
|
|
796
|
+
})
|
|
797
|
+
info = info.substring(0, info.length - 1)
|
|
798
|
+
args.condition += ` and tswo.f_outlets in (${info})`
|
|
799
|
+
}
|
|
800
|
+
this.searchData.condition = args.condition
|
|
801
|
+
this.searchData.overday = this.model.overday
|
|
802
|
+
return this.model.search(args.condition, args.model)
|
|
803
|
+
},
|
|
804
|
+
selfSearch () {
|
|
805
|
+
// 取消编辑状态
|
|
806
|
+
let condition = '1=1'
|
|
807
|
+
|
|
808
|
+
if (this.f_filialeids) {
|
|
809
|
+
condition += ` and f_filiale_id in ${this.f_filialeids}`
|
|
810
|
+
//tag
|
|
811
|
+
} else {
|
|
812
|
+
condition += ` and f_filiale_id = '${this.$login.f.orgid}'`
|
|
813
|
+
}
|
|
814
|
+
return this.model.search(condition)
|
|
815
|
+
},
|
|
816
|
+
|
|
817
|
+
// 发送数据给业务逻辑,并刷新界面
|
|
818
|
+
|
|
819
|
+
// 是否可以退回
|
|
820
|
+
|
|
821
|
+
trouble (val) {
|
|
822
|
+
let failureall=''
|
|
823
|
+
// val=[{"f_failure_type":"抽油烟机","failurecase":[],"f_equipment":""},{"f_failure_type":"抽油烟机","failurecase":[],"f_equipment":""},{"f_failure_type":"抽油烟机","failurecase":[],"f_equipment":""}]
|
|
824
|
+
|
|
825
|
+
let failure = JSON.parse(val)
|
|
826
|
+
for (let i = 0; i <failure.length; i++) {
|
|
827
|
+
if (failure[i].failurecase.length>0){
|
|
828
|
+
failureall+=failure[i].f_failure_type+":"
|
|
829
|
+
for (let j = 0; j < failure[i].failurecase.length; j++) {
|
|
830
|
+
failureall+=failure[i].failurecase[j]
|
|
831
|
+
if (j+1!=failure[i].failurecase.length){
|
|
832
|
+
failureall+=","
|
|
833
|
+
}
|
|
834
|
+
}
|
|
835
|
+
|
|
836
|
+
}else{
|
|
837
|
+
failureall+=failure[i].f_failure_type
|
|
838
|
+
}
|
|
839
|
+
if (i+1!=failure.length){
|
|
840
|
+
failureall+=';'
|
|
841
|
+
}
|
|
842
|
+
}
|
|
843
|
+
return failureall
|
|
844
|
+
},
|
|
845
|
+
// 打印
|
|
846
|
+
stamp () {
|
|
847
|
+
this.all = false
|
|
848
|
+
// 默认选择要打印的列
|
|
849
|
+
this.modelval = defaultPrint.config
|
|
850
|
+
this.fields = this.getfield
|
|
851
|
+
this.printshow = true
|
|
852
|
+
this.put()
|
|
853
|
+
},
|
|
854
|
+
put () {
|
|
855
|
+
// 对Modelval进行排序
|
|
856
|
+
this.sortModelval()
|
|
857
|
+
this.thead = `<tr><th colspan=${this.modelval.length}>工单详情报表</th></tr><tr>`
|
|
858
|
+
for (let key of this.modelval) {
|
|
859
|
+
this.thead += '<th>' + this.fields[key] + '</th>'
|
|
860
|
+
}
|
|
861
|
+
this.thead += '</tr>'
|
|
862
|
+
},
|
|
863
|
+
print () {
|
|
864
|
+
this.$refs.print.PrintAsFile()
|
|
865
|
+
this.printshow = false
|
|
866
|
+
},
|
|
867
|
+
close () {
|
|
868
|
+
this.printshow = false
|
|
869
|
+
this.all = false
|
|
870
|
+
},
|
|
871
|
+
// 对选择的列进行排序
|
|
872
|
+
sortModelval () {
|
|
873
|
+
let sortModel = []
|
|
874
|
+
Object.keys(this.fields).forEach((key) => {
|
|
875
|
+
if (this.modelval.includes(key)) {
|
|
876
|
+
sortModel.push(key)
|
|
877
|
+
}
|
|
878
|
+
})
|
|
879
|
+
this.modelval = sortModel
|
|
880
|
+
},
|
|
881
|
+
hidden () {
|
|
882
|
+
this.criteriaShow = !this.criteriaShow
|
|
883
|
+
},
|
|
884
|
+
getRes (obj) {
|
|
885
|
+
//tag
|
|
886
|
+
////tag)
|
|
887
|
+
this.f_filialeids = this.$login.convertToIn(obj.resids)
|
|
888
|
+
//tag
|
|
889
|
+
},
|
|
890
|
+
formatDuring (s1,s2) {
|
|
891
|
+
var millisecond = s1-s2
|
|
892
|
+
var days = parseInt(millisecond / (1000 * 60 * 60 * 24))
|
|
893
|
+
var hours = parseInt((millisecond % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60))
|
|
894
|
+
var minutes = parseInt((millisecond % (1000 * 60 * 60)) / (1000 * 60))
|
|
895
|
+
var seconds = parseInt((millisecond % (1000 * 60)) / 1000)
|
|
896
|
+
return days + "天" + hours + "小时" + minutes + "分钟" + seconds + "秒"
|
|
897
|
+
}
|
|
898
|
+
|
|
899
|
+
},
|
|
900
|
+
computed: {
|
|
901
|
+
failures(){
|
|
902
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('呼叫故障类型')]
|
|
903
|
+
},
|
|
904
|
+
defnames () {
|
|
905
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('呼叫工单状态')]
|
|
906
|
+
},
|
|
907
|
+
repairstypes () {
|
|
908
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('报修类型')]
|
|
909
|
+
},
|
|
910
|
+
serviceorders () {
|
|
911
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('工单类型')]
|
|
912
|
+
},
|
|
913
|
+
sources () {
|
|
914
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('工单来源')]
|
|
915
|
+
},
|
|
916
|
+
getfield () {
|
|
917
|
+
let data = {}
|
|
918
|
+
this.bodyData.forEach((value, index) => {
|
|
919
|
+
data[this.bodyData[index]] = this.headData[index]
|
|
920
|
+
})
|
|
921
|
+
return data
|
|
922
|
+
}
|
|
923
|
+
}
|
|
924
|
+
}
|
|
925
|
+
</script>
|