telephone-clients 3.0.104-5 → 3.0.104-51

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 (51) 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/qianneng/android/AppInstallationMaterial.vue +878 -845
  22. package/src/filiale/rizhao/pc/WorkListAllNew.vue +9 -5
  23. package/src/filiale/rizhao/telephone.js +1 -1
  24. package/src/filiale/shanxian/pc/TelFindUser.vue +310 -0
  25. package/src/filiale/shanxian/pc/WorkList.vue +2 -2
  26. package/src/filiale/shanxian/telephone.js +1 -0
  27. package/src/filiale/shexian/android/AddMyTask.vue +7 -0
  28. package/src/filiale/shexian/android/RepairFirstV.vue +5 -0
  29. package/src/filiale/shexian/android/RepairInfo.vue +1 -0
  30. package/src/filiale/shexian/pc/TelAgentVoiceReport.vue +9 -9
  31. package/src/filiale/shexian/pc/WorkList.vue +4 -1
  32. package/src/filiale/shexian/pc/WorkListAllNew.vue +14 -1
  33. package/src/filiale/tongchuan/android/RepairDetails.vue +623 -0
  34. package/src/filiale/tongchuan/pc/AnalysisMain.vue +7 -7
  35. package/src/filiale/tongchuan/telephoneAndroid.js +1 -0
  36. package/src/filiale/wenxi/android/FaultAll.vue +710 -0
  37. package/src/filiale/wenxi/android/RepairOrderV.vue +1 -1
  38. package/src/filiale/wenxi/android/ZHihuanFirst.vue +3 -0
  39. package/src/filiale/wenxi/pc/DistributeWork.vue +1 -1
  40. package/src/filiale/wenxi/pc/RepairsWork.vue +143 -64
  41. package/src/filiale/wenxi/pc/TelAgentVoiceReport.vue +290 -0
  42. package/src/filiale/wenxi/pc/WorkListAll.vue +1 -1
  43. package/src/filiale/wenxi/telephone.js +2 -0
  44. package/src/filiale/wenxi/telephoneAndroid.js +2 -1
  45. package/src/filiale/wuhai/telephone.js +1 -1
  46. package/src/filiale/yuncheng/pc/TelFindUser.vue +14 -1
  47. package/src/filiale/yuncheng/pc/WorkList.vue +823 -0
  48. package/src/filiale/yuncheng/pc/WorkListAllNew.vue +722 -0
  49. package/src/filiale/yuncheng/telephone.js +3 -1
  50. package/src/telephone-android.js +6 -0
  51. package/src/telephone.js +1 -1
@@ -232,8 +232,9 @@
232
232
  <th>
233
233
  <nobr>离开时间</nobr>
234
234
  </th>
235
-
236
-
235
+ <th>
236
+ <nobr>工单备注</nobr>
237
+ </th>
237
238
  <th>
238
239
  <nobr>工单结果</nobr>
239
240
  </th>
@@ -306,6 +307,9 @@
306
307
  <td style="text-align: center;">
307
308
  <nobr>{{ row.f_date_leave }}</nobr>
308
309
  </td>
310
+ <td style="text-align: center;">
311
+ <nobr>{{ row.f_remarks }}</nobr>
312
+ </td>
309
313
  <td style="text-align: center;">
310
314
  <nobr>{{ row.f_result_status }}</nobr>
311
315
  </td>
