telephone-clients 3.0.103-99 → 3.0.104-1
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 +3 -3
- package/src/App.vue +54 -54
- package/src/components/guoxin/VisitInfo.vue +0 -11
- package/src/components/pc/NewRepairPaper.vue +370 -370
- package/src/components/pc/VisitInfo.vue +0 -10
- package/src/components/pc/WorkListAllNew.vue +9 -2
- package/src/components/pc/WorkListNew.vue +712 -712
- package/src/components/telreport/TrafficClassificationReport.vue +134 -0
- package/src/components/temp/MetereadInfo.vue +1 -4
- package/src/components/weinan/Console.vue +1 -1
- package/src/components/workorder/FaultAll.vue +1 -1
- package/src/filiale/furuike/pc/WorkHistory.vue +576 -576
- package/src/filiale/qianneng/android/TemporarySingle.vue +537 -537
- package/src/filiale/qianneng/pc/MaterialDetailed.vue +260 -260
- package/src/filiale/qianneng/pc/NewRepairPaper.vue +467 -467
- package/src/filiale/qianneng/pc/RepairsWork.vue +992 -992
- package/src/filiale/qianneng/pc/changetable.vue +273 -273
- package/src/filiale/qianneng/telephone.js +22 -22
- package/src/filiale/shanxian/pc/WorkList.vue +1 -1
- package/src/filiale/shexian/pc/QueryVisitHistory.vue +237 -237
- package/src/filiale/shexian/pc/TelAgentVoiceReport.vue +271 -0
- package/src/filiale/shexian/pc/WorkList.vue +18 -0
- package/src/filiale/shexian/pc/WorkListAllNew.vue +10 -6
- package/src/filiale/shexian/telephone.js +21 -19
- package/src/filiale/zhongsheng/android/FaultAll.vue +741 -741
- package/src/main.js +1 -1
- package/src/telephone.js +3 -0
|
@@ -1,237 +1,237 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="flex-row">
|
|
3
|
-
<div id="pc-finduser-page" class="flex bg-white p-10 basic-main">
|
|
4
|
-
<div class="span">
|
|
5
|
-
<criteria-paged :model="model" v-ref:paged v-if="!show">
|
|
6
|
-
<criteria partial='criteria' v-ref:criteria @condition-changed='search'>
|
|
7
|
-
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
8
|
-
<div class="row">
|
|
9
|
-
<div class="col-sm-3 form-group form-input-group" style="width: 20%">
|
|
10
|
-
<label class="font_normal_body" style="width: 40%">回访人</label>
|
|
11
|
-
<input type="text" class="input_search" v-model="model.f_visitman" placeholder='回访人'
|
|
12
|
-
condition="t1.f_visitman like '%{}%'"
|
|
13
|
-
:size="model.f_visitman ? model.f_visitman.length : 8">
|
|
14
|
-
</div>
|
|
15
|
-
|
|
16
|
-
<div class="col-sm-3 form-group form-input-group" style="width: 20%">
|
|
17
|
-
<label class="font_normal_body" style="width: 40%">电话号码</label>
|
|
18
|
-
<input type="text" class="input_search" v-model="model.f_phone" placeholder='电话号码'
|
|
19
|
-
condition="t1.f_phone like '%{}%'">
|
|
20
|
-
</div>
|
|
21
|
-
|
|
22
|
-
<div class="col-sm-3 form-group form-input-group" style="width: 20%">
|
|
23
|
-
<label class="font_normal_body" style="width: 40%">回访类型</label>
|
|
24
|
-
<v-select :value.sync="model.f_type"
|
|
25
|
-
v-model="model.f_type"
|
|
26
|
-
:options='$parent.$parent.types' placeholder='回访类型'
|
|
27
|
-
close-on-select condition="t1.f_type = '{}' "></v-select>
|
|
28
|
-
</div>
|
|
29
|
-
|
|
30
|
-
<div class="col-sm-3 form-group form-input-group" style="width: 20%">
|
|
31
|
-
<label class="font_normal_body" style="width: 40%">回访时间</label>
|
|
32
|
-
<datepicker placeholder="开始时间"
|
|
33
|
-
v-model="model.comingtime"
|
|
34
|
-
:value.sync="model.comingtime"
|
|
35
|
-
condition="t1.f_visitdate > '{}'"
|
|
36
|
-
:format="'yyyy-MM-dd 00:00:00'"
|
|
37
|
-
></datepicker>
|
|
38
|
-
</div>
|
|
39
|
-
|
|
40
|
-
<div style="float: right;" class="form-group span">
|
|
41
|
-
<button type="button" name="button" style="background-color: #5ac0d9;border-radius: 4px;"
|
|
42
|
-
class="button_spacing button_search" @click="$parent.$parent.clearmsg">置空
|
|
43
|
-
</button>
|
|
44
|
-
<button type="button" name="button"
|
|
45
|
-
class="button_search button_spacing" @click="$parent.$parent.search">查询
|
|
46
|
-
</button>
|
|
47
|
-
<div style="float: right;" class="button_spacing"
|
|
48
|
-
:class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
|
|
49
|
-
@click="$parent.$parent.hidden()"></div>
|
|
50
|
-
<export-excel-tel :data="$parent.$parent.searchData"
|
|
51
|
-
:field="$parent.$parent.excelHeaders"
|
|
52
|
-
:choose-col="true"
|
|
53
|
-
sqlurl="rs/logic/telephoneExport" sql-name="tel_singleTable_OrderBy"
|
|
54
|
-
:template-name="$parent.$parent.excelTitle"></export-excel-tel>
|
|
55
|
-
</div>
|
|
56
|
-
|
|
57
|
-
</div>
|
|
58
|
-
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
59
|
-
<div class="col-sm-3 form-group form-input-group" style="width: 20%">
|
|
60
|
-
<label class="font_normal_body" style="width: 40%">回访时间</label>
|
|
61
|
-
<datepicker placeholder="结束时间"
|
|
62
|
-
v-model="model.endtime"
|
|
63
|
-
:value.sync="model.endtime"
|
|
64
|
-
condition="t1.f_visitdate < '{}'"
|
|
65
|
-
:format="'yyyy-MM-dd 23:59:59'"
|
|
66
|
-
></datepicker>
|
|
67
|
-
</div>
|
|
68
|
-
</div>
|
|
69
|
-
</div>
|
|
70
|
-
</criteria>
|
|
71
|
-
<data-grid :model="model" partial='list' v-ref:grid class="list_area table_sy">
|
|
72
|
-
<template partial='head'>
|
|
73
|
-
<tr>
|
|
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
|
-
<th>
|
|
105
|
-
<nobr>回访内容</nobr>
|
|
106
|
-
</th>
|
|
107
|
-
<th>
|
|
108
|
-
<nobr>回访备注</nobr>
|
|
109
|
-
</th>
|
|
110
|
-
</tr>
|
|
111
|
-
</template>
|
|
112
|
-
<template partial='body'>
|
|
113
|
-
<td style="text-align: center">
|
|
114
|
-
<nobr>{{ $index + 1 }}</nobr>
|
|
115
|
-
</td>
|
|
116
|
-
<td style="text-align: center">
|
|
117
|
-
<nobr>{{ row.f_user_name2 }} {{ row.f_address2 }} </nobr>
|
|
118
|
-
</td>
|
|
119
|
-
<td style="text-align: center">
|
|
120
|
-
<nobr>{{ row.f_workorder_type }}</nobr>
|
|
121
|
-
</td>
|
|
122
|
-
<td style="text-align: center">
|
|
123
|
-
<nobr>{{ row.f_repairtype }}</nobr>
|
|
124
|
-
</td>
|
|
125
|
-
<td style="text-align: center">
|
|
126
|
-
<nobr>{{row.f_remarks2}}</nobr>
|
|
127
|
-
</td>
|
|
128
|
-
<td style="text-align: center">
|
|
129
|
-
<nobr>{{ row.f_repair_remarks }}</nobr>
|
|
130
|
-
</td>
|
|
131
|
-
<td style="text-align: center">
|
|
132
|
-
<nobr>{{ row.f_visitman }}</nobr>
|
|
133
|
-
</td>
|
|
134
|
-
<td style="text-align: center">
|
|
135
|
-
<nobr>{{ row.f_phone }}</nobr>
|
|
136
|
-
</td>
|
|
137
|
-
<td style="text-align: center">
|
|
138
|
-
<nobr>{{ row.f_visitdate }}</nobr>
|
|
139
|
-
</td>
|
|
140
|
-
<td style="text-align: center">
|
|
141
|
-
<nobr>{{ row.f_type }}</nobr>
|
|
142
|
-
</td>
|
|
143
|
-
<td style="text-align: center">
|
|
144
|
-
<nobr>{{ row.f_remarks }}</nobr>
|
|
145
|
-
</td>
|
|
146
|
-
<td style="text-align: center">
|
|
147
|
-
<nobr>{{ row.f_bz }}</nobr>
|
|
148
|
-
</td>
|
|
149
|
-
</template>
|
|
150
|
-
</data-grid>
|
|
151
|
-
</criteria-paged>
|
|
152
|
-
</div>
|
|
153
|
-
</div>
|
|
154
|
-
</div>
|
|
155
|
-
</template>
|
|
156
|
-
|
|
157
|
-
<script>
|
|
158
|
-
import {PagedList} from 'vue-client'
|
|
159
|
-
|
|
160
|
-
export default {
|
|
161
|
-
title: '回访记录',
|
|
162
|
-
data() {
|
|
163
|
-
return {
|
|
164
|
-
model: new PagedList('rs/sql/tel_singleTable_OrderBy', 20, {
|
|
165
|
-
items: "'t1.*, t2.f_user_name as f_user_name2, t2.f_address as f_address2, t2.f_workorder_type, t2.f_repairtype, t2.f_remarks as f_remarks2, t2.failure, t3.f_remarks as f_repair_remarks'", tablename: "'t_telvisit t1 left join t_serviceworkorder t2 on t1.serviceid = t2.f_service_id LEFT JOIN ( SELECT * FROM t_servicework sw WHERE sw.id = ( SELECT MAX ( id ) FROM t_servicework WHERE serviceid = sw.serviceid ) ) t3 ON t2.id= t3.serviceid'",
|
|
166
|
-
orderitem: "'t1.f_visitdate desc'"
|
|
167
|
-
}),
|
|
168
|
-
row: null,
|
|
169
|
-
show: false,
|
|
170
|
-
wavflie: '',
|
|
171
|
-
orderMan: '',
|
|
172
|
-
msgs: [],
|
|
173
|
-
service: Object,
|
|
174
|
-
pendingCount: 0,
|
|
175
|
-
serobj: Object,
|
|
176
|
-
criteriaShow: false,
|
|
177
|
-
excelHeaders: {
|
|
178
|
-
'f_user_name2': '客户姓名',
|
|
179
|
-
'f_address2': '客户地址',
|
|
180
|
-
'f_workorder_type': '工单类型',
|
|
181
|
-
'f_repairtype': '报修类型',
|
|
182
|
-
'f_remarks2': '故障明细',
|
|
183
|
-
'f_repair_remarks': '维修结果',
|
|
184
|
-
'f_phone': '回访电话',
|
|
185
|
-
'f_visitdate': '回访时间',
|
|
186
|
-
'f_type': '回访类型',
|
|
187
|
-
'f_remarks': '回访内容'
|
|
188
|
-
},
|
|
189
|
-
searchData: {
|
|
190
|
-
condition: "1=1",
|
|
191
|
-
items: "*",
|
|
192
|
-
tablename: '(select t1.*, t2.f_user_name as f_user_name2, t2.f_address as f_address2, t2.f_workorder_type, t2.f_repairtype, t2.f_remarks as f_remarks2, t3.f_remarks as f_repair_remarks from t_telvisit t1 left join t_serviceworkorder t2 on t1.serviceid = t2.f_service_id LEFT JOIN ( SELECT * FROM t_servicework sw WHERE sw.id = ( SELECT MAX ( id ) FROM t_servicework WHERE serviceid = sw.serviceid ) ) t3 ON t2.id= t3.serviceid) t1',
|
|
193
|
-
orderitem: 't1.f_visitdate desc'
|
|
194
|
-
},
|
|
195
|
-
excelTitle: '回访记录导出',
|
|
196
|
-
}
|
|
197
|
-
},
|
|
198
|
-
ready() {
|
|
199
|
-
},
|
|
200
|
-
methods: {
|
|
201
|
-
hidden() {
|
|
202
|
-
this.criteriaShow = !this.criteriaShow
|
|
203
|
-
},
|
|
204
|
-
//置空 查询条件
|
|
205
|
-
clearmsg() {
|
|
206
|
-
this.$refs.paged.$refs.criteria.model = {}
|
|
207
|
-
},
|
|
208
|
-
playWav(val) {
|
|
209
|
-
this.wavflie = val;
|
|
210
|
-
this.show = true
|
|
211
|
-
},
|
|
212
|
-
closemodel() {
|
|
213
|
-
this.wavflie = '';
|
|
214
|
-
this.show = false
|
|
215
|
-
},
|
|
216
|
-
search() {
|
|
217
|
-
this.model.rows = []
|
|
218
|
-
this.$refs.paged.$refs.criteria.search()
|
|
219
|
-
this.searchData.condition = this.model.condition
|
|
220
|
-
},
|
|
221
|
-
},
|
|
222
|
-
computed: {
|
|
223
|
-
types() {
|
|
224
|
-
return [{label: '全部', value: ''}, ...this.$appdata.getParam('回访类型')]
|
|
225
|
-
}
|
|
226
|
-
}
|
|
227
|
-
}
|
|
228
|
-
</script>
|
|
229
|
-
<style scoped>
|
|
230
|
-
label {
|
|
231
|
-
width: 80px;
|
|
232
|
-
}
|
|
233
|
-
#pc-finduser-page .form-input-group {
|
|
234
|
-
margin: 5px 0px;
|
|
235
|
-
height: auto;
|
|
236
|
-
}
|
|
237
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div class="flex-row">
|
|
3
|
+
<div id="pc-finduser-page" class="flex bg-white p-10 basic-main">
|
|
4
|
+
<div class="span">
|
|
5
|
+
<criteria-paged :model="model" v-ref:paged v-if="!show">
|
|
6
|
+
<criteria partial='criteria' v-ref:criteria @condition-changed='search'>
|
|
7
|
+
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
8
|
+
<div class="row">
|
|
9
|
+
<div class="col-sm-3 form-group form-input-group" style="width: 20%">
|
|
10
|
+
<label class="font_normal_body" style="width: 40%">回访人</label>
|
|
11
|
+
<input type="text" class="input_search" v-model="model.f_visitman" placeholder='回访人'
|
|
12
|
+
condition="t1.f_visitman like '%{}%'"
|
|
13
|
+
:size="model.f_visitman ? model.f_visitman.length : 8">
|
|
14
|
+
</div>
|
|
15
|
+
|
|
16
|
+
<div class="col-sm-3 form-group form-input-group" style="width: 20%">
|
|
17
|
+
<label class="font_normal_body" style="width: 40%">电话号码</label>
|
|
18
|
+
<input type="text" class="input_search" v-model="model.f_phone" placeholder='电话号码'
|
|
19
|
+
condition="t1.f_phone like '%{}%'">
|
|
20
|
+
</div>
|
|
21
|
+
|
|
22
|
+
<div class="col-sm-3 form-group form-input-group" style="width: 20%">
|
|
23
|
+
<label class="font_normal_body" style="width: 40%">回访类型</label>
|
|
24
|
+
<v-select :value.sync="model.f_type"
|
|
25
|
+
v-model="model.f_type"
|
|
26
|
+
:options='$parent.$parent.types' placeholder='回访类型'
|
|
27
|
+
close-on-select condition="t1.f_type = '{}' "></v-select>
|
|
28
|
+
</div>
|
|
29
|
+
|
|
30
|
+
<div class="col-sm-3 form-group form-input-group" style="width: 20%">
|
|
31
|
+
<label class="font_normal_body" style="width: 40%">回访时间</label>
|
|
32
|
+
<datepicker placeholder="开始时间"
|
|
33
|
+
v-model="model.comingtime"
|
|
34
|
+
:value.sync="model.comingtime"
|
|
35
|
+
condition="t1.f_visitdate > '{}'"
|
|
36
|
+
:format="'yyyy-MM-dd 00:00:00'"
|
|
37
|
+
></datepicker>
|
|
38
|
+
</div>
|
|
39
|
+
|
|
40
|
+
<div style="float: right;" class="form-group span">
|
|
41
|
+
<button type="button" name="button" style="background-color: #5ac0d9;border-radius: 4px;"
|
|
42
|
+
class="button_spacing button_search" @click="$parent.$parent.clearmsg">置空
|
|
43
|
+
</button>
|
|
44
|
+
<button type="button" name="button"
|
|
45
|
+
class="button_search button_spacing" @click="$parent.$parent.search">查询
|
|
46
|
+
</button>
|
|
47
|
+
<div style="float: right;" class="button_spacing"
|
|
48
|
+
:class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
|
|
49
|
+
@click="$parent.$parent.hidden()"></div>
|
|
50
|
+
<export-excel-tel :data="$parent.$parent.searchData"
|
|
51
|
+
:field="$parent.$parent.excelHeaders"
|
|
52
|
+
:choose-col="true"
|
|
53
|
+
sqlurl="rs/logic/telephoneExport" sql-name="tel_singleTable_OrderBy"
|
|
54
|
+
:template-name="$parent.$parent.excelTitle"></export-excel-tel>
|
|
55
|
+
</div>
|
|
56
|
+
|
|
57
|
+
</div>
|
|
58
|
+
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
59
|
+
<div class="col-sm-3 form-group form-input-group" style="width: 20%">
|
|
60
|
+
<label class="font_normal_body" style="width: 40%">回访时间</label>
|
|
61
|
+
<datepicker placeholder="结束时间"
|
|
62
|
+
v-model="model.endtime"
|
|
63
|
+
:value.sync="model.endtime"
|
|
64
|
+
condition="t1.f_visitdate < '{}'"
|
|
65
|
+
:format="'yyyy-MM-dd 23:59:59'"
|
|
66
|
+
></datepicker>
|
|
67
|
+
</div>
|
|
68
|
+
</div>
|
|
69
|
+
</div>
|
|
70
|
+
</criteria>
|
|
71
|
+
<data-grid :model="model" partial='list' v-ref:grid class="list_area table_sy">
|
|
72
|
+
<template partial='head'>
|
|
73
|
+
<tr>
|
|
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
|
+
<th>
|
|
105
|
+
<nobr>回访内容</nobr>
|
|
106
|
+
</th>
|
|
107
|
+
<th>
|
|
108
|
+
<nobr>回访备注</nobr>
|
|
109
|
+
</th>
|
|
110
|
+
</tr>
|
|
111
|
+
</template>
|
|
112
|
+
<template partial='body'>
|
|
113
|
+
<td style="text-align: center">
|
|
114
|
+
<nobr>{{ $index + 1 }}</nobr>
|
|
115
|
+
</td>
|
|
116
|
+
<td style="text-align: center">
|
|
117
|
+
<nobr>{{ row.f_user_name2 }} {{ row.f_address2 }} </nobr>
|
|
118
|
+
</td>
|
|
119
|
+
<td style="text-align: center">
|
|
120
|
+
<nobr>{{ row.f_workorder_type }}</nobr>
|
|
121
|
+
</td>
|
|
122
|
+
<td style="text-align: center">
|
|
123
|
+
<nobr>{{ row.f_repairtype }}</nobr>
|
|
124
|
+
</td>
|
|
125
|
+
<td style="text-align: center">
|
|
126
|
+
<nobr>{{row.f_remarks2}}</nobr>
|
|
127
|
+
</td>
|
|
128
|
+
<td style="text-align: center">
|
|
129
|
+
<nobr>{{ row.f_repair_remarks }}</nobr>
|
|
130
|
+
</td>
|
|
131
|
+
<td style="text-align: center">
|
|
132
|
+
<nobr>{{ row.f_visitman }}</nobr>
|
|
133
|
+
</td>
|
|
134
|
+
<td style="text-align: center">
|
|
135
|
+
<nobr>{{ row.f_phone }}</nobr>
|
|
136
|
+
</td>
|
|
137
|
+
<td style="text-align: center">
|
|
138
|
+
<nobr>{{ row.f_visitdate }}</nobr>
|
|
139
|
+
</td>
|
|
140
|
+
<td style="text-align: center">
|
|
141
|
+
<nobr>{{ row.f_type }}</nobr>
|
|
142
|
+
</td>
|
|
143
|
+
<td style="text-align: center">
|
|
144
|
+
<nobr>{{ row.f_remarks }}</nobr>
|
|
145
|
+
</td>
|
|
146
|
+
<td style="text-align: center">
|
|
147
|
+
<nobr>{{ row.f_bz }}</nobr>
|
|
148
|
+
</td>
|
|
149
|
+
</template>
|
|
150
|
+
</data-grid>
|
|
151
|
+
</criteria-paged>
|
|
152
|
+
</div>
|
|
153
|
+
</div>
|
|
154
|
+
</div>
|
|
155
|
+
</template>
|
|
156
|
+
|
|
157
|
+
<script>
|
|
158
|
+
import {PagedList} from 'vue-client'
|
|
159
|
+
|
|
160
|
+
export default {
|
|
161
|
+
title: '回访记录',
|
|
162
|
+
data() {
|
|
163
|
+
return {
|
|
164
|
+
model: new PagedList('rs/sql/tel_singleTable_OrderBy', 20, {
|
|
165
|
+
items: "'t1.*, t2.f_user_name as f_user_name2, t2.f_address as f_address2, t2.f_workorder_type, t2.f_repairtype, t2.f_remarks as f_remarks2, t2.failure, t3.f_remarks as f_repair_remarks'", tablename: "'t_telvisit t1 left join t_serviceworkorder t2 on t1.serviceid = t2.f_service_id LEFT JOIN ( SELECT * FROM t_servicework sw WHERE sw.id = ( SELECT MAX ( id ) FROM t_servicework WHERE serviceid = sw.serviceid ) ) t3 ON t2.id= t3.serviceid'",
|
|
166
|
+
orderitem: "'t1.f_visitdate desc'"
|
|
167
|
+
}),
|
|
168
|
+
row: null,
|
|
169
|
+
show: false,
|
|
170
|
+
wavflie: '',
|
|
171
|
+
orderMan: '',
|
|
172
|
+
msgs: [],
|
|
173
|
+
service: Object,
|
|
174
|
+
pendingCount: 0,
|
|
175
|
+
serobj: Object,
|
|
176
|
+
criteriaShow: false,
|
|
177
|
+
excelHeaders: {
|
|
178
|
+
'f_user_name2': '客户姓名',
|
|
179
|
+
'f_address2': '客户地址',
|
|
180
|
+
'f_workorder_type': '工单类型',
|
|
181
|
+
'f_repairtype': '报修类型',
|
|
182
|
+
'f_remarks2': '故障明细',
|
|
183
|
+
'f_repair_remarks': '维修结果',
|
|
184
|
+
'f_phone': '回访电话',
|
|
185
|
+
'f_visitdate': '回访时间',
|
|
186
|
+
'f_type': '回访类型',
|
|
187
|
+
'f_remarks': '回访内容'
|
|
188
|
+
},
|
|
189
|
+
searchData: {
|
|
190
|
+
condition: "1=1",
|
|
191
|
+
items: "*",
|
|
192
|
+
tablename: '(select t1.*, t2.f_user_name as f_user_name2, t2.f_address as f_address2, t2.f_workorder_type, t2.f_repairtype, t2.f_remarks as f_remarks2, t3.f_remarks as f_repair_remarks from t_telvisit t1 left join t_serviceworkorder t2 on t1.serviceid = t2.f_service_id LEFT JOIN ( SELECT * FROM t_servicework sw WHERE sw.id = ( SELECT MAX ( id ) FROM t_servicework WHERE serviceid = sw.serviceid ) ) t3 ON t2.id= t3.serviceid) t1',
|
|
193
|
+
orderitem: 't1.f_visitdate desc'
|
|
194
|
+
},
|
|
195
|
+
excelTitle: '回访记录导出',
|
|
196
|
+
}
|
|
197
|
+
},
|
|
198
|
+
ready() {
|
|
199
|
+
},
|
|
200
|
+
methods: {
|
|
201
|
+
hidden() {
|
|
202
|
+
this.criteriaShow = !this.criteriaShow
|
|
203
|
+
},
|
|
204
|
+
//置空 查询条件
|
|
205
|
+
clearmsg() {
|
|
206
|
+
this.$refs.paged.$refs.criteria.model = {}
|
|
207
|
+
},
|
|
208
|
+
playWav(val) {
|
|
209
|
+
this.wavflie = val;
|
|
210
|
+
this.show = true
|
|
211
|
+
},
|
|
212
|
+
closemodel() {
|
|
213
|
+
this.wavflie = '';
|
|
214
|
+
this.show = false
|
|
215
|
+
},
|
|
216
|
+
search() {
|
|
217
|
+
this.model.rows = []
|
|
218
|
+
this.$refs.paged.$refs.criteria.search()
|
|
219
|
+
this.searchData.condition = this.model.condition
|
|
220
|
+
},
|
|
221
|
+
},
|
|
222
|
+
computed: {
|
|
223
|
+
types() {
|
|
224
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('回访类型')]
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
</script>
|
|
229
|
+
<style scoped>
|
|
230
|
+
label {
|
|
231
|
+
width: 80px;
|
|
232
|
+
}
|
|
233
|
+
#pc-finduser-page .form-input-group {
|
|
234
|
+
margin: 5px 0px;
|
|
235
|
+
height: auto;
|
|
236
|
+
}
|
|
237
|
+
</style>
|