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.
- package/package.json +3 -3
- package/src/App.vue +54 -56
- package/src/assets//345/210/240/351/231/244.png +0 -0
- package/src/components/Util/RightTreeSafe.vue +2 -2
- package/src/components/Util/RightTreeSafeDep.vue +350 -0
- package/src/components/android/AddMyTask.vue +7 -0
- package/src/components/guoxin/Console.vue +9 -0
- package/src/components/guoxin/VisitInfo.vue +0 -11
- package/src/components/pc/NewRepairPaper.vue +370 -370
- package/src/components/pc/RepairsWork.vue +23 -2
- package/src/components/pc/RoleSelectorDep.vue +158 -0
- package/src/components/pc/TelFindUser.vue +1 -1
- package/src/components/pc/TelListener.vue +47 -16
- package/src/components/pc/VisitInfo.vue +44 -17
- package/src/components/pc/WorkCenter.vue +1 -1
- package/src/components/pc/WorkCenterList.vue +1 -1
- package/src/components/pc/WorkHistory.vue +20 -2
- package/src/components/pc/WorkListAll.vue +1 -1
- package/src/components/pc/WorkListAllNew.vue +10 -3
- package/src/components/pc/WorkListNew.vue +9 -3
- package/src/components/pc/olddata/OldWorkList.vue +193 -0
- package/src/components/telreport/RepairsDetailsReport.vue +98 -0
- package/src/components/telreport/TableFaultReport.vue +96 -0
- package/src/components/telreport/Traffic.vue +3 -3
- package/src/components/telreport/TrafficClassificationReport.vue +134 -0
- package/src/components/temp/ChangemeterInfo.vue +75 -87
- package/src/components/temp/DeviceInfo.vue +80 -82
- package/src/components/temp/HandplanInfo.vue +14 -3
- package/src/components/temp/InfoTable.vue +5 -2
- package/src/components/temp/MetereadInfo.vue +1 -4
- package/src/components/temp/OldRepairList.vue +100 -0
- package/src/components/temp/RepairList.vue +2 -2
- package/src/components/weinan/Console.vue +1 -1
- package/src/components/weinan/RecordList.vue +2 -2
- package/src/components/weinan/SiteSend.vue +2 -2
- package/src/components/weinan/SiteSendWeixiu.vue +7 -16
- package/src/components/weinan/StandWorkWeixiu.vue +1 -1
- package/src/components/weinan/WorkList.vue +73 -0
- package/src/components/weinan/WorkListAll.vue +90 -14
- package/src/components/weinan/WorkListWeixiu.vue +1 -1
- package/src/components/workorder/CompletedRepair.vue +269 -183
- package/src/components/workorder/FaultAll.vue +826 -826
- package/src/components/workorder/PhoneStandWork.vue +354 -354
- package/src/components/workorder/PhoneUpDetail.vue +3 -0
- package/src/components/workorder/RepairDetails.vue +12 -2
- package/src/components/workorder/RepairFirstV.vue +1 -1
- package/src/components/workorder/RepairOrderV.vue +1446 -1446
- package/src/filiale/furuike/pc/ComplainWork.vue +348 -348
- package/src/filiale/furuike/pc/Seekwork.vue +352 -352
- package/src/filiale/gongyi/android/RepairOrderV.vue +1415 -1415
- package/src/filiale/hanzhong/telephone.js +1 -1
- package/src/filiale/kelai/android/AppTakePic.vue +143 -0
- package/src/filiale/kelai/android/PhoneVentilationLeave.vue +176 -0
- package/src/filiale/kelai/pc/WorkCenterList.vue +20 -3
- package/src/filiale/kelai/pc/WorkListAllNew.vue +47 -9
- package/src/filiale/kelai/pc/serviceDeleteOrder.vue +55 -0
- package/src/filiale/kelai/telephone.js +9 -8
- package/src/filiale/kelai/telephoneAndroid.js +3 -1
- package/src/filiale/liaoyuan/android/RepairOrderV.vue +831 -831
- package/src/filiale/qianneng/android/FaultAll.vue +883 -883
- package/src/filiale/qianneng/android/MaterIialOne.vue +123 -123
- package/src/filiale/qianneng/android/RepairOrderV.vue +874 -874
- package/src/filiale/qianneng/android/TemporarySingle.vue +25 -0
- package/src/filiale/qianneng/android/chargesList.vue +161 -161
- package/src/filiale/qianneng/pc/MaterialDetailed.vue +15 -3
- package/src/filiale/qianneng/pc/MaterialStatistics.vue +144 -0
- package/src/filiale/qianneng/pc/NewRepairPaper.vue +467 -467
- package/src/filiale/qianneng/pc/RepairsWork.vue +992 -982
- package/src/filiale/qianneng/pc/WorkHistory.vue +2 -2
- package/src/filiale/qianneng/pc/WorkListAllNew.vue +53 -5
- package/src/filiale/qianneng/pc/changetable.vue +273 -0
- package/src/filiale/qianneng/telephone.js +2 -0
- package/src/filiale/rizhao/pc/DispatchMan.vue +3 -3
- package/src/filiale/rizhao/pc/DispatchWork.vue +3 -3
- package/src/filiale/rizhao/pc/Traffic.vue +3 -3
- package/src/filiale/rizhao/pc/WorkListAllNew.vue +8 -3
- package/src/filiale/rizhao/telephone.js +1 -1
- package/src/filiale/rongcheng/CliWorkListAll.vue +442 -407
- package/src/filiale/rongcheng/FaultAll.vue +3 -3
- package/src/filiale/rongcheng/RepairOrderV.vue +1445 -0
- package/src/filiale/rongcheng/telephoneAndroid.js +3 -1
- package/src/filiale/shanxian/android/RepairFirstV.vue +5 -1
- package/src/filiale/shanxian/pc/RepairsWork.vue +826 -0
- package/src/filiale/shanxian/pc/WorkList.vue +1 -1
- package/src/filiale/shanxian/telephone.js +13 -12
- package/src/filiale/shexian/android/AddMyTask.vue +7 -0
- package/src/filiale/shexian/android/CompletedRepair.vue +280 -0
- package/src/filiale/shexian/android/FaultAll.vue +847 -0
- package/src/filiale/shexian/android/Outlay.vue +182 -165
- package/src/filiale/shexian/android/RepairFirstV.vue +16 -2
- package/src/filiale/shexian/android/RepairInfo.vue +1 -0
- package/src/filiale/shexian/pc/QueryVisitHistory.vue +237 -0
- package/src/filiale/shexian/pc/TelAgentVoiceReport.vue +271 -0
- package/src/filiale/shexian/pc/TelByOrderManCount.vue +10 -2
- package/src/filiale/shexian/pc/WorkList.vue +782 -740
- package/src/filiale/shexian/pc/WorkListAllNew.vue +75 -67
- package/src/filiale/shexian/telephone.js +21 -18
- package/src/filiale/shexian/telephoneAndroid.js +32 -26
- package/src/filiale/tongchuan/android/RepairDetails.vue +623 -0
- package/src/filiale/tongchuan/android/TicketDetails.vue +3 -0
- package/src/filiale/tongchuan/pc/UserWork.vue +805 -805
- package/src/filiale/tongchuan/pc/WorkOrderStatistics.vue +2 -2
- package/src/filiale/tongchuan/telephone.js +52 -52
- package/src/filiale/tongchuan/telephoneAndroid.js +23 -22
- package/src/filiale/wenxi/android/FailureShow.vue +61 -0
- package/src/filiale/wenxi/android/PhoneUpUserinfo.vue +1053 -0
- package/src/filiale/wenxi/android/RepairInfo.vue +158 -74
- package/src/filiale/wenxi/android/RepairOrderV.vue +805 -1419
- package/src/filiale/wenxi/android/RepairUserInfo.vue +532 -0
- package/src/filiale/wenxi/android/ZHihuanFirst.vue +502 -0
- package/src/filiale/wenxi/pc/DistributeWork.vue +107 -121
- package/src/filiale/wenxi/pc/FailureEdit.vue +1 -1
- package/src/filiale/wenxi/pc/GasWork.vue +747 -0
- package/src/filiale/wenxi/pc/MetereadInfo.vue +82 -0
- package/src/filiale/wenxi/pc/RepairsWork.vue +15 -0
- package/src/filiale/wenxi/pc/TelFindUser.vue +213 -116
- package/src/filiale/wenxi/pc/WorkListAll.vue +348 -297
- package/src/filiale/wenxi/telephone.js +4 -5
- package/src/filiale/wenxi/telephoneAndroid.js +4 -1
- package/src/filiale/wuan/android/RepairOrderV.vue +1384 -1384
- package/src/filiale/wuhai/telephone.js +1 -1
- package/src/filiale/yuncheng/pc/TelFindUser.vue +302 -0
- package/src/filiale/yuncheng/telephone.js +12 -0
- package/src/filiale/zhongsheng/android/FaultAll.vue +741 -0
- package/src/filiale/zhongsheng/android/RepairOrderV.vue +1430 -1430
- package/src/filiale/zhongsheng/android/RepairUserInfo.vue +241 -214
- package/src/filiale/zhongsheng/pc/RepairsWork.vue +775 -775
- package/src/filiale/zhongsheng/telephone.js +23 -23
- package/src/filiale/zhongsheng/telephoneAndroid.js +2 -1
- package/src/main.js +1 -1
- package/src/telephone.js +17 -1
- package/src/weinan.js +6 -0
|
@@ -1,740 +1,782 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="flex">
|
|
3
|
-
<criteria-paged :model="model" v-ref:paged>
|
|
4
|
-
<criteria partial='criteria' v-ref:criteria @condition-changed='$parent.search'>
|
|
5
|
-
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
6
|
-
<div class="row">
|
|
7
|
-
<div class="col-sm-3 form-group form-input-group" style="width: 20%">
|
|
8
|
-
<label class="font_normal_body" style="width: 40%">工单编号</label>
|
|
9
|
-
<input type="text" class="input_search" v-model="model.f_service_id" placeholder='工单编号'
|
|
10
|
-
condition="tswo.f_service_id like '%{}%'"
|
|
11
|
-
:size="model.f_service_id ? model.f_service_id.length : 6"
|
|
12
|
-
>
|
|
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_userinfo_code" placeholder='用户编号'
|
|
17
|
-
condition="tswo.f_userinfo_code like '%{}%'"
|
|
18
|
-
:size="model.f_userinfo_code ? model.f_userinfo_code.length : 6"
|
|
19
|
-
>
|
|
20
|
-
</div>
|
|
21
|
-
<div class="col-sm-3 form-group form-input-group" style="width: 20%">
|
|
22
|
-
<label class="font_normal_body" style="width: 40%">用户姓名</label>
|
|
23
|
-
<input type="text" class="input_search" v-model="model.f_user_name" placeholder='用户姓名'
|
|
24
|
-
condition="tswo.f_user_name like '%{}%'"
|
|
25
|
-
:size="model.f_user_name ? model.f_user_name.length : 6"
|
|
26
|
-
>
|
|
27
|
-
</div>
|
|
28
|
-
<div class="form-group col-sm-6 button-range" style="margin-right: 10px">
|
|
29
|
-
|
|
30
|
-
<button class="button_search button_spacing" @click="search(),$dispatch('search')"
|
|
31
|
-
style="margin-right: 9px">查询
|
|
32
|
-
</button>
|
|
33
|
-
<!-- <button class="button_search button_spacing" @click="$parent.$parent.repairSendAll()"
|
|
34
|
-
style="margin-right: 9px">批量下发
|
|
35
|
-
</button>-->
|
|
36
|
-
|
|
37
|
-
<export-excel-tel
|
|
38
|
-
:data="$parent.$parent.searchData"
|
|
39
|
-
:field="$parent.$parent.excelHeaders"
|
|
40
|
-
sqlurl="rs/logic/telephoneExport" sql-name="operatorService" template-name='工单导出'
|
|
41
|
-
:choose-col="true"></export-excel-tel>
|
|
42
|
-
<div style="float: right;" class="button_spacing"
|
|
43
|
-
:class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
|
|
44
|
-
@click="$parent.$parent.hidden()"></div>
|
|
45
|
-
|
|
46
|
-
</div>
|
|
47
|
-
</div>
|
|
48
|
-
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
49
|
-
<div class="col-sm-3 form-group form-input-group" style="width: 20%">
|
|
50
|
-
<label class="font_normal_body" style="width: 40%">来电电话</label>
|
|
51
|
-
<input type="text" class="input_search" v-model="model.f_phone" placeholder='来电电话'
|
|
52
|
-
condition="tswo.f_phone like '%{}%'"
|
|
53
|
-
:size="model.f_phone ? model.f_phone.length : 6"
|
|
54
|
-
>
|
|
55
|
-
</div>
|
|
56
|
-
<div class="col-sm-3 form-group form-input-group" style="width: 20%">
|
|
57
|
-
<label class="font_normal_body" style="width: 40%">联系电话</label>
|
|
58
|
-
<input type="text" class="input_search" v-model="model.f_contact_phone" placeholder='联系电话'
|
|
59
|
-
condition="tswo.f_contact_phone = '{}'"
|
|
60
|
-
:size="model.f_contact_phone ? model.f_contact_phone.length : 6"
|
|
61
|
-
>
|
|
62
|
-
</div>
|
|
63
|
-
<div class="col-sm-3 form-group form-input-group" style="width: 20%">
|
|
64
|
-
<label class="font_normal_body" style="width: 40%">地  址</label>
|
|
65
|
-
<input type="text" class="input_search" v-model="model.f_address" placeholder='地址'
|
|
66
|
-
condition="tswo.f_address like '%{}%'"
|
|
67
|
-
:size="model.f_address ? model.f_address.length : 6"
|
|
68
|
-
>
|
|
69
|
-
</div>
|
|
70
|
-
<div class="col-sm-3 form-group form-input-group" style="width: 20%">
|
|
71
|
-
<label class="font_normal_body" style="width: 40%">受 理 人</label>
|
|
72
|
-
<input type="text" class="input_search" v-model="model.f_attendant" placeholder='受理人'
|
|
73
|
-
condition="f_attendant like '%{}%'"
|
|
74
|
-
:size="model.f_attendant ? model.f_attendant.length : 6"
|
|
75
|
-
>
|
|
76
|
-
</div>
|
|
77
|
-
<div class="col-sm-3 form-group form-input-group" style="width: 20%">
|
|
78
|
-
<label class="font_normal_body" style="width: 40%">接 单 人</label>
|
|
79
|
-
<input type="text" class="input_search" v-model="model.f_order_man" placeholder='接单人'
|
|
80
|
-
condition="tswo.f_order_man like '%{}%'"
|
|
81
|
-
:size="model.f_order_man ? model.f_order_man.length : 6"
|
|
82
|
-
>
|
|
83
|
-
</div>
|
|
84
|
-
</div>
|
|
85
|
-
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
86
|
-
<div class="col-sm-3 form-group form-input-group" style="width: 20%">
|
|
87
|
-
<label class=" font_normal_body" for="f_workorder_type" style="width: 40%">工单类型</label>
|
|
88
|
-
<v-select id="f_workorder_type" :value.sync="model.f_workorder_type" :value-single="true"
|
|
89
|
-
v-model="model.f_workorder_type"
|
|
90
|
-
:options='$parent.$parent.serviceorders' placeholder='工单类型'
|
|
91
|
-
condition="tswo.f_workorder_type like '%{}%'"
|
|
92
|
-
close-on-select>
|
|
93
|
-
</v-select>
|
|
94
|
-
</div>
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
<
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
<
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
</
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
<
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
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
|
-
|
|
242
|
-
|
|
243
|
-
</
|
|
244
|
-
<
|
|
245
|
-
<
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
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
|
-
<div class="col-sm-
|
|
301
|
-
<label class="font_normal_body" style="width:
|
|
302
|
-
<
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
<
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
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
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
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
|
-
|
|
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
|
-
this.
|
|
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
|
-
this.
|
|
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
|
-
|
|
576
|
-
this.
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
this
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
},
|
|
594
|
-
|
|
595
|
-
this.
|
|
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
|
-
this.
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
this.
|
|
646
|
-
this.
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
this.
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
this.
|
|
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
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
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
|
-
|
|
1
|
+
<template>
|
|
2
|
+
<div class="flex">
|
|
3
|
+
<criteria-paged :model="model" v-ref:paged>
|
|
4
|
+
<criteria partial='criteria' v-ref:criteria @condition-changed='$parent.search'>
|
|
5
|
+
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
6
|
+
<div class="row">
|
|
7
|
+
<div class="col-sm-3 form-group form-input-group" style="width: 20%">
|
|
8
|
+
<label class="font_normal_body" style="width: 40%">工单编号</label>
|
|
9
|
+
<input type="text" class="input_search" v-model="model.f_service_id" placeholder='工单编号'
|
|
10
|
+
condition="tswo.f_service_id like '%{}%'"
|
|
11
|
+
:size="model.f_service_id ? model.f_service_id.length : 6"
|
|
12
|
+
>
|
|
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_userinfo_code" placeholder='用户编号'
|
|
17
|
+
condition="tswo.f_userinfo_code like '%{}%'"
|
|
18
|
+
:size="model.f_userinfo_code ? model.f_userinfo_code.length : 6"
|
|
19
|
+
>
|
|
20
|
+
</div>
|
|
21
|
+
<div class="col-sm-3 form-group form-input-group" style="width: 20%">
|
|
22
|
+
<label class="font_normal_body" style="width: 40%">用户姓名</label>
|
|
23
|
+
<input type="text" class="input_search" v-model="model.f_user_name" placeholder='用户姓名'
|
|
24
|
+
condition="tswo.f_user_name like '%{}%'"
|
|
25
|
+
:size="model.f_user_name ? model.f_user_name.length : 6"
|
|
26
|
+
>
|
|
27
|
+
</div>
|
|
28
|
+
<div class="form-group col-sm-6 button-range" style="margin-right: 10px">
|
|
29
|
+
|
|
30
|
+
<button class="button_search button_spacing" @click="search(),$dispatch('search')"
|
|
31
|
+
style="margin-right: 9px">查询
|
|
32
|
+
</button>
|
|
33
|
+
<!-- <button class="button_search button_spacing" @click="$parent.$parent.repairSendAll()"
|
|
34
|
+
style="margin-right: 9px">批量下发
|
|
35
|
+
</button>-->
|
|
36
|
+
|
|
37
|
+
<export-excel-tel
|
|
38
|
+
:data="$parent.$parent.searchData"
|
|
39
|
+
:field="$parent.$parent.excelHeaders"
|
|
40
|
+
sqlurl="rs/logic/telephoneExport" sql-name="operatorService" template-name='工单导出'
|
|
41
|
+
:choose-col="true"></export-excel-tel>
|
|
42
|
+
<div style="float: right;" class="button_spacing"
|
|
43
|
+
:class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
|
|
44
|
+
@click="$parent.$parent.hidden()"></div>
|
|
45
|
+
|
|
46
|
+
</div>
|
|
47
|
+
</div>
|
|
48
|
+
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
49
|
+
<div class="col-sm-3 form-group form-input-group" style="width: 20%">
|
|
50
|
+
<label class="font_normal_body" style="width: 40%">来电电话</label>
|
|
51
|
+
<input type="text" class="input_search" v-model="model.f_phone" placeholder='来电电话'
|
|
52
|
+
condition="tswo.f_phone like '%{}%'"
|
|
53
|
+
:size="model.f_phone ? model.f_phone.length : 6"
|
|
54
|
+
>
|
|
55
|
+
</div>
|
|
56
|
+
<div class="col-sm-3 form-group form-input-group" style="width: 20%">
|
|
57
|
+
<label class="font_normal_body" style="width: 40%">联系电话</label>
|
|
58
|
+
<input type="text" class="input_search" v-model="model.f_contact_phone" placeholder='联系电话'
|
|
59
|
+
condition="tswo.f_contact_phone = '{}'"
|
|
60
|
+
:size="model.f_contact_phone ? model.f_contact_phone.length : 6"
|
|
61
|
+
>
|
|
62
|
+
</div>
|
|
63
|
+
<div class="col-sm-3 form-group form-input-group" style="width: 20%">
|
|
64
|
+
<label class="font_normal_body" style="width: 40%">地  址</label>
|
|
65
|
+
<input type="text" class="input_search" v-model="model.f_address" placeholder='地址'
|
|
66
|
+
condition="tswo.f_address like '%{}%'"
|
|
67
|
+
:size="model.f_address ? model.f_address.length : 6"
|
|
68
|
+
>
|
|
69
|
+
</div>
|
|
70
|
+
<div class="col-sm-3 form-group form-input-group" style="width: 20%">
|
|
71
|
+
<label class="font_normal_body" style="width: 40%">受 理 人</label>
|
|
72
|
+
<input type="text" class="input_search" v-model="model.f_attendant" placeholder='受理人'
|
|
73
|
+
condition="f_attendant like '%{}%'"
|
|
74
|
+
:size="model.f_attendant ? model.f_attendant.length : 6"
|
|
75
|
+
>
|
|
76
|
+
</div>
|
|
77
|
+
<div class="col-sm-3 form-group form-input-group" style="width: 20%">
|
|
78
|
+
<label class="font_normal_body" style="width: 40%">接 单 人</label>
|
|
79
|
+
<input type="text" class="input_search" v-model="model.f_order_man" placeholder='接单人'
|
|
80
|
+
condition="tswo.f_order_man like '%{}%'"
|
|
81
|
+
:size="model.f_order_man ? model.f_order_man.length : 6"
|
|
82
|
+
>
|
|
83
|
+
</div>
|
|
84
|
+
</div>
|
|
85
|
+
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
86
|
+
<div class="col-sm-3 form-group form-input-group" style="width: 20%">
|
|
87
|
+
<label class=" font_normal_body" for="f_workorder_type" style="width: 40%">工单类型</label>
|
|
88
|
+
<v-select id="f_workorder_type" :value.sync="model.f_workorder_type" :value-single="true"
|
|
89
|
+
v-model="model.f_workorder_type"
|
|
90
|
+
:options='$parent.$parent.serviceorders' placeholder='工单类型'
|
|
91
|
+
condition="tswo.f_workorder_type like '%{}%'"
|
|
92
|
+
close-on-select>
|
|
93
|
+
</v-select>
|
|
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
|
+
<datepicker placeholder="起始派单时间"
|
|
98
|
+
:value.sync="model.f_created_date"
|
|
99
|
+
v-model="model.f_created_date"
|
|
100
|
+
:format="'yyyy-MM-dd 00:00:00'"
|
|
101
|
+
condition="tswo.f_created_date > '{}'"
|
|
102
|
+
></datepicker>
|
|
103
|
+
</div>
|
|
104
|
+
<div class="col-sm-3 form-group form-input-group" style="width: 20%">
|
|
105
|
+
<label class="font_normal_body" style="width: 40%">派单时间</label>
|
|
106
|
+
<datepicker placeholder="终止派单时间"
|
|
107
|
+
:value.sync="model.f_created_enddate"
|
|
108
|
+
v-model="model.f_created_enddate"
|
|
109
|
+
:format="'yyyy-MM-dd 23:59:59'"
|
|
110
|
+
condition="tswo.f_created_date < '{}'"
|
|
111
|
+
></datepicker>
|
|
112
|
+
</div>
|
|
113
|
+
|
|
114
|
+
<div class="col-sm-2 form-group form-input-group" style="float:right;width: 15%;margin-left: 20px">
|
|
115
|
+
<input type="radio" id="one" value="wait" style="float: left" v-model="$parent.$parent.picked">
|
|
116
|
+
<label for="one" style="margin-top: 10px;float: left">待办</label>
|
|
117
|
+
<input type="radio" id="two" value="done" style="float: left" v-model="$parent.$parent.picked">
|
|
118
|
+
<label for="two" style="margin-top: 10px;float: left">已办</label>
|
|
119
|
+
</div>
|
|
120
|
+
|
|
121
|
+
</div>
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
</div>
|
|
125
|
+
</criteria>
|
|
126
|
+
<data-grid partial='list' v-ref:grid :model="model" class="list_area table_sy" :classname="'table tablenew table-bordered table-striped table-hover'">
|
|
127
|
+
<template partial='head'>
|
|
128
|
+
<tr>
|
|
129
|
+
<th>
|
|
130
|
+
工单类型
|
|
131
|
+
</th>
|
|
132
|
+
<th>
|
|
133
|
+
工单编号
|
|
134
|
+
</th>
|
|
135
|
+
<th>
|
|
136
|
+
派单时间
|
|
137
|
+
</th>
|
|
138
|
+
<th>
|
|
139
|
+
用户信息
|
|
140
|
+
</th>
|
|
141
|
+
<th>
|
|
142
|
+
来电电话
|
|
143
|
+
</th>
|
|
144
|
+
<th>
|
|
145
|
+
联系电话
|
|
146
|
+
</th>
|
|
147
|
+
<th>
|
|
148
|
+
工单状态
|
|
149
|
+
</th>
|
|
150
|
+
<th>
|
|
151
|
+
备注
|
|
152
|
+
</th>
|
|
153
|
+
<th>
|
|
154
|
+
操作
|
|
155
|
+
</th>
|
|
156
|
+
</tr>
|
|
157
|
+
</template>
|
|
158
|
+
<template partial='body'>
|
|
159
|
+
<td
|
|
160
|
+
:style="{'background-color':Math.floor((new Date().getTime() - new Date(row.f_created_date).getTime())/1000/60/60)>3&&row.defname=='站点接单'?'#f1eecb':'','text-align':'center'}">
|
|
161
|
+
{{ row.f_workorder_type }}<span style="color: red" v-if="row.f_remindersign==='true'">(催单)</span>
|
|
162
|
+
<span style="color: red" v-if="row.f_state==='打回'">(打回)</span>
|
|
163
|
+
</td>
|
|
164
|
+
<td
|
|
165
|
+
:style="{'background-color':Math.floor((new Date().getTime() - new Date(row.f_created_date).getTime())/1000/60/60)>3&&row.defname=='站点接单'?'#f1eecb':'','text-align':'center'}">
|
|
166
|
+
{{ row.f_service_id }}
|
|
167
|
+
</td>
|
|
168
|
+
<td
|
|
169
|
+
:style="{'background-color':Math.floor((new Date().getTime() - new Date(row.f_created_date).getTime())/1000/60/60)>3&&row.defname=='站点接单'?'#f1eecb':'','text-align':'center'}">
|
|
170
|
+
{{ row.f_created_date }}
|
|
171
|
+
</td>
|
|
172
|
+
<td
|
|
173
|
+
:style="{'background-color':Math.floor((new Date().getTime() - new Date(row.f_created_date).getTime())/1000/60/60)>3&&row.defname=='站点接单'?'#f1eecb':'','text-align':'center'}">
|
|
174
|
+
{{ row.f_user_name }} {{ row.f_address }} {{ row.f_contact_name }}
|
|
175
|
+
</td>
|
|
176
|
+
<td
|
|
177
|
+
:style="{'background-color':Math.floor((new Date().getTime() - new Date(row.f_created_date).getTime())/1000/60/60)>3&&row.defname=='站点接单'?'#f1eecb':'','text-align':'center'}">
|
|
178
|
+
{{ row.f_phone }}
|
|
179
|
+
</td>
|
|
180
|
+
<td
|
|
181
|
+
:style="{'background-color':Math.floor((new Date().getTime() - new Date(row.f_created_date).getTime())/1000/60/60)>3&&row.defname=='站点接单'?'#f1eecb':'','text-align':'center'}">
|
|
182
|
+
{{ row.f_contact_phone }}
|
|
183
|
+
</td>
|
|
184
|
+
<td
|
|
185
|
+
:style="{'background-color':Math.floor((new Date().getTime() - new Date(row.f_created_date).getTime())/1000/60/60)>3&&row.defname=='站点接单'?'#f1eecb':'','text-align':'center'}">
|
|
186
|
+
{{ row.defname }}
|
|
187
|
+
</td>
|
|
188
|
+
<td
|
|
189
|
+
:style="{'background-color':Math.floor((new Date().getTime() - new Date(row.f_created_date).getTime())/1000/60/60)>3&&row.defname=='站点接单'?'#f1eecb':'','text-align':'center'}">
|
|
190
|
+
{{ row.f_remarks }}
|
|
191
|
+
</td>
|
|
192
|
+
<td
|
|
193
|
+
:style="{'background-color':Math.floor((new Date().getTime() - new Date(row.f_created_date).getTime())/1000/60/60)>3&&row.defname=='站点接单'?'#f1eecb':'','text-align':'center'}"
|
|
194
|
+
style="text-align: center;">
|
|
195
|
+
<div
|
|
196
|
+
v-show="row.defname === '站点接单' && $parent.$parent.$parent.picked === 'wait' && row.f_workorder_type != '投诉单'&&row.f_workorder_type != '咨询单'">
|
|
197
|
+
<button type="button" name="button" class="button_spacing button_search-2"
|
|
198
|
+
@click.stop="$parent.$parent.$parent.proc(row, '结案')">结案
|
|
199
|
+
</button>
|
|
200
|
+
<!-- <button type="button" name="button" class="button_spacing button_search-2"
|
|
201
|
+
@click.stop="$parent.$parent.$parent.proc(row, '工单退回')">退回
|
|
202
|
+
</button>
|
|
203
|
+
<button type="button" name="button" class="button_spacing button_search-2"
|
|
204
|
+
@click.stop="$parent.$parent.$parent.proc(row, '工单下发')">下发
|
|
205
|
+
</button>
|
|
206
|
+
<div v-if="row.f_single_path">
|
|
207
|
+
<button type="button" name="button" class="button_spacing button_search-2"
|
|
208
|
+
@click.stop="$parent.$parent.$parent.showpicture(row)">抢修图片
|
|
209
|
+
</button>
|
|
210
|
+
</div>-->
|
|
211
|
+
</div>
|
|
212
|
+
<div
|
|
213
|
+
v-show="row.defname === '站点接单' && $parent.$parent.$parent.picked === 'wait' && row.f_workorder_type == '投诉单'">
|
|
214
|
+
<button type="button" name="button" class="button_spacing button_search-2"
|
|
215
|
+
@click.stop="$parent.$parent.$parent.complanReview(row, '投诉处理')">
|
|
216
|
+
投诉处理
|
|
217
|
+
</button>
|
|
218
|
+
</div>
|
|
219
|
+
|
|
220
|
+
<div
|
|
221
|
+
v-show="row.defname === '站点接单' && $parent.$parent.$parent.picked === 'wait' && row.f_workorder_type == '咨询单'">
|
|
222
|
+
<button type="button" name="button" class="button_spacing button_search-2"
|
|
223
|
+
@click.stop="$parent.$parent.$parent.seekworkReview(row, '咨询处理')">
|
|
224
|
+
咨询处理
|
|
225
|
+
</button>
|
|
226
|
+
</div>
|
|
227
|
+
</td>
|
|
228
|
+
</template>
|
|
229
|
+
</data-grid>
|
|
230
|
+
</criteria-paged>
|
|
231
|
+
</div>
|
|
232
|
+
<modal :show.sync="editflag==='工单退回'||editflag==='工单下发'" v-ref:modalservice backdrop="false">
|
|
233
|
+
<header slot="modal-header" class="modal-header">
|
|
234
|
+
{{editflag}}
|
|
235
|
+
</header>
|
|
236
|
+
<article slot="modal-body" class="modal-body">
|
|
237
|
+
<div v-if="editflag==='工单退回'" class="form-inline">
|
|
238
|
+
<site-back :row="selectone" @success="selfSearch()" @cancel='editflag = null'></site-back>
|
|
239
|
+
</div>
|
|
240
|
+
<div v-if="editflag==='工单下发'">
|
|
241
|
+
<site-send :row="selectone" :rowlist="serlist" @success="selfSearch()" @cancel="editflag = null"></site-send>
|
|
242
|
+
</div>
|
|
243
|
+
</article>
|
|
244
|
+
<footer slot="modal-footer" class="modal-footer" v-show="false">
|
|
245
|
+
<button type="button" class="btn btn-success" @click='imgclose'>关闭</button>
|
|
246
|
+
</footer>
|
|
247
|
+
</modal>
|
|
248
|
+
<modal :show.sync="editflag==='结案'" v-ref:modalCase backdrop="false">
|
|
249
|
+
<header slot="modal-header" class="modal-header">
|
|
250
|
+
工单结案
|
|
251
|
+
</header>
|
|
252
|
+
<article slot="modal-body" class="modal-body">
|
|
253
|
+
<div class="col-sm-12 form-group">
|
|
254
|
+
<label class="control-label col-sm-2">结案备注</label>
|
|
255
|
+
<div class="col-sm-9">
|
|
256
|
+
<input class="form-control" type="text" v-model="f_caseremarks"/>
|
|
257
|
+
</div>
|
|
258
|
+
</div>
|
|
259
|
+
</article>
|
|
260
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
261
|
+
<button type="button" class="btn btn-success" @click='caseok'>确定</button>
|
|
262
|
+
<button type="button" class="btn btn-success" @click='caseclose'>关闭</button>
|
|
263
|
+
</footer>
|
|
264
|
+
</modal>
|
|
265
|
+
<modal :show.sync="imgshow" v-ref:modal backdrop="true">
|
|
266
|
+
<header slot="modal-header" class="modal-header">
|
|
267
|
+
在线抢修照片
|
|
268
|
+
</header>
|
|
269
|
+
<article slot="modal-body" class="modal-body">
|
|
270
|
+
<div class="from-group">
|
|
271
|
+
<img-self :src="imgfilename" width="500" height="500"></img-self>
|
|
272
|
+
</div>
|
|
273
|
+
</article>
|
|
274
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
275
|
+
<button type="button" class="btn btn-success" @click='imgclose'>关闭</button>
|
|
276
|
+
</footer>
|
|
277
|
+
</modal>
|
|
278
|
+
<!-- 投诉单处理弹窗 -->
|
|
279
|
+
<modal :show.sync="isComplanReview" v-ref:complanModal backdrop="false">
|
|
280
|
+
<header slot="modal-header" class="modal-header">
|
|
281
|
+
投诉审核
|
|
282
|
+
</header>
|
|
283
|
+
<article slot="modal-body" class="modal-body">
|
|
284
|
+
<div class="select-overspread form-horizontal auto workOrderInfo">
|
|
285
|
+
<div class="row">
|
|
286
|
+
<div class="col-sm-12 form-group form-input-group" >
|
|
287
|
+
<label class="font_normal_body" style="width: 10%">工单编号</label>
|
|
288
|
+
<h5 style="padding: 0px">{{ showModalComplan.f_service_id }}</h5>
|
|
289
|
+
</div>
|
|
290
|
+
<div class="col-sm-12 form-input-group" >
|
|
291
|
+
<label class="font_normal_body" style="width: 10%">投诉内容</label>
|
|
292
|
+
<textarea name="name" rows="3" v-model="showModalComplan.f_content"
|
|
293
|
+
class="form-control ver-textarea" id="f_content" name="f_content" readonly="readonly"></textarea>
|
|
294
|
+
</div>
|
|
295
|
+
<div class="col-sm-4 form-group form-input-group" >
|
|
296
|
+
<label class="font_normal_body" style="width: 30%">来电电话</label>
|
|
297
|
+
<input type="text" name="" v-model='showModalComplan.f_phone'
|
|
298
|
+
class="form-control" readonly="readonly">
|
|
299
|
+
</div>
|
|
300
|
+
<div class="col-sm-4 form-group form-input-group" >
|
|
301
|
+
<label class="font_normal_body" style="width: 30%">联系人</label>
|
|
302
|
+
<input type="text" name="" v-model='showModalComplan.f_user_name'
|
|
303
|
+
class="form-control" readonly="readonly">
|
|
304
|
+
</div>
|
|
305
|
+
<div class="col-sm-4 form-group form-input-group" >
|
|
306
|
+
<label class="font_normal_body" style="width: 30%">联系电话</label>
|
|
307
|
+
<input type="text" name="" v-model='showModalComplan.f_contact_phone'
|
|
308
|
+
class="form-control" readonly="readonly">
|
|
309
|
+
</div>
|
|
310
|
+
|
|
311
|
+
<div class="col-sm-12 form-input-group" >
|
|
312
|
+
<label class="font_normal_body" style="width: 10%">备注</label>
|
|
313
|
+
<textarea name="name" rows="3" v-model="showModalComplan.f_remarks"
|
|
314
|
+
class="form-control ver-textarea" readonly="readonly"></textarea>
|
|
315
|
+
</div>
|
|
316
|
+
<div class="col-sm-12 form-input-group">
|
|
317
|
+
<label class="font_normal_body" style="width: 10%">处理结果</label>
|
|
318
|
+
<textarea name="name" rows="4" v-model="f_complaint_results"
|
|
319
|
+
class="form-control ver-textarea" ></textarea>
|
|
320
|
+
</div>
|
|
321
|
+
</div>
|
|
322
|
+
</div>
|
|
323
|
+
</article>
|
|
324
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
325
|
+
<button type="button" name="button"
|
|
326
|
+
class="button_search button_spacing" @click='inputCompainInfo()'>提交</button>
|
|
327
|
+
<button type="button" name="button" style="background-color: #5ac0d9;border-radius: 4px;"
|
|
328
|
+
class="button_spacing button_search" @click='isComplanReview=false;showModalComplan = {}'>取消</button>
|
|
329
|
+
</footer>
|
|
330
|
+
</modal>
|
|
331
|
+
<!-- 咨询处理弹窗 -->
|
|
332
|
+
<modal :show.sync="isSeekWork" v-ref:seekWorkModel backdrop="false">
|
|
333
|
+
<header slot="modal-header" class="modal-header">
|
|
334
|
+
咨询审核
|
|
335
|
+
</header>
|
|
336
|
+
<article slot="modal-body" class="modal-body">
|
|
337
|
+
<div class="select-overspread form-horizontal auto workOrderInfo">
|
|
338
|
+
<div class="row">
|
|
339
|
+
<div class="col-sm-12 form-group form-input-group" >
|
|
340
|
+
<label class="font_normal_body" style="width: 10%">工单编号</label>
|
|
341
|
+
<h5 style="padding: 0px">{{ showModalSeekWork.f_service_id }}</h5>
|
|
342
|
+
</div>
|
|
343
|
+
<div class="col-sm-12 form-input-group" >
|
|
344
|
+
<label class="font_normal_body" style="width: 10%">咨询内容</label>
|
|
345
|
+
<textarea name="name" rows="3" v-model="showModalSeekWork.f_content"
|
|
346
|
+
class="form-control ver-textarea" id="f_content1" name="f_content" readonly="readonly"></textarea>
|
|
347
|
+
</div>
|
|
348
|
+
<div class="col-sm-4 form-group form-input-group" >
|
|
349
|
+
<label class="font_normal_body" style="width: 30%">来电电话</label>
|
|
350
|
+
<input type="text" name="" v-model='showModalSeekWork.f_phone'
|
|
351
|
+
class="form-control" readonly="readonly">
|
|
352
|
+
</div>
|
|
353
|
+
<div class="col-sm-4 form-group form-input-group" >
|
|
354
|
+
<label class="font_normal_body" style="width: 30%">联系人</label>
|
|
355
|
+
<input type="text" name="" v-model='showModalSeekWork.f_user_name'
|
|
356
|
+
class="form-control" readonly="readonly">
|
|
357
|
+
</div>
|
|
358
|
+
<div class="col-sm-4 form-group form-input-group" >
|
|
359
|
+
<label class="font_normal_body" style="width: 30%">联系电话</label>
|
|
360
|
+
<input type="text" name="" v-model='showModalSeekWork.f_contact_phone'
|
|
361
|
+
class="form-control" readonly="readonly">
|
|
362
|
+
</div>
|
|
363
|
+
|
|
364
|
+
<div class="col-sm-12 form-input-group" >
|
|
365
|
+
<label class="font_normal_body" style="width: 10%">备注</label>
|
|
366
|
+
<textarea name="name" rows="3" v-model="showModalSeekWork.f_remarks"
|
|
367
|
+
class="form-control ver-textarea" readonly="readonly"></textarea>
|
|
368
|
+
</div>
|
|
369
|
+
<div class="col-sm-12 form-input-group">
|
|
370
|
+
<label class="font_normal_body" style="width: 10%">处理结果</label>
|
|
371
|
+
<textarea name="name" rows="4" v-model="f_complaint_seekwork_results"
|
|
372
|
+
class="form-control ver-textarea" ></textarea>
|
|
373
|
+
</div>
|
|
374
|
+
</div>
|
|
375
|
+
</div>
|
|
376
|
+
</article>
|
|
377
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
378
|
+
|
|
379
|
+
<button type="button" name="button"
|
|
380
|
+
class="button_search button_spacing" @click='inputSeekWorkInfo()'>提交</button>
|
|
381
|
+
<button type="button" name="button" style="background-color: #5ac0d9;border-radius: 4px;"
|
|
382
|
+
class="button_spacing button_search" @click='isSeekWork=false;showModalSeekWork = {}'>取消</button>
|
|
383
|
+
</footer>
|
|
384
|
+
</modal>
|
|
385
|
+
</template>
|
|
386
|
+
|
|
387
|
+
<script>
|
|
388
|
+
import {PagedList, HttpResetClass} from 'vue-client'
|
|
389
|
+
import DelayReply from '../../../components/pc/DelayReply'
|
|
390
|
+
import * as Util from '../../../components/Util'
|
|
391
|
+
|
|
392
|
+
export default {
|
|
393
|
+
title: '工单列表',
|
|
394
|
+
data () {
|
|
395
|
+
return {
|
|
396
|
+
// 结案备注
|
|
397
|
+
f_caseremarks:'',
|
|
398
|
+
criteriaShow: false,
|
|
399
|
+
f_complaint_results: '',
|
|
400
|
+
serlist: [],
|
|
401
|
+
checkes:[],
|
|
402
|
+
beizhu:false,
|
|
403
|
+
remakes:null,
|
|
404
|
+
editflag: null,
|
|
405
|
+
selectone: '',
|
|
406
|
+
model: new PagedList('rs/sql/operatorService', 20),
|
|
407
|
+
row: null,
|
|
408
|
+
orderMan: '',
|
|
409
|
+
checkAll:false,
|
|
410
|
+
msgs: [],
|
|
411
|
+
// repairstypes : [{label: '全部', value: ''}, ...this.$appdata.getParam('报修全部类型')],
|
|
412
|
+
service: Object,
|
|
413
|
+
pendingCount: 0,
|
|
414
|
+
imgfilename: '',
|
|
415
|
+
select: {
|
|
416
|
+
defname: ''
|
|
417
|
+
},
|
|
418
|
+
rowlist:[],
|
|
419
|
+
// 待办/已办选择
|
|
420
|
+
picked: 'wait',
|
|
421
|
+
imgshow: false,
|
|
422
|
+
isComplanReview: false,
|
|
423
|
+
// defname:this.$appdata.getParam('工单状态'),
|
|
424
|
+
searchData: {
|
|
425
|
+
condition: {
|
|
426
|
+
condition: '1=1',
|
|
427
|
+
sign: '1=1'
|
|
428
|
+
},
|
|
429
|
+
userid: this.$login.f.name
|
|
430
|
+
},
|
|
431
|
+
excelHeaders: {
|
|
432
|
+
'f_workorder_type': '工单类型',
|
|
433
|
+
'f_service_id': '工单编号',
|
|
434
|
+
'f_created_date': '派单时间',
|
|
435
|
+
'f_user_name': '用户姓名',
|
|
436
|
+
'f_address': '用户地址',
|
|
437
|
+
'f_contact_name': '联系人',
|
|
438
|
+
'f_phone': '来电电话',
|
|
439
|
+
'f_contact_phone': '联系电话',
|
|
440
|
+
'f_remarks':'备注'
|
|
441
|
+
},
|
|
442
|
+
//投诉单在modal框显示的信息
|
|
443
|
+
showModalComplan: {
|
|
444
|
+
serviceacitivity: [{f_complaint_results: ''}]
|
|
445
|
+
},
|
|
446
|
+
isSeekWork: false,
|
|
447
|
+
/*咨询单信息*/
|
|
448
|
+
showModalSeekWork: {
|
|
449
|
+
serviceacitivity: [{f_complaint_results: ''}]
|
|
450
|
+
},
|
|
451
|
+
/*咨询单结果*/
|
|
452
|
+
f_complaint_seekwork_results: ''
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
},
|
|
456
|
+
props: {
|
|
457
|
+
user: {
|
|
458
|
+
type: Object
|
|
459
|
+
},
|
|
460
|
+
maintenance: [],
|
|
461
|
+
// serviceId : [String, Number]
|
|
462
|
+
serviceId: '',
|
|
463
|
+
// 工单状态 工单位置
|
|
464
|
+
defname: {
|
|
465
|
+
type: String
|
|
466
|
+
}
|
|
467
|
+
},
|
|
468
|
+
ready () {
|
|
469
|
+
// this.getEmp()
|
|
470
|
+
let messageTime = 60
|
|
471
|
+
const time = this.$appdata.getSingleValue("站点提醒时间")
|
|
472
|
+
if(time && time >60){
|
|
473
|
+
messageTime = time
|
|
474
|
+
}
|
|
475
|
+
setInterval(()=>{
|
|
476
|
+
const data = {
|
|
477
|
+
condition:{
|
|
478
|
+
condition:'1=1',
|
|
479
|
+
sign:'1=1'
|
|
480
|
+
},
|
|
481
|
+
userid:this.$login.f.name
|
|
482
|
+
}
|
|
483
|
+
new HttpResetClass().load('post','rs/sql/operatorService',{data:data},{resolveMsg:null,rejectMsg:null}).then(res=>{
|
|
484
|
+
if(res.data && res.data.length>0){
|
|
485
|
+
this.$showMessage("您有"+res.data.length+"条工单待处理,请及时处理")
|
|
486
|
+
}
|
|
487
|
+
})
|
|
488
|
+
},messageTime*1000)
|
|
489
|
+
this.selfSearch().then(() => {
|
|
490
|
+
this.$emit('ready')
|
|
491
|
+
}).catch((error) => {
|
|
492
|
+
this.$emit('error', error)
|
|
493
|
+
})
|
|
494
|
+
// 开启轮询查询是否由自己的工单
|
|
495
|
+
// this.pollQuery()
|
|
496
|
+
},
|
|
497
|
+
watch: {
|
|
498
|
+
'serviceId' () {
|
|
499
|
+
this.selfSearch()
|
|
500
|
+
},
|
|
501
|
+
// 待办/已办选择变化后,根据选择内容,重新设置path查询路径,进行查询
|
|
502
|
+
'picked' () {
|
|
503
|
+
this.serlist = []
|
|
504
|
+
if (this.picked) {
|
|
505
|
+
if (this.picked === 'wait') {
|
|
506
|
+
this.model.url = 'rs/sql/operatorService'
|
|
507
|
+
} else if (this.picked === 'done') {
|
|
508
|
+
this.model.url = 'rs/sql/doneService'
|
|
509
|
+
}
|
|
510
|
+
this.model.rows = []
|
|
511
|
+
this.selfSearch()
|
|
512
|
+
}
|
|
513
|
+
}
|
|
514
|
+
},
|
|
515
|
+
methods: {
|
|
516
|
+
// 结案确认
|
|
517
|
+
caseok(){
|
|
518
|
+
// 工单结案操作
|
|
519
|
+
let data = {model: this.selectone, loginUser: {name: this.$login.f.name, ename: this.$login.f.ename},f_caseremarks:this.f_caseremarks}
|
|
520
|
+
this.$resetpost(`rs/logic/serviceCase`, data).then(() => {
|
|
521
|
+
this.f_caseremarks = ''
|
|
522
|
+
// 刷新界面
|
|
523
|
+
this.selfSearch()
|
|
524
|
+
})
|
|
525
|
+
},
|
|
526
|
+
// 结案返回
|
|
527
|
+
caseclose(){
|
|
528
|
+
this.f_caseremarks = ''
|
|
529
|
+
this.editflag = null
|
|
530
|
+
},
|
|
531
|
+
repairSendAll () {
|
|
532
|
+
//tag
|
|
533
|
+
if (!this.$refs.paged.$refs.criteria.model.f_workorder_type){
|
|
534
|
+
this.$showMessage('必须选择工单类型后查询')
|
|
535
|
+
return
|
|
536
|
+
}
|
|
537
|
+
this.selectone={
|
|
538
|
+
f_workorder_type:this.$refs.paged.$refs.criteria.model.f_workorder_type
|
|
539
|
+
}
|
|
540
|
+
|
|
541
|
+
if (this.checkAll){
|
|
542
|
+
//如果全选,根据条件去查询数据
|
|
543
|
+
let data={
|
|
544
|
+
condition:this.model.params.condition,
|
|
545
|
+
userid:this.$login.f.name
|
|
546
|
+
}
|
|
547
|
+
new HttpResetClass().load('post','rs/sql/operatorService',{data:data},{resolveMsg:null,rejectMsg:null}).then(res=>{
|
|
548
|
+
const results=res.data
|
|
549
|
+
this.rowlist=results.filter(result=>{
|
|
550
|
+
//tag)
|
|
551
|
+
console.log("999",result,JSON.stringify(result).indexOf('站点接单')!=-1)
|
|
552
|
+
return JSON.stringify(result).indexOf('站点接单')!=-1
|
|
553
|
+
})
|
|
554
|
+
console.log(this.rowlist)
|
|
555
|
+
//tag
|
|
556
|
+
this.serlist=JSON.parse(JSON.stringify(this.rowlist))
|
|
557
|
+
this.editflag ='工单下发'
|
|
558
|
+
})
|
|
559
|
+
|
|
560
|
+
}else{
|
|
561
|
+
if (this.rowlist.length===0){
|
|
562
|
+
this.$showMessage('请选择工单')
|
|
563
|
+
return
|
|
564
|
+
}
|
|
565
|
+
//不全选,去取数据
|
|
566
|
+
this.serlist=JSON.parse(JSON.stringify(this.rowlist))
|
|
567
|
+
console.log("752752",this.rowlist)
|
|
568
|
+
this.editflag ='工单下发'
|
|
569
|
+
}
|
|
570
|
+
},
|
|
571
|
+
isChecked(v) {
|
|
572
|
+
// 如果全选,不在的按选中算,否则,在的按选中算
|
|
573
|
+
if (this.checkAll) {
|
|
574
|
+
return this.checkes.indexOf(v) == -1
|
|
575
|
+
} else {
|
|
576
|
+
return this.checkes.indexOf(v) != -1
|
|
577
|
+
}
|
|
578
|
+
},
|
|
579
|
+
|
|
580
|
+
setCheckes(row) {
|
|
581
|
+
if (!this.checkAll){
|
|
582
|
+
let index=this.checkes.indexOf(row.id)
|
|
583
|
+
if(index<0){
|
|
584
|
+
this.checkes.push(row.id)
|
|
585
|
+
this.rowlist.push(row)
|
|
586
|
+
}else{
|
|
587
|
+
this.checkes.splice(index,1)
|
|
588
|
+
this.rowlist.splice(this.rowlist.findIndex(res => {
|
|
589
|
+
return res.id === row.id
|
|
590
|
+
}) , 1)
|
|
591
|
+
}
|
|
592
|
+
}
|
|
593
|
+
},
|
|
594
|
+
hidden () {
|
|
595
|
+
this.criteriaShow = !this.criteriaShow
|
|
596
|
+
},
|
|
597
|
+
// 提交投诉单内容
|
|
598
|
+
inputCompainInfo () {
|
|
599
|
+
if (this.f_complaint_results != '') {
|
|
600
|
+
this.showModalComplan.serviceacitivity[0].f_complaint_results = this.f_complaint_results
|
|
601
|
+
this.$resetpost('rs/logic/saveComplaintResult', {
|
|
602
|
+
showModalComplan: this.showModalComplan,
|
|
603
|
+
loginUser: {name: this.$login.f.name, ename: this.$login.f.ename, loginid: this.$login.f.id}
|
|
604
|
+
}).then((res) => {
|
|
605
|
+
this.isComplanReview = false
|
|
606
|
+
this.showModalComplan = {}
|
|
607
|
+
this.$refs.paged.$refs.criteria.search()
|
|
608
|
+
})
|
|
609
|
+
} else {
|
|
610
|
+
//tag
|
|
611
|
+
return this.$showAlert('请填写投诉单结果!', 'warning', 2000)
|
|
612
|
+
}
|
|
613
|
+
|
|
614
|
+
},
|
|
615
|
+
//提交咨询单内容
|
|
616
|
+
inputSeekWorkInfo () {
|
|
617
|
+
if (this.f_complaint_seekwork_results != '') {
|
|
618
|
+
this.showModalSeekWork.serviceacitivity[0].f_complaint_results = this.f_complaint_seekwork_results
|
|
619
|
+
this.$resetpost('rs/logic/saveConsultResult', {
|
|
620
|
+
model: this.showModalSeekWork,
|
|
621
|
+
loginUser: {name: this.$login.f.name, ename: this.$login.f.ename, loginid: this.$login.f.id}
|
|
622
|
+
}).then((res) => {
|
|
623
|
+
this.isSeekWork = false
|
|
624
|
+
this.showModalSeekWork = {}
|
|
625
|
+
this.f_complaint_seekwork_results = ''
|
|
626
|
+
this.$refs.paged.$refs.criteria.search()
|
|
627
|
+
})
|
|
628
|
+
} else {
|
|
629
|
+
//tag
|
|
630
|
+
return this.$showAlert('请填写咨询单结果!', 'warning', 2000)
|
|
631
|
+
}
|
|
632
|
+
},
|
|
633
|
+
beizhuclose(){
|
|
634
|
+
this.beizhu =false
|
|
635
|
+
},
|
|
636
|
+
beiopen(row){
|
|
637
|
+
this.beizhu =true
|
|
638
|
+
|
|
639
|
+
console.log('打印row',row)
|
|
640
|
+
this.remakes=row
|
|
641
|
+
},
|
|
642
|
+
beizhuok(){
|
|
643
|
+
this.remakes.f_chehui_remark=this.model.f_remarks
|
|
644
|
+
console.log('打印撤回备注', this.remakes)
|
|
645
|
+
this.post(this.remakes, 'TelWorkeCancle')
|
|
646
|
+
this.beizhuclose()
|
|
647
|
+
this.model.f_remarks = null
|
|
648
|
+
},
|
|
649
|
+
imgclose () {
|
|
650
|
+
this.imgshow = false
|
|
651
|
+
},
|
|
652
|
+
//检查是否为同一类型
|
|
653
|
+
addInList (val) {
|
|
654
|
+
if (!this.checkInList(val)) {
|
|
655
|
+
this.serlist.push(val)
|
|
656
|
+
//tag
|
|
657
|
+
} else {
|
|
658
|
+
var copyserlist = []
|
|
659
|
+
for (var index in this.serlist) {
|
|
660
|
+
if (this.serlist[index].f_service_id != val.f_service_id) {
|
|
661
|
+
copyserlist.push(this.serlist[index])
|
|
662
|
+
}
|
|
663
|
+
}
|
|
664
|
+
this.serlist = copyserlist
|
|
665
|
+
//tag
|
|
666
|
+
}
|
|
667
|
+
},
|
|
668
|
+
checkInList (val) {
|
|
669
|
+
var checkstr = false
|
|
670
|
+
this.serlist.forEach((item) => {
|
|
671
|
+
if (item.f_service_id == val.f_service_id) {
|
|
672
|
+
checkstr = true
|
|
673
|
+
}
|
|
674
|
+
})
|
|
675
|
+
return checkstr
|
|
676
|
+
},
|
|
677
|
+
isInList (val) {
|
|
678
|
+
var checkstr = false
|
|
679
|
+
this.serlist.forEach((item) => {
|
|
680
|
+
if (item.f_service_id == val.f_service_id) {
|
|
681
|
+
checkstr = true
|
|
682
|
+
}
|
|
683
|
+
})
|
|
684
|
+
return checkstr
|
|
685
|
+
},
|
|
686
|
+
proc (selectone, type) {
|
|
687
|
+
this.editflag = type
|
|
688
|
+
this.selectone = selectone
|
|
689
|
+
},
|
|
690
|
+
complanReview (itemVal, type) {
|
|
691
|
+
//tag
|
|
692
|
+
this.showModalComplan = itemVal
|
|
693
|
+
this.showModalComplan.serviceacitivity = [
|
|
694
|
+
{f_service_acitivity_type: '投诉单', f_result_status: '已完成'}]
|
|
695
|
+
this.showModalComplan.id_back = this.showModalComplan.id
|
|
696
|
+
this.isComplanReview = true
|
|
697
|
+
},
|
|
698
|
+
seekworkReview (itemVal, type) {
|
|
699
|
+
//tag
|
|
700
|
+
this.showModalSeekWork = itemVal
|
|
701
|
+
this.showModalSeekWork.serviceacitivity = [
|
|
702
|
+
{f_service_acitivity_type: '投诉单', f_result_status: '已完成'}]
|
|
703
|
+
this.showModalSeekWork.id_back = this.showModalSeekWork.id
|
|
704
|
+
this.isSeekWork = true
|
|
705
|
+
},
|
|
706
|
+
showpicture (val) {
|
|
707
|
+
//tag
|
|
708
|
+
//tag)
|
|
709
|
+
this.imgshow = true
|
|
710
|
+
this.imgfilename = 'rs/image/file/' + val.f_single_path
|
|
711
|
+
},
|
|
712
|
+
search (args) {
|
|
713
|
+
this.serlist = []
|
|
714
|
+
//tag
|
|
715
|
+
let data = {}
|
|
716
|
+
data.condition = this.$refs.paged.$refs.criteria.condition ? this.$refs.paged.$refs.criteria.condition : '1=1'
|
|
717
|
+
data.sign = this.$refs.paged.$refs.criteria.select ? `defname = '${this.$refs.paged.$refs.criteria.select.defname[0]}'` : '1=1'
|
|
718
|
+
this.searchData.condition = data
|
|
719
|
+
this.searchData = Object.assign(this.searchData, args.model)
|
|
720
|
+
return this.model.search(data, args.model)
|
|
721
|
+
},
|
|
722
|
+
selfSearch () {
|
|
723
|
+
// 取消编辑状态
|
|
724
|
+
this.serlist = []
|
|
725
|
+
this.editflag = null
|
|
726
|
+
|
|
727
|
+
this.model.paramSource = {
|
|
728
|
+
userid: '\'' + this.$login.f.name + '\''
|
|
729
|
+
}
|
|
730
|
+
//tag
|
|
731
|
+
let data = {}
|
|
732
|
+
data.condition = '1=1'
|
|
733
|
+
data.sign = '1=1'
|
|
734
|
+
return this.model.search(data)
|
|
735
|
+
},
|
|
736
|
+
// 发送数据给业务逻辑,并刷新界面
|
|
737
|
+
post (row, logic) {
|
|
738
|
+
// 调取工单撤回操作
|
|
739
|
+
let data = {model: row, loginUser: {name: this.$login.f.name, ename: this.$login.f.ename}}
|
|
740
|
+
this.$resetpost(`rs/logic/${logic}`, data).then(() => {
|
|
741
|
+
// 刷新界面
|
|
742
|
+
this.selfSearch()
|
|
743
|
+
})
|
|
744
|
+
},
|
|
745
|
+
// 是否可以撤回
|
|
746
|
+
canRecall (row) {
|
|
747
|
+
let result =
|
|
748
|
+
this.picked === 'done' &&
|
|
749
|
+
row.sender === this.$login.f.name&&row.defname!='维修完成'&&row.defname!='置换完成'
|
|
750
|
+
return result
|
|
751
|
+
}
|
|
752
|
+
},
|
|
753
|
+
computed: {
|
|
754
|
+
serviceorders () {
|
|
755
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('工单类型')]
|
|
756
|
+
},
|
|
757
|
+
repairstypes () {
|
|
758
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('报修全部类型')]
|
|
759
|
+
},
|
|
760
|
+
// defname () {
|
|
761
|
+
// return [{label: '全部', value: ''}, ...this.$appdata.getParam('工单状态')]
|
|
762
|
+
// }
|
|
763
|
+
|
|
764
|
+
},
|
|
765
|
+
components: {
|
|
766
|
+
'delay-reply': DelayReply
|
|
767
|
+
}
|
|
768
|
+
}
|
|
769
|
+
</script>
|
|
770
|
+
<style scoped lang="less">
|
|
771
|
+
.workOrderInfo{
|
|
772
|
+
.row {
|
|
773
|
+
div {
|
|
774
|
+
margin-top: 10px;
|
|
775
|
+
[readonly] {
|
|
776
|
+
background-color:#eeeeee;
|
|
777
|
+
}
|
|
778
|
+
}
|
|
779
|
+
}
|
|
780
|
+
}
|
|
781
|
+
</style>
|
|
782
|
+
|