@@ -403,8 +407,8 @@ export default {
403
407
  contents:this.$appdata.getParam('报修全部类型')?[{label: '全部', value: ''}, ...this.$appdata.getParam('报修全部类型')]:[],
404
408
  zhihuans: [{label: '全部', value: ''}, {label: '正常', value: '正常'}, {label: '异常', value: '异常'}],
405
409
  finishdates: [{label: '全部', value: ''}, {label: '未超期', value: '未超期'}, {label: '已超期', value: '已超期'}],
406
- headData: ['工单类型', '报修类型', '工单编号', '用户姓名', '用户地址', '用户电话', '报修电话', '报修时间', '报修原因', '维修人'],
407
- bodyData: ['f_workorder_type', 'f_repairtype', 'f_service_id', 'f_user_name', 'f_address', 'f_phone', 'f_contact_phone', 'f_created_date', 'f_remarks', 'f_order_man'],
410
+ headData: ['工单类型', '报修类型', '工单编号', '用户姓名', '用户地址', '用户电话', '报修电话','故障明细', '报修时间', '报修原因', '维修人'],
411
+ bodyData: ['f_workorder_type', 'f_repairtype', 'f_service_id', 'f_user_name', 'f_address', 'f_phone', 'f_contact_phone','failure', 'f_created_date', 'f_remarks', 'f_order_man'],
408
412
  searchData: {
409
413
  condition: '1=1'
410
414
  },
@@ -416,7 +420,7 @@ export default {
416
420
  'f_user_name': '用户姓名',
417
421
  'f_address': '用户地址',
418
422
  'f_contact_phone': '联系电话',
419
-
423
+ 'failure':'故障明细',
420
424
  'f_single_man': '派单人',
421
425
  'f_attendant': '受理人',
422
426
  'f_order_man': '接单人',
@@ -45,7 +45,7 @@ let specialComp = {
45
45
  'record-list-left':(resolve) => { require(['./pc/RecordListLeft'], resolve) },
46
46
  'changemeter-info':(resolve) => { require(['./pc/ChangemeterInfo'], resolve) },
47
47
  'work-list': (resolve) => { require(['./pc/WorkList'], resolve) },
48
- 'console': (resolve) => { require(['./pc/console'], resolve) },
48
+ 'console': (resolve) => { require(['./pc/Console'], resolve) },
49
49
  'reminder-order': (resolve) => { require(['./pc/ReminderOrder'], resolve) },
50
50
  'new-repair-paper': (resolve) => { require(['./pc/NewRepairPaper'], resolve) },
51
51
  }
@@ -0,0 +1,310 @@
1
+ <template >
2
+ <div id="pc-finduser-page1" class="aaa4" style="background-color: #f8f8f8">
3
+ <criteria-paged :model="model" v-ref:paged :simple="true">
4
+ <criteria partial='criteria' v-ref:criteria @condition-changed='$parent.search'>
5
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
6
+ <div class="row" style="margin:10px 10px 0 10px">
7
+ <div class="form-group col-sm-4" >
8
+ <label class="font_normal_body" style="width:55%">电话号码:</label>
9
+ <input type="text" class="input_search" v-model="model.f_user_phone" placeholder='电话号码'
10
+ condition="ti.f_user_phone like '%{}%'"
11
+ :size="model.f_user_phone ? model.f_user_phone.length : 8" style="height: 95%;width: 90%"/>
12
+ </div>
13
+ <div class="form-group col-sm-4" >
14
+ <label class="font_normal_body" style="width:55%">用户编号:</label>
15
+ <input type="text" class="input_search" v-model="model.f_userinfo_code" placeholder='用户编号'
16
+ condition="ti.f_userinfo_code like '%{}%'"
17
+ :size="model.f_userinfo_code ? model.f_userinfo_code.length : 8" style="height: 95%;width: 90%"/>
18
+ </div>
19
+ <div class="form-group col-sm-4">
20
+ <button type="button" name="button" class="button_spacing button_search" style="float: right" @click="search()">查询</button>
21
+ <button type="button" name="button" style="background-color: #5ac0d9;border-radius: 4px;" class="button_spacing button_search" @click="$parent.$parent.clear()">清空</button>
22
+ </div>
23
+ <div class="form-group col-sm-4">
24
+ <label class="font_normal_body" style="width:55%">表号:</label>
25
+ <input type="text" class="input_search" v-model="model.f_meternumber" placeholder='表号'
26
+ condition="tu.f_meternumber like '%{}%'"
27
+ :size="model.f_meternumber ? model.f_meternumber.length : 8" style="height: 95%;width: 90%"/>
28
+ </div>
29
+ <div class="form-group col-sm-4" >
30
+ <label class="font_normal_body" style="width:55%">用户名称:</label>
31
+ <input type="text" class="input_search" v-model="model.f_user_name" placeholder='姓名'
32
+ condition="ti.f_user_name like '%{}%'"
33
+ :size="model.f_user_name ? model.f_user_name.length * 2 : 4" style="height: 95%;width: 90%"/>
34
+ </div>
35
+ <div class="form-group col-sm-4" >
36
+ <label class="font_normal_body" style="width:55%">用户地址:</label>
37
+ <input type="text" class="input_search" v-model="model.f_address" placeholder='地址'
38
+ condition="ta.f_address like '%{}%'"
39
+ :size="model.f_address ? model.f_address.length * 2 : 4" style="height: 95%;width: 90%"/>
40
+ </div>
41
+ <div class="form-group col-sm-4" v-if="$parent.$parent.enter_number_show">
42
+ <label class="font_normal_body" style="width:55%">入户证号:</label>
43
+ <input type="text" class="input_search" v-model="model.f_enter_number" placeholder='入户证号'
44
+ condition="ta.f_enter_number like '%{}%'"
45
+ style="height: 95%;width: 90%"/>
46
+ </div>
47
+ <div class="form-group col-sm-4" v-if="$parent.$parent.residential_area_show">
48
+ <label class="font_normal_body" style="width:55%">小区:</label>
49
+ <input type="text" class="input_search" v-model="model.f_residential_area" placeholder='小区'
50
+ condition="ta.f_residential_area like '%{}%'"
51
+ style="height: 95%;width: 90%"/>
52
+ </div>
53
+ <div class="form-group col-sm-4" v-if="$parent.$parent.building_show">
54
+ <label class="font_normal_body" style="width:55%">楼栋:</label>
55
+ <input type="text" class="input_search" v-model="model.f_building" placeholder='楼栋'
56
+ condition="ta.f_building = '{}'"
57
+ style="height: 95%;width: 90%"/>
58
+ </div>
59
+ <div class="form-group col-sm-4" v-if="$parent.$parent.unit_show">
60
+ <label class="font_normal_body" style="width:55%">单元:</label>
61
+ <input type="text" class="input_search" v-model="model.f_unit" placeholder='单元'
62
+ condition="ta.f_unit = '{}'"
63
+ style="height: 95%;width: 90%"/>
64
+ </div>
65
+ <div class="form-group col-sm-4" v-if="$parent.$parent.floor_show">
66
+ <label class="font_normal_body" style="width:55%">楼层:</label>
67
+ <input type="text" class="input_search" v-model="model.f_floor" placeholder='楼层'
68
+ condition="ta.f_floor = '{}'"
69
+ style="height: 95%;width: 90%"/>
70
+ </div>
71
+ <div class="form-group col-sm-4" v-if="$parent.$parent.room_show">
72
+ <label class="font_normal_body" style="width:55%">房间号:</label>
73
+ <input type="text" class="input_search" v-model="model.f_room" placeholder='房间号'
74
+ condition="ta.f_room = '{}'"
75
+ style="height: 95%;width: 90%"/>
76
+ </div>
77
+ <div class="form-group col-sm-4" v-if="false" >
78
+ <label class="font_normal_body" style="width:55%">是否预备:</label>
79
+ <v-select :value.sync="model.is_prepare" :options='$parent.$parent.is_prepares' placeholder='是否预备' close-on-select width="60%"
80
+ class="select select_list form-group" v-model='model.is_prepare' :search='true'></v-select>
81
+ </div>
82
+ <!-- <div class="form-group col-sm-2" >-->
83
+ <!-- <v-select :value.sync="model.f_residential_area" :options='$parent.$parent.areaselected' placeholder='小区' close-on-select width="90%"-->
84
+ <!-- :size="model.f_residential_area?model.f_residential_area.length * 2 : 4" class="select select_list form-group" v-model='model.f_residential_area' condition="ta.f_residential_area like '%{}%'" :search='true'></v-select>-->
85
+ <!-- </div>-->
86
+
87
+ </div>
88
+ </div>
89
+ </criteria>
90
+ <list :model='model' partial='list' style="background-color: #f8f8f8;overflow: auto;">
91
+ <div partial class="panel panel-default well" style="margin: 15px 10px 0 10px;background-color: #ffffff;border-radius: 8px;border: solid 1px #dddddd;">
92
+ <div class="panel-body inbg" :class="{aaa: $parent.$parent.$parent.tempnumber === row.f_userinfo_code}">
93
+ <div class="row">
94
+ <div class="col-sm-4">
95
+ <label style="color: #666666"> 用户编号:</label> {{row.f_userinfo_code}}
96
+ </div>
97
+ <div class="col-sm-4">
98
+ <label style="color: #666666">用户姓名:</label> {{row.f_user_name}}
99
+ </div>
100
+ <div class="col-sm-4">
101
+ <label style="color: #666666">用户状态: </label>{{row.f_user_state}}
102
+ </div>
103
+
104
+ </div>
105
+ <div class="row">
106
+ <div class="col-sm-4">
107
+ <label style="color: #666666">用户电话:</label> {{row.f_user_phone}}
108
+ </div>
109
+ <div class="col-sm-4">
110
+ <label style="color: #666666">用户类别: </label>{{row.f_user_type}}
111
+ </div>
112
+ <div class="col-sm-4">
113
+ <label style="color: #666666">账户结余: </label>{{row.f_balance}}
114
+ </div>
115
+ </div>
116
+ <div class="row">
117
+ <div class="col-sm-6" v-if="$parent.$parent.$parent.enter_number_show">
118
+ <label style="color: #666666">入户证号: </label>{{row.f_enter_number}}
119
+ </div>
120
+ <div class="col-sm-6">
121
+ <label style="color: #666666">详细地址: </label>{{row.f_address}}
122
+ </div>
123
+ <div class="col-sm-6">
124
+ <label style="color: #666666">区域信息: </label>{{row.f_slice_area}}
125
+ </div>
126
+ </div>
127
+ <div class="row">
128
+ <div class="col-sm-6" v-if="$parent.$parent.$parent.isText">
129
+ <button type="button" name="button" class="btn btn-link"
130
+ @click.stop="$parent.$parent.$parent.bind(row)">绑定</button>
131
+ </div>
132
+ </div>
133
+ </div>
134
+ </div>
135
+ </list>
136
+ </criteria-paged>
137
+ </div>
138
+ </template>
139
+
140
+ <script>
141
+ import {HttpResetClass, PagedList} from 'vue-client'
142
+ export default {
143
+ title: '查询用户',
144
+ data () {
145
+ return {
146
+ model: new PagedList('rs/sql/tel_getUserInfoAdress', 10),
147
+ show: false,
148
+ row: Object,
149
+ is_prepares:[{label: '全部', value: ''},{label: '是', value: '是'},{label: '否', value: '否'}],
150
+ tempnumber: '',
151
+ rows:[],
152
+ enter_number_show:true,
153
+ residential_area_show:true,
154
+ building_show:true,
155
+ unit_show:true,
156
+ room_show:true,
157
+ floor_show:true
158
+ }
159
+ },
160
+ props: {
161
+ isText: {
162
+ type: Boolean,
163
+ default: false
164
+ },
165
+ user: {},
166
+ callObj:{
167
+ type: Object
168
+ },
169
+ },
170
+ methods: {
171
+ clear(){
172
+ //清空查询条件
173
+ this.$refs.paged.$refs.criteria.model={}
174
+ },
175
+ // 获取该组件配置文件
176
+ getTelFindUserConfig(){
177
+ let http = new HttpResetClass()
178
+ http.load('GET', `/phone/rs/vue`, {}, {resolveMsg: null, rejectMsg: null}).then(res=>{
179
+ if(res.data.telephone){
180
+ if (res.data.telephone.TelFindUser){
181
+ let telconfig = res.data.telephone.TelFindUser.data
182
+ if(telconfig.criteria){
183
+ telconfig.criteria.forEach((item)=>{
184
+ if(item.name =='入户证号'){
185
+ this.enter_number_show = item.ifshow
186
+ }
187
+ if(item.name =='小区'){
188
+ this.residential_area_show = item.ifshow
189
+ }
190
+ if(item.name =='楼栋'){
191
+ this.building_show = item.ifshow
192
+ }
193
+ if(item.name =='单元'){
194
+ this.unit_show = item.ifshow
195
+ }
196
+ if(item.name =='房间号'){
197
+ this.room_show = item.ifshow
198
+ }
199
+ if(item.name =='楼层'){
200
+ this.floor_show = item.ifshow
201
+ }
202
+
203
+ })
204
+ }
205
+ }
206
+ }
207
+ })
208
+ },
209
+ search (args) {
210
+ if(args.model.is_prepare && args.model.is_prepare.length>0 && args.model.is_prepare[0]=='是'){
211
+ args.condition += ` and 1=1 and ti.f_user_state = '预备' and tu.f_table_state = '待开通'`
212
+ }else if(args.model.is_prepare && args.model.is_prepare.length>0 && args.model.is_prepare[0]=='否'){
213
+ args.condition += ` and 1=1 and ti.f_user_state != '预备' and tu.f_table_state != '待开通'`
214
+ }else {
215
+ args.condition += ` and ti.f_filialeid = '${this.$login.f.orgid}' and ti.f_user_state in('正常','停用','预备')`
216
+ }
217
+ this.model.search(args.condition, args.model)
218
+ },
219
+ bind (row) {
220
+ //tag
221
+ },
222
+ teleNoQuery (teleNo) {
223
+ this.$refs.paged.$refs.criteria.model.f_user_phone = teleNo
224
+ this.$refs.paged.$refs.criteria.search()
225
+ }
226
+ },
227
+ ready(){
228
+ this.getTelFindUserConfig()
229
+ this.$refs.paged.$refs.criteria.search()
230
+
231
+ },
232
+ watch: {
233
+ 'callObj.callNum' () {
234
+ // 查找用户的 业务逻辑
235
+ let http = new HttpResetClass()
236
+ http.load('POST', 'rs/sql/tel_getUserInfoAdress', {data: {
237
+ condition: `(f_user_phone = '${this.callObj.callNum}' or f_zuhu_phone = '${this.callObj.callNum}' or f_rent_phone = '${this.callObj.callNum}') and ti.f_user_state = '正常' `,
238
+ }},{resolveMsg: null, rejectMsg: null}).then((req) => {
239
+ this.model.rows = req.data
240
+ this.model.state = '正确'
241
+ })
242
+ },
243
+ 'user' (val) {
244
+ // this.$resetpost('rs/sql/singleTable', {data: { tablename: 't_userinfo', condition: "f_user_name='" + this.user.name + "' and f_userinfo_id=" + this.user.userId }}).then((req) => {
245
+ // this.row = req.data
246
+ // })
247
+ if (val.name === '' && val.userId === '') { // 用户未绑定
248
+ // 清空查询条件
249
+ Object.keys(this.$refs.paged.$refs.criteria.model).forEach((key) => {
250
+ this.$refs.paged.$refs.criteria.model[key] = ''
251
+ })
252
+ this.model.rows = []
253
+ this.model.state = '错误'
254
+ this.model.error = '未找到用户或用户未绑定'
255
+ this.$emit('find-error', '未找到用户或用户未绑定')
256
+ return
257
+ }
258
+ this.$refs.paged.$refs.criteria.model.f_user_name = this.user.name
259
+ this.$refs.paged.$refs.criteria.model.f_userinfo_id = this.user.userId
260
+ this.$refs.paged.$refs.criteria.search()
261
+ // this.model.search(`f_user_name = '${this.user.name}' and f_userinfo_id = ${this.user.userId}`, this.model)
262
+ },
263
+ 'model.state' (val) {
264
+ if (val === '正确' && this.model.rows.length === 1) {
265
+ this.$emit('find-one', this.model.rows[0])
266
+ }
267
+ }
268
+ },
269
+ events: {
270
+ //点击用户信息后变色
271
+ 'select-changed' :function (val) {
272
+ this.tempnumber = val.val.f_userinfo_code
273
+ }
274
+ }
275
+ }
276
+ </script>
277
+ <style scoped>
278
+ label {
279
+ width: 80px;
280
+ }
281
+ #pc-finduser-page .form-input-group {
282
+ margin: 5px 0px;
283
+ height: auto;
284
+ }
285
+ .themeOne .span{
286
+ overflow-y: scroll;
287
+ }
288
+ .pager{
289
+ margin: 5px 0px !important;
290
+ background-color: #f8f8f8;
291
+ }
292
+ .inbg{
293
+ font-family: PingFang-SC-Medium;
294
+ font-size: 14px;
295
+ font-weight: normal;
296
+ font-stretch: normal;
297
+ line-height: 18px;
298
+ letter-spacing: 0px;
299
+ color: #333333;
300
+ }
301
+ .aaa{
302
+ background-color: #d8eafb;
303
+ }
304
+ </style>
305
+ <style>
306
+ #pc-finduser-page1 ul{
307
+ margin: 5px 0px !important;
308
+ background-color: #f8f8f8 !important;
309
+ }
310
+ </style>
@@ -244,7 +244,7 @@
244
244
  <delay-reply :row="selectone" @success="selfSearch()" @cancel="editflag = null"></delay-reply>
