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
|
@@ -0,0 +1,237 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="flex-row">
|
|
3
|
+
<div id="pc-finduser-page" class="flex bg-white p-10 basic-main">
|
|
4
|
+
<div class="span">
|
|
5
|
+
<criteria-paged :model="model" v-ref:paged v-if="!show">
|
|
6
|
+
<criteria partial='criteria' v-ref:criteria @condition-changed='search'>
|
|
7
|
+
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
8
|
+
<div class="row">
|
|
9
|
+
<div class="col-sm-3 form-group form-input-group" style="width: 20%">
|
|
10
|
+
<label class="font_normal_body" style="width: 40%">回访人</label>
|
|
11
|
+
<input type="text" class="input_search" v-model="model.f_visitman" placeholder='回访人'
|
|
12
|
+
condition="t1.f_visitman like '%{}%'"
|
|
13
|
+
:size="model.f_visitman ? model.f_visitman.length : 8">
|
|
14
|
+
</div>
|
|
15
|
+
|
|
16
|
+
<div class="col-sm-3 form-group form-input-group" style="width: 20%">
|
|
17
|
+
<label class="font_normal_body" style="width: 40%">电话号码</label>
|
|
18
|
+
<input type="text" class="input_search" v-model="model.f_phone" placeholder='电话号码'
|
|
19
|
+
condition="t1.f_phone like '%{}%'">
|
|
20
|
+
</div>
|
|
21
|
+
|
|
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
|
+
<v-select :value.sync="model.f_type"
|
|
25
|
+
v-model="model.f_type"
|
|
26
|
+
:options='$parent.$parent.types' placeholder='回访类型'
|
|
27
|
+
close-on-select condition="t1.f_type = '{}' "></v-select>
|
|
28
|
+
</div>
|
|
29
|
+
|
|
30
|
+
<div class="col-sm-3 form-group form-input-group" style="width: 20%">
|
|
31
|
+
<label class="font_normal_body" style="width: 40%">回访时间</label>
|
|
32
|
+
<datepicker placeholder="开始时间"
|
|
33
|
+
v-model="model.comingtime"
|
|
34
|
+
:value.sync="model.comingtime"
|
|
35
|
+
condition="t1.f_visitdate > '{}'"
|
|
36
|
+
:format="'yyyy-MM-dd 00:00:00'"
|
|
37
|
+
></datepicker>
|
|
38
|
+
</div>
|
|
39
|
+
|
|
40
|
+
<div style="float: right;" class="form-group span">
|
|
41
|
+
<button type="button" name="button" style="background-color: #5ac0d9;border-radius: 4px;"
|
|
42
|
+
class="button_spacing button_search" @click="$parent.$parent.clearmsg">置空
|
|
43
|
+
</button>
|
|
44
|
+
<button type="button" name="button"
|
|
45
|
+
class="button_search button_spacing" @click="$parent.$parent.search">查询
|
|
46
|
+
</button>
|
|
47
|
+
<div style="float: right;" class="button_spacing"
|
|
48
|
+
:class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
|
|
49
|
+
@click="$parent.$parent.hidden()"></div>
|
|
50
|
+
<export-excel-tel :data="$parent.$parent.searchData"
|
|
51
|
+
:field="$parent.$parent.excelHeaders"
|
|
52
|
+
:choose-col="true"
|
|
53
|
+
sqlurl="rs/logic/telephoneExport" sql-name="tel_singleTable_OrderBy"
|
|
54
|
+
:template-name="$parent.$parent.excelTitle"></export-excel-tel>
|
|
55
|
+
</div>
|
|
56
|
+
|
|
57
|
+
</div>
|
|
58
|
+
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
59
|
+
<div class="col-sm-3 form-group form-input-group" style="width: 20%">
|
|
60
|
+
<label class="font_normal_body" style="width: 40%">回访时间</label>
|
|
61
|
+
<datepicker placeholder="结束时间"
|
|
62
|
+
v-model="model.endtime"
|
|
63
|
+
:value.sync="model.endtime"
|
|
64
|
+
condition="t1.f_visitdate < '{}'"
|
|
65
|
+
:format="'yyyy-MM-dd 23:59:59'"
|
|
66
|
+
></datepicker>
|
|
67
|
+
</div>
|
|
68
|
+
</div>
|
|
69
|
+
</div>
|
|
70
|
+
</criteria>
|
|
71
|
+
<data-grid :model="model" partial='list' v-ref:grid class="list_area table_sy">
|
|
72
|
+
<template partial='head'>
|
|
73
|
+
<tr>
|
|
74
|
+
<th>
|
|
75
|
+
<nobr>序号</nobr>
|
|
76
|
+
</th>
|
|
77
|
+
<th>
|
|
78
|
+
<nobr>客户信息</nobr>
|
|
79
|
+
</th>
|
|
80
|
+
<th>
|
|
81
|
+
<nobr>工单类型</nobr>
|
|
82
|
+
</th>
|
|
83
|
+
<th>
|
|
84
|
+
<nobr>报修类型</nobr>
|
|
85
|
+
</th>
|
|
86
|
+
<th>
|
|
87
|
+
<nobr>故障明细</nobr>
|
|
88
|
+
</th>
|
|
89
|
+
<th>
|
|
90
|
+
<nobr>维修结果</nobr>
|
|
91
|
+
</th>
|
|
92
|
+
<th>
|
|
93
|
+
<nobr>回访人</nobr>
|
|
94
|
+
</th>
|
|
95
|
+
<th>
|
|
96
|
+
<nobr>电话号码</nobr>
|
|
97
|
+
</th>
|
|
98
|
+
<th>
|
|
99
|
+
<nobr>回访时间</nobr>
|
|
100
|
+
</th>
|
|
101
|
+
<th>
|
|
102
|
+
<nobr>回访类型</nobr>
|
|
103
|
+
</th>
|
|
104
|
+
<th>
|
|
105
|
+
<nobr>回访内容</nobr>
|
|
106
|
+
</th>
|
|
107
|
+
<th>
|
|
108
|
+
<nobr>回访备注</nobr>
|
|
109
|
+
</th>
|
|
110
|
+
</tr>
|
|
111
|
+
</template>
|
|
112
|
+
<template partial='body'>
|
|
113
|
+
<td style="text-align: center">
|
|
114
|
+
<nobr>{{ $index + 1 }}</nobr>
|
|
115
|
+
</td>
|
|
116
|
+
<td style="text-align: center">
|
|
117
|
+
<nobr>{{ row.f_user_name2 }} {{ row.f_address2 }} </nobr>
|
|
118
|
+
</td>
|
|
119
|
+
<td style="text-align: center">
|
|
120
|
+
<nobr>{{ row.f_workorder_type }}</nobr>
|
|
121
|
+
</td>
|
|
122
|
+
<td style="text-align: center">
|
|
123
|
+
<nobr>{{ row.f_repairtype }}</nobr>
|
|
124
|
+
</td>
|
|
125
|
+
<td style="text-align: center">
|
|
126
|
+
<nobr>{{row.f_remarks2}}</nobr>
|
|
127
|
+
</td>
|
|
128
|
+
<td style="text-align: center">
|
|
129
|
+
<nobr>{{ row.f_repair_remarks }}</nobr>
|
|
130
|
+
</td>
|
|
131
|
+
<td style="text-align: center">
|
|
132
|
+
<nobr>{{ row.f_visitman }}</nobr>
|
|
133
|
+
</td>
|
|
134
|
+
<td style="text-align: center">
|
|
135
|
+
<nobr>{{ row.f_phone }}</nobr>
|
|
136
|
+
</td>
|
|
137
|
+
<td style="text-align: center">
|
|
138
|
+
<nobr>{{ row.f_visitdate }}</nobr>
|
|
139
|
+
</td>
|
|
140
|
+
<td style="text-align: center">
|
|
141
|
+
<nobr>{{ row.f_type }}</nobr>
|
|
142
|
+
</td>
|
|
143
|
+
<td style="text-align: center">
|
|
144
|
+
<nobr>{{ row.f_remarks }}</nobr>
|
|
145
|
+
</td>
|
|
146
|
+
<td style="text-align: center">
|
|
147
|
+
<nobr>{{ row.f_bz }}</nobr>
|
|
148
|
+
</td>
|
|
149
|
+
</template>
|
|
150
|
+
</data-grid>
|
|
151
|
+
</criteria-paged>
|
|
152
|
+
</div>
|
|
153
|
+
</div>
|
|
154
|
+
</div>
|
|
155
|
+
</template>
|
|
156
|
+
|
|
157
|
+
<script>
|
|
158
|
+
import {PagedList} from 'vue-client'
|
|
159
|
+
|
|
160
|
+
export default {
|
|
161
|
+
title: '回访记录',
|
|
162
|
+
data() {
|
|
163
|
+
return {
|
|
164
|
+
model: new PagedList('rs/sql/tel_singleTable_OrderBy', 20, {
|
|
165
|
+
items: "'t1.*, t2.f_user_name as f_user_name2, t2.f_address as f_address2, t2.f_workorder_type, t2.f_repairtype, t2.f_remarks as f_remarks2, t2.failure, t3.f_remarks as f_repair_remarks'", tablename: "'t_telvisit t1 left join t_serviceworkorder t2 on t1.serviceid = t2.f_service_id LEFT JOIN ( SELECT * FROM t_servicework sw WHERE sw.id = ( SELECT MAX ( id ) FROM t_servicework WHERE serviceid = sw.serviceid ) ) t3 ON t2.id= t3.serviceid'",
|
|
166
|
+
orderitem: "'t1.f_visitdate desc'"
|
|
167
|
+
}),
|
|
168
|
+
row: null,
|
|
169
|
+
show: false,
|
|
170
|
+
wavflie: '',
|
|
171
|
+
orderMan: '',
|
|
172
|
+
msgs: [],
|
|
173
|
+
service: Object,
|
|
174
|
+
pendingCount: 0,
|
|
175
|
+
serobj: Object,
|
|
176
|
+
criteriaShow: false,
|
|
177
|
+
excelHeaders: {
|
|
178
|
+
'f_user_name2': '客户姓名',
|
|
179
|
+
'f_address2': '客户地址',
|
|
180
|
+
'f_workorder_type': '工单类型',
|
|
181
|
+
'f_repairtype': '报修类型',
|
|
182
|
+
'f_remarks2': '故障明细',
|
|
183
|
+
'f_repair_remarks': '维修结果',
|
|
184
|
+
'f_phone': '回访电话',
|
|
185
|
+
'f_visitdate': '回访时间',
|
|
186
|
+
'f_type': '回访类型',
|
|
187
|
+
'f_remarks': '回访内容'
|
|
188
|
+
},
|
|
189
|
+
searchData: {
|
|
190
|
+
condition: "1=1",
|
|
191
|
+
items: "*",
|
|
192
|
+
tablename: '(select t1.*, t2.f_user_name as f_user_name2, t2.f_address as f_address2, t2.f_workorder_type, t2.f_repairtype, t2.f_remarks as f_remarks2, t3.f_remarks as f_repair_remarks from t_telvisit t1 left join t_serviceworkorder t2 on t1.serviceid = t2.f_service_id LEFT JOIN ( SELECT * FROM t_servicework sw WHERE sw.id = ( SELECT MAX ( id ) FROM t_servicework WHERE serviceid = sw.serviceid ) ) t3 ON t2.id= t3.serviceid) t1',
|
|
193
|
+
orderitem: 't1.f_visitdate desc'
|
|
194
|
+
},
|
|
195
|
+
excelTitle: '回访记录导出',
|
|
196
|
+
}
|
|
197
|
+
},
|
|
198
|
+
ready() {
|
|
199
|
+
},
|
|
200
|
+
methods: {
|
|
201
|
+
hidden() {
|
|
202
|
+
this.criteriaShow = !this.criteriaShow
|
|
203
|
+
},
|
|
204
|
+
//置空 查询条件
|
|
205
|
+
clearmsg() {
|
|
206
|
+
this.$refs.paged.$refs.criteria.model = {}
|
|
207
|
+
},
|
|
208
|
+
playWav(val) {
|
|
209
|
+
this.wavflie = val;
|
|
210
|
+
this.show = true
|
|
211
|
+
},
|
|
212
|
+
closemodel() {
|
|
213
|
+
this.wavflie = '';
|
|
214
|
+
this.show = false
|
|
215
|
+
},
|
|
216
|
+
search() {
|
|
217
|
+
this.model.rows = []
|
|
218
|
+
this.$refs.paged.$refs.criteria.search()
|
|
219
|
+
this.searchData.condition = this.model.condition
|
|
220
|
+
},
|
|
221
|
+
},
|
|
222
|
+
computed: {
|
|
223
|
+
types() {
|
|
224
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('回访类型')]
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
</script>
|
|
229
|
+
<style scoped>
|
|
230
|
+
label {
|
|
231
|
+
width: 80px;
|
|
232
|
+
}
|
|
233
|
+
#pc-finduser-page .form-input-group {
|
|
234
|
+
margin: 5px 0px;
|
|
235
|
+
height: auto;
|
|
236
|
+
}
|
|
237
|
+
</style>
|
|
@@ -0,0 +1,271 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="flex">
|
|
3
|
+
<section>
|
|
4
|
+
<div class="basic-main row" style="height: 100%">
|
|
5
|
+
<criteria-paged :model="model" v-ref:paged>
|
|
6
|
+
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
|
|
7
|
+
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
8
|
+
<div class="row">
|
|
9
|
+
<div class="col-sm-4 form-group" style="width: 20%">
|
|
10
|
+
<label class="font_normal_body"> 公 司 </label>
|
|
11
|
+
<right-tree :userid.sync='$parent.$parent.userid' style="width: 60%;"
|
|
12
|
+
:source.sync='$parent.$parent.source' @re-res="$parent.$parent.getRes"></right-tree>
|
|
13
|
+
</div>
|
|
14
|
+
<div class="form-group col-sm-2">
|
|
15
|
+
<label for="startDate" class="font_normal_body">开始日期:</label>
|
|
16
|
+
<datepicker id="startDate" placeholder="开始日期"
|
|
17
|
+
v-model="$parent.$parent.startDate"
|
|
18
|
+
:value.sync="$parent.$parent.startDate"
|
|
19
|
+
style="width: 60%;"
|
|
20
|
+
:disabled-days-of-Week="[]"
|
|
21
|
+
:format="'yyyy-MM-dd 00:00:00'"
|
|
22
|
+
:show-reset-button="reset">
|
|
23
|
+
</datepicker>
|
|
24
|
+
</div>
|
|
25
|
+
<div class="form-group col-sm-2">
|
|
26
|
+
<label for="endDate" class="font_normal_body">结束日期:</label>
|
|
27
|
+
<datepicker id="endDate" placeholder="结束日期"
|
|
28
|
+
v-model="$parent.$parent.endDate"
|
|
29
|
+
:value.sync="$parent.$parent.endDate"
|
|
30
|
+
:disabled-days-of-Week="[]"
|
|
31
|
+
style="width: 60%;"
|
|
32
|
+
:format="'yyyy-MM-dd 23:59:59'"
|
|
33
|
+
:show-reset-button="reset">
|
|
34
|
+
</datepicker>
|
|
35
|
+
</div>
|
|
36
|
+
<div class="col-sm-3 form-group form-input-group" style="width: 20%;left: 35%">
|
|
37
|
+
<button type="button" name="button" class="button_search" @click="search">查询</button>
|
|
38
|
+
<export-excel-tel :data="$parent.$parent.searchData"
|
|
39
|
+
:field="$parent.$parent.excelHeaders"
|
|
40
|
+
sqlurl="rs/logic/telephoneExport" sql-name="manage_telman" :template-name="$parent.$parent.excelTitle"></export-excel-tel>
|
|
41
|
+
</div>
|
|
42
|
+
</div>
|
|
43
|
+
</div>
|
|
44
|
+
</criteria>
|
|
45
|
+
<data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid >
|
|
46
|
+
<template partial='head'>
|
|
47
|
+
<tr >
|
|
48
|
+
<th colspan="20" class="tableinfo">
|
|
49
|
+
<h3 style="text-align: center;color: #00A3F0;font-size: 26px" >{{$parent.$parent.$parent.orgname }}话务统计报表</h3>
|
|
50
|
+
</th>
|
|
51
|
+
</tr>
|
|
52
|
+
<tr>
|
|
53
|
+
<th>
|
|
54
|
+
<nobr>话务员</nobr>
|
|
55
|
+
</th>
|
|
56
|
+
<th>
|
|
57
|
+
<nobr>工号</nobr>
|
|
58
|
+
</th>
|
|
59
|
+
<th>
|
|
60
|
+
<nobr>来电总数</nobr>
|
|
61
|
+
</th>
|
|
62
|
+
<th>
|
|
63
|
+
<nobr>接线率</nobr>
|
|
64
|
+
</th>
|
|
65
|
+
<th>
|
|
66
|
+
<nobr>置忙次数</nobr>
|
|
67
|
+
</th>
|
|
68
|
+
<th>
|
|
69
|
+
<nobr>已接</nobr>
|
|
70
|
+
</th>
|
|
71
|
+
<th>
|
|
72
|
+
<nobr>未接</nobr>
|
|
73
|
+
</th>
|
|
74
|
+
<th>
|
|
75
|
+
<nobr>外拨</nobr>
|
|
76
|
+
</th>
|
|
77
|
+
<th>
|
|
78
|
+
<nobr>咨询单</nobr>
|
|
79
|
+
</th>
|
|
80
|
+
<th>
|
|
81
|
+
<nobr>投诉单</nobr>
|
|
82
|
+
</th>
|
|
83
|
+
<th>
|
|
84
|
+
<nobr>报修单</nobr>
|
|
85
|
+
</th>
|
|
86
|
+
<!-- <th >-->
|
|
87
|
+
<!-- <nobr>报修单(抢修)</nobr>-->
|
|
88
|
+
<!-- </th>-->
|
|
89
|
+
<!-- <th >-->
|
|
90
|
+
<!-- <nobr>报修单(服务)</nobr>-->
|
|
91
|
+
<!-- </th>-->
|
|
92
|
+
<!-- <th >-->
|
|
93
|
+
<!-- <nobr>报修单(整改)</nobr>-->
|
|
94
|
+
<!-- </th>-->
|
|
95
|
+
<!-- <th >-->
|
|
96
|
+
<!-- <nobr>报修单(置换通气)</nobr>-->
|
|
97
|
+
<!-- </th>-->
|
|
98
|
+
</tr>
|
|
99
|
+
</template>
|
|
100
|
+
<template partial='body'>
|
|
101
|
+
<tr>
|
|
102
|
+
<td style="text-align:center">
|
|
103
|
+
<nobr>{{ row.nam }}</nobr>
|
|
104
|
+
</td>
|
|
105
|
+
<td style="text-align:center">
|
|
106
|
+
<nobr>{{ row.id }}</nobr>
|
|
107
|
+
</td>
|
|
108
|
+
<td style="text-align:center">
|
|
109
|
+
<nobr>{{ row.zongji }}</nobr>
|
|
110
|
+
</td>
|
|
111
|
+
<td style="text-align:center">
|
|
112
|
+
<nobr>{{ row.scale }}</nobr>
|
|
113
|
+
</td>
|
|
114
|
+
<td style="text-align:center">
|
|
115
|
+
<nobr>{{ row.zhimangcishu }}</nobr>
|
|
116
|
+
</td>
|
|
117
|
+
<td style="text-align:center" >
|
|
118
|
+
<nobr>{{ row.yijie }}</nobr>
|
|
119
|
+
</td>
|
|
120
|
+
<td style="text-align:center">
|
|
121
|
+
<nobr>{{ row.weijie }}</nobr>
|
|
122
|
+
</td>
|
|
123
|
+
<td style="text-align:center">
|
|
124
|
+
<nobr>{{ row.waibo }}</nobr>
|
|
125
|
+
</td>
|
|
126
|
+
<td style="text-align:center">
|
|
127
|
+
<nobr>{{ row.zixundan}}</nobr>
|
|
128
|
+
</td>
|
|
129
|
+
<td style="text-align:center">
|
|
130
|
+
<nobr>{{ row.tousudan}}</nobr>
|
|
131
|
+
</td>
|
|
132
|
+
<td style="text-align:center">
|
|
133
|
+
<nobr>{{ row.baoxiudan}}</nobr>
|
|
134
|
+
</td>
|
|
135
|
+
<!-- <td style="text-align:center" >-->
|
|
136
|
+
<!-- <nobr >{{ row.qiangxius}}</nobr>-->
|
|
137
|
+
<!-- </td>-->
|
|
138
|
+
<!-- <td style="text-align:center" >-->
|
|
139
|
+
<!-- <nobr >{{ row.fuwus}}</nobr>-->
|
|
140
|
+
<!-- </td>-->
|
|
141
|
+
<!-- <td style="text-align:center" >-->
|
|
142
|
+
<!-- <nobr >{{ row.zhenggais}}</nobr>-->
|
|
143
|
+
<!-- </td>-->
|
|
144
|
+
<!-- <td style="text-align:center" >-->
|
|
145
|
+
<!-- <nobr >{{ row.zhihuantongqis}}</nobr>-->
|
|
146
|
+
<!-- </td>-->
|
|
147
|
+
</tr>
|
|
148
|
+
</template>
|
|
149
|
+
<template partial="foot">
|
|
150
|
+
<td style="text-align: center"><span><b>合计:</b></span></td>
|
|
151
|
+
<td style="text-align: center"><span><b> </b></span></td>
|
|
152
|
+
<td style="text-align: center">{{model.sums.zongji}}</td>
|
|
153
|
+
<td style="text-align: center">{{((model.sums.yijie/model.sums.zongji)*100).toFixed(2)+'%'}}</td>
|
|
154
|
+
<td style="text-align: center">{{model.sums.zhimangcishu}}</td>
|
|
155
|
+
<td style="text-align: center">{{model.sums.yijie}}</td>
|
|
156
|
+
<td style="text-align: center">{{model.sums.weijie}}</td>
|
|
157
|
+
<td style="text-align: center">{{model.sums.waibo}}</td>
|
|
158
|
+
<td style="text-align: center">{{model.sums.zixundan}}</td>
|
|
159
|
+
<td style="text-align: center">{{model.sums.tousudan}}</td>
|
|
160
|
+
<td style="text-align: center">{{model.sums.baoxiudan}}</td>
|
|
161
|
+
<!-- <td style="text-align: center" >{{model.sums.qiangxius}}</td>-->
|
|
162
|
+
<!-- <td style="text-align: center" >{{model.sums.fuwus}}</td>-->
|
|
163
|
+
<!-- <td style="text-align: center" >{{model.sums.zhenggais}}</td>-->
|
|
164
|
+
<!-- <td style="text-align: center" >{{model.sums.zhihuantongqis}}</td>-->
|
|
165
|
+
</template>
|
|
166
|
+
</data-grid>
|
|
167
|
+
</criteria-paged>
|
|
168
|
+
</div>
|
|
169
|
+
</section>
|
|
170
|
+
</div>
|
|
171
|
+
</template>
|
|
172
|
+
<script>
|
|
173
|
+
import {PagedList, HttpResetClass} from 'vue-client'
|
|
174
|
+
import * as Util from '../../../components/Util'
|
|
175
|
+
import {getYesterDay, toStandardTimeString} from '../../../components/Util'
|
|
176
|
+
|
|
177
|
+
export default {
|
|
178
|
+
title: '话务员报表',
|
|
179
|
+
data () {
|
|
180
|
+
let model = new PagedList('rs/sql/manage_telman', 20, {
|
|
181
|
+
startDate: 'this.startDate',
|
|
182
|
+
endDate: 'this.endDate',
|
|
183
|
+
f_filiale_id: 'this.f_filiale_id'
|
|
184
|
+
},{zongji:'',yijie:'',weijie:'',waibo:'',zhimangcishu:'',zixundan:'',tousudan:'',baoxiudan:''})
|
|
185
|
+
model.f_filiale_id = `('${this.$login.f.orgid}')`
|
|
186
|
+
model.startDate=Util.getYesterDay() + ' 00:00:00'//昨天时间
|
|
187
|
+
model.endDate=Util.toStandardDateString()+ ' 23:59:59'//当前时间
|
|
188
|
+
return {
|
|
189
|
+
f_filiale_id: `('${this.$login.f.orgid}')`, // 分公司id
|
|
190
|
+
model: model,
|
|
191
|
+
source: 'tool.getFullTree(this.getRights().where(row.getType() != $zone$).where(row.getType() == $organization$))', //获取公司参数
|
|
192
|
+
userid: this.$login.f.id,
|
|
193
|
+
orgname: '',
|
|
194
|
+
startDate:Util.getYesterDay() + ' 00:00:00',
|
|
195
|
+
endDate:Util.toStandardDateString()+ ' 23:59:59',
|
|
196
|
+
searchData: {
|
|
197
|
+
condition: '',
|
|
198
|
+
startDate: '',
|
|
199
|
+
endDate: '',
|
|
200
|
+
f_filiale_id: ''
|
|
201
|
+
},
|
|
202
|
+
excelHeaders: {
|
|
203
|
+
'nam': '话务员',
|
|
204
|
+
'id': '工号',
|
|
205
|
+
'quanbujieting': '接线数',
|
|
206
|
+
'scale': '接线率',
|
|
207
|
+
'zhimangcishu': '置忙次数',
|
|
208
|
+
'yijie': '已接',
|
|
209
|
+
'weijie': '未接',
|
|
210
|
+
'waibo': '外拨',
|
|
211
|
+
'zixundan': '咨询单',
|
|
212
|
+
'tousudan': '投诉单',
|
|
213
|
+
'baoxiudan': '报修单'
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
},
|
|
217
|
+
methods: {
|
|
218
|
+
getRes (obj) {
|
|
219
|
+
this.f_filiale_id = this.$login.convertToIn(obj.resids)
|
|
220
|
+
this.orgname = obj.res[0]
|
|
221
|
+
this.$set('orgname', obj.res[0])
|
|
222
|
+
console.log(
|
|
223
|
+
`%c 来电内容明细 %c 呼叫模块 %c`,
|
|
224
|
+
'background:#35495e ; padding: 1px; border-radius: 3px 0 0 3px; color: #fff',
|
|
225
|
+
'background:#41b883 ; padding: 1px; border-radius: 0 3px 3px 0; color: #fff',
|
|
226
|
+
'background:transparent',
|
|
227
|
+
this.orgname
|
|
228
|
+
)
|
|
229
|
+
},
|
|
230
|
+
selfSearch (args) {
|
|
231
|
+
if (!this.f_filiale_id) {
|
|
232
|
+
return this.$showMessage("请选择公司进行查询!!!")
|
|
233
|
+
}
|
|
234
|
+
this.model.f_filiale_id = this.f_filiale_id // 只有选择了下面的条件才会变化
|
|
235
|
+
this.searchData.f_filiale_id = this.f_filiale_id //导出
|
|
236
|
+
this.searchData.condition=args.condition //导出
|
|
237
|
+
this.model.startDate = this.startDate
|
|
238
|
+
this.searchData.startDate = this.startDate //导出
|
|
239
|
+
this.model.endDate = this.endDate
|
|
240
|
+
this.searchData.endDate = this.endDate //导出
|
|
241
|
+
this.model.search(args.condition, args.model)
|
|
242
|
+
}
|
|
243
|
+
},
|
|
244
|
+
computed: {
|
|
245
|
+
excelTitle() {
|
|
246
|
+
return `${this.orgname }话务员统计报表`
|
|
247
|
+
},
|
|
248
|
+
},
|
|
249
|
+
watch: {
|
|
250
|
+
},
|
|
251
|
+
ready () {
|
|
252
|
+
// //tag)
|
|
253
|
+
// this.$refs.paged.$refs.cri.search()
|
|
254
|
+
//tag + ' 00:00:00')
|
|
255
|
+
//tag+ ' 23:59:59')
|
|
256
|
+
this.orgname = this.$login.f.orgs
|
|
257
|
+
//tag)
|
|
258
|
+
//tag
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
}
|
|
262
|
+
</script>
|
|
263
|
+
|
|
264
|
+
<style lang="less" >
|
|
265
|
+
.tableinfo {
|
|
266
|
+
text-align: center;
|
|
267
|
+
background-color: #00A3F0;
|
|
268
|
+
color: #0c2e4d;
|
|
269
|
+
font-size: 26px;
|
|
270
|
+
}
|
|
271
|
+
</style>
|
|
@@ -46,8 +46,10 @@
|
|
|
46
46
|
<th><nobr>产品安装</nobr></th>
|
|
47
47
|
<th><nobr>抢险维修</nobr></th>
|
|
48
48
|
<th><nobr>换表</nobr></th>
|
|
49
|
+
<th><nobr>整改</nobr></th>
|
|
49
50
|
<th><nobr>合计</nobr></th>
|
|
50
|
-
|
|
51
|
+
<th><nobr>无法处理</nobr></th>
|
|
52
|
+
<th><nobr>未完成</nobr></th>
|
|
51
53
|
</tr>
|
|
52
54
|
</template>
|
|
53
55
|
<template partial='body'>
|
|
@@ -59,7 +61,10 @@
|
|
|
59
61
|
<td style="text-align: center">{{row.chanpinanzhuang}}</td>
|
|
60
62
|
<td style="text-align: center">{{row.qiangxianweixiu}}</td>
|
|
61
63
|
<td style="text-align: center">{{row.huanbiao}}</td>
|
|
64
|
+
<td style="text-align: center">{{row.zhenggai}}</td>
|
|
62
65
|
<td style="text-align: center">{{row.total}}</td>
|
|
66
|
+
<td style="text-align: center">{{row.wufachuli}}</td>
|
|
67
|
+
<td style="text-align: center">{{row.weiwancheng}}</td>
|
|
63
68
|
</template>
|
|
64
69
|
</data-grid>
|
|
65
70
|
</criteria-paged>
|
|
@@ -90,7 +95,10 @@
|
|
|
90
95
|
'chanpinanzhuang': '产品安装',
|
|
91
96
|
'qiangxianweixiu': '抢险维修',
|
|
92
97
|
'huanbiao': '换表',
|
|
93
|
-
'
|
|
98
|
+
'zhenggai': '整改',
|
|
99
|
+
'total': '合计',
|
|
100
|
+
'wufachuli': '无法处理',
|
|
101
|
+
'weiwancheng': '未完成',
|
|
94
102
|
},
|
|
95
103
|
}
|
|
96
104
|
},
|