telephone-clients 3.0.104-1 → 3.0.104-10
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/package.json +1 -1
- package/src/components/guoxin/Console.vue +9 -0
- package/src/components/pc/NewRepairPaper.vue +370 -370
- package/src/components/pc/VisitInfo.vue +44 -7
- package/src/components/temp/HandplanInfo.vue +12 -1
- package/src/filiale/qianneng/pc/WorkListAllNew.vue +757 -749
- package/src/filiale/wenxi/pc/WorkListAll.vue +698 -0
- package/src/filiale/wenxi/telephone.js +1 -0
|
@@ -79,6 +79,28 @@
|
|
|
79
79
|
</div>
|
|
80
80
|
</div>
|
|
81
81
|
</div>
|
|
82
|
+
<modal :show.sync="showcalloutResult" width="50%" backdrop="false">
|
|
83
|
+
<header slot="modal-header" class="modal-header">
|
|
84
|
+
<center><h4 class="modal-title ">{{showTitle}}结果</h4></center>
|
|
85
|
+
</header>
|
|
86
|
+
<article slot="modal-body" class="modal-body" style="height: 100px;padding-top: 15px!important;">
|
|
87
|
+
<div v-show="!calloutResult"><label>正在{{ showTitle }},请稍后。。。。。。</label></div>
|
|
88
|
+
<div v-show="calloutResult">
|
|
89
|
+
<div class="row auto" v-show="calloutResult.area">
|
|
90
|
+
<label>真实归属地:</label><span>{{calloutResult.area}}</span>
|
|
91
|
+
</div>
|
|
92
|
+
<div class="row auto" v-show="calloutResult.calloutNo">
|
|
93
|
+
<label>真实呼出号码:</label><span>{{calloutResult.calloutNo}}</span>
|
|
94
|
+
</div>
|
|
95
|
+
<div class="row auto" v-show="calloutResult.err">
|
|
96
|
+
<label>其他信息:</label><span>{{calloutResult.err}}</span>
|
|
97
|
+
</div>
|
|
98
|
+
</div>
|
|
99
|
+
</article>
|
|
100
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
101
|
+
<button type="button" class="btn btn-success" @click='calloutConfirm()'>确认</button>
|
|
102
|
+
</footer>
|
|
103
|
+
</modal>
|
|
82
104
|
</div>
|
|
83
105
|
</template>
|
|
84
106
|
|
|
@@ -93,7 +115,11 @@
|
|
|
93
115
|
row:Object,
|
|
94
116
|
phone:'',
|
|
95
117
|
idwavfile:'',
|
|
96
|
-
outltime:''
|
|
118
|
+
outltime:'',
|
|
119
|
+
showcalloutResult:false,
|
|
120
|
+
calloutResult:null,
|
|
121
|
+
showTitle:'呼出'
|
|
122
|
+
|
|
97
123
|
},
|
|
98
124
|
data () {
|
|
99
125
|
return {
|
|
@@ -117,6 +143,10 @@
|
|
|
117
143
|
}
|
|
118
144
|
},
|
|
119
145
|
methods: {
|
|
146
|
+
calloutConfirm(){
|
|
147
|
+
this.calloutResult=null
|
|
148
|
+
this.showcalloutResult=false
|
|
149
|
+
},
|
|
120
150
|
//获取当前时间
|
|
121
151
|
getNowFormatDate() {
|
|
122
152
|
var date = new Date();
|
|
@@ -201,7 +231,6 @@
|
|
|
201
231
|
if(telnum){
|
|
202
232
|
let http = new HttpResetClass()
|
|
203
233
|
try{
|
|
204
|
-
this.$showMessage("号码"+telnum+" 正在呼出...")
|
|
205
234
|
http.load('POST', wxcon.voiceUrl, {
|
|
206
235
|
aId: this.$login.f.id,
|
|
207
236
|
aChannel: Util.attendant.aChannel,
|
|
@@ -213,15 +242,23 @@
|
|
|
213
242
|
RoleId:this.$login.f.rolesnames,
|
|
214
243
|
sendTime:Util.toStandardTimeString()
|
|
215
244
|
}, {resolveMsg: null, rejectMsg: null}).then((req) => {
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
245
|
+
this.calloutResult = req.data.calloutResult
|
|
246
|
+
if (req.data.desc === '呼出失败') {
|
|
247
|
+
this.$showAlert(`呼出${telnum}失败`, 'danger', 0)
|
|
248
|
+
}else{
|
|
249
|
+
this.showcalloutResult=true
|
|
250
|
+
this.showTitle='呼出'
|
|
251
|
+
// 返回录音ID 存在回访数据里
|
|
252
|
+
this.model.f_record_sound = req.data.RecordsID
|
|
253
|
+
}
|
|
219
254
|
})
|
|
220
255
|
}catch(e){
|
|
221
|
-
|
|
256
|
+
this.$showAlert(`${e.data},呼出失败`, 'danger', 0)
|
|
257
|
+
this.callContent = '呼出失败'
|
|
222
258
|
}
|
|
223
259
|
}else{
|
|
224
|
-
|
|
260
|
+
this.$showAlert(`无电话号码`, 'danger', 0)
|
|
261
|
+
this.callContent = '呼出失败'
|
|
225
262
|
}
|
|
226
263
|
},
|
|
227
264
|
},
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
title: '抄表记录',
|
|
46
46
|
data () {
|
|
47
47
|
return {
|
|
48
|
-
model: new PagedList((this.user && this.user.isphone) ? '${this.$androidUtil.getProxyUrl()}/' : '' + 'rs/sql/tel_singleTable_OrderBy', 8, {items: '"*"', tablename: '
|
|
48
|
+
model: new PagedList((this.user && this.user.isphone) ? '${this.$androidUtil.getProxyUrl()}/' : '' + 'rs/sql/tel_singleTable_OrderBy', 8, {items: '"*"', tablename: 'this.tablename', orderitem: '"id desc"'}),
|
|
49
49
|
show: false,
|
|
50
50
|
row: Object
|
|
51
51
|
}
|
|
@@ -62,6 +62,11 @@
|
|
|
62
62
|
'user' (val) {
|
|
63
63
|
if(this.user) {
|
|
64
64
|
this.model.rows = []
|
|
65
|
+
if(val.f_meter_classify == '物联网表'){
|
|
66
|
+
this.model.tablename = 't_web_handplan with (nolock)'
|
|
67
|
+
}else{
|
|
68
|
+
this.model.tablename = 't_handplan with (nolock)'
|
|
69
|
+
}
|
|
65
70
|
this.model.search(`f_userinfo_id = '${this.user.f_userinfo_id}'`)
|
|
66
71
|
}
|
|
67
72
|
},
|
|
@@ -71,6 +76,12 @@
|
|
|
71
76
|
},
|
|
72
77
|
ready () {
|
|
73
78
|
if (this.user && this.user.f_userinfo_id) {
|
|
79
|
+
if(this.user.f_meter_classify == '物联网表'){
|
|
80
|
+
debugger
|
|
81
|
+
this.model.tablename = 't_web_handplan with (nolock)'
|
|
82
|
+
}else{
|
|
83
|
+
this.model.tablename = 't_handplan with (nolock)'
|
|
84
|
+
}
|
|
74
85
|
this.model.search(`f_userinfo_id = '${this.user.f_userinfo_id}'`)
|
|
75
86
|
}
|
|
76
87
|
}
|