245
245
  </div>
246
246
  </div>
247
- <modal :show.sync="editflag==='工单打回'||editflag==='工单下发'||editflag==='派单'" v-if="editflag==='工单打回'||editflag==='工单下发'||editflag==='派单'" v-ref:modal backdrop="false">
247
+ <modal :show.sync="editflag==='工单打回'||editflag==='工单下发'||editflag==='派单'" v-ref:modal backdrop="false">
248
248
  <header slot="modal-header" class="modal-header">
249
249
  {{ editflag === '工单打回' ? '工单打回' : editflag ==='工单下发'?'工单下发':'派单' }}
250
250
  </header>
@@ -713,7 +713,7 @@ export default {
713
713
  },
714
714
  proc (selectone, type) {
715
715
  this.editflag = type
716
- this.selectone = selectone
716
+ this.selectone = Object.assign({},selectone)
717
717
  },
718
718
  complanReview (itemVal, type) {
719
719
  //tag
@@ -4,6 +4,7 @@ import Vue from "vue";
4
4
  //pc和手机分别注册到两个文件中
5
5
  let specialComp = {
6
6
  'work-list': (resolve) => { require(['./pc/WorkList'], resolve) },
7
+ 'tel-find-user':(resolve) => { require(['./pc/TelFindUser'], resolve) },
7
8
  'repairs-work': (resolve) => { require(['./pc/RepairsWork'], resolve) }
8
9
  }
9
10
  exports.specialComp = specialComp
@@ -175,6 +175,13 @@
175
175
  @click.stop.prevent='$parent.$parent.$parent.makeAPhoneCall(row.f_contact_phone)'>
176
176
  </p>
177
177
  </div>
178
+ <div class="col-xs-12">
179
+ <p class="panel-title col-xs-5 text-left font" style="width: 21%;float: left"><b>租户电话:</b></p>
180
+ <p class="panel-title col-xs-7 text-left input-font">{{ row.f_zuhu_phone || '无' }}
181
+ <img src="../../../assets/telphonesend.png" style="width: 12px;"
182
+ @click.stop.prevent='$parent.$parent.$parent.makeAPhoneCall(row.f_zuhu_phone)'>
183
+ </p>
184
+ </div>
178
185
  <div class="col-xs-6">
179
186
  <p class="panel-title col-xs-5 text-left font" style="float: left"><b>派单员:</b></p>
180
187
  <p class="panel-title col-xs-7 text-left input-font">{{row.f_attendant}} </p>
@@ -104,6 +104,11 @@
104
104
  <div class="col-sm-12 col-xs-12 col-md-12 padd-div-shu">
105
105
  用户姓名: {{ row.f_user_name }}
106
106
  </div>
107
+ <div class="col-sm-12 col-xs-12 col-md-12 padd-div-shu">
108
+ 租户电话: {{ row.f_zuhu_phone }}
109
+ <img src="../../../assets/telphonesend.png" style="width: 12px;"
110
+ @click.stop.prevent='makeAPhoneCall(row.f_zuhu_phone)'>
111
+ </div>
107
112
  <div class="col-sm-12 col-xs-12 col-md-12 padd-div-shu">
108
113
  来电电话: {{ row.f_phone }}
109
114
  <img src="../../../assets/telphonesend.png" style="width: 12px;"
@@ -17,6 +17,7 @@
17
17
  <!--<p>预约时间: {{service.f_repair_date}}</p>-->
18
18
  <p>来电电话: {{service.f_phone}}<img src="../../../assets/telphonesend.png" style="width: 12px;" @click.stop.prevent='makeAPhoneCall(service.f_phone)'></p>
19
19
  <p>联系电话: {{service.f_contact_phone}}<img src="../../../assets/telphonesend.png" style="width: 12px;" @click.stop.prevent='makeAPhoneCall(service.f_contact_phone)'></p>
20
+ <p>租户电话: {{service.f_zuhu_phone}}<img src="../../../assets/telphonesend.png" style="width: 12px;" @click.stop.prevent='makeAPhoneCall(service.f_rent_phone)'></p>
20
21
  <p>开启录音:<button type="button" class="btn btn-default" @click="openRecord()">开启</button>
21
22
  </p>
22
23
  <!--<p>用户姓名: {{service.f_user_name}}</p>-->
@@ -62,9 +62,9 @@
62
62
  <th>
63
63
  <nobr>接线率</nobr>
64
64
  </th>
65
- <th>
66
- <nobr>置忙次数</nobr>
67
- </th>
65
+ <!-- <th>-->
66
+ <!-- <nobr>置忙次数</nobr>-->
67
+ <!-- </th>-->
68
68
  <th>
69
69
  <nobr>已接</nobr>
70
70
  </th>
@@ -111,9 +111,9 @@
111
111
  <td style="text-align:center">
112
112
  <nobr>{{ row.scale }}</nobr>
113
113
  </td>
114
- <td style="text-align:center">
115
- <nobr>{{ row.zhimangcishu }}</nobr>
116
- </td>
114
+ <!-- <td style="text-align:center">-->
115
+ <!-- <nobr>{{ row.zhimangcishu }}</nobr>-->
116
+ <!-- </td>-->
117
117
  <td style="text-align:center" >
118
118
  <nobr>{{ row.yijie }}</nobr>
119
119
  </td>
@@ -151,7 +151,7 @@
151
151
  <td style="text-align: center"><span><b> </b></span></td>
152
152
  <td style="text-align: center">{{model.sums.zongji}}</td>
153
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>
154
+ <!-- <td style="text-align: center">{{model.sums.zhimangcishu}}</td>-->
155
155
  <td style="text-align: center">{{model.sums.yijie}}</td>
156
156
  <td style="text-align: center">{{model.sums.weijie}}</td>
157
157
  <td style="text-align: center">{{model.sums.waibo}}</td>
@@ -181,7 +181,7 @@ export default {
181
181
  startDate: 'this.startDate',
182
182
  endDate: 'this.endDate',
183
183
  f_filiale_id: 'this.f_filiale_id'
184
- },{zongji:'',yijie:'',weijie:'',waibo:'',zhimangcishu:'',zixundan:'',tousudan:'',baoxiudan:''})
184
+ },{zongji:'',yijie:'',weijie:'',waibo:'',zixundan:'',tousudan:'',baoxiudan:''})
185
185
  model.f_filiale_id = `('${this.$login.f.orgid}')`
