telephone-clients 3.0.104-5 → 3.0.104-50

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 (46) hide show
  1. package/package.json +3 -3
  2. package/src/components/guoxin/Console.vue +42 -14
  3. package/src/components/guoxin/call.state.api.js +3 -1
  4. package/src/components/pc/RecordListLeft.vue +39 -10
  5. package/src/components/pc/RepairsWork.vue +30 -3
  6. package/src/components/pc/SiteSend.vue +36 -1
  7. package/src/components/pc/TelLossList.vue +18 -1
  8. package/src/components/pc/WorkList.vue +2 -1
  9. package/src/components/pc/WorkListAllNew.vue +16 -8
  10. package/src/components/sendsingle/onlinequeryuser.vue +1 -1
  11. package/src/components/telreport/TrafficClassificationReport.vue +10 -9
  12. package/src/components/temp/HandplanInfo.vue +5 -1
  13. package/src/components/temp/InstructInfo.vue +1 -1
  14. package/src/components/workorder/RepairPaperAndroid.vue +351 -0
  15. package/src/components/workorder/ServiceOnlineQuery.vue +306 -0
  16. package/src/filiale/hanzhong/telephone.js +1 -1
  17. package/src/filiale/jiaocheng/android/createQRcode.vue +204 -0
  18. package/src/filiale/jiaocheng/android/onlineBuyGas.vue +637 -0
  19. package/src/filiale/jiaocheng/telephone.js +8 -0
  20. package/src/filiale/jiaocheng/telephoneAndroid.js +15 -0
  21. package/src/filiale/rizhao/pc/WorkListAllNew.vue +9 -5
  22. package/src/filiale/rizhao/telephone.js +1 -1
  23. package/src/filiale/shanxian/pc/TelFindUser.vue +310 -0
  24. package/src/filiale/shanxian/pc/WorkList.vue +2 -2
  25. package/src/filiale/shanxian/telephone.js +1 -0
  26. package/src/filiale/shexian/pc/TelAgentVoiceReport.vue +9 -9
  27. package/src/filiale/shexian/pc/WorkList.vue +4 -1
  28. package/src/filiale/shexian/pc/WorkListAllNew.vue +14 -1
  29. package/src/filiale/tongchuan/android/RepairDetails.vue +623 -0
  30. package/src/filiale/tongchuan/pc/AnalysisMain.vue +7 -7
  31. package/src/filiale/tongchuan/telephoneAndroid.js +1 -0
  32. package/src/filiale/wenxi/android/FaultAll.vue +710 -0
  33. package/src/filiale/wenxi/android/RepairOrderV.vue +1 -1
  34. package/src/filiale/wenxi/android/ZHihuanFirst.vue +3 -0
  35. package/src/filiale/wenxi/pc/DistributeWork.vue +1 -1
  36. package/src/filiale/wenxi/pc/RepairsWork.vue +143 -64
  37. package/src/filiale/wenxi/pc/TelAgentVoiceReport.vue +290 -0
  38. package/src/filiale/wenxi/pc/WorkListAll.vue +1 -1
  39. package/src/filiale/wenxi/telephone.js +2 -0
  40. package/src/filiale/wenxi/telephoneAndroid.js +2 -1
  41. package/src/filiale/wuhai/telephone.js +1 -1
  42. package/src/filiale/yuncheng/pc/TelFindUser.vue +14 -1
  43. package/src/filiale/yuncheng/pc/WorkList.vue +823 -0
  44. package/src/filiale/yuncheng/telephone.js +2 -1
  45. package/src/telephone-android.js +6 -0
  46. package/src/telephone.js +1 -1
