telephone-clients 4.0.0-1-74 → 4.0.0-1-75
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/CHANGELOG.md +37 -37
- package/README.md +38 -38
- package/package.json +1 -1
- package/release.bat +5 -5
- package/src/components/pc/NewRepairPaper.vue +704 -704
- package/src/components/pc/NewRepairTablePaper.vue +442 -442
- package/src/components/pc/RecordListLeft.vue +270 -270
- package/src/components/pc/WorkHistory.vue +650 -650
- package/src/components/pc/config/DefaultPrint.js +7 -0
- package/src/components/sendsingle/onlinecharge.vue +424 -424
- package/src/components/shaoguan/config/DefaultPrint.js +7 -0
- package/src/components/workorder/ChangeMeterPageNew.vue +658 -658
- package/src/components/workorder/ChangeMeterUserInfo.vue +130 -130
- package/src/components/workorder/RepairFirstV.vue +736 -736
- package/src/components/workorder/RepairInfo.vue +178 -178
- package/src/components/workorder/RepairOrderT.vue +713 -713
- package/src/components/workorder/oldMeterPage.vue +104 -104
- package/src/components/workorder/repairFirstTable.vue +715 -715
- package/src/filiale/meihekou/android/Othercharge.vue +454 -454
- package/src/filiale/meihekou/android/PhoneStandWorkNew.vue +692 -692
- package/src/filiale/meihekou/android/ServiceOnlineQuery.vue +477 -477
- package/src/filiale/meihekou/telephoneAndroid.js +26 -26
- package/src/filiale/xinjiangdexin/telephone.js +16 -16
- package/src/filiale/xinliansihui/android/AppInstallationMaterial.vue +864 -864
- package/src/filiale/xinliansihui/android/FaultAll.vue +923 -923
- package/src/filiale/xinliansihui/android/RepairFirstV.vue +734 -734
- package/src/filiale/xinliansihui/android/RepairOrderT.vue +713 -713
- package/src/filiale/xinliansihui/telephoneAndroid.js +11 -11
- package/src/main.js +24 -24
- package/src/telephone-android.js +425 -425
- package/src/telephone.js +796 -796
|
@@ -1,270 +1,270 @@
|
|
|
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="select-overspread form-horizontal" partial>
|
|
6
|
-
<div class="row" >
|
|
7
|
-
<div class="col-sm-3 form-group form-input-group" style="width: 20%" v-if="$parent.$parent.flag == '是'">
|
|
8
|
-
<label class="font_normal_body" style="width: 40%">公 司</label>
|
|
9
|
-
<right-tree :userid.sync='$parent.$parent.userid' style="width: 60%;"
|
|
10
|
-
:source.sync='$parent.$parent.source' @re-res="$parent.$parent.getRes"></right-tree>
|
|
11
|
-
</div>
|
|
12
|
-
<div class="col-sm-3 form-group form-input-group" style="width: 20%">
|
|
13
|
-
<label class="font_normal_body" style="width: 40%">录音 ID</label>
|
|
14
|
-
<input type="text" class="form-control" v-model="model.id" placeholder='录音ID'
|
|
15
|
-
condition="id like '%{}%'"
|
|
16
|
-
:size="model.id ? model.id.length : 7">
|
|
17
|
-
</div>
|
|
18
|
-
<div class="col-sm-3 form-group form-input-group" style="width: 20%">
|
|
19
|
-
<label class="font_normal_body" style="width: 40%">电话号码</label>
|
|
20
|
-
<input type="text" class="form-control" v-model="model.telnum" placeholder='电话号码'
|
|
21
|
-
condition="telnum like '%{}%'"
|
|
22
|
-
:size="model.telnum ? model.telnum.length : 7">
|
|
23
|
-
</div>
|
|
24
|
-
<div class="col-sm-3 form-group form-input-group" style="width: 20%">
|
|
25
|
-
<label class="font_normal_body" style="width: 40%">话务员</label>
|
|
26
|
-
<input type="text" class="form-control" v-model="model.telname" placeholder='话务员姓名'
|
|
27
|
-
condition="telname like '%{}%'"
|
|
28
|
-
:size="model.telname ? model.telname.length : 7">
|
|
29
|
-
</div>
|
|
30
|
-
|
|
31
|
-
<div style="float: right;" class="form-group span">
|
|
32
|
-
<button type="button" name="button"
|
|
33
|
-
class="button_search button_spacing" @click="search(),$dispatch('search')">查询</button>
|
|
34
|
-
<button type="button" name="button" style="background-color: #5ac0d9;border-radius: 4px;"
|
|
35
|
-
class="button_spacing button_search" @click="$parent.$parent.clearmsg">清空</button>
|
|
36
|
-
<div style="float: right;" class="button_spacing button_search"
|
|
37
|
-
:class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
|
|
38
|
-
@click="$parent.$parent.hidden()"></div>
|
|
39
|
-
<export-excel-tel :data="$parent.$parent.searchData"
|
|
40
|
-
:field="$parent.$parent.excelHeaders"
|
|
41
|
-
:choose-col="true"
|
|
42
|
-
sqlurl="af-telephone/rs/logic/telephoneExport" sql-name="tel_recordlist"
|
|
43
|
-
:template-name="$parent.$parent.excelTitle"></export-excel-tel>
|
|
44
|
-
|
|
45
|
-
</div>
|
|
46
|
-
|
|
47
|
-
<div class="col-sm-3 form-group form-input-group" style="width: 20%" v-if="$parent.$parent.criteriaShow">
|
|
48
|
-
<label class="font_normal_body" style="width: 40%">电话类型</label>
|
|
49
|
-
<v-select :value.sync="model.teltype" :value-single="true"
|
|
50
|
-
v-model="model.teltype"
|
|
51
|
-
condition="teltype='{}'"
|
|
52
|
-
:options='$parent.$parent.LoggedStates' placeholder='电话类型'
|
|
53
|
-
close-on-select >
|
|
54
|
-
</v-select>
|
|
55
|
-
|
|
56
|
-
</div>
|
|
57
|
-
<div class="col-sm-3 form-group form-input-group" style="width: 20%" v-if="$parent.$parent.criteriaShow">
|
|
58
|
-
<label class="font_normal_body" style="width: 40%">是否接通</label>
|
|
59
|
-
<v-select :value.sync="model.istelon" :value-single="true"
|
|
60
|
-
v-model="model.istelon"
|
|
61
|
-
:options='$parent.$parent.istelons' placeholder='是否接通'
|
|
62
|
-
close-on-select >
|
|
63
|
-
</v-select>
|
|
64
|
-
|
|
65
|
-
</div>
|
|
66
|
-
<div class="col-sm-3 form-group form-input-group" style="width: 20%" v-if="$parent.$parent.criteriaShow">
|
|
67
|
-
<label class="font_normal_body" style="width: 40%">开始时间</label>
|
|
68
|
-
<datepicker placeholder="开始时间"
|
|
69
|
-
:value.sync="model.f_created_startdate"
|
|
70
|
-
v-model="model.f_created_startdate"
|
|
71
|
-
:format="'yyyy-MM-dd 00:00:00'"
|
|
72
|
-
condition="outltime > '{}'"
|
|
73
|
-
></datepicker>
|
|
74
|
-
</div>
|
|
75
|
-
<div class="col-sm-3 form-group form-input-group" style="width: 20%" v-if="$parent.$parent.criteriaShow">
|
|
76
|
-
<label class="font_normal_body" style="width: 40%">结束时间</label>
|
|
77
|
-
<datepicker placeholder="结束时间"
|
|
78
|
-
:value.sync="model.f_created_enddate"
|
|
79
|
-
v-model="model.f_created_enddate"
|
|
80
|
-
:format="'yyyy-MM-dd 23:59:59'"
|
|
81
|
-
condition="outltime < '{}'"
|
|
82
|
-
></datepicker>
|
|
83
|
-
</div>
|
|
84
|
-
<div class="col-sm-3 form-group form-input-group" style="width: 20%" v-if="$parent.$parent.criteriaShow">
|
|
85
|
-
<label class="font_normal_body" style="width: 40%">时长大于</label>
|
|
86
|
-
<input type="number" class="form-control" v-model="model.telcost" placeholder='通话时长(单位秒)'
|
|
87
|
-
condition="telcost >= {}"
|
|
88
|
-
:size="model.telcost ? model.telcost.length : 7">
|
|
89
|
-
</div>
|
|
90
|
-
<div class="col-sm-3 form-group form-input-group" style="width: 20%" v-if="$parent.$parent.criteriaShow">
|
|
91
|
-
<label class="font_normal_body" style="width: 40%" title="参数管理:呼叫满意度">满意程度</label>
|
|
92
|
-
<v-select :value.sync="model.degree" :value-single="true"
|
|
93
|
-
v-model="model.degree"
|
|
94
|
-
:options='$parent.$parent.degrees' placeholder='满意程度'
|
|
95
|
-
condition="degree = '{}'"
|
|
96
|
-
close-on-select >
|
|
97
|
-
</v-select>
|
|
98
|
-
|
|
99
|
-
</div>
|
|
100
|
-
</div>
|
|
101
|
-
|
|
102
|
-
</div>
|
|
103
|
-
</criteria>
|
|
104
|
-
<data-grid partial='list' v-ref:grid :model="model" class="list_area table_sy">
|
|
105
|
-
<template partial='head'>
|
|
106
|
-
<tr>
|
|
107
|
-
<th><nobr>电话类型</nobr></th>
|
|
108
|
-
<th><nobr>电话号码</nobr></th>
|
|
109
|
-
<th><nobr>录音 ID</nobr></th>
|
|
110
|
-
<th><nobr>呼入/呼出</nobr></th>
|
|
111
|
-
<th><nobr>寻找坐席</nobr></th>
|
|
112
|
-
<th><nobr>响  铃</nobr></th>
|
|
113
|
-
<th><nobr>开始通话</nobr></th>
|
|
114
|
-
<th><nobr>结束通话</nobr></th>
|
|
115
|
-
<th><nobr>保存工单</nobr></th>
|
|
116
|
-
<th><nobr>话务员</nobr></th>
|
|
117
|
-
<th><nobr>录音文件</nobr>
|
|
118
|
-
</tr>
|
|
119
|
-
</template>
|
|
120
|
-
<template partial='body' >
|
|
121
|
-
<td style="text-align: center">{{row.teltype}}</td>
|
|
122
|
-
<td>{{row.telnum}}</td>
|
|
123
|
-
<td>
|
|
124
|
-
<span title="{{row.id}}">
|
|
125
|
-
{{row.id.substring(0,6)}}...
|
|
126
|
-
</span>
|
|
127
|
-
</td>
|
|
128
|
-
<td>{{row.outltime}}</td>
|
|
129
|
-
<td>
|
|
130
|
-
<span title="耗时{{row.findcost}}S">
|
|
131
|
-
{{row.findtime}}
|
|
132
|
-
</span>
|
|
133
|
-
</td>
|
|
134
|
-
<td>
|
|
135
|
-
<span title="耗时{{row.ringcost}}S">
|
|
136
|
-
{{row.inltime}}
|
|
137
|
-
</span>
|
|
138
|
-
</td>
|
|
139
|
-
<td>
|
|
140
|
-
<span title="耗时{{row.incost}}S">
|
|
141
|
-
{{row.starttime}}
|
|
142
|
-
</span>
|
|
143
|
-
</td>
|
|
144
|
-
<td>
|
|
145
|
-
<span title="耗时{{row.telcost}}S">
|
|
146
|
-
{{row.endtime}}
|
|
147
|
-
</span>
|
|
148
|
-
</td>
|
|
149
|
-
<td>
|
|
150
|
-
<span title="耗时{{row.savecost}}S">
|
|
151
|
-
{{row.savetime}}
|
|
152
|
-
</span>
|
|
153
|
-
</td>
|
|
154
|
-
<td>{{row.telname}}</td>
|
|
155
|
-
<td>
|
|
156
|
-
<span title="{{row.recordfile}}">
|
|
157
|
-
{{row.recordfile.substring(0,6)}}...
|
|
158
|
-
</span>
|
|
159
|
-
</td>
|
|
160
|
-
</template>
|
|
161
|
-
</data-grid>
|
|
162
|
-
</criteria-paged>
|
|
163
|
-
</div>
|
|
164
|
-
|
|
165
|
-
</template>
|
|
166
|
-
|
|
167
|
-
<script>
|
|
168
|
-
import {HttpResetClass, PagedList} from "vue-client";
|
|
169
|
-
|
|
170
|
-
export default {
|
|
171
|
-
title: "电话记录列表",
|
|
172
|
-
data () {
|
|
173
|
-
return {
|
|
174
|
-
istelons:[{label: '全部', value: ''},
|
|
175
|
-
{label: '是', value: '是'},
|
|
176
|
-
{label: '否', value: '否'}],
|
|
177
|
-
criteriaShow: false,
|
|
178
|
-
LoggedStates: [{label: '全部', value: ''},
|
|
179
|
-
{label: '呼入', value: '呼入'},
|
|
180
|
-
{label: '呼出', value: '呼出'},
|
|
181
|
-
],
|
|
182
|
-
model: new PagedList('af-telephone/rs/sql/tel_recordlist', 20, {items: "'*'", tablename: "'t_records'", orderitem: "'outltime desc'" }),
|
|
183
|
-
row: null,
|
|
184
|
-
cclist:{
|
|
185
|
-
type: Array,
|
|
186
|
-
default: null
|
|
187
|
-
},
|
|
188
|
-
degrees:this.$appdata.getParam('呼叫满意度')? [{label: '全部', value: ''}, ...this.$appdata.getParam('呼叫满意度')]:this.$appdata.getParam('呼叫满意度'),
|
|
189
|
-
wavflie : '',
|
|
190
|
-
msgs: [],
|
|
191
|
-
infoobj:Object,
|
|
192
|
-
userid: this.$login.f.id,
|
|
193
|
-
source: 'tool.getFullTree(this.getRights().where(row.getType() != $zone$).where(row.getType() == $organization$))', //获取公司参数
|
|
194
|
-
flag: '',
|
|
195
|
-
f_filiale_id: '',
|
|
196
|
-
excelTitle: '电话记录录导出',
|
|
197
|
-
excelHeaders: {
|
|
198
|
-
'teltype': '电话类型',
|
|
199
|
-
'telnum': '电话号码',
|
|
200
|
-
'outltime': '呼入/呼出',
|
|
201
|
-
'findtime':'寻找坐席',
|
|
202
|
-
'inltime': '响铃',
|
|
203
|
-
'starttime': '开始通话',
|
|
204
|
-
'endtime': '结束通话',
|
|
205
|
-
'savetime': '保存工单',
|
|
206
|
-
'telname': '话务员'
|
|
207
|
-
},
|
|
208
|
-
searchData: {
|
|
209
|
-
condition: '1=1'
|
|
210
|
-
},
|
|
211
|
-
}
|
|
212
|
-
},props: {
|
|
213
|
-
|
|
214
|
-
},
|
|
215
|
-
ready () {
|
|
216
|
-
this.flag = this.$appdata.getSingleValue('电话记录只查当前公司')
|
|
217
|
-
if (this.flag) {
|
|
218
|
-
if (this.flag == '是') {
|
|
219
|
-
this.model.f_filiale = this.$login.f.f_fengongsi
|
|
220
|
-
this.model.f_filiale_id = this.$login.f.f_orgids
|
|
221
|
-
}
|
|
222
|
-
}
|
|
223
|
-
},
|
|
224
|
-
watch: {
|
|
225
|
-
},
|
|
226
|
-
methods: {
|
|
227
|
-
getRes (obj) {
|
|
228
|
-
this.f_filiale_id = this.$login.convertToIn(obj.resids)
|
|
229
|
-
console.log('--------------------')
|
|
230
|
-
console.log(this.f_filiale_id)
|
|
231
|
-
this.orgname = obj.res[0]
|
|
232
|
-
this.$set('orgname', obj.res[0])
|
|
233
|
-
},
|
|
234
|
-
hidden () {
|
|
235
|
-
this.criteriaShow = !this.criteriaShow
|
|
236
|
-
},
|
|
237
|
-
//选中
|
|
238
|
-
selectd(row){
|
|
239
|
-
//tag
|
|
240
|
-
},
|
|
241
|
-
search(args) {
|
|
242
|
-
console.log(this.f_filiale_id)
|
|
243
|
-
if (this.flag == '是') {
|
|
244
|
-
if (this.f_filiale_id) {
|
|
245
|
-
args.condition = args.condition + ' and f_filiale_id in ' + this.f_filiale_id
|
|
246
|
-
}0
|
|
247
|
-
}
|
|
248
|
-
if(args.model.istelon == '是'){
|
|
249
|
-
args.condition = args.condition + " and len(starttime) != 0
|
|
250
|
-
}
|
|
251
|
-
if(args.model.istelon == '否'){
|
|
252
|
-
args.condition = args.condition + " and len(starttime) = 0
|
|
253
|
-
}
|
|
254
|
-
this.searchData.condition = args.condition
|
|
255
|
-
this.searchData.orderitem= " outltime desc"
|
|
256
|
-
this.model.search(args.condition, args.model)
|
|
257
|
-
},
|
|
258
|
-
clearmsg(){
|
|
259
|
-
this.$refs.paged.$refs.criteria.model={}
|
|
260
|
-
},
|
|
261
|
-
},
|
|
262
|
-
computed: {
|
|
263
|
-
|
|
264
|
-
}
|
|
265
|
-
}
|
|
266
|
-
</script>
|
|
267
|
-
|
|
268
|
-
<style lang="less">
|
|
269
|
-
|
|
270
|
-
</style>
|
|
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="select-overspread form-horizontal" partial>
|
|
6
|
+
<div class="row" >
|
|
7
|
+
<div class="col-sm-3 form-group form-input-group" style="width: 20%" v-if="$parent.$parent.flag == '是'">
|
|
8
|
+
<label class="font_normal_body" style="width: 40%">公 司</label>
|
|
9
|
+
<right-tree :userid.sync='$parent.$parent.userid' style="width: 60%;"
|
|
10
|
+
:source.sync='$parent.$parent.source' @re-res="$parent.$parent.getRes"></right-tree>
|
|
11
|
+
</div>
|
|
12
|
+
<div class="col-sm-3 form-group form-input-group" style="width: 20%">
|
|
13
|
+
<label class="font_normal_body" style="width: 40%">录音 ID</label>
|
|
14
|
+
<input type="text" class="form-control" v-model="model.id" placeholder='录音ID'
|
|
15
|
+
condition="id like '%{}%'"
|
|
16
|
+
:size="model.id ? model.id.length : 7">
|
|
17
|
+
</div>
|
|
18
|
+
<div class="col-sm-3 form-group form-input-group" style="width: 20%">
|
|
19
|
+
<label class="font_normal_body" style="width: 40%">电话号码</label>
|
|
20
|
+
<input type="text" class="form-control" v-model="model.telnum" placeholder='电话号码'
|
|
21
|
+
condition="telnum like '%{}%'"
|
|
22
|
+
:size="model.telnum ? model.telnum.length : 7">
|
|
23
|
+
</div>
|
|
24
|
+
<div class="col-sm-3 form-group form-input-group" style="width: 20%">
|
|
25
|
+
<label class="font_normal_body" style="width: 40%">话务员</label>
|
|
26
|
+
<input type="text" class="form-control" v-model="model.telname" placeholder='话务员姓名'
|
|
27
|
+
condition="telname like '%{}%'"
|
|
28
|
+
:size="model.telname ? model.telname.length : 7">
|
|
29
|
+
</div>
|
|
30
|
+
|
|
31
|
+
<div style="float: right;" class="form-group span">
|
|
32
|
+
<button type="button" name="button"
|
|
33
|
+
class="button_search button_spacing" @click="search(),$dispatch('search')">查询</button>
|
|
34
|
+
<button type="button" name="button" style="background-color: #5ac0d9;border-radius: 4px;"
|
|
35
|
+
class="button_spacing button_search" @click="$parent.$parent.clearmsg">清空</button>
|
|
36
|
+
<div style="float: right;" class="button_spacing button_search"
|
|
37
|
+
:class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
|
|
38
|
+
@click="$parent.$parent.hidden()"></div>
|
|
39
|
+
<export-excel-tel :data="$parent.$parent.searchData"
|
|
40
|
+
:field="$parent.$parent.excelHeaders"
|
|
41
|
+
:choose-col="true"
|
|
42
|
+
sqlurl="af-telephone/rs/logic/telephoneExport" sql-name="tel_recordlist"
|
|
43
|
+
:template-name="$parent.$parent.excelTitle"></export-excel-tel>
|
|
44
|
+
|
|
45
|
+
</div>
|
|
46
|
+
|
|
47
|
+
<div class="col-sm-3 form-group form-input-group" style="width: 20%" v-if="$parent.$parent.criteriaShow">
|
|
48
|
+
<label class="font_normal_body" style="width: 40%">电话类型</label>
|
|
49
|
+
<v-select :value.sync="model.teltype" :value-single="true"
|
|
50
|
+
v-model="model.teltype"
|
|
51
|
+
condition="teltype='{}'"
|
|
52
|
+
:options='$parent.$parent.LoggedStates' placeholder='电话类型'
|
|
53
|
+
close-on-select >
|
|
54
|
+
</v-select>
|
|
55
|
+
|
|
56
|
+
</div>
|
|
57
|
+
<div class="col-sm-3 form-group form-input-group" style="width: 20%" v-if="$parent.$parent.criteriaShow">
|
|
58
|
+
<label class="font_normal_body" style="width: 40%">是否接通</label>
|
|
59
|
+
<v-select :value.sync="model.istelon" :value-single="true"
|
|
60
|
+
v-model="model.istelon"
|
|
61
|
+
:options='$parent.$parent.istelons' placeholder='是否接通'
|
|
62
|
+
close-on-select >
|
|
63
|
+
</v-select>
|
|
64
|
+
|
|
65
|
+
</div>
|
|
66
|
+
<div class="col-sm-3 form-group form-input-group" style="width: 20%" v-if="$parent.$parent.criteriaShow">
|
|
67
|
+
<label class="font_normal_body" style="width: 40%">开始时间</label>
|
|
68
|
+
<datepicker placeholder="开始时间"
|
|
69
|
+
:value.sync="model.f_created_startdate"
|
|
70
|
+
v-model="model.f_created_startdate"
|
|
71
|
+
:format="'yyyy-MM-dd 00:00:00'"
|
|
72
|
+
condition="outltime > '{}'"
|
|
73
|
+
></datepicker>
|
|
74
|
+
</div>
|
|
75
|
+
<div class="col-sm-3 form-group form-input-group" style="width: 20%" v-if="$parent.$parent.criteriaShow">
|
|
76
|
+
<label class="font_normal_body" style="width: 40%">结束时间</label>
|
|
77
|
+
<datepicker placeholder="结束时间"
|
|
78
|
+
:value.sync="model.f_created_enddate"
|
|
79
|
+
v-model="model.f_created_enddate"
|
|
80
|
+
:format="'yyyy-MM-dd 23:59:59'"
|
|
81
|
+
condition="outltime < '{}'"
|
|
82
|
+
></datepicker>
|
|
83
|
+
</div>
|
|
84
|
+
<div class="col-sm-3 form-group form-input-group" style="width: 20%" v-if="$parent.$parent.criteriaShow">
|
|
85
|
+
<label class="font_normal_body" style="width: 40%">时长大于</label>
|
|
86
|
+
<input type="number" class="form-control" v-model="model.telcost" placeholder='通话时长(单位秒)'
|
|
87
|
+
condition="telcost >= {}"
|
|
88
|
+
:size="model.telcost ? model.telcost.length : 7">
|
|
89
|
+
</div>
|
|
90
|
+
<div class="col-sm-3 form-group form-input-group" style="width: 20%" v-if="$parent.$parent.criteriaShow">
|
|
91
|
+
<label class="font_normal_body" style="width: 40%" title="参数管理:呼叫满意度">满意程度</label>
|
|
92
|
+
<v-select :value.sync="model.degree" :value-single="true"
|
|
93
|
+
v-model="model.degree"
|
|
94
|
+
:options='$parent.$parent.degrees' placeholder='满意程度'
|
|
95
|
+
condition="degree = '{}'"
|
|
96
|
+
close-on-select >
|
|
97
|
+
</v-select>
|
|
98
|
+
|
|
99
|
+
</div>
|
|
100
|
+
</div>
|
|
101
|
+
|
|
102
|
+
</div>
|
|
103
|
+
</criteria>
|
|
104
|
+
<data-grid partial='list' v-ref:grid :model="model" class="list_area table_sy">
|
|
105
|
+
<template partial='head'>
|
|
106
|
+
<tr>
|
|
107
|
+
<th><nobr>电话类型</nobr></th>
|
|
108
|
+
<th><nobr>电话号码</nobr></th>
|
|
109
|
+
<th><nobr>录音 ID</nobr></th>
|
|
110
|
+
<th><nobr>呼入/呼出</nobr></th>
|
|
111
|
+
<th><nobr>寻找坐席</nobr></th>
|
|
112
|
+
<th><nobr>响  铃</nobr></th>
|
|
113
|
+
<th><nobr>开始通话</nobr></th>
|
|
114
|
+
<th><nobr>结束通话</nobr></th>
|
|
115
|
+
<th><nobr>保存工单</nobr></th>
|
|
116
|
+
<th><nobr>话务员</nobr></th>
|
|
117
|
+
<th><nobr>录音文件</nobr>
|
|
118
|
+
</tr>
|
|
119
|
+
</template>
|
|
120
|
+
<template partial='body' >
|
|
121
|
+
<td style="text-align: center">{{row.teltype}}</td>
|
|
122
|
+
<td>{{row.telnum}}</td>
|
|
123
|
+
<td>
|
|
124
|
+
<span title="{{row.id}}">
|
|
125
|
+
{{row.id.substring(0,6)}}...
|
|
126
|
+
</span>
|
|
127
|
+
</td>
|
|
128
|
+
<td>{{row.outltime}}</td>
|
|
129
|
+
<td>
|
|
130
|
+
<span title="耗时{{row.findcost}}S">
|
|
131
|
+
{{row.findtime}}
|
|
132
|
+
</span>
|
|
133
|
+
</td>
|
|
134
|
+
<td>
|
|
135
|
+
<span title="耗时{{row.ringcost}}S">
|
|
136
|
+
{{row.inltime}}
|
|
137
|
+
</span>
|
|
138
|
+
</td>
|
|
139
|
+
<td>
|
|
140
|
+
<span title="耗时{{row.incost}}S">
|
|
141
|
+
{{row.starttime}}
|
|
142
|
+
</span>
|
|
143
|
+
</td>
|
|
144
|
+
<td>
|
|
145
|
+
<span title="耗时{{row.telcost}}S">
|
|
146
|
+
{{row.endtime}}
|
|
147
|
+
</span>
|
|
148
|
+
</td>
|
|
149
|
+
<td>
|
|
150
|
+
<span title="耗时{{row.savecost}}S">
|
|
151
|
+
{{row.savetime}}
|
|
152
|
+
</span>
|
|
153
|
+
</td>
|
|
154
|
+
<td>{{row.telname}}</td>
|
|
155
|
+
<td>
|
|
156
|
+
<span title="{{row.recordfile}}">
|
|
157
|
+
{{row.recordfile.substring(0,6)}}...
|
|
158
|
+
</span>
|
|
159
|
+
</td>
|
|
160
|
+
</template>
|
|
161
|
+
</data-grid>
|
|
162
|
+
</criteria-paged>
|
|
163
|
+
</div>
|
|
164
|
+
|
|
165
|
+
</template>
|
|
166
|
+
|
|
167
|
+
<script>
|
|
168
|
+
import {HttpResetClass, PagedList} from "vue-client";
|
|
169
|
+
|
|
170
|
+
export default {
|
|
171
|
+
title: "电话记录列表",
|
|
172
|
+
data () {
|
|
173
|
+
return {
|
|
174
|
+
istelons:[{label: '全部', value: ''},
|
|
175
|
+
{label: '是', value: '是'},
|
|
176
|
+
{label: '否', value: '否'}],
|
|
177
|
+
criteriaShow: false,
|
|
178
|
+
LoggedStates: [{label: '全部', value: ''},
|
|
179
|
+
{label: '呼入', value: '呼入'},
|
|
180
|
+
{label: '呼出', value: '呼出'},
|
|
181
|
+
],
|
|
182
|
+
model: new PagedList('af-telephone/rs/sql/tel_recordlist', 20, {items: "'*'", tablename: "'t_records'", orderitem: "'outltime desc'" }),
|
|
183
|
+
row: null,
|
|
184
|
+
cclist:{
|
|
185
|
+
type: Array,
|
|
186
|
+
default: null
|
|
187
|
+
},
|
|
188
|
+
degrees:this.$appdata.getParam('呼叫满意度')? [{label: '全部', value: ''}, ...this.$appdata.getParam('呼叫满意度')]:this.$appdata.getParam('呼叫满意度'),
|
|
189
|
+
wavflie : '',
|
|
190
|
+
msgs: [],
|
|
191
|
+
infoobj:Object,
|
|
192
|
+
userid: this.$login.f.id,
|
|
193
|
+
source: 'tool.getFullTree(this.getRights().where(row.getType() != $zone$).where(row.getType() == $organization$))', //获取公司参数
|
|
194
|
+
flag: '',
|
|
195
|
+
f_filiale_id: '',
|
|
196
|
+
excelTitle: '电话记录录导出',
|
|
197
|
+
excelHeaders: {
|
|
198
|
+
'teltype': '电话类型',
|
|
199
|
+
'telnum': '电话号码',
|
|
200
|
+
'outltime': '呼入/呼出',
|
|
201
|
+
'findtime':'寻找坐席',
|
|
202
|
+
'inltime': '响铃',
|
|
203
|
+
'starttime': '开始通话',
|
|
204
|
+
'endtime': '结束通话',
|
|
205
|
+
'savetime': '保存工单',
|
|
206
|
+
'telname': '话务员'
|
|
207
|
+
},
|
|
208
|
+
searchData: {
|
|
209
|
+
condition: '1=1'
|
|
210
|
+
},
|
|
211
|
+
}
|
|
212
|
+
},props: {
|
|
213
|
+
|
|
214
|
+
},
|
|
215
|
+
ready () {
|
|
216
|
+
this.flag = this.$appdata.getSingleValue('电话记录只查当前公司')
|
|
217
|
+
if (this.flag) {
|
|
218
|
+
if (this.flag == '是') {
|
|
219
|
+
this.model.f_filiale = this.$login.f.f_fengongsi
|
|
220
|
+
this.model.f_filiale_id = this.$login.f.f_orgids
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
},
|
|
224
|
+
watch: {
|
|
225
|
+
},
|
|
226
|
+
methods: {
|
|
227
|
+
getRes (obj) {
|
|
228
|
+
this.f_filiale_id = this.$login.convertToIn(obj.resids)
|
|
229
|
+
console.log('--------------------')
|
|
230
|
+
console.log(this.f_filiale_id)
|
|
231
|
+
this.orgname = obj.res[0]
|
|
232
|
+
this.$set('orgname', obj.res[0])
|
|
233
|
+
},
|
|
234
|
+
hidden () {
|
|
235
|
+
this.criteriaShow = !this.criteriaShow
|
|
236
|
+
},
|
|
237
|
+
//选中
|
|
238
|
+
selectd(row){
|
|
239
|
+
//tag
|
|
240
|
+
},
|
|
241
|
+
search(args) {
|
|
242
|
+
console.log(this.f_filiale_id)
|
|
243
|
+
if (this.flag == '是') {
|
|
244
|
+
if (this.f_filiale_id) {
|
|
245
|
+
args.condition = args.condition + ' and f_filiale_id in ' + this.f_filiale_id
|
|
246
|
+
}0
|
|
247
|
+
}
|
|
248
|
+
if(args.model.istelon == '是'){
|
|
249
|
+
args.condition = args.condition + " and len(starttime) != 0 "
|
|
250
|
+
}
|
|
251
|
+
if(args.model.istelon == '否'){
|
|
252
|
+
args.condition = args.condition + " and len(starttime) = 0 AND len(findtime) != 0 "
|
|
253
|
+
}
|
|
254
|
+
this.searchData.condition = args.condition
|
|
255
|
+
this.searchData.orderitem= " outltime desc"
|
|
256
|
+
this.model.search(args.condition, args.model)
|
|
257
|
+
},
|
|
258
|
+
clearmsg(){
|
|
259
|
+
this.$refs.paged.$refs.criteria.model={}
|
|
260
|
+
},
|
|
261
|
+
},
|
|
262
|
+
computed: {
|
|
263
|
+
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
</script>
|
|
267
|
+
|
|
268
|
+
<style lang="less">
|
|
269
|
+
|
|
270
|
+
</style>
|