186
186
  model.startDate=Util.getYesterDay() + ' 00:00:00'//昨天时间
187
187
  model.endDate=Util.toStandardDateString()+ ' 23:59:59'//当前时间
@@ -204,7 +204,7 @@ export default {
204
204
  'id': '工号',
205
205
  'quanbujieting': '接线数',
206
206
  'scale': '接线率',
207
- 'zhimangcishu': '置忙次数',
207
+ // 'zhimangcishu': '置忙次数',
208
208
  'yijie': '已接',
209
209
  'weijie': '未接',
210
210
  'waibo': '外拨',
@@ -37,7 +37,7 @@
37
37
  <export-excel-tel
38
38
  :data="$parent.$parent.searchData"
39
39
  :field="$parent.$parent.excelHeaders"
40
- sqlurl="rs/logic/telephoneExport" sql-name="operatorService" template-name='工单导出'
40
+ sqlurl="rs/logic/telephoneExport" :sql-name="$parent.$parent.sqlname" template-name='工单导出'
41
41
  :choose-col="true"></export-excel-tel>
42
42
  <div style="float: right;" class="button_spacing"
43
43
  :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
@@ -393,6 +393,7 @@ export default {
393
393
  title: '工单列表',
394
394
  data () {
395
395
  return {
396
+ sqlname:'operatorService',
396
397
  // 结案备注
397
398
  f_caseremarks:'',
398
399
  criteriaShow: false,
@@ -503,8 +504,10 @@ export default {
503
504
  this.serlist = []
504
505
  if (this.picked) {
505
506
  if (this.picked === 'wait') {
507
+ this.sqlname = 'operatorService'
506
508
  this.model.url = 'rs/sql/operatorService'
507
509
  } else if (this.picked === 'done') {
510
+ this.sqlname = 'doneService'
508
511
  this.model.url = 'rs/sql/doneService'
509
512
  }
510
513
  this.model.rows = []
@@ -145,7 +145,6 @@
145
145
  <v-select :value.sync="model.defname" v-model='model.defname'
146
146
  :value-single="true"
147
147
  :options='$parent.$parent.defnames' placeholder='工单状态'
148
- condition="sa.defname = '{}'"
149
148
  close-on-select></v-select>
150
149
  </div>
151
150
  <div class="col-sm-3 form-group form-input-group" style="width: 20%">
@@ -234,6 +233,9 @@
234
233
  <th>
235
234
  <nobr>派单人</nobr>
236
235
  </th>
236
+ <th>
237
+ <nobr>接单时间</nobr>
238
+ </th>
237
239
  <th>
238
240
  <nobr>话务员</nobr>
239
241
  </th>
@@ -319,6 +321,9 @@
319
321
  <td style="text-align: center;">
320
322
  <nobr>{{ row.f_single_man }}</nobr>
321
323
  </td>
324
+ <td style="text-align: center;">
325
+ <nobr>{{ row.sendtime }}</nobr>
326
+ </td>
322
327
  <td style="text-align: center;">
323
328
  <nobr>{{ row.f_attendant }}</nobr>
324
329
  </td>
@@ -453,6 +458,7 @@ export default {
453
458
  'f_json': '故障明细',
454
459
  'f_repair_remarks': '维修结果',
455
460
  'f_single_man': '派单人',
461
+ 'sendtime': '接单时间',
456
462
  'f_attendant': '受理人',
457
463
  'f_order_man': '接单人',
458
464
  'defname': '工单状态',
@@ -591,6 +597,13 @@ export default {
591
597
  } else {
592
598
  args.condition += ` and tswo.f_filiale_id = '${this.$login.f.orgid}'`
593
599
  }
600
+ if(args.model.defname){
601
+ if(args.model.defname == '无法处理'){
602
+ args.condition += ` and (sa.defname = '无法处理' or tswo.f_state = '完成')`
603
+ }else{
604
+ args.condition += ` and sa.defname = '${args.model.defname}'`
605
+ }
606
+ }
594
607
 
595
608
  this.searchData.condition = args.condition
596
609
  return this.model.search(args.condition, args.model)