@@ -0,0 +1,290 @@
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">&nbsp;公&nbsp;&nbsp;&nbsp;&nbsp;司&nbsp;</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
+ <th >
99
+ <nobr>报修单(整改)</nobr>
100
+ </th>
101
+ <th >
102
+ <nobr>报修单(置换通气)</nobr>
103
+ </th>
104
+ </tr>
105
+ </template>
106
+ <template partial='body'>
107
+ <tr>
108
+ <td style="text-align:center">
109
+ <nobr>{{ row.nam }}</nobr>
110
+ </td>
111
+ <td style="text-align:center">
112
+ <nobr>{{ row.id }}</nobr>
113
+ </td>
114
+ <td style="text-align:center">
115
+ <nobr>{{ row.zongji }}</nobr>
116
+ </td>
117
+ <td style="text-align:center">
118
+ <nobr>{{ row.scale }}</nobr>
119
+ </td>
120
+ <!-- <td style="text-align:center">-->
121
+ <!-- <nobr>{{ row.zhimangcishu }}</nobr>-->
122
+ <!-- </td>-->
123
+ <td style="text-align:center" >
124
+ <nobr>{{ row.yijie }}</nobr>
125
+ </td>
126
+ <td style="text-align:center">
127
+ <nobr>{{ row.weijie }}</nobr>
128
+ </td>
129
+ <td style="text-align:center">
130
+ <nobr>{{ row.waibo }}</nobr>
131
+ </td>
132
+ <td style="text-align:center">
133
+ <nobr>{{ row.zixundan}}</nobr>
134
+ </td>
135
+ <td style="text-align:center">
136
+ <nobr>{{ row.tousudan}}</nobr>
137
+ </td>
138
+ <td style="text-align:center">
139
+ <nobr>{{ row.baoxiudan}}</nobr>
140
+ </td>
141
+ <td style="text-align:center">
142
+ <nobr>{{ row.huawunum}}</nobr>
143
+ </td>
144
+ <td style="text-align:center">
145
+ <nobr>{{ row.bumennum}}</nobr>
146
+ </td>
147
+ <td style="text-align:center" >
148
+ <nobr >{{ row.qiangxius}}</nobr>
149
+ </td>
150
+ <td style="text-align:center" >
151
+ <nobr >{{ row.fuwus}}</nobr>
152
+ </td>
153
+ <td style="text-align:center" >
154
+ <nobr >{{ row.zhenggais}}</nobr>
155
+ </td>
156
+ <td style="text-align:center" >
157
+ <nobr >{{ row.zhihuantongqis}}</nobr>
158
+ </td>
159
+ </tr>
160
+ </template>
161
+ <template partial="foot">
162
+ <td style="text-align: center"><span><b>合计:</b></span></td>
163
+ <td style="text-align: center"><span><b> </b></span></td>
164
+ <td style="text-align: center">{{model.sums.zongji}}</td>
165
+ <td style="text-align: center">{{((model.sums.yijie/model.sums.zongji)*100).toFixed(2)+'%'}}</td>
166
+ <!-- <td style="text-align: center">{{model.sums.zhimangcishu}}</td>-->
167
+ <td style="text-align: center">{{model.sums.yijie}}</td>
168
+ <td style="text-align: center">{{model.sums.weijie}}</td>
169
+ <td style="text-align: center">{{model.sums.waibo}}</td>
170
+ <td style="text-align: center">{{model.sums.zixundan}}</td>
171
+ <td style="text-align: center">{{model.sums.tousudan}}</td>
172
+ <td style="text-align: center">{{model.sums.baoxiudan}}</td>
173
+ <td style="text-align: center">{{model.sums.huawunum}}</td>
174
+ <td style="text-align: center">{{model.sums.bumennum}}</td>
175
+ <td style="text-align: center" >{{model.sums.qiangxius}}</td>
176
+ <td style="text-align: center" >{{model.sums.fuwus}}</td>
177
+ <td style="text-align: center" >{{model.sums.zhenggais}}</td>
178
+ <td style="text-align: center" >{{model.sums.zhihuantongqis}}</td>
179
+ </template>
180
+ </data-grid>
181
+ </criteria-paged>
182
+ </div>
183
+ </section>
184
+ </div>
185
+ </template>
186
+ <script>
187
+ import {PagedList, HttpResetClass} from 'vue-client'
188
+ import * as Util from '../../../components/Util'
189
+
190
+ export default {
191
+ title: '话务员报表',
192
+ data () {
193
+ let model = new PagedList('rs/sql/manage_telman', 20, {
194
+ startDate: 'this.startDate',
195
+ endDate: 'this.endDate',
196
+ f_filiale_id: 'this.f_filiale_id'
197
+ },{zongji:'',yijie:'',weijie:'',waibo:'',zixundan:'',tousudan:'',baoxiudan:'',huawunum:'',bumennum:'',qiangxius:'',fuwus:'',zhenggais:'',zhihuantongqis:''})
198
+ model.f_filiale_id = `('${this.$login.f.orgid}')`
199
+ model.startDate=Util.getYesterDay() + ' 00:00:00'//昨天时间
200
+ model.endDate=Util.toStandardDateString()+ ' 23:59:59'//当前时间
201
+ return {
202
+ f_filiale_id: `('${this.$login.f.orgid}')`, // 分公司id
203
+ model: model,
204
+ source: 'tool.getFullTree(this.getRights().where(row.getType() != $zone$).where(row.getType() == $organization$))', //获取公司参数
205
+ userid: this.$login.f.id,
206
+ orgname: '',
207
+ startDate:Util.getYesterDay() + ' 00:00:00',
208
+ endDate:Util.toStandardDateString()+ ' 23:59:59',
209
+ searchData: {
210
+ condition: '',
211
+ startDate: '',
212
+ endDate: '',
213
+ f_filiale_id: ''
214
+ },
215
+ excelHeaders: {
216
+ 'nam': '话务员',
217
+ 'id': '工号',
218
+ 'quanbujieting': '接线数',
219
+ 'scale': '接线率',
220
+ // 'zhimangcishu': '置忙次数',
221
+ 'yijie': '已接',
222
+ 'weijie': '未接',
223
+ 'waibo': '外拨',
224
+ 'zixundan': '咨询单',
225
+ 'tousudan': '投诉单',
226
+ 'baoxiudan': '报修单',
227
+ 'huawunum': '话务来电',
228
+ 'bumennum': '部门派单',
229
+ 'qiangxius': '报修单(抢修)',
230
+ 'fuwus': '报修单(服务)',
231
+ 'zhenggais': '报修单(整改)',
232
+ 'zhihuantongqis': '报修单(置换通气)'
233
+ }
234
+ }
235
+ },
236
+ methods: {
237
+ getRes (obj) {
238
+ this.f_filiale_id = this.$login.convertToIn(obj.resids)
239
+ this.orgname = obj.res[0]
240
+ this.$set('orgname', obj.res[0])
241
+ console.log(
242
+ `%c 来电内容明细 %c 呼叫模块 %c`,
243
+ 'background:#35495e ; padding: 1px; border-radius: 3px 0 0 3px; color: #fff',
244
+ 'background:#41b883 ; padding: 1px; border-radius: 0 3px 3px 0; color: #fff',
245
+ 'background:transparent',
246
+ this.orgname
247
+ )
248
+ },
249
+ selfSearch (args) {
250
+ if (!this.f_filiale_id) {
251
+ return this.$showMessage("请选择公司进行查询!!!")
252
+ }
253
+ this.model.f_filiale_id = this.f_filiale_id // 只有选择了下面的条件才会变化
254
+ this.searchData.f_filiale_id = this.f_filiale_id //导出
255
+ this.searchData.condition=args.condition //导出
256
+ this.model.startDate = this.startDate
257
+ this.searchData.startDate = this.startDate //导出
258
+ this.model.endDate = this.endDate
259
+ this.searchData.endDate = this.endDate //导出
260
+ this.model.search(args.condition, args.model)
261
+ }
262
+ },
263
+ computed: {
264
+ excelTitle() {
265
+ return `${this.orgname }话务员统计报表`
266
+ },
267
+ },
268
+ watch: {
269
+ },
270
+ ready () {
271
+ // //tag)
272
+ // this.$refs.paged.$refs.cri.search()
273
+ //tag + ' 00:00:00')
274
+ //tag+ ' 23:59:59')
275
+ this.orgname = this.$login.f.orgs
276
+ //tag)
277
+ //tag
278
+ }
279
+
280
+ }
281
+ </script>
282
+
283
+ <style lang="less" >
284
+ .tableinfo {
285
+ text-align: center;
286
+ background-color: #00A3F0;
287
+ color: #0c2e4d;
288
+ font-size: 26px;
289
+ }
290
+ </style>
@@ -128,7 +128,7 @@
128
128
  <div class="col-sm-3 form-group form-input-group" style="width: 20%">
