telephone-clients 4.0.0-1-72 → 4.0.0-1-73
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/TelFindUser.vue +349 -343
- package/src/components/pc/VoiceServer.vue +212 -207
- package/src/components/workorder/RepairInfo.vue +178 -178
- package/src/filiale/meihekou/android/Othercharge.vue +454 -454
- package/src/filiale/meihekou/android/PhoneStandWorkNew.vue +692 -692
- package/src/filiale/meihekou/android/RepairFirstV.vue +32 -0
- package/src/filiale/meihekou/android/ServiceOnlineQuery.vue +477 -477
- package/src/filiale/meihekou/pc/RepairsWork.vue +1003 -0
- package/src/filiale/meihekou/pc/WorkListAllNew.vue +902 -902
- package/src/filiale/meihekou/pc/WorkListNew.vue +1041 -0
- package/src/filiale/meihekou/telephone.js +19 -17
- package/src/filiale/meihekou/telephoneAndroid.js +26 -26
- package/src/filiale/xinjiangdexin/telephone.js +16 -16
- package/src/main.js +24 -24
- package/src/telephone.js +793 -793
|
@@ -1,207 +1,212 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<!-- <div class="flex-row flex-over" id="pc-telepage"> -->
|
|
3
|
-
<!-- 话务员控制台 -->
|
|
4
|
-
<div class="binary flex-row">
|
|
5
|
-
<div class="binary-left ytab1" style="width: 53%;overflow: hidden">
|
|
6
|
-
<!-- 左侧区域 -->
|
|
7
|
-
<div class="panel">
|
|
8
|
-
<div class="panel-body flex-row" style="padding-left: 10px;">
|
|
9
|
-
<div style="overflow: auto;">
|
|
10
|
-
<console @call-in="setCallObj" @re-in="injectRecordsIdInCallObj" @state-changed="stateChanged" v-if="meading == '转站点'" :deltelephone="deltelephone"></console>
|
|
11
|
-
</div>
|
|
12
|
-
<div class="flex flex-over" style="padding: 0 0px 0px 10px; overflow: auto;">
|
|
13
|
-
<!-- 用户查询,停气公告,话务员统计信息,知识库 -->
|
|
14
|
-
<div class="span no-close">
|
|
15
|
-
<div class="flex foot_tabset">
|
|
16
|
-
<ul class="nav nav-pills" style="height:auto" class="nav nav-tabs">
|
|
17
|
-
<li ><a :style="selectFiled == '用户查找'?'color:#333333!important;':'color:#666666!important;'" :class="{'tel_voiceActive':selectFiled == '用户查找','tel_f_size':selectFiled != '用户查找'}" href="javascript:void(0)" @click="setField('用户查找')">用户查找</a></li>
|
|
18
|
-
<li ><a :style="selectFiled == '停气公告'?'color:#333333!important;':'color:#666666!important;'" :class="{'tel_voiceActive':selectFiled == '停气公告','tel_f_size':selectFiled != '停气公告'}" href="javascript:void(0)" @click="setField('停气公告')">停气公告</a></li>
|
|
19
|
-
<li ><a :style="selectFiled == '知识库'?'color:#333333!important;':'color:#666666!important;'" :class="{'tel_voiceActive':selectFiled == '知识库','tel_f_size':selectFiled != '知识库'}" href="javascript:void(0)" @click="setField('知识库')">知识库</a></li>
|
|
20
|
-
<!--<li ><a :style="selectFiled == '来电记录'?'color:#333333!important;':'color:#666666!important;'" :class="{'tel_voiceActive':selectFiled == '来电记录','tel_f_size':selectFiled != '来电记录'}" href="javascript:void(0)" @click="setField('来电记录')">来电记录</a></li>-->
|
|
21
|
-
</ul>
|
|
22
|
-
<div class="tab-content span">
|
|
23
|
-
<tel-find-user :findid="findid" v-show="selectFiled=='用户查找'" @select-changed="selected" @phone-find-repair="telephoneFindRepair" @find-one="findOne" :call-obj="callObj" v-ref:find></tel-find-user>
|
|
24
|
-
<auxfunc v-show="selectFiled=='停气公告'"></auxfunc>
|
|
25
|
-
<teleoper-kl v-show="selectFiled=='知识库'"></teleoper-kl>
|
|
26
|
-
<!--<call-records v-show="selectFiled=='来电记录'" :user="user" :clearflg="clearflg" :call-obj="callObj"></call-records>-->
|
|
27
|
-
</div>
|
|
28
|
-
|
|
29
|
-
</div>
|
|
30
|
-
<tabset v-ref:tabs :close="false" style="padding: 0px">
|
|
31
|
-
<tab header="用户查找" style="padding: 0px">
|
|
32
|
-
<tel-find-user :findid="findid" v-if="findid.length==0&&findid!=null"
|
|
33
|
-
</tab>
|
|
34
|
-
<tab header="停气公告">
|
|
35
|
-
<auxfunc></auxfunc>
|
|
36
|
-
</tab>
|
|
37
|
-
<tab header="知识库">
|
|
38
|
-
<teleoper-kl></teleoper-kl>
|
|
39
|
-
</tab>
|
|
40
|
-
<!--<tab header="来电记录">-->
|
|
41
|
-
<!--<call-records></call-records>-->
|
|
42
|
-
<!--</tab>-->
|
|
43
|
-
</tabset>
|
|
44
|
-
</div>
|
|
45
|
-
<!-- 用户基本信息,用户历史操作信息 -->
|
|
46
|
-
<!--<div class="col-sm-4" style="padding-right: 10px;">-->
|
|
47
|
-
<!--<userinfo :data='user'></userinfo>-->
|
|
48
|
-
<!--</div>-->
|
|
49
|
-
<!--<div class="col-sm-8">-->
|
|
50
|
-
<info-table :ulstyle="sty" :user="user" :call-obj="callObj" :is-need-condition="false" :is-group="false" :clearflg="clearflg"></info-table>
|
|
51
|
-
<!--</div>-->
|
|
52
|
-
</div>
|
|
53
|
-
</div>
|
|
54
|
-
</div>
|
|
55
|
-
</div>
|
|
56
|
-
<div class="binary-right" style="width:46%;overflow: hidden">
|
|
57
|
-
<!-- 右侧区域 -->
|
|
58
|
-
<div class="panel">
|
|
59
|
-
<div class="panel-body">
|
|
60
|
-
<user-operate :findid="findid" @chile-msg="selected" :user='user' v-ref:user :call-obj="callObj" type="voice"
|
|
61
|
-
:login-user="loginUser" :meading="meading" v-on:commit="commit"></user-operate>
|
|
62
|
-
<!--<foot-print-list></foot-print-list>-->
|
|
63
|
-
<!--<div class="auto" style="min-width: 100px;" v-if="meading === '语音客服'">-->
|
|
64
|
-
<!--<call-map v-ref:map :curuser='user' :currepairman="repairs"></call-map>-->
|
|
65
|
-
<!--</div>-->
|
|
66
|
-
</div>
|
|
67
|
-
</div>
|
|
68
|
-
</div>
|
|
69
|
-
</div>
|
|
70
|
-
|
|
71
|
-
<!-- </div> -->
|
|
72
|
-
</template>
|
|
73
|
-
<script>
|
|
74
|
-
import * as Util from '../Util'
|
|
75
|
-
export default {
|
|
76
|
-
title: '语音服务',
|
|
77
|
-
data() {
|
|
78
|
-
return {
|
|
79
|
-
findid:this.standid,
|
|
80
|
-
user: null,
|
|
81
|
-
loginUser: this.$login.f,
|
|
82
|
-
callObj: '',
|
|
83
|
-
repairs: null,
|
|
84
|
-
deltelephone:'', // 每次提交完成后,传给 console界面,
|
|
85
|
-
clearflg:0,
|
|
86
|
-
selectFiled:'用户查找',
|
|
87
|
-
sty:'margin:15px 0px;height:auto;border-bottom: 1px solid #e7e7e7;',
|
|
88
|
-
calllist:'false'
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
},
|
|
114
|
-
|
|
115
|
-
this.
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
this.user = obj
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
},
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
1
|
+
<template>
|
|
2
|
+
<!-- <div class="flex-row flex-over" id="pc-telepage"> -->
|
|
3
|
+
<!-- 话务员控制台 -->
|
|
4
|
+
<div class="binary flex-row">
|
|
5
|
+
<div class="binary-left ytab1" style="width: 53%;overflow: hidden">
|
|
6
|
+
<!-- 左侧区域 -->
|
|
7
|
+
<div class="panel">
|
|
8
|
+
<div class="panel-body flex-row" style="padding-left: 10px;">
|
|
9
|
+
<div style="overflow: auto;">
|
|
10
|
+
<console @call-in="setCallObj" @re-in="injectRecordsIdInCallObj" @state-changed="stateChanged" v-if="meading == '转站点'" :deltelephone="deltelephone"></console>
|
|
11
|
+
</div>
|
|
12
|
+
<div class="flex flex-over" style="padding: 0 0px 0px 10px; overflow: auto;">
|
|
13
|
+
<!-- 用户查询,停气公告,话务员统计信息,知识库 -->
|
|
14
|
+
<div class="span no-close">
|
|
15
|
+
<div class="flex foot_tabset">
|
|
16
|
+
<ul class="nav nav-pills" style="height:auto" class="nav nav-tabs">
|
|
17
|
+
<li ><a :style="selectFiled == '用户查找'?'color:#333333!important;':'color:#666666!important;'" :class="{'tel_voiceActive':selectFiled == '用户查找','tel_f_size':selectFiled != '用户查找'}" href="javascript:void(0)" @click="setField('用户查找')">用户查找</a></li>
|
|
18
|
+
<li ><a :style="selectFiled == '停气公告'?'color:#333333!important;':'color:#666666!important;'" :class="{'tel_voiceActive':selectFiled == '停气公告','tel_f_size':selectFiled != '停气公告'}" href="javascript:void(0)" @click="setField('停气公告')">停气公告</a></li>
|
|
19
|
+
<li ><a :style="selectFiled == '知识库'?'color:#333333!important;':'color:#666666!important;'" :class="{'tel_voiceActive':selectFiled == '知识库','tel_f_size':selectFiled != '知识库'}" href="javascript:void(0)" @click="setField('知识库')">知识库</a></li>
|
|
20
|
+
<!--<li ><a :style="selectFiled == '来电记录'?'color:#333333!important;':'color:#666666!important;'" :class="{'tel_voiceActive':selectFiled == '来电记录','tel_f_size':selectFiled != '来电记录'}" href="javascript:void(0)" @click="setField('来电记录')">来电记录</a></li>-->
|
|
21
|
+
</ul>
|
|
22
|
+
<div class="tab-content span">
|
|
23
|
+
<tel-find-user :findid="findid" v-show="selectFiled=='用户查找'" @select-changed="selected" @infochange="infochangeshow" @phone-find-repair="telephoneFindRepair" @find-one="findOne" :call-obj="callObj" v-ref:find></tel-find-user>
|
|
24
|
+
<auxfunc v-show="selectFiled=='停气公告'"></auxfunc>
|
|
25
|
+
<teleoper-kl v-show="selectFiled=='知识库'"></teleoper-kl>
|
|
26
|
+
<!--<call-records v-show="selectFiled=='来电记录'" :user="user" :clearflg="clearflg" :call-obj="callObj"></call-records>-->
|
|
27
|
+
</div>
|
|
28
|
+
|
|
29
|
+
</div>
|
|
30
|
+
<tabset v-ref:tabs :close="false" style="padding: 0px">
|
|
31
|
+
<tab header="用户查找" style="padding: 0px">
|
|
32
|
+
<tel-find-user :findid="findid" v-if="findid.length==0&&findid!=null" @select-changed="selected" @phone-find-repair="telephoneFindRepair" @find-one="findOne" :call-obj="callObj" v-ref:find ></tel-find-user>
|
|
33
|
+
</tab>
|
|
34
|
+
<tab header="停气公告">
|
|
35
|
+
<auxfunc></auxfunc>
|
|
36
|
+
</tab>
|
|
37
|
+
<tab header="知识库">
|
|
38
|
+
<teleoper-kl></teleoper-kl>
|
|
39
|
+
</tab>
|
|
40
|
+
<!--<tab header="来电记录">-->
|
|
41
|
+
<!--<call-records></call-records>-->
|
|
42
|
+
<!--</tab>-->
|
|
43
|
+
</tabset>
|
|
44
|
+
</div>
|
|
45
|
+
<!-- 用户基本信息,用户历史操作信息 -->
|
|
46
|
+
<!--<div class="col-sm-4" style="padding-right: 10px;">-->
|
|
47
|
+
<!--<userinfo :data='user'></userinfo>-->
|
|
48
|
+
<!--</div>-->
|
|
49
|
+
<!--<div class="col-sm-8">-->
|
|
50
|
+
<info-table :ulstyle="sty" :user="user" :call-obj="callObj" :is-need-condition="false" :is-group="false" :clearflg="clearflg" v-show="button_bottom"></info-table>
|
|
51
|
+
<!--</div>-->
|
|
52
|
+
</div>
|
|
53
|
+
</div>
|
|
54
|
+
</div>
|
|
55
|
+
</div>
|
|
56
|
+
<div class="binary-right" style="width:46%;overflow: hidden">
|
|
57
|
+
<!-- 右侧区域 -->
|
|
58
|
+
<div class="panel">
|
|
59
|
+
<div class="panel-body">
|
|
60
|
+
<user-operate :findid="findid" @chile-msg="selected" :user='user' v-ref:user :call-obj="callObj" type="voice"
|
|
61
|
+
:login-user="loginUser" :meading="meading" v-on:commit="commit"></user-operate>
|
|
62
|
+
<!--<foot-print-list></foot-print-list>-->
|
|
63
|
+
<!--<div class="auto" style="min-width: 100px;" v-if="meading === '语音客服'">-->
|
|
64
|
+
<!--<call-map v-ref:map :curuser='user' :currepairman="repairs"></call-map>-->
|
|
65
|
+
<!--</div>-->
|
|
66
|
+
</div>
|
|
67
|
+
</div>
|
|
68
|
+
</div>
|
|
69
|
+
</div>
|
|
70
|
+
|
|
71
|
+
<!-- </div> -->
|
|
72
|
+
</template>
|
|
73
|
+
<script>
|
|
74
|
+
import * as Util from '../Util'
|
|
75
|
+
export default {
|
|
76
|
+
title: '语音服务',
|
|
77
|
+
data() {
|
|
78
|
+
return {
|
|
79
|
+
findid:this.standid,
|
|
80
|
+
user: null,
|
|
81
|
+
loginUser: this.$login.f,
|
|
82
|
+
callObj: '',
|
|
83
|
+
repairs: null,
|
|
84
|
+
deltelephone:'', // 每次提交完成后,传给 console界面,
|
|
85
|
+
clearflg:0,
|
|
86
|
+
selectFiled:'用户查找',
|
|
87
|
+
sty:'margin:15px 0px;height:auto;border-bottom: 1px solid #e7e7e7;',
|
|
88
|
+
calllist:'false',
|
|
89
|
+
button_bottom:true
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
props: {
|
|
93
|
+
meading:{
|
|
94
|
+
type: String,
|
|
95
|
+
default: '转站点'
|
|
96
|
+
},
|
|
97
|
+
//标记从那个页面进来的 0站点工单 1语音客服
|
|
98
|
+
standid:{
|
|
99
|
+
type:Number,
|
|
100
|
+
default:1
|
|
101
|
+
},
|
|
102
|
+
},
|
|
103
|
+
ready(){
|
|
104
|
+
this.calllist=this.$appdata.getSingleValue('来电记录')
|
|
105
|
+
},
|
|
106
|
+
methods: {
|
|
107
|
+
infochangeshow(val){
|
|
108
|
+
debugger
|
|
109
|
+
this.button_bottom = val
|
|
110
|
+
},
|
|
111
|
+
setField(type){
|
|
112
|
+
this.selectFiled=type
|
|
113
|
+
},
|
|
114
|
+
telephoneFindRepair(val){
|
|
115
|
+
this.callObj = {
|
|
116
|
+
callNum:val
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
commit(val){
|
|
120
|
+
this.clearflg +=1
|
|
121
|
+
if(val){
|
|
122
|
+
this.deltelephone = val
|
|
123
|
+
}
|
|
124
|
+
},
|
|
125
|
+
selected(obj) {
|
|
126
|
+
this.user = obj.val
|
|
127
|
+
|
|
128
|
+
},
|
|
129
|
+
// 查找到一个用户时直接发送事件
|
|
130
|
+
findOne(obj) {
|
|
131
|
+
this.user = obj
|
|
132
|
+
},
|
|
133
|
+
setCallObj(obj) {
|
|
134
|
+
this.callObj = obj
|
|
135
|
+
//tag
|
|
136
|
+
//tag
|
|
137
|
+
},
|
|
138
|
+
injectRecordsIdInCallObj(obj) {
|
|
139
|
+
if (this.callObj)
|
|
140
|
+
this.callObj.RecordsID = obj.RecordsID
|
|
141
|
+
},
|
|
142
|
+
stateChanged(obj) {
|
|
143
|
+
if (this.callObj)
|
|
144
|
+
this.callObj.aState = obj.aState
|
|
145
|
+
}
|
|
146
|
+
},
|
|
147
|
+
events: {
|
|
148
|
+
// 事件由WorkCenterContent组件发出,查询的工单由维修员时,将本次活动整体发上来给地图
|
|
149
|
+
'repairs-info'(activity) {
|
|
150
|
+
this.repairs = activity.actorexpression.substring(2, activity.actorexpression.length - 1)
|
|
151
|
+
},
|
|
152
|
+
voiceserver(val) {
|
|
153
|
+
//tag
|
|
154
|
+
if (val) {
|
|
155
|
+
//tag)
|
|
156
|
+
// this.user.unit_name = val
|
|
157
|
+
this.$set('user.unit_name',val)
|
|
158
|
+
}
|
|
159
|
+
},
|
|
160
|
+
// 事件由WorkCenterContent组件发出,点击返回后将维修员信息清除,再次不做判断,每次点击返回都会发事件
|
|
161
|
+
'cannel-repairs-info'() {
|
|
162
|
+
this.repairs = null
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
}
|
|
167
|
+
</script>
|
|
168
|
+
<style lang="less" scoped>
|
|
169
|
+
.flex-over {
|
|
170
|
+
flex: 1;
|
|
171
|
+
}
|
|
172
|
+
.d-left {
|
|
173
|
+
width: 53%;
|
|
174
|
+
height: 97%;
|
|
175
|
+
float: left;
|
|
176
|
+
margin: 0.5% 0 0.5% 0.7%;
|
|
177
|
+
}
|
|
178
|
+
.d-right {
|
|
179
|
+
width: 45%;
|
|
180
|
+
height: 97%;
|
|
181
|
+
float: left;
|
|
182
|
+
margin:0.5% 0.7% 0.5% 0.6%;
|
|
183
|
+
}
|
|
184
|
+
.themeOne .binary .foot_tabset > .span > .tab-pane{
|
|
185
|
+
padding: 0px !important;
|
|
186
|
+
}
|
|
187
|
+
.tel_voiceActive{
|
|
188
|
+
font-family: PingFang-SC-Bold;
|
|
189
|
+
font-size: 16px;
|
|
190
|
+
font-weight: normal!important;
|
|
191
|
+
font-stretch: normal!important;
|
|
192
|
+
line-height: 18px;
|
|
193
|
+
letter-spacing: 0px;
|
|
194
|
+
color: #333333!important;
|
|
195
|
+
border-bottom: 3px solid #599fe5;
|
|
196
|
+
padding:10px 10px!important;
|
|
197
|
+
}
|
|
198
|
+
.tel_f_size{
|
|
199
|
+
font-family: PingFang-SC-Medium;
|
|
200
|
+
font-size: 16px;
|
|
201
|
+
font-weight: normal;
|
|
202
|
+
font-stretch: normal;
|
|
203
|
+
line-height: 18px;
|
|
204
|
+
letter-spacing: 0px;
|
|
205
|
+
color: #666666!important;
|
|
206
|
+
padding:10px 10px!important;
|
|
207
|
+
}
|
|
208
|
+
/*a{
|
|
209
|
+
text-decoration:none;
|
|
210
|
+
color:#333;
|
|
211
|
+
}*/
|
|
212
|
+
</style>
|