telephone-clients 3.0.104-10 → 3.0.104-100

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.
Files changed (99) hide show
  1. package/package.json +3 -3
  2. package/src/App.vue +54 -54
  3. package/src/components/android/ImgArea.vue +80 -0
  4. package/src/components/guoxin/Console.vue +42 -14
  5. package/src/components/guoxin/call.state.api.js +3 -1
  6. package/src/components/pc/ComplainWork.vue +3 -0
  7. package/src/components/pc/RecordListLeft.vue +80 -10
  8. package/src/components/pc/RepairsWork.vue +33 -3
  9. package/src/components/pc/RoleSelector.vue +7 -1
  10. package/src/components/pc/Seekwork.vue +3 -0
  11. package/src/components/pc/SiteSend.vue +38 -1
  12. package/src/components/pc/TelLossList.vue +20 -3
  13. package/src/components/pc/WorkHistory.vue +1 -1
  14. package/src/components/pc/WorkList.vue +4 -3
  15. package/src/components/pc/WorkListAllNew.vue +16 -8
  16. package/src/components/pc/WorkListNew.vue +722 -712
  17. package/src/components/sendsingle/onlinequeryuser.vue +1 -1
  18. package/src/components/telcount/TelByOrderMan.vue +22 -4
  19. package/src/components/telreport/RepairsDetailsReport.vue +2 -2
  20. package/src/components/telreport/TrafficClassificationReport.vue +13 -13
  21. package/src/components/telreport/Trafficassess.vue +2 -2
  22. package/src/components/temp/HandplanInfo.vue +5 -1
  23. package/src/components/temp/InstructInfo.vue +1 -1
  24. package/src/components/temp/SecuritycheckInfo.vue +14 -0
  25. package/src/components/workorder/RepairDetails.vue +8 -2
  26. package/src/components/workorder/RepairInfo.vue +3 -3
  27. package/src/components/workorder/RepairPaperAndroid.vue +351 -0
  28. package/src/components/workorder/ServiceOnlineQuery.vue +306 -0
  29. package/src/components/workorder/TemporarySingle.vue +346 -302
  30. package/src/filiale/furuike/pc/QueryVisitHistory.vue +14 -1
  31. package/src/filiale/furuike/pc/WorkHistory.vue +576 -576
  32. package/src/filiale/hanzhong/telephone.js +1 -1
  33. package/src/filiale/jiaocheng/android/createQRcode.vue +204 -0
  34. package/src/filiale/jiaocheng/android/onlineBuyGas.vue +637 -0
  35. package/src/filiale/jiaocheng/telephone.js +8 -0
  36. package/src/filiale/jiaocheng/telephoneAndroid.js +15 -0
  37. package/src/filiale/lixian/onlineChangeMeter.vue +481 -0
  38. package/src/filiale/lixian/onlineoperation.vue +606 -0
  39. package/src/filiale/lixian/onlinequeryuser.vue +509 -0
  40. package/src/filiale/lixian/telephoneAndroid.js +23 -0
  41. package/src/filiale/qianneng/android/AppInstallationMaterial.vue +880 -845
  42. package/src/filiale/qianneng/android/TemporarySingle.vue +537 -537
  43. package/src/filiale/qianneng/pc/MaterialDetailed.vue +260 -260
  44. package/src/filiale/qianneng/pc/NewRepairPaper.vue +467 -467
  45. package/src/filiale/qianneng/pc/RepairsWork.vue +992 -992
  46. package/src/filiale/qianneng/pc/WorkListAllNew.vue +757 -757
  47. package/src/filiale/qianneng/pc/changetable.vue +273 -273
  48. package/src/filiale/qianneng/telephone.js +22 -22
  49. package/src/filiale/rizhao/pc/IgnitionVentilation.vue +0 -1
  50. package/src/filiale/rizhao/pc/RepairsWork.vue +0 -1
  51. package/src/filiale/rizhao/pc/WorkListAllNew.vue +11 -5
  52. package/src/filiale/rizhao/telephone.js +1 -1
  53. package/src/filiale/shanxian/android/RepairFirstV.vue +3 -0
  54. package/src/filiale/shanxian/pc/TelFindUser.vue +310 -0
  55. package/src/filiale/shanxian/pc/WorkList.vue +2 -2
  56. package/src/filiale/shanxian/telephone.js +1 -0
  57. package/src/filiale/shexian/android/AddMyTask.vue +7 -0
  58. package/src/filiale/shexian/android/RepairFirstV.vue +5 -0
  59. package/src/filiale/shexian/android/RepairInfo.vue +1 -0
  60. package/src/filiale/shexian/pc/TelAgentVoiceReport.vue +9 -9
  61. package/src/filiale/shexian/pc/TelByRepairType.vue +3 -3
  62. package/src/filiale/shexian/pc/WorkList.vue +4 -1
  63. package/src/filiale/shexian/pc/WorkListAllNew.vue +14 -1
  64. package/src/filiale/tongchuan/android/RepairDetails.vue +623 -0
  65. package/src/filiale/tongchuan/pc/AnalysisMain.vue +7 -7
  66. package/src/filiale/tongchuan/pc/RepairsWork.vue +8 -0
  67. package/src/filiale/tongchuan/pc/UserWork.vue +8 -0
  68. package/src/filiale/tongchuan/telephoneAndroid.js +1 -0
  69. package/src/filiale/wenxi/android/FaultAll.vue +710 -0
  70. package/src/filiale/wenxi/android/PhoneUpUserinfo.vue +73 -162
  71. package/src/filiale/wenxi/android/RepairOrderV.vue +1 -1
  72. package/src/filiale/wenxi/android/ZHihuanFirst.vue +149 -129
  73. package/src/filiale/wenxi/pc/DistributeWork.vue +1 -1
  74. package/src/filiale/wenxi/pc/RecordListLeft.vue +272 -0
  75. package/src/filiale/wenxi/pc/RepairsWork.vue +143 -64
  76. package/src/filiale/wenxi/pc/TelAgentVoiceReport.vue +290 -0
  77. package/src/filiale/wenxi/pc/TelLossList.vue +272 -0
  78. package/src/filiale/wenxi/telephone.js +4 -0
  79. package/src/filiale/wenxi/telephoneAndroid.js +2 -1
  80. package/src/filiale/wuhai/telephone.js +1 -1
  81. package/src/filiale/yuncheng/android/LdapHelper.js +75 -0
  82. package/src/filiale/yuncheng/android/Outlay.vue +201 -0
  83. package/src/filiale/yuncheng/android/RepairInfo.vue +163 -0
  84. package/src/filiale/yuncheng/android/RepairOrderV.vue +1483 -0
  85. package/src/filiale/yuncheng/android/RepairUserInfo.vue +390 -0
  86. package/src/filiale/yuncheng/android/RightTree.vue +218 -0
  87. package/src/filiale/yuncheng/android/TemporarySingle.vue +522 -0
  88. package/src/filiale/yuncheng/android/ZHihuanFirst.vue +541 -0
  89. package/src/filiale/yuncheng/pc/DistributeWork.vue +199 -0
  90. package/src/filiale/yuncheng/pc/GasWork.vue +773 -0
  91. package/src/filiale/yuncheng/pc/TelFindUser.vue +31 -11
  92. package/src/filiale/yuncheng/pc/WorkList.vue +823 -0
  93. package/src/filiale/yuncheng/pc/WorkListAllNew.vue +781 -0
  94. package/src/filiale/yuncheng/telephone.js +5 -1
  95. package/src/filiale/yuncheng/telephoneAndroid.js +19 -0
  96. package/src/filiale/zhongyi/pc/WorkListAllNew.vue +2 -1
  97. package/src/main.js +1 -1
  98. package/src/telephone-android.js +7 -0
  99. package/src/telephone.js +1 -1
