telephone-clients 3.0.104-51 → 3.0.104-52
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
CHANGED
|
@@ -36,6 +36,12 @@
|
|
|
36
36
|
<div style="float: right;" class="button_spacing button_search"
|
|
37
37
|
:class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
|
|
38
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
|
+
|
|
39
45
|
</div>
|
|
40
46
|
|
|
41
47
|
<div class="col-sm-3 form-group form-input-group" style="width: 20%" v-if="$parent.$parent.criteriaShow">
|
|
@@ -162,7 +168,22 @@ export default {
|
|
|
162
168
|
userid: this.$login.f.id,
|
|
163
169
|
source: 'tool.getFullTree(this.getRights().where(row.getType() != $zone$).where(row.getType() == $organization$))', //获取公司参数
|
|
164
170
|
flag: '',
|
|
165
|
-
f_filiale_id: ''
|
|
171
|
+
f_filiale_id: '',
|
|
172
|
+
excelTitle: '电话记录录导出',
|
|
173
|
+
excelHeaders: {
|
|
174
|
+
'teltype': '电话类型',
|
|
175
|
+
'telnum': '电话号码',
|
|
176
|
+
'outltime': '呼入/呼出',
|
|
177
|
+
'findtime':'寻找坐席',
|
|
178
|
+
'inltime': '响铃',
|
|
179
|
+
'starttime': '开始通话',
|
|
180
|
+
'endtime': '结束通话',
|
|
181
|
+
'savetime': '保存工单',
|
|
182
|
+
'telname': '话务员'
|
|
183
|
+
},
|
|
184
|
+
searchData: {
|
|
185
|
+
condition: '1=1'
|
|
186
|
+
},
|
|
166
187
|
}
|
|
167
188
|
},props: {
|
|
168
189
|
|
|
@@ -200,6 +221,8 @@ export default {
|
|
|
200
221
|
args.condition = args.condition + ' and f_filiale_id in ' + this.f_filiale_id
|
|
201
222
|
}
|
|
202
223
|
}
|
|
224
|
+
this.searchData.condition = args.condition
|
|
225
|
+
this.searchData.orderitem= " outltime desc"
|
|
203
226
|
this.model.search(args.condition, args.model)
|
|
204
227
|
},
|
|
205
228
|
clearmsg(){
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
<th><nobr>安检日期</nobr></th>
|
|
11
11
|
<th><nobr>入户情况</nobr></th>
|
|
12
12
|
<th><nobr>安检员</nobr></th>
|
|
13
|
+
<th> <nobr>隐患明细</nobr></th>>
|
|
13
14
|
</tr>
|
|
14
15
|
</template>
|
|
15
16
|
<template partial='body'>
|
|
@@ -17,6 +18,7 @@
|
|
|
17
18
|
<td style="text-align: center"><nobr>{{row.f_onsite_time.substring(0,11)}}</nobr></td>
|
|
18
19
|
<td style="text-align: center"><nobr>{{row.f_entry_status}}</nobr></td>
|
|
19
20
|
<td style="text-align: center"><nobr>{{row.f_checker_name}}</nobr></td>
|
|
21
|
+
<td style="text-align: center" ><nobr>{{row.f_defect_text?row.f_defect_text:$parent.$parent.$parent.getjsonData(row.f_defect_content)}}</nobr></td>
|
|
20
22
|
</template>
|
|
21
23
|
</data-grid>
|
|
22
24
|
</criteria-paged>
|
|
@@ -28,6 +30,7 @@
|
|
|
28
30
|
*用户档案相关信息组件
|
|
29
31
|
*/
|
|
30
32
|
import { PagedList } from 'vue-client'
|
|
33
|
+
import {isEmpty} from "../Util";
|
|
31
34
|
export default {
|
|
32
35
|
title: '用户安检历史',
|
|
33
36
|
data () {
|
|
@@ -43,6 +46,17 @@
|
|
|
43
46
|
clearflg:0
|
|
44
47
|
},
|
|
45
48
|
methods: {
|
|
49
|
+
getjsonData(value){
|
|
50
|
+
//将value字符串转换成json对象
|
|
51
|
+
let jsonStr= JSON.parse(value);
|
|
52
|
+
let str = jsonStr.data;
|
|
53
|
+
if(jsonStr.result=='正常'){
|
|
54
|
+
return '正常'
|
|
55
|
+
}else{
|
|
56
|
+
return str
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
},
|
|
46
60
|
selected (row) {
|
|
47
61
|
if (this.row === row) {
|
|
48
62
|
this.row = null
|
|
@@ -773,9 +773,11 @@
|
|
|
773
773
|
},
|
|
774
774
|
// 打开二维码
|
|
775
775
|
async openQrCode() {
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
776
|
+
const merchantMsg = Vue.config.telephone.ApproveConfig.merchantMsg
|
|
777
|
+
if (!merchantMsg){
|
|
778
|
+
this.$showMessage('未配备商户号,请联系管理员!')
|
|
779
|
+
return
|
|
780
|
+
}
|
|
779
781
|
const outTradeNo = this.generateRandomString(30)
|
|
780
782
|
// 下订单
|
|
781
783
|
let http = new HttpResetClass()
|
|
@@ -833,7 +835,7 @@
|
|
|
833
835
|
},
|
|
834
836
|
// 获取订单信息
|
|
835
837
|
async getOrderInformation() {
|
|
836
|
-
const merchantMsg =
|
|
838
|
+
const merchantMsg = Vue.config.telephone.ApproveConfig.merchantMsg
|
|
837
839
|
// 查询订单信息
|
|
838
840
|
console.log('查询订单信息!!!', this.order)
|
|
839
841
|
try {
|