telephone-clients 3.0.103-9 → 3.0.103-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 +3 -3
- package/src/App.vue +5 -3
- 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/pc/NewRepairPaper.vue +2 -2
- package/src/components/pc/RepairsWork.vue +19 -0
- 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/WorkCenter.vue +1 -1
- package/src/components/pc/WorkCenterList.vue +1 -1
- package/src/components/pc/WorkHistory.vue +14 -2
- package/src/components/pc/WorkListAllNew.vue +1 -1
- package/src/components/pc/WorkListNew.vue +9 -3
- 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/temp/ChangemeterInfo.vue +4 -16
- package/src/components/temp/DeviceInfo.vue +2 -4
- package/src/components/temp/InfoTable.vue +5 -2
- package/src/components/temp/OldRepairList.vue +100 -0
- package/src/components/temp/RepairList.vue +2 -2
- 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 +9 -9
- 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/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/qianneng/android/FaultAll.vue +1 -1
- package/src/filiale/qianneng/android/TemporarySingle.vue +25 -0
- package/src/filiale/qianneng/pc/MaterialDetailed.vue +10 -0
- package/src/filiale/qianneng/pc/MaterialStatistics.vue +144 -0
- package/src/filiale/qianneng/pc/NewRepairPaper.vue +4 -4
- package/src/filiale/qianneng/pc/RepairsWork.vue +12 -2
- 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/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/telephone.js +2 -1
- 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 +16 -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/TelByOrderManCount.vue +10 -2
- package/src/filiale/shexian/pc/WorkList.vue +25 -1
- package/src/filiale/shexian/pc/WorkListAllNew.vue +21 -15
- package/src/filiale/shexian/telephoneAndroid.js +3 -0
- package/src/filiale/tongchuan/android/TicketDetails.vue +3 -0
- package/src/filiale/tongchuan/pc/WorkOrderStatistics.vue +2 -2
- package/src/filiale/wenxi/android/FailureShow.vue +61 -0
- package/src/filiale/wenxi/android/PhoneUpUserinfo.vue +1047 -0
- package/src/filiale/wenxi/android/RepairInfo.vue +158 -74
- package/src/filiale/wenxi/android/RepairOrderV.vue +1 -9
- 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 +5 -2
- package/src/filiale/wenxi/telephone.js +4 -6
- package/src/filiale/wenxi/telephoneAndroid.js +4 -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/RepairUserInfo.vue +241 -214
- package/src/filiale/zhongsheng/telephoneAndroid.js +2 -1
- package/src/telephone.js +10 -0
- package/src/weinan.js +6 -0
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
:value.sync="model.f_created_date"
|
|
61
61
|
v-model="model.f_created_date"
|
|
62
62
|
:format="'yyyy-MM-dd 00:00:00'"
|
|
63
|
-
condition="f_created_date > '{}'"
|
|
63
|
+
condition="tswo.f_created_date > '{}'"
|
|
64
64
|
></datepicker>
|
|
65
65
|
</div>
|
|
66
66
|
<div class="col-sm-3 form-group form-input-group" style="width: 20%">
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
:value.sync="model.f_created_enddate"
|
|
70
70
|
v-model="model.f_created_enddate"
|
|
71
71
|
:format="'yyyy-MM-dd 23:59:59'"
|
|
72
|
-
condition="f_created_date < '{}'"
|
|
72
|
+
condition="tswo.f_created_date < '{}'"
|
|
73
73
|
></datepicker>
|
|
74
74
|
</div>
|
|
75
75
|
<div class="col-sm-3 form-group form-input-group" style="width: 20%">
|
|
@@ -104,7 +104,7 @@
|
|
|
104
104
|
:value.sync="model.f_date_start"
|
|
105
105
|
v-model="model.f_date_start"
|
|
106
106
|
:format="'yyyy-MM-dd 00:00:00'"
|
|
107
|
-
condition="f_date > '{}'"
|
|
107
|
+
condition="tsw.f_date > '{}'"
|
|
108
108
|
></datepicker>
|
|
109
109
|
</div>
|
|
110
110
|
<div class="col-sm-3 form-group form-input-group" style="width: 20%">
|
|
@@ -113,7 +113,7 @@
|
|
|
113
113
|
:value.sync="model.f_date_end"
|
|
114
114
|
v-model="model.f_date_end"
|
|
115
115
|
:format="'yyyy-MM-dd 23:59:59'"
|
|
116
|
-
condition="f_date < '{}'"
|
|
116
|
+
condition="tsw.f_date < '{}'"
|
|
117
117
|
></datepicker>
|
|
118
118
|
</div>
|
|
119
119
|
<div class="col-sm-3 form-group form-input-group" style="width: 20%">
|
|
@@ -152,7 +152,7 @@
|
|
|
152
152
|
<label class="font_normal_body" style="width: 40%" >报修类型</label>
|
|
153
153
|
<v-select :value.sync="model.f_repairtype" :value-single="true" v-model="model.f_repairtype"
|
|
154
154
|
:options='$parent.$parent.repairstypes' placeholder='报修类型'
|
|
155
|
-
condition="f_repairtype like '%{}%'"
|
|
155
|
+
condition="tswo.f_repairtype like '%{}%'"
|
|
156
156
|
close-on-select>
|
|
157
157
|
</v-select>
|
|
158
158
|
</div>
|
|
@@ -160,7 +160,7 @@
|
|
|
160
160
|
<label class="font_normal_body" style="width: 40%" >故障类型</label>
|
|
161
161
|
<v-select :value.sync="model.failure" :value-single="true" v-model="model.failure"
|
|
162
162
|
:options='$parent.$parent.failures' placeholder='故障类型'
|
|
163
|
-
condition="failure like '%{}%'"
|
|
163
|
+
condition="tswo.failure like '%{}%'"
|
|
164
164
|
close-on-select>
|
|
165
165
|
</v-select>
|
|
166
166
|
</div>
|
|
@@ -237,7 +237,6 @@
|
|
|
237
237
|
<th>
|
|
238
238
|
<nobr>话务员</nobr>
|
|
239
239
|
</th>
|
|
240
|
-
|
|
241
240
|
<th>
|
|
242
241
|
<nobr>结单时间</nobr>
|
|
243
242
|
</th>
|
|
@@ -247,7 +246,9 @@
|
|
|
247
246
|
<th>
|
|
248
247
|
<nobr>离开时间</nobr>
|
|
249
248
|
</th>
|
|
250
|
-
|
|
249
|
+
<th>
|
|
250
|
+
<nobr>不处理原因</nobr>
|
|
251
|
+
</th>
|
|
251
252
|
<!-- <th>-->
|
|
252
253
|
<!-- <nobr>逾期状态</nobr>-->
|
|
253
254
|
<!-- </th>-->
|
|
@@ -330,6 +331,9 @@
|
|
|
330
331
|
<td style="text-align: center;">
|
|
331
332
|
<nobr>{{ row.f_date_leave }}</nobr>
|
|
332
333
|
</td>
|
|
334
|
+
<td style="text-align: center;">
|
|
335
|
+
<nobr>{{ row.f_case_remarks }}</nobr>
|
|
336
|
+
</td>
|
|
333
337
|
|
|
334
338
|
<!-- <td style="text-align: center;">-->
|
|
335
339
|
<!-- <nobr>{{ $parent.$parent.$parent.d1(row)}}</nobr>-->
|
|
@@ -438,20 +442,22 @@ export default {
|
|
|
438
442
|
},
|
|
439
443
|
excelHeaders: {
|
|
440
444
|
'f_workorder_type': '工单类型',
|
|
445
|
+
'f_repairtype': '报修类型',
|
|
441
446
|
'f_service_id': '工单编号',
|
|
442
447
|
'f_created_date': '派单时间',
|
|
443
448
|
'f_user_name': '用户姓名',
|
|
444
449
|
'f_address': '用户地址',
|
|
445
450
|
'f_contact_phone': '联系电话',
|
|
446
451
|
'f_source': '工单来源',
|
|
452
|
+
'f_remarks': '备注',
|
|
447
453
|
'f_json': '故障明细',
|
|
454
|
+
'f_repair_remarks': '维修结果',
|
|
448
455
|
'f_single_man': '派单人',
|
|
449
456
|
'f_attendant': '受理人',
|
|
450
457
|
'f_order_man': '接单人',
|
|
451
458
|
'defname': '工单状态',
|
|
452
|
-
'
|
|
453
|
-
'
|
|
454
|
-
'f_remarks': '备注'
|
|
459
|
+
'f_case_remarks':'无法处理原因',
|
|
460
|
+
'f_date_leave': '完成时间'
|
|
455
461
|
},
|
|
456
462
|
criteriaShow: false
|
|
457
463
|
}
|
|
@@ -577,9 +583,9 @@ export default {
|
|
|
577
583
|
search (args) {
|
|
578
584
|
|
|
579
585
|
if (this.f_filialeids) {
|
|
580
|
-
args.condition += ` and f_filiale_id in ${this.f_filialeids}`
|
|
586
|
+
args.condition += ` and tswo.f_filiale_id in ${this.f_filialeids}`
|
|
581
587
|
} else {
|
|
582
|
-
args.condition += ` and f_filiale_id = '${this.$login.f.orgid}'`
|
|
588
|
+
args.condition += ` and tswo.f_filiale_id = '${this.$login.f.orgid}'`
|
|
583
589
|
}
|
|
584
590
|
|
|
585
591
|
this.searchData.condition = args.condition
|
|
@@ -590,10 +596,10 @@ export default {
|
|
|
590
596
|
let condition = '1=1'
|
|
591
597
|
|
|
592
598
|
if (this.f_filialeids) {
|
|
593
|
-
condition += ` and f_filiale_id in ${this.f_filialeids}`
|
|
599
|
+
condition += ` and tswo.f_filiale_id in ${this.f_filialeids}`
|
|
594
600
|
//tag
|
|
595
601
|
} else {
|
|
596
|
-
condition += ` and f_filiale_id = '${this.$login.f.orgid}'`
|
|
602
|
+
condition += ` and tswo.f_filiale_id = '${this.$login.f.orgid}'`
|
|
597
603
|
}
|
|
598
604
|
return this.model.search(condition)
|
|
599
605
|
},
|
|
@@ -179,6 +179,9 @@
|
|
|
179
179
|
<div class="col-sm-12 col-xs-12 col-md-12 padd-div-shu">
|
|
180
180
|
故障明细: {{ trouble(row.failure) }}
|
|
181
181
|
</div>
|
|
182
|
+
<div class="col-sm-12 col-xs-12 col-md-12 padd-div-shu" v-if="['维修员接单', '维修完成'].indexOf(row.defname) >= 0">
|
|
183
|
+
维修人员: {{ row.f_order_man }}
|
|
184
|
+
</div>
|
|
182
185
|
</div>
|
|
183
186
|
</div>
|
|
184
187
|
</div>
|
|
@@ -129,7 +129,7 @@ export default {
|
|
|
129
129
|
this.condition += ` and f_created_date < '${this.f_date_end}'`
|
|
130
130
|
}
|
|
131
131
|
if(this.f_orgid){
|
|
132
|
-
this.condition += ` and f_filiale_id = '${this.f_orgid}'`
|
|
132
|
+
this.condition += ` and (f_filiale_id = '${this.f_orgid}' or f_orgid = '${this.f_orgid}') `
|
|
133
133
|
}
|
|
134
134
|
new HttpResetClass().load('POST','rs/sql/tel_singleTable_OrderBy', {data: {
|
|
135
135
|
items: `count(0) as zongshu,
|
|
@@ -145,7 +145,7 @@ export default {
|
|
|
145
145
|
sum(case when tswo.f_workorder_type ='预约单' then 1 else 0 end ) as anjiandan`,
|
|
146
146
|
tablename: `t_serviceworkorder tswo
|
|
147
147
|
LEFT JOIN (SELECT * FROM t_servicework sw WHERE sw.id = (SELECT MAX(id) FROM t_servicework WHERE serviceid = sw.serviceid)) tsw ON tswo.id = tsw.serviceid
|
|
148
|
-
left join activityins act on tswo.f_processid = act.processid and state = '开始活动' `,
|
|
148
|
+
left join activityins act on tswo.f_processid = act.processid and state = '开始活动' and defname in ('话务员派单','站点接单', '维修员接单', '班组长派单', '维修完成','置换完成','安装完成','安装员接单','置换员接单','处理完成') `,
|
|
149
149
|
condition: this.condition,
|
|
150
150
|
orderitem: '1'
|
|
151
151
|
}}, {resolveMsg: null, rejectMsg: null}).then(res=>{
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="row">
|
|
3
|
+
<label class = "col-sm-4 " v-if="value">故障明细:</label>
|
|
4
|
+
<span class = "col-sm-8" v-for="failure in failures">
|
|
5
|
+
{{failure.f_failure_type}}:
|
|
6
|
+
<span v-for="caes in failure.failurecase">{{caes}} </span>
|
|
7
|
+
</span>
|
|
8
|
+
</div>
|
|
9
|
+
</template>
|
|
10
|
+
|
|
11
|
+
<script>
|
|
12
|
+
export default {
|
|
13
|
+
title: "failure-show",
|
|
14
|
+
props:{
|
|
15
|
+
// 要显示的故障
|
|
16
|
+
value: {
|
|
17
|
+
type: String
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
data () {
|
|
21
|
+
return {
|
|
22
|
+
// 故障类型
|
|
23
|
+
failures: [],
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
methods: {
|
|
27
|
+
// 把字符串转换成故障类型列表
|
|
28
|
+
procValue() {
|
|
29
|
+
// 清除原来内容
|
|
30
|
+
this.failures.splice(0, this.failures.length)
|
|
31
|
+
|
|
32
|
+
// 空串,直接返回
|
|
33
|
+
if (this.value) {
|
|
34
|
+
// 把字符串转换成故障列表对象
|
|
35
|
+
let array = JSON.parse(this.value)
|
|
36
|
+
if(Array.isArray(array)) {
|
|
37
|
+
array.forEach((value) => {
|
|
38
|
+
this.failures.push(value)
|
|
39
|
+
})
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
},
|
|
44
|
+
watch: {
|
|
45
|
+
'value' () {
|
|
46
|
+
this.failures.splice(0, this.failures.length)
|
|
47
|
+
this.procValue()
|
|
48
|
+
},
|
|
49
|
+
},
|
|
50
|
+
created () {
|
|
51
|
+
},
|
|
52
|
+
ready () {
|
|
53
|
+
|
|
54
|
+
this.procValue()
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
</script>
|
|
58
|
+
|
|
59
|
+
<style scoped>
|
|
60
|
+
|
|
61
|
+
</style>
|