@@ -0,0 +1,272 @@
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%">公&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;司</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%">录音&emsp;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="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
+ <datepicker placeholder="开始时间"
60
+ :value.sync="model.f_created_startdate"
61
+ v-model="model.f_created_startdate"
62
+ :format="'yyyy-MM-dd 00:00:00'"
63
+ condition="outltime > '{}'"
64
+ ></datepicker>
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_enddate"
70
+ v-model="model.f_created_enddate"
71
+ :format="'yyyy-MM-dd 23:59:59'"
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
+ <v-select :value.sync="model.is_answer" :value-single="true"
78
+ v-model="model.is_answer"
79
+ :options='$parent.$parent.is_answers' placeholder='是否接通'
80
+ close-on-select >
81
+ </v-select>
82
+
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
+ <v-select :value.sync="model.is_follow_up" :value-single="true"
87
+ v-model="model.is_follow_up"
88
+ :options='$parent.$parent.is_follow_ups' placeholder='是否回访'
89
+ close-on-select >
90
+ </v-select>
91
+ </div>
92
+ </div>
93
+
94
+ </div>
95
+ </criteria>
96
+ <data-grid partial='list' v-ref:grid :model="model" class="list_area table_sy">
97
+ <template partial='head'>
98
+ <tr>
99
+ <th><nobr>电话类型</nobr></th>
100
+ <th><nobr>电话号码</nobr></th>
101
+ <th><nobr>录音&emsp;ID</nobr></th>
102
+ <th><nobr>呼入/呼出</nobr></th>
103
+ <th><nobr>寻找坐席</nobr></th>
104
+ <th><nobr>响&emsp;&emsp;铃</nobr></th>
105
+ <th><nobr>开始通话</nobr></th>
106
+ <th><nobr>结束通话</nobr></th>
107
+ <th><nobr>保存工单</nobr></th>
108
+ <th><nobr>话务员</nobr></th>
109
+ <th><nobr>录音文件</nobr>
110
+ </tr>
111
+ </template>
112
+ <template partial='body' >
113
+ <td style="text-align: center">{{row.teltype}}</td>
114
+ <td>{{row.telnum}}</td>
115
+ <td>
116
+ <span title="{{row.id}}">
117
+ {{row.id.substring(0,6)}}...
118
+ </span>
119
+ </td>
120
+ <td>{{row.outltime}}</td>
121
+ <td>
122
+ <span title="耗时{{row.findcost}}S">
123
+ {{row.findtime}}
124
+ </span>
125
+ </td>
126
+ <td>
127
+ <span title="耗时{{row.ringcost}}S">
128
+ {{row.inltime}}
129
+ </span>
130
+ </td>
131
+ <td>
132
+ <span title="耗时{{row.incost}}S">
133
+ {{row.starttime}}
134
+ </span>
135
+ </td>
136
+ <td>
137
+ <span title="耗时{{row.telcost}}S">
138
+ {{row.endtime}}
139
+ </span>
140
+ </td>
141
+ <td>
142
+ <span title="耗时{{row.savecost}}S">
143
+ {{row.savetime}}
144
+ </span>
145
+ </td>
146
+ <td>{{row.telname}}</td>
147
+ <td>
148
+ <span title="{{row.recordfile}}">
149
+ {{row.recordfile.substring(0,6)}}...
150
+ </span>
151
+ </td>
152
+ </template>
153
+ </data-grid>
154
+ </criteria-paged>
155
+ </div>
156
+
157
+ </template>
158
+
159
+ <script>
160
+ import {HttpResetClass, PagedList} from "vue-client";
161
+
162
+ export default {
163
+ title: "电话记录列表",
164
+ data () {
165
+ return {
166
+ criteriaShow: false,
167
+ LoggedStates: [{label: '全部', value: ''},
168
+ {label: '呼入', value: '呼入'},
169
+ {label: '呼出', value: '呼出'},
170
+ ],
171
+ model: new PagedList('rs/sql/tel_recordlist', 20, {items: "'*'", tablename: "'t_records'", orderitem: "'outltime desc'" }),
172
+ row: null,
173
+ cclist:{
174
+ type: Array,
175
+ default: null
176
+ },
177
+ wavflie : '',
178
+ msgs: [],
179
+ infoobj:Object,
180
+ is_answers:[{label: '全部', value: ''},
181
+ {label: '接通', value: '接通'},
182
+ {label: '未接通', value: '未接通'}],
183
+ is_follow_ups:[{label: '全部', value: ''},
184
+ {label: '已回访', value: '已回访'},
185
+ {label: '未回访', value: '未回访'}],
186
+ userid: this.$login.f.id,
187
+ source: 'tool.getFullTree(this.getRights().where(row.getType() != $zone$).where(row.getType() == $organization$))', //获取公司参数
188
+ flag: '',
189
+ f_filiale_id: '',
190
+ excelTitle: '电话记录录导出',
191
+ excelHeaders: {
192
+ 'teltype': '电话类型',
193
+ 'telnum': '电话号码',
194
+ 'outltime': '呼入/呼出',
195
+ 'findtime':'寻找坐席',
196
+ 'inltime': '响铃',
197
+ 'starttime': '开始通话',
198
+ 'endtime': '结束通话',
199
+ 'savetime': '保存工单',
200
+ 'telname': '话务员'
201
+ },
202
+ searchData: {
203
+ condition: '1=1'
204
+ },
205
+ }
206
+ },props: {
207
+
208
+ },
209
+ ready () {
210
+ this.flag = this.$appdata.getSingleValue('电话记录只查当前公司')
211
+ if (this.flag) {
212
+ if (this.flag == '是') {
213
+ this.model.f_filiale = this.$login.f.f_fengongsi
214
+ this.model.f_filiale_id = this.$login.f.f_orgids
215
+ }
216
+ }
217
+ },
218
+ watch: {
219
+ },
220
+ methods: {
221
+ getRes (obj) {
222
+ this.f_filiale_id = this.$login.convertToIn(obj.resids)
223
+ console.log('--------------------')
224
+ console.log(this.f_filiale_id)
225
+ this.orgname = obj.res[0]
226
+ this.$set('orgname', obj.res[0])
227
+ },
228
+ hidden () {
229
+ this.criteriaShow = !this.criteriaShow
230
+ },
231
+ //选中
232
+ selectd(row){
233
+ //tag
234
+ },
235
+ search(args) {
236
+ console.log(this.f_filiale_id)
237
+ if (this.flag == '是') {
238
+ if (this.f_filiale_id) {
239
+ args.condition = args.condition + ' and f_filiale_id in ' + this.f_filiale_id
240
+ }
241
+ }
242
+ if (args.model.is_answer){
243
+ if (args.model.is_answer == '接通'){
244
+ args.condition += ` and starttime != '' `
245
+ }else {
246
+ args.condition += ` and starttime = '' and inltime != ''`
247
+ }
248
+ }
249
+ if (args.model.is_follow_up){
250
+ if (args.model.is_follow_up == '已回访'){
251
+ args.condition += ` and f_flghuifang = '已回访'`
252
+ }else {
253
+ args.condition += ` and f_flghuifang is null`
254
+ }
255
+ }
256
+ this.searchData.condition = args.condition
257
+ this.searchData.orderitem= " outltime desc"
258
+ this.model.search(args.condition, args.model)
259
+ },
260
+ clearmsg(){
261
+ this.$refs.paged.$refs.criteria.model={}
262
+ },
263
+ },
264
+ computed: {
265
+
266
+ }
267
+ }
268
+ </script>
269
+
270
+ <style lang="less">
271
+
272
+ </style>