129
129
  <label class="font_normal_body" style="width: 40%">派&ensp;单&ensp;员</label>
130
130
  <input type="text" class="input_search" v-model="model.f_single_man" placeholder='派单员'
131
- condition="f_single_man like '%{}%'"
131
+ condition="tswo.f_single_man like '%{}%'"
132
132
  :size="model.f_single_man ? model.f_single_man.length : 6">
133
133
  </div>
134
134
  </div>
@@ -9,6 +9,8 @@ let specialComp = {
9
9
  'distribute-work':(resolve) => { require(['./pc/DistributeWork'], resolve) },
10
10
  'tel-meteread-info':(resolve) => { require(['./pc/MetereadInfo'], resolve) },
11
11
  'work-listall':(resolve) => { require(['./pc/WorkListAll'], resolve) },
12
+ // 'repairs-work':(resolve) => { require(['./pc/RepairsWork'], resolve) },
13
+ 'tel-agentvoice-report':(resolve) => { require(['./pc/TelAgentVoiceReport'], resolve) }
12
14
  }
13
15
  exports.specialComp = specialComp
14
16
 
@@ -10,7 +10,8 @@ let specialComp = {
10
10
  'zhihuan-first': (resolve) => { require(['./android/ZHihuanFirst'], resolve) },
11
11
  'PhoneUpUserinfoTel': (resolve) => { require(['./android/PhoneUpUserinfo'], resolve) },
12
12
  'repair-info': (resolve) => { require(['./android/RepairInfo'], resolve) },
13
- 'repair-user-info': (resolve) => { require(['./android/RepairUserInfo.vue'], resolve) },
13
+ 'repair-user-info': (resolve) => { require(['./android/RepairUserInfo'], resolve) },
14
+ 'fault-all': (resolve) => { require(['./android/FaultAll'], resolve) },
14
15
  }
