telephone-clients 3.0.104-103 → 3.0.104-104
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.
|
@@ -1,248 +1,248 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="basic-main" style="height: 100%">
|
|
3
|
-
<criteria-paged :model="model" :pager='false' v-ref:paged>
|
|
4
|
-
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:criteria>
|
|
5
|
-
<p class="bg-info text-center" style="padding: 8px;">话务统计报表</p>
|
|
6
|
-
<div class="form-group" v-if="!$parent.$parent.data.f_files_path"></div>
|
|
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>
|
|
37
|
-
<div class="span" style="float:right;">
|
|
38
|
-
<button type="button" name="button" class="button_search" @click="search">查询</button>
|
|
39
|
-
<export-excel-tel :data="$parent.$parent.searchData"
|
|
40
|
-
:field="$parent.$parent.excelHeaders"
|
|
41
|
-
sqlurl="rs/logic/telephoneExport" sql-name="manage_telman" :template-name="$parent.$parent.excelTitle"></export-excel-tel>
|
|
42
|
-
</div>
|
|
43
|
-
</div>
|
|
44
|
-
</criteria>
|
|
45
|
-
<div partial='list' v-el:handcollect style="overflow-y: scroll">
|
|
46
|
-
<table id='gasprice' class='tableprint' style="margin: 0px auto">
|
|
47
|
-
<thead>
|
|
48
|
-
<tr>
|
|
49
|
-
<th colspan='9' style="font-weight: normal; text-align: left;">
|
|
50
|
-
<h3 style="text-align: center">
|
|
51
|
-
{{ $parent.$parent.$parent.orgname== null || $parent.$parent.$parent.orgname == '' ? $parent.$parent.$parent.orgname: '' }}话务统计报表</h3>
|
|
52
|
-
</th>
|
|
53
|
-
</tr>
|
|
54
|
-
<tr>
|
|
55
|
-
<th colspan='9' style="font-weight: normal; text-align: center;">
|
|
56
|
-
开始时间:{{ model.model.startDate }}
|
|
57
|
-
结束时间:{{ model.model.endDate }} <br/>
|
|
58
|
-
打印时间:{{ $parent.printTime }}
|
|
59
|
-
</th>
|
|
60
|
-
</tr>
|
|
61
|
-
<tr>
|
|
62
|
-
<th colspan='9' style="font-weight: normal; text-align: center;">
|
|
63
|
-
<div>
|
|
64
|
-
<span style="font-weight: normal;text-align: center;margin:5px 15px"
|
|
65
|
-
v-show="$parent.orgname.trim()!=''">公司:{{ $parent.orgname }}</span>
|
|
66
|
-
<span v-show="$parent.depname.trim()!=''"> 部门:{{ $parent.depname }}</span>
|
|
67
|
-
<span style="font-weight: normal;text-align: center;margin:5px 15px"
|
|
68
|
-
v-show="$parent.operatorname.trim()!=''">人员:{{ $parent.operatorname }}</span>
|
|
69
|
-
</div>
|
|
70
|
-
</th>
|
|
71
|
-
</tr>
|
|
72
|
-
</thead>
|
|
73
|
-
<tr>
|
|
74
|
-
<td colspan='12' style="border: 0px">
|
|
75
|
-
<table>
|
|
76
|
-
<tr>
|
|
77
|
-
<td class="tdcenter bg-info" width="100" height="30" >话务员</td>
|
|
78
|
-
<td class="tdcenter bg-info" width="100" height="30" >来电总数</td>
|
|
79
|
-
<td class="tdcenter bg-info" width="100" height="30" >接听数</td>
|
|
80
|
-
<td class="tdcenter bg-info" width="100" height="30" >未接听数</td>
|
|
81
|
-
<td class="tdcenter bg-info" width="100" height="30" >呼出</td>
|
|
82
|
-
<td class="tdcenter bg-info" width="100" height="30">接线率</td>
|
|
83
|
-
<td class="tdcenter bg-info" width="100" height="30">派工单总数</td>
|
|
84
|
-
<td class="tdcenter bg-info" width="100" height="30">工单类型</td>
|
|
85
|
-
<td class="tdcenter bg-info" width="100" height="30">数量</td>
|
|
86
|
-
<td class="tdcenter bg-info" width="100" height="30">报修类型</td>
|
|
87
|
-
<td class="tdcenter bg-info" width="100" height="30">数量</td>
|
|
88
|
-
</tr>
|
|
89
|
-
</table>
|
|
90
|
-
<table class="tableprint" v-for="row in model.rows">
|
|
91
|
-
<tr >
|
|
92
|
-
<td class="tdcenter bg-info" width="100" height="30" rowspan="7">{{ row.nam }}</td>
|
|
93
|
-
<td class="tdcenter bg-info" width="100" height="30" rowspan="7">{{ row.zongji}}</td>
|
|
94
|
-
<td class="tdcenter bg-info" width="100" height="30" rowspan="7">{{ row.yijie }}</td>
|
|
95
|
-
<td class="tdcenter bg-info" width="100" height="30" rowspan="7">{{ row.weijie }}</td>
|
|
96
|
-
<td class="tdcenter bg-info" width="100" height="30" rowspan="7">{{row.waibo}}</td>
|
|
97
|
-
<td class="tdcenter bg-info" width="100" height="30" rowspan="7">{{ row.scale }}</td>
|
|
98
|
-
<td class="tdcenter bg-info" width="100" height="30" rowspan="7">{{row.paigongdanzongshu}}</td>
|
|
99
|
-
<td class="tdcenter bg-info" width="100" height="30">投诉</td>
|
|
100
|
-
<td class="tdcenter bg-info" width="100" height="30">{{ row.tousudan}}</td>
|
|
101
|
-
<td class="tdcenter bg-info" width="100" height="30"></td>
|
|
102
|
-
<td class="tdcenter bg-info" width="100" height="30"></td>
|
|
103
|
-
</tr>
|
|
104
|
-
<tr>
|
|
105
|
-
<td class="tdcenter bg-info" width="100" height="30" rowspan="5">维修</td>
|
|
106
|
-
<td class="tdcenter bg-info" width="100" height="30" rowspan="5">{{row.baoxiudan}}</td>
|
|
107
|
-
<td class="tdcenter bg-info" width="100" height="30">服务</td>
|
|
108
|
-
<td class="tdcenter bg-info" width="100" height="30">{{row.fuwus}}</td>
|
|
109
|
-
</tr>
|
|
110
|
-
<tr>
|
|
111
|
-
<td class="tdcenter bg-info" width="100" height="30">整改</td>
|
|
112
|
-
<td class="tdcenter bg-info" width="100" height="30">{{row.zhenggais}}</td>
|
|
113
|
-
</tr>
|
|
114
|
-
<tr>
|
|
115
|
-
<td class="tdcenter bg-info" width="100" height="30">置换通气</td>
|
|
116
|
-
<td class="tdcenter bg-info" width="100" height="30">{{row.zhihuantongqis}}</td>
|
|
117
|
-
</tr>
|
|
118
|
-
<tr>
|
|
119
|
-
<td class="tdcenter bg-info" width="100" height="30">换表</td>
|
|
120
|
-
<td class="tdcenter bg-info" width="100" height="30">{{row.huanbiaos}}</td>
|
|
121
|
-
</tr>
|
|
122
|
-
<tr>
|
|
123
|
-
<td class="tdcenter bg-info" width="100" height="30">抢修</td>
|
|
124
|
-
<td class="tdcenter bg-info" width="100" height="30">{{row.qiangxius}}</td>
|
|
125
|
-
</tr>
|
|
126
|
-
<tr>
|
|
127
|
-
<td class="tdcenter bg-info" width="100" height="30">咨询</td>
|
|
128
|
-
<td class="tdcenter bg-info" width="100" height="30">{{row.zixundan}}</td>
|
|
129
|
-
<td class="tdcenter bg-info" width="100" height="30"></td>
|
|
130
|
-
<td class="tdcenter bg-info" width="100" height="30"></td>
|
|
131
|
-
</tr>
|
|
132
|
-
</table>
|
|
133
|
-
</td>
|
|
134
|
-
</tr>
|
|
135
|
-
<tfoot>
|
|
136
|
-
</tfoot>
|
|
137
|
-
</table>
|
|
138
|
-
<div id="huawucharts1">
|
|
139
|
-
</div>
|
|
140
|
-
</div>
|
|
141
|
-
</criteria-paged>
|
|
142
|
-
</div>
|
|
143
|
-
</template>
|
|
144
|
-
<script>
|
|
145
|
-
import {PagedList, HttpResetClass} from 'vue-client'
|
|
146
|
-
import * as Util from '../../../components/Util'
|
|
147
|
-
|
|
148
|
-
export default {
|
|
149
|
-
title: '话务员报表',
|
|
150
|
-
data () {
|
|
151
|
-
let model = new PagedList('rs/sql/manage_telman', 20, {
|
|
152
|
-
startDate: 'this.startDate',
|
|
153
|
-
endDate: 'this.endDate',
|
|
154
|
-
f_filiale_id: 'this.f_filiale_id'
|
|
155
|
-
},{zongji:'',yijie:'',weijie:'',waibo:'',zixundan:'',tousudan:'',baoxiudan:'',huawunum:'',bumennum:'',qiangxius:'',fuwus:'',zhenggais:'',zhihuantongqis:''})
|
|
156
|
-
model.f_filiale_id = `('${this.$login.f.orgid}')`
|
|
157
|
-
model.startDate=Util.getYesterDay() + ' 00:00:00'//昨天时间
|
|
158
|
-
model.endDate=Util.toStandardDateString()+ ' 23:59:59'//当前时间
|
|
159
|
-
return {
|
|
160
|
-
f_filiale_id: `('${this.$login.f.orgid}')`, // 分公司id
|
|
161
|
-
model: model,
|
|
162
|
-
source: 'tool.getFullTree(this.getRights().where(row.getType() != $zone$).where(row.getType() == $organization$))', //获取公司参数
|
|
163
|
-
userid: this.$login.f.id,
|
|
164
|
-
orgname: '',
|
|
165
|
-
startDate:Util.getYesterDay() + ' 00:00:00',
|
|
166
|
-
endDate:Util.toStandardDateString()+ ' 23:59:59',
|
|
167
|
-
searchData: {
|
|
168
|
-
condition: '',
|
|
169
|
-
startDate: '',
|
|
170
|
-
endDate: '',
|
|
171
|
-
f_filiale_id: ''
|
|
172
|
-
},
|
|
173
|
-
excelHeaders: {
|
|
174
|
-
'nam': '话务员',
|
|
175
|
-
'id': '工号',
|
|
176
|
-
'quanbujieting': '接线数',
|
|
177
|
-
'scale': '接线率',
|
|
178
|
-
// 'zhimangcishu': '置忙次数',
|
|
179
|
-
'yijie': '已接',
|
|
180
|
-
'weijie': '未接',
|
|
181
|
-
'waibo': '外拨',
|
|
182
|
-
'zixundan': '咨询单',
|
|
183
|
-
'tousudan': '投诉单',
|
|
184
|
-
'baoxiudan': '报修单',
|
|
185
|
-
'huawunum': '话务来电',
|
|
186
|
-
'bumennum': '部门派单',
|
|
187
|
-
'qiangxius': '报修单(抢修)',
|
|
188
|
-
'fuwus': '报修单(服务)',
|
|
189
|
-
'zhenggais': '报修单(整改)',
|
|
190
|
-
'zhihuantongqis': '报修单(置换通气)'
|
|
191
|
-
}
|
|
192
|
-
}
|
|
193
|
-
},
|
|
194
|
-
methods: {
|
|
195
|
-
getRes (obj) {
|
|
196
|
-
this.f_filiale_id = this.$login.convertToIn(obj.resids)
|
|
197
|
-
this.orgname = obj.res[0]
|
|
198
|
-
this.$set('orgname', obj.res[0])
|
|
199
|
-
console.log(
|
|
200
|
-
`%c 来电内容明细 %c 呼叫模块 %c`,
|
|
201
|
-
'background:#35495e ; padding: 1px; border-radius: 3px 0 0 3px; color: #fff',
|
|
202
|
-
'background:#41b883 ; padding: 1px; border-radius: 0 3px 3px 0; color: #fff',
|
|
203
|
-
'background:transparent',
|
|
204
|
-
this.orgname
|
|
205
|
-
)
|
|
206
|
-
},
|
|
207
|
-
selfSearch (args) {
|
|
208
|
-
if (!this.f_filiale_id) {
|
|
209
|
-
return this.$showMessage("请选择公司进行查询!!!")
|
|
210
|
-
}
|
|
211
|
-
this.model.f_filiale_id = this.f_filiale_id // 只有选择了下面的条件才会变化
|
|
212
|
-
this.searchData.f_filiale_id = this.f_filiale_id //导出
|
|
213
|
-
this.searchData.condition=args.condition //导出
|
|
214
|
-
this.model.startDate = this.startDate
|
|
215
|
-
this.searchData.startDate = this.startDate //导出
|
|
216
|
-
this.model.endDate = this.endDate
|
|
217
|
-
this.searchData.endDate = this.endDate //导出
|
|
218
|
-
this.model.search(args.condition, args.model)
|
|
219
|
-
}
|
|
220
|
-
},
|
|
221
|
-
computed: {
|
|
222
|
-
excelTitle() {
|
|
223
|
-
return `${this.orgname }话务员统计报表`
|
|
224
|
-
},
|
|
225
|
-
},
|
|
226
|
-
watch: {
|
|
227
|
-
},
|
|
228
|
-
ready () {
|
|
229
|
-
// //tag)
|
|
230
|
-
// this.$refs.paged.$refs.cri.search()
|
|
231
|
-
//tag + ' 00:00:00')
|
|
232
|
-
//tag+ ' 23:59:59')
|
|
233
|
-
this.orgname = this.$login.f.orgs
|
|
234
|
-
//tag)
|
|
235
|
-
//tag
|
|
236
|
-
}
|
|
237
|
-
|
|
238
|
-
}
|
|
239
|
-
</script>
|
|
240
|
-
|
|
241
|
-
<style lang="less" >
|
|
242
|
-
.tableinfo {
|
|
243
|
-
text-align: center;
|
|
244
|
-
background-color: #00A3F0;
|
|
245
|
-
color: #0c2e4d;
|
|
246
|
-
font-size: 26px;
|
|
247
|
-
}
|
|
248
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div class="basic-main" style="height: 100%">
|
|
3
|
+
<criteria-paged :model="model" :pager='false' v-ref:paged>
|
|
4
|
+
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:criteria>
|
|
5
|
+
<p class="bg-info text-center" style="padding: 8px;">话务统计报表</p>
|
|
6
|
+
<div class="form-group" v-if="!$parent.$parent.data.f_files_path"></div>
|
|
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>
|
|
37
|
+
<div class="span" style="float:right;">
|
|
38
|
+
<button type="button" name="button" class="button_search" @click="search">查询</button>
|
|
39
|
+
<export-excel-tel :data="$parent.$parent.searchData"
|
|
40
|
+
:field="$parent.$parent.excelHeaders"
|
|
41
|
+
sqlurl="rs/logic/telephoneExport" sql-name="manage_telman" :template-name="$parent.$parent.excelTitle"></export-excel-tel>
|
|
42
|
+
</div>
|
|
43
|
+
</div>
|
|
44
|
+
</criteria>
|
|
45
|
+
<div partial='list' v-el:handcollect style="overflow-y: scroll">
|
|
46
|
+
<table id='gasprice' class='tableprint' style="margin: 0px auto">
|
|
47
|
+
<thead>
|
|
48
|
+
<tr>
|
|
49
|
+
<th colspan='9' style="font-weight: normal; text-align: left;">
|
|
50
|
+
<h3 style="text-align: center">
|
|
51
|
+
{{ $parent.$parent.$parent.orgname== null || $parent.$parent.$parent.orgname == '' ? $parent.$parent.$parent.orgname: '' }}话务统计报表</h3>
|
|
52
|
+
</th>
|
|
53
|
+
</tr>
|
|
54
|
+
<tr>
|
|
55
|
+
<th colspan='9' style="font-weight: normal; text-align: center;">
|
|
56
|
+
开始时间:{{ model.model.startDate }}
|
|
57
|
+
结束时间:{{ model.model.endDate }} <br/>
|
|
58
|
+
打印时间:{{ $parent.printTime }}
|
|
59
|
+
</th>
|
|
60
|
+
</tr>
|
|
61
|
+
<tr>
|
|
62
|
+
<th colspan='9' style="font-weight: normal; text-align: center;">
|
|
63
|
+
<div>
|
|
64
|
+
<span style="font-weight: normal;text-align: center;margin:5px 15px"
|
|
65
|
+
v-show="$parent.orgname.trim()!=''">公司:{{ $parent.orgname }}</span>
|
|
66
|
+
<span v-show="$parent.depname.trim()!=''"> 部门:{{ $parent.depname }}</span>
|
|
67
|
+
<span style="font-weight: normal;text-align: center;margin:5px 15px"
|
|
68
|
+
v-show="$parent.operatorname.trim()!=''">人员:{{ $parent.operatorname }}</span>
|
|
69
|
+
</div>
|
|
70
|
+
</th>
|
|
71
|
+
</tr>
|
|
72
|
+
</thead>
|
|
73
|
+
<tr>
|
|
74
|
+
<td colspan='12' style="border: 0px">
|
|
75
|
+
<table>
|
|
76
|
+
<tr>
|
|
77
|
+
<td class="tdcenter bg-info" width="100" height="30" >话务员</td>
|
|
78
|
+
<td class="tdcenter bg-info" width="100" height="30" >来电总数</td>
|
|
79
|
+
<td class="tdcenter bg-info" width="100" height="30" >接听数</td>
|
|
80
|
+
<td class="tdcenter bg-info" width="100" height="30" >未接听数</td>
|
|
81
|
+
<td class="tdcenter bg-info" width="100" height="30" >呼出</td>
|
|
82
|
+
<td class="tdcenter bg-info" width="100" height="30">接线率</td>
|
|
83
|
+
<td class="tdcenter bg-info" width="100" height="30">派工单总数</td>
|
|
84
|
+
<td class="tdcenter bg-info" width="100" height="30">工单类型</td>
|
|
85
|
+
<td class="tdcenter bg-info" width="100" height="30">数量</td>
|
|
86
|
+
<td class="tdcenter bg-info" width="100" height="30">报修类型</td>
|
|
87
|
+
<td class="tdcenter bg-info" width="100" height="30">数量</td>
|
|
88
|
+
</tr>
|
|
89
|
+
</table>
|
|
90
|
+
<table class="tableprint" v-for="row in model.rows">
|
|
91
|
+
<tr >
|
|
92
|
+
<td class="tdcenter bg-info" width="100" height="30" rowspan="7">{{ row.nam }}</td>
|
|
93
|
+
<td class="tdcenter bg-info" width="100" height="30" rowspan="7">{{ row.zongji}}</td>
|
|
94
|
+
<td class="tdcenter bg-info" width="100" height="30" rowspan="7">{{ row.yijie }}</td>
|
|
95
|
+
<td class="tdcenter bg-info" width="100" height="30" rowspan="7">{{ row.weijie }}</td>
|
|
96
|
+
<td class="tdcenter bg-info" width="100" height="30" rowspan="7">{{row.waibo}}</td>
|
|
97
|
+
<td class="tdcenter bg-info" width="100" height="30" rowspan="7">{{ row.scale }}</td>
|
|
98
|
+
<td class="tdcenter bg-info" width="100" height="30" rowspan="7">{{row.paigongdanzongshu}}</td>
|
|
99
|
+
<td class="tdcenter bg-info" width="100" height="30">投诉</td>
|
|
100
|
+
<td class="tdcenter bg-info" width="100" height="30">{{ row.tousudan}}</td>
|
|
101
|
+
<td class="tdcenter bg-info" width="100" height="30"></td>
|
|
102
|
+
<td class="tdcenter bg-info" width="100" height="30"></td>
|
|
103
|
+
</tr>
|
|
104
|
+
<tr>
|
|
105
|
+
<td class="tdcenter bg-info" width="100" height="30" rowspan="5">维修</td>
|
|
106
|
+
<td class="tdcenter bg-info" width="100" height="30" rowspan="5">{{row.baoxiudan}}</td>
|
|
107
|
+
<td class="tdcenter bg-info" width="100" height="30">服务</td>
|
|
108
|
+
<td class="tdcenter bg-info" width="100" height="30">{{row.fuwus}}</td>
|
|
109
|
+
</tr>
|
|
110
|
+
<tr>
|
|
111
|
+
<td class="tdcenter bg-info" width="100" height="30">整改</td>
|
|
112
|
+
<td class="tdcenter bg-info" width="100" height="30">{{row.zhenggais}}</td>
|
|
113
|
+
</tr>
|
|
114
|
+
<tr>
|
|
115
|
+
<td class="tdcenter bg-info" width="100" height="30">置换通气</td>
|
|
116
|
+
<td class="tdcenter bg-info" width="100" height="30">{{row.zhihuantongqis}}</td>
|
|
117
|
+
</tr>
|
|
118
|
+
<tr>
|
|
119
|
+
<td class="tdcenter bg-info" width="100" height="30">换表</td>
|
|
120
|
+
<td class="tdcenter bg-info" width="100" height="30">{{row.huanbiaos}}</td>
|
|
121
|
+
</tr>
|
|
122
|
+
<tr>
|
|
123
|
+
<td class="tdcenter bg-info" width="100" height="30">抢修</td>
|
|
124
|
+
<td class="tdcenter bg-info" width="100" height="30">{{row.qiangxius}}</td>
|
|
125
|
+
</tr>
|
|
126
|
+
<tr>
|
|
127
|
+
<td class="tdcenter bg-info" width="100" height="30">咨询</td>
|
|
128
|
+
<td class="tdcenter bg-info" width="100" height="30">{{row.zixundan}}</td>
|
|
129
|
+
<td class="tdcenter bg-info" width="100" height="30"></td>
|
|
130
|
+
<td class="tdcenter bg-info" width="100" height="30"></td>
|
|
131
|
+
</tr>
|
|
132
|
+
</table>
|
|
133
|
+
</td>
|
|
134
|
+
</tr>
|
|
135
|
+
<tfoot>
|
|
136
|
+
</tfoot>
|
|
137
|
+
</table>
|
|
138
|
+
<div id="huawucharts1">
|
|
139
|
+
</div>
|
|
140
|
+
</div>
|
|
141
|
+
</criteria-paged>
|
|
142
|
+
</div>
|
|
143
|
+
</template>
|
|
144
|
+
<script>
|
|
145
|
+
import {PagedList, HttpResetClass} from 'vue-client'
|
|
146
|
+
import * as Util from '../../../components/Util'
|
|
147
|
+
|
|
148
|
+
export default {
|
|
149
|
+
title: '话务员报表',
|
|
150
|
+
data () {
|
|
151
|
+
let model = new PagedList('rs/sql/manage_telman', 20, {
|
|
152
|
+
startDate: 'this.startDate',
|
|
153
|
+
endDate: 'this.endDate',
|
|
154
|
+
f_filiale_id: 'this.f_filiale_id'
|
|
155
|
+
},{zongji:'',yijie:'',weijie:'',waibo:'',zixundan:'',tousudan:'',baoxiudan:'',huawunum:'',bumennum:'',qiangxius:'',fuwus:'',zhenggais:'',zhihuantongqis:''})
|
|
156
|
+
model.f_filiale_id = `('${this.$login.f.orgid}')`
|
|
157
|
+
model.startDate=Util.getYesterDay() + ' 00:00:00'//昨天时间
|
|
158
|
+
model.endDate=Util.toStandardDateString()+ ' 23:59:59'//当前时间
|
|
159
|
+
return {
|
|
160
|
+
f_filiale_id: `('${this.$login.f.orgid}')`, // 分公司id
|
|
161
|
+
model: model,
|
|
162
|
+
source: 'tool.getFullTree(this.getRights().where(row.getType() != $zone$).where(row.getType() == $organization$))', //获取公司参数
|
|
163
|
+
userid: this.$login.f.id,
|
|
164
|
+
orgname: '',
|
|
165
|
+
startDate:Util.getYesterDay() + ' 00:00:00',
|
|
166
|
+
endDate:Util.toStandardDateString()+ ' 23:59:59',
|
|
167
|
+
searchData: {
|
|
168
|
+
condition: '',
|
|
169
|
+
startDate: '',
|
|
170
|
+
endDate: '',
|
|
171
|
+
f_filiale_id: ''
|
|
172
|
+
},
|
|
173
|
+
excelHeaders: {
|
|
174
|
+
'nam': '话务员',
|
|
175
|
+
'id': '工号',
|
|
176
|
+
'quanbujieting': '接线数',
|
|
177
|
+
'scale': '接线率',
|
|
178
|
+
// 'zhimangcishu': '置忙次数',
|
|
179
|
+
'yijie': '已接',
|
|
180
|
+
'weijie': '未接',
|
|
181
|
+
'waibo': '外拨',
|
|
182
|
+
'zixundan': '咨询单',
|
|
183
|
+
'tousudan': '投诉单',
|
|
184
|
+
'baoxiudan': '报修单',
|
|
185
|
+
'huawunum': '话务来电',
|
|
186
|
+
'bumennum': '部门派单',
|
|
187
|
+
'qiangxius': '报修单(抢修)',
|
|
188
|
+
'fuwus': '报修单(服务)',
|
|
189
|
+
'zhenggais': '报修单(整改)',
|
|
190
|
+
'zhihuantongqis': '报修单(置换通气)'
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
},
|
|
194
|
+
methods: {
|
|
195
|
+
getRes (obj) {
|
|
196
|
+
this.f_filiale_id = this.$login.convertToIn(obj.resids)
|
|
197
|
+
this.orgname = obj.res[0]
|
|
198
|
+
this.$set('orgname', obj.res[0])
|
|
199
|
+
console.log(
|
|
200
|
+
`%c 来电内容明细 %c 呼叫模块 %c`,
|
|
201
|
+
'background:#35495e ; padding: 1px; border-radius: 3px 0 0 3px; color: #fff',
|
|
202
|
+
'background:#41b883 ; padding: 1px; border-radius: 0 3px 3px 0; color: #fff',
|
|
203
|
+
'background:transparent',
|
|
204
|
+
this.orgname
|
|
205
|
+
)
|
|
206
|
+
},
|
|
207
|
+
selfSearch (args) {
|
|
208
|
+
if (!this.f_filiale_id) {
|
|
209
|
+
return this.$showMessage("请选择公司进行查询!!!")
|
|
210
|
+
}
|
|
211
|
+
this.model.f_filiale_id = this.f_filiale_id // 只有选择了下面的条件才会变化
|
|
212
|
+
this.searchData.f_filiale_id = this.f_filiale_id //导出
|
|
213
|
+
this.searchData.condition=args.condition //导出
|
|
214
|
+
this.model.startDate = this.startDate
|
|
215
|
+
this.searchData.startDate = this.startDate //导出
|
|
216
|
+
this.model.endDate = this.endDate
|
|
217
|
+
this.searchData.endDate = this.endDate //导出
|
|
218
|
+
this.model.search(args.condition, args.model)
|
|
219
|
+
}
|
|
220
|
+
},
|
|
221
|
+
computed: {
|
|
222
|
+
excelTitle() {
|
|
223
|
+
return `${this.orgname }话务员统计报表`
|
|
224
|
+
},
|
|
225
|
+
},
|
|
226
|
+
watch: {
|
|
227
|
+
},
|
|
228
|
+
ready () {
|
|
229
|
+
// //tag)
|
|
230
|
+
// this.$refs.paged.$refs.cri.search()
|
|
231
|
+
//tag + ' 00:00:00')
|
|
232
|
+
//tag+ ' 23:59:59')
|
|
233
|
+
this.orgname = this.$login.f.orgs
|
|
234
|
+
//tag)
|
|
235
|
+
//tag
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
}
|
|
239
|
+
</script>
|
|
240
|
+
|
|
241
|
+
<style lang="less" >
|
|
242
|
+
.tableinfo {
|
|
243
|
+
text-align: center;
|
|
244
|
+
background-color: #00A3F0;
|
|
245
|
+
color: #0c2e4d;
|
|
246
|
+
font-size: 26px;
|
|
247
|
+
}
|
|
248
|
+
</style>
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
// 分公司特殊组件页面注册
|
|
2
|
-
import Vue from "vue";
|
|
3
|
-
|
|
4
|
-
//pc和手机分别注册到两个文件中
|
|
5
|
-
let specialComp = {
|
|
6
|
-
// 'work-listall':(resolve) => { require(['./pc/WorkListAll'], resolve) },
|
|
7
|
-
'tel-find-user':(resolve) => { require(['./pc/TelFindUser'], resolve) },
|
|
8
|
-
'gas-work':(resolve) => { require(['./pc/GasWork'], resolve) },
|
|
9
|
-
'distribute-work':(resolve) => { require(['./pc/DistributeWork'], resolve) },
|
|
10
|
-
'tel-meteread-info':(resolve) => { require(['./pc/MetereadInfo'], resolve) },
|
|
11
|
-
'work-listall':(resolve) => { require(['./pc/WorkListAll'], resolve) },
|
|
12
|
-
'record-list-left':(resolve) => { require(['./pc/RecordListLeft'], resolve) },
|
|
13
|
-
'telloss-list':(resolve) => { require(['./pc/TelLossList'], resolve) },
|
|
14
|
-
// 'repairs-work':(resolve) => { require(['./pc/RepairsWork'], resolve) },
|
|
15
|
-
'tel-agentvoice-report':(resolve) => { require(['./pc/TelAgentVoiceReport'], resolve) },
|
|
16
|
-
'new-tel-agentvoice-report':(resolve) => { require(['./pc/NewTelAgentVoiceReport'], resolve) }
|
|
17
|
-
}
|
|
18
|
-
exports.specialComp = specialComp
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
1
|
+
// 分公司特殊组件页面注册
|
|
2
|
+
import Vue from "vue";
|
|
3
|
+
|
|
4
|
+
//pc和手机分别注册到两个文件中
|
|
5
|
+
let specialComp = {
|
|
6
|
+
// 'work-listall':(resolve) => { require(['./pc/WorkListAll'], resolve) },
|
|
7
|
+
'tel-find-user':(resolve) => { require(['./pc/TelFindUser'], resolve) },
|
|
8
|
+
'gas-work':(resolve) => { require(['./pc/GasWork'], resolve) },
|
|
9
|
+
'distribute-work':(resolve) => { require(['./pc/DistributeWork'], resolve) },
|
|
10
|
+
'tel-meteread-info':(resolve) => { require(['./pc/MetereadInfo'], resolve) },
|
|
11
|
+
'work-listall':(resolve) => { require(['./pc/WorkListAll'], resolve) },
|
|
12
|
+
'record-list-left':(resolve) => { require(['./pc/RecordListLeft'], resolve) },
|
|
13
|
+
'telloss-list':(resolve) => { require(['./pc/TelLossList'], resolve) },
|
|
14
|
+
// 'repairs-work':(resolve) => { require(['./pc/RepairsWork'], resolve) },
|
|
15
|
+
'tel-agentvoice-report':(resolve) => { require(['./pc/TelAgentVoiceReport'], resolve) },
|
|
16
|
+
'new-tel-agentvoice-report':(resolve) => { require(['./pc/NewTelAgentVoiceReport'], resolve) }
|
|
17
|
+
}
|
|
18
|
+
exports.specialComp = specialComp
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
package/src/main.js
CHANGED
|
@@ -9,7 +9,7 @@ Vue.prototype.$echarts = echarts
|
|
|
9
9
|
/** **************************通用组件******************************/
|
|
10
10
|
all()
|
|
11
11
|
system(false)
|
|
12
|
-
telephone('
|
|
12
|
+
telephone('yuncheng')
|
|
13
13
|
require('./expandcss.less')
|
|
14
14
|
require('system-clients/src/styles/less/bootstrap.less')
|
|
15
15
|
require('./telephoneanaly.less')
|