15
16
  exports.specialComp = specialComp
16
17
 
@@ -4,7 +4,7 @@ import Vue from "vue";
4
4
  //pc和手机分别注册到两个文件中
5
5
  let specialComp = {
6
6
  // 工单详情子组件
7
- 'console': (resolve) => { require(['./pc/console'], resolve) },
7
+ 'console': (resolve) => { require(['./pc/Console'], resolve) },
8
8
  'distribute-work': (resolve) => { require(['./pc/DistributeWork'], resolve) },
9
9
  'seek-work': (resolve) => { require(['./pc/Seekwork'], resolve) },
10
10
  'complain-work': (resolve) => { require(['./pc/ComplainWork'], resolve) },
@@ -163,8 +163,21 @@ export default {
163
163
  methods: {
164
164
  clear(){
165
165
  //清空查询条件
166
- this.$refs.paged.$refs.criteria.model={}
166
+ this.$refs.paged.$refs.criteria.model={
167
+ f_room:'',
168
+ f_floor:'',
169
+ f_unit:'',
170
+ f_building:'',
171
+ f_residential_area:'',
172
+ f_enter_number:'',
173
+ f_address:'',
174
+ f_meternumber:'',
175
+ f_user_name:'',
176
+ f_userinfo_code:'',
177
+ f_user_phone:''
178
+ }
167
179
  },
180
+
168
181
  // 获取该组件配置文件
169
182
  getTelFindUserConfig(){
170
183
  let http = new HttpResetClass()