telephone-clients 4.0.0-1-56 → 4.0.0-1-58

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.
@@ -1,26 +1,26 @@
1
- // 分公司特殊组件页面注册
2
- import Vue from "vue";
3
-
4
- //pc和手机端重写组件较多的话 建议将cp和android分到两个文件中
5
- let specialComp = {
6
- // 其他收费
7
- 'other_charge': (resolve) => { require(['./android/Othercharge'], resolve) },
8
- 'completed-repair': (resolve) => { require(['./android/CompletedRepair'], resolve) },
9
- 'repair-first': (resolve) => { require(['./android/RepairFirstV'], resolve) },
10
- // 支付二维码
11
- 'create_qrcode': (resolve) => { require(['./android/createQRcode'], resolve) },
12
- // 在线缴费
13
- 'online_buy_gas': (resolve) => { require(['./android/onlineBuyGas'], resolve) },
14
- 'add-my-task': (resolve) => { require(['./android/AddMyTask'], resolve) },
15
- 'phone-stand-work': (resolve) => { require(['./android/PhoneStandWork'], resolve) },
16
- 'repair-orderV': (resolve) => { require(['./android/RepairOrderV'], resolve) },
17
- 'fault-all': (resolve) => { require(['./android/FaultAll'], resolve) },
18
- 'service-online-query': (resolve) => { require(['./android/ServiceOnlineQuery'], resolve) },
19
- 'app-work-history': (resolve) => { require(['./android/AppWorkHistory'], resolve) }
20
-
21
- }
22
- exports.specialComp = specialComp
23
-
24
-
25
-
26
-
1
+ // 分公司特殊组件页面注册
2
+ import Vue from "vue";
3
+
4
+ //pc和手机端重写组件较多的话 建议将cp和android分到两个文件中
5
+ let specialComp = {
6
+ // 其他收费
7
+ 'other_charge': (resolve) => { require(['./android/Othercharge'], resolve) },
8
+ 'completed-repair': (resolve) => { require(['./android/CompletedRepair'], resolve) },
9
+ 'repair-first': (resolve) => { require(['./android/RepairFirstV'], resolve) },
10
+ // 支付二维码
11
+ 'create_qrcode': (resolve) => { require(['./android/createQRcode'], resolve) },
12
+ // 在线缴费
13
+ 'online_buy_gas': (resolve) => { require(['./android/onlineBuyGas'], resolve) },
14
+ 'add-my-task': (resolve) => { require(['./android/AddMyTask'], resolve) },
15
+ 'phone-stand-work': (resolve) => { require(['./android/PhoneStandWork'], resolve) },
16
+ 'repair-orderV': (resolve) => { require(['./android/RepairOrderV'], resolve) },
17
+ 'fault-all': (resolve) => { require(['./android/FaultAll'], resolve) },
18
+ 'service-online-query': (resolve) => { require(['./android/ServiceOnlineQuery'], resolve) },
19
+ 'app-work-history': (resolve) => { require(['./android/AppWorkHistory'], resolve) }
20
+
21
+ }
22
+ exports.specialComp = specialComp
23
+
24
+
25
+
26
+
@@ -1,272 +1,278 @@
1
- <template >
2
- <div class="flex-row">
3
- <div id="stand-work-list" class="flex bg-white p-10 basic-main" style="flex-direction: row">
4
- <div style="width: 40%;height: 100%" v-show="leftShow">
5
- <div class="row" style="height: 10%;width: 50%">
6
- <div class="form-group form-input-group" style="display: flex;justify-content: flex-start">
7
- <label class="font_normal_body" style="width: 40%">查询日期</label>
8
- <datepicker placeholder="查询日期"
9
- :value.sync="searchDate"
10
- v-model="searchDate"
11
- :format="'yyyy-MM-dd HH:mm:ss'"
12
- ></datepicker>
13
- <button type="button" name="button"
14
- class="button_search button_spacing" style="z-index: 2" @click="searchEcharts()">查询</button>
15
- </div>
16
- </div>
17
- <div style="height: 45%;" id="husunzhexian1"></div>
18
- <div style="height: 45%;" id="husunzhexian2"></div>
19
- </div>
20
- <div class="span" style="width: 60%;overflow: auto">
21
- <visit-info v-if="showVisit" :phone="wavflie" :idwavfile="idwavfile" :outltime="outltime" @show-obj="watchShow"></visit-info>
22
- <criteria-paged :model="model" v-else v-ref:paged>
23
- <criteria partial='criteria' v-ref:criteria @condition-changed='$parent.search'>
24
- <div novalidate class="form-inline" partial>
25
- <div class="row">
26
- <div class="col-sm-3 form-group form-input-group">
27
- <label class="font_normal_body" style="width: 35%">电话号码</label>
28
- <input type="text" class="input_search" v-model="model.telnum" placeholder='电话号码'
29
- condition="telnum like '%{}%'"
30
- :size="model.telnum ? model.telnum.length : 7">
31
- </div>
32
-
33
- <div class="col-sm-3 form-group form-input-group">
34
- <label class="font_normal_body" style="width: 40%">来电时间</label>
35
- <datepicker placeholder="开始时间"
36
- :value.sync="model.f_date"
37
- v-model="model.f_date"
38
- :format="'yyyy-MM-dd HH:mm:ss'"
39
- condition="outltime > '{}'"
40
- ></datepicker>
41
- </div>
42
- <div class="col-sm-3 form-group form-input-group">
43
- <label class="font_normal_body" style="width: 40%">来电时间</label>
44
- <datepicker placeholder="结束时间"
45
- :value.sync="model.f_end_date"
46
- v-model="model.f_end_date"
47
- :format="'yyyy-MM-dd HH:mm:ss'"
48
- condition="outltime < '{}'"
49
- ></datepicker>
50
- </div>
51
- <div class="col-sm-3 form-group form-input-group">
52
- <label class="font_normal_body" style="width: 35%">回访状态</label>
53
- <v-select :value.sync="model.f_flghuifang"
54
- :options='$parent.$parent.huifangs'
55
- :value-single="true"
56
- placeholder='请选择回访状态'
57
- close-on-select
58
- style="width: 60%"
59
- ></v-select>
60
- </div>
61
- <div style="float: right;" class="form-group span">
62
- <button type="button" name="button"
63
- class="button_search button_spacing" @click="search(),$dispatch('search')" style="z-index: 2">查询</button>
64
- <export-excel-tel
65
- :data="$parent.$parent.searchData"
66
- :field="$parent.$parent.excelHeaders"
67
- sqlurl="af-telephone/rs/logic/telephoneExport" sql-name="tel_singleTable_OrderBy" template-name='呼损记录导出'
68
- :choose-col="true">
69
- </export-excel-tel>
70
- </div>
71
- </div>
72
- </div>
73
- </criteria>
74
- <data-grid partial='list' v-ref:grid :model="model" class="list_area table_sy">
75
- <template partial='head'>
76
- <tr>
77
- <th><nobr>电话号码</nobr></th>
78
- <th><nobr>来电时间</nobr></th>
79
- <th><nobr>操作</nobr></th>
80
- </tr>
81
- </template>
82
- <template partial='body'>
83
- <td style="text-align: center">{{row.telnum}}</td>
84
- <td style="text-align: center">{{row.outltime}}</td>
85
- <td style="text-align: center">
86
- <button-link v-show="!row.f_flghuifang" type="button" class="btn btn-link" @click="$parent.$parent.$parent.playWav(row.telnum,row.id)">回拨</button-link>
87
- </td>
88
- </template>
89
- </data-grid>
90
- </criteria-paged>
91
- </div>
92
- </div>
93
- </div>
94
- <!-- <modal :show.sync="showVisit" v-ref:modal backdrop="false">-->
95
- <!-- <header slot="modal-header" class="modal-header">-->
96
- <!-- </header>-->
97
- <!-- <article slot="modal-body" class="modal-body">-->
98
- <!-- <visit-info v-if="showVisit" :phone="wavflie" :idwavfile="idwavfile" :outltime="outltime" @show-obj="watchShow"></visit-info>-->
99
- <!-- </article>-->
100
- <!-- <footer slot="modal-footer" class="modal-footer">-->
101
- <!-- </footer>-->
102
- <!-- </modal>-->
103
- </template>
104
-
105
- <script>
106
- import {HttpResetClass, PagedList} from 'vue-client'
107
- import * as Util from '../../../components/Util'
108
- export default {
109
- title: '呼损记录',
110
- data () {
111
- return {
112
- model: new PagedList('af-telephone/rs/sql/tel_singleTable_OrderBy', 20, {items: "'*'", tablename: "'t_records'", orderitem: "'outltime desc'" }),
113
- row: null,
114
- show: false,
115
- wavflie : '',
116
- idwavfile:'',
117
- leftShow:true,
118
- searchDate:Util.toStandardDateString(),
119
- orderMan: '',
120
- msgs: [],
121
- huifangs:[{label:"全部",value:""},{label:"已回访",value:"已回访"},{label:"未回访",value:"未回访"}],
122
- service: Object,
123
- pendingCount: 0,
124
- serobj:Object,
125
- showVisit:false,
126
- outltime:this.getNowFormatDate(),
127
- searchData:{
128
- items: "*",
129
- tablename: "t_records",
130
- orderitem: "outltime desc",
131
- condition: '1=1'
132
- },
133
- excelHeaders: {
134
- 'telnum': '电话号码',
135
- 'outltime': '来电时间',
136
- },
137
- }
138
- },
139
- ready () {
140
- this.$refs.paged.$refs.criteria.model.f_flghuifang = '未回访'
141
- this.leftShow = (this.$parent.leftShow == undefined ? true : this.$parent.leftShow)
142
- this.renderEcharts(Util.toStandardDateString())
143
- // this.selfSearch()
144
-
145
- },
146
- methods: {
147
- searchEcharts(){
148
- console.log("9334",this.searchDate)
149
- this.renderEcharts(this.searchDate)
150
- },
151
- //获取当前日期
152
- renderEcharts(date){
153
- console.log("933",Util.addDate(3,date),Util.addDate(-3),date)
154
- new HttpResetClass().load("post",'af-telephone/rs/sql/getLossPhoneByTime',{
155
- data:{
156
- groupitem:'SUBSTRING(outltime, 0, 11)',
157
- condition:`outltime>='${Util.addDate(-3,date)} 00:00:00' and outltime<='${Util.addDate(3,date)} 23:59:59' and f_filiale_id = '${this.$login.f.orgid}'`
158
- }
159
- },{resolveMsg:null,rejectMsg:null}).then(res=>{
160
- let myChart1 = this.$echarts.init(document.getElementById(("husunzhexian1")))
161
- myChart1.setOption(this.getAOptions("呼损日分析表",res.data))
162
- })
163
-
164
- new HttpResetClass().load("post",'af-telephone/rs/sql/getLossPhoneByTime',{
165
- data:{
166
- groupitem:"SUBSTRING(outltime, 12, 2)+':00'",
167
- condition:`outltime>='${Util.toStandardDateString(date)} 08:00:00' and outltime<='${Util.toStandardDateString(date)} 18:59:59' and f_filiale_id = '${this.$login.f.orgid}'`
168
- }
169
- },{resolveMsg:null,rejectMsg:null}).then(res=>{
170
- let myChart1 = this.$echarts.init(document.getElementById(("husunzhexian2")))
171
- myChart1.setOption(this.getAOptions("呼损时分析表",res.data))
172
- })
173
- },
174
- getAOptions(title,arr){
175
-
176
- return {
177
- color: ['rgb(155,214,129)', '#73c0de'],
178
- title: {
179
- text: title
180
- },
181
- tooltip: {
182
- trigger: 'axis'
183
- },
184
- legend: {
185
- data: ['忙线', '未接']
186
- },
187
- grid: {
188
- left: '3%',
189
- right: '4%',
190
- bottom: '3%',
191
- containLabel: true
192
- },
193
- toolbox: {
194
- feature: {
195
- saveAsImage: {}
196
- }
197
- },
198
- xAxis: {
199
- type: 'category',
200
- boundaryGap: false,
201
- data: arr.map(item=>{
202
- if(title === '呼损日分析表'){
203
- return item.timearea.substr(5,5)
204
- }
205
- return item.timearea
206
- })
207
- },
208
- yAxis: {
209
- type: 'value'
210
- },
211
- series: [
212
- {
213
- name: '未接',
214
- type: 'line',
215
- stack: 'Total',
216
- data: arr.map(item=>item.weijie)
217
- },
218
- {
219
- name: '忙线',
220
- type: 'line',
221
- stack: 'Total',
222
- data: arr.map(item=>item.zhanxian)
223
- },
224
- ]
225
- }
226
- },
227
- getNowFormatDate() {
228
- var date = new Date();
229
- var seperator1 = "-";
230
- var month = date.getMonth() + 1;
231
- var strDate = date.getDate();
232
- if (month >= 1 && month <= 9) {
233
- month = "0" + month;
234
- }
235
- if (strDate >= 0 && strDate <= 9) {
236
- strDate = "0" + strDate;
237
- }
238
- var currentdate = date.getFullYear() + seperator1 + month + seperator1 + strDate + ' 23:59:59'
239
- return currentdate;
240
- },
241
- watchShow(val){
242
- this.showVisit = val
243
- },
244
- clearVisit(){
245
- this.show = false
246
- },
247
- playWav(val,val1){
248
- if (!this.leftShow){
249
- this.$parent.setUserPhone(val)
250
- }
251
- this.wavflie=val;
252
- this.idwavfile=val1
253
- this.showVisit = true
254
- },
255
- closemodel () {
256
- this.showVisit = false
257
- },
258
- search(args) {
259
- if(args.model.f_flghuifang){
260
- if(args.model.f_flghuifang==='已回访'){
261
- args.condition += ` and f_flghuifang = '已回访'`
262
- }else{
263
- args.condition += ` and f_flghuifang is null`
264
- }
265
- }
266
- args.condition += " AND isnull(starttime,'') = '' AND isnull(findtime,'') != ''"
267
- this.searchData.condition = args.condition
268
- this.model.search(args.condition)
269
- },
270
- },
271
- }
272
- </script>
1
+ <template >
2
+ <div class="flex-row">
3
+ <div id="stand-work-list" class="flex bg-white p-10 basic-main" style="flex-direction: row">
4
+ <div style="width: 40%;height: 100%" v-show="leftShow">
5
+ <div class="row" style="height: 10%;width: 50%">
6
+ <div class="form-group form-input-group" style="display: flex;justify-content: flex-start">
7
+ <label class="font_normal_body" style="width: 40%">查询日期</label>
8
+ <datepicker placeholder="查询日期"
9
+ :value.sync="searchDate"
10
+ v-model="searchDate"
11
+ :format="'yyyy-MM-dd HH:mm:ss'"
12
+ ></datepicker>
13
+ <button type="button" name="button"
14
+ class="button_search button_spacing" style="z-index: 2" @click="searchEcharts()">查询</button>
15
+ </div>
16
+ </div>
17
+ <div style="height: 45%;" id="husunzhexian1"></div>
18
+ <div style="height: 45%;" id="husunzhexian2"></div>
19
+ </div>
20
+ <div class="span" style="width: 60%;overflow: auto">
21
+ <visit-info v-if="showVisit" :phone="wavflie" :idwavfile="idwavfile" :outltime="outltime" @show-obj="watchShow" v-on:visitback="visitback" ></visit-info>
22
+ <criteria-paged :model="model" v-else v-ref:paged>
23
+ <criteria partial='criteria' v-ref:criteria @condition-changed='$parent.search'>
24
+ <div novalidate class="form-inline" partial>
25
+ <div class="row">
26
+ <div class="col-sm-3 form-group form-input-group">
27
+ <label class="font_normal_body" style="width: 35%">电话号码</label>
28
+ <input type="text" class="input_search" v-model="model.telnum" placeholder='电话号码'
29
+ condition="telnum like '%{}%'"
30
+ :size="model.telnum ? model.telnum.length : 7">
31
+ </div>
32
+
33
+ <div class="col-sm-3 form-group form-input-group">
34
+ <label class="font_normal_body" style="width: 40%">来电时间</label>
35
+ <datepicker placeholder="开始时间"
36
+ :value.sync="model.f_date"
37
+ v-model="model.f_date"
38
+ :format="'yyyy-MM-dd HH:mm:ss'"
39
+ condition="outltime > '{}'"
40
+ ></datepicker>
41
+ </div>
42
+ <div class="col-sm-3 form-group form-input-group">
43
+ <label class="font_normal_body" style="width: 40%">来电时间</label>
44
+ <datepicker placeholder="结束时间"
45
+ :value.sync="model.f_end_date"
46
+ v-model="model.f_end_date"
47
+ :format="'yyyy-MM-dd HH:mm:ss'"
48
+ condition="outltime < '{}'"
49
+ ></datepicker>
50
+ </div>
51
+ <div class="col-sm-3 form-group form-input-group">
52
+ <label class="font_normal_body" style="width: 35%">回访状态</label>
53
+ <v-select :value.sync="model.f_flghuifang"
54
+ :options='$parent.$parent.huifangs'
55
+ :value-single="true"
56
+ placeholder='请选择回访状态'
57
+ close-on-select
58
+ style="width: 60%"
59
+ ></v-select>
60
+ </div>
61
+ <div style="float: right;" class="form-group span">
62
+ <button type="button" name="button"
63
+ class="button_search button_spacing" @click="search(),$dispatch('search')" style="z-index: 2">查询</button>
64
+ <export-excel-tel
65
+ :data="$parent.$parent.searchData"
66
+ :field="$parent.$parent.excelHeaders"
67
+ sqlurl="af-telephone/rs/logic/telephoneExport" sql-name="tel_singleTable_OrderBy" template-name='呼损记录导出'
68
+ :choose-col="true">
69
+ </export-excel-tel>
70
+ </div>
71
+ </div>
72
+ </div>
73
+ </criteria>
74
+ <data-grid partial='list' v-ref:grid :model="model" class="list_area table_sy">
75
+ <template partial='head'>
76
+ <tr>
77
+ <th><nobr>电话号码</nobr></th>
78
+ <th><nobr>来电时间</nobr></th>
79
+ <th><nobr>操作</nobr></th>
80
+ </tr>
81
+ </template>
82
+ <template partial='body'>
83
+ <td style="text-align: center">{{row.telnum}}</td>
84
+ <td style="text-align: center">{{row.outltime}}</td>
85
+ <td style="text-align: center">
86
+ <button-link v-show="!row.f_flghuifang" type="button" class="btn btn-link" @click="$parent.$parent.$parent.playWav(row.telnum,row.id)">回拨</button-link>
87
+ </td>
88
+ </template>
89
+ </data-grid>
90
+ </criteria-paged>
91
+ </div>
92
+ </div>
93
+ </div>
94
+ <!-- <modal :show.sync="showVisit" v-ref:modal backdrop="false">-->
95
+ <!-- <header slot="modal-header" class="modal-header">-->
96
+ <!-- </header>-->
97
+ <!-- <article slot="modal-body" class="modal-body">-->
98
+ <!-- <visit-info v-if="showVisit" :phone="wavflie" :idwavfile="idwavfile" :outltime="outltime" @show-obj="watchShow"></visit-info>-->
99
+ <!-- </article>-->
100
+ <!-- <footer slot="modal-footer" class="modal-footer">-->
101
+ <!-- </footer>-->
102
+ <!-- </modal>-->
103
+ </template>
104
+
105
+ <script>
106
+ import {HttpResetClass, PagedList} from 'vue-client'
107
+ import * as Util from '../../../components/Util'
108
+ export default {
109
+ title: '呼损记录',
110
+ data () {
111
+ return {
112
+ model: new PagedList('af-telephone/rs/sql/tel_singleTable_OrderBy', 20, {items: "'*'", tablename: "'t_records'", orderitem: "'outltime desc'" }),
113
+ row: null,
114
+ show: false,
115
+ wavflie : '',
116
+ idwavfile:'',
117
+ leftShow:true,
118
+ searchDate:Util.toStandardDateString(),
119
+ orderMan: '',
120
+ msgs: [],
121
+ huifangs:[{label:"全部",value:""},{label:"已回访",value:"已回访"},{label:"未回访",value:"未回访"}],
122
+ service: Object,
123
+ pendingCount: 0,
124
+ serobj:Object,
125
+ showVisit:false,
126
+ outltime:this.getNowFormatDate(),
127
+ searchData:{
128
+ items: "*",
129
+ tablename: "t_records",
130
+ orderitem: "outltime desc",
131
+ condition: '1=1'
132
+ },
133
+ excelHeaders: {
134
+ 'telnum': '电话号码',
135
+ 'outltime': '来电时间',
136
+ },
137
+ }
138
+ },
139
+ ready () {
140
+ this.$refs.paged.$refs.criteria.model.f_flghuifang = '未回访'
141
+ this.leftShow = (this.$parent.leftShow == undefined ? true : this.$parent.leftShow)
142
+ this.renderEcharts(Util.toStandardDateString())
143
+ // this.selfSearch()
144
+
145
+ },
146
+ methods: {
147
+ visitback(val){
148
+ this.showVisit = false
149
+ if(val == 'commit'){
150
+ this.$refs.paged.$refs.criteria.search()
151
+ }
152
+ },
153
+ searchEcharts(){
154
+ console.log("9334",this.searchDate)
155
+ this.renderEcharts(this.searchDate)
156
+ },
157
+ //获取当前日期
158
+ renderEcharts(date){
159
+ console.log("933",Util.addDate(3,date),Util.addDate(-3),date)
160
+ new HttpResetClass().load("post",'af-telephone/rs/sql/getLossPhoneByTime',{
161
+ data:{
162
+ groupitem:'SUBSTRING(outltime, 0, 11)',
163
+ condition:`outltime>='${Util.addDate(-3,date)} 00:00:00' and outltime<='${Util.addDate(3,date)} 23:59:59' and f_filiale_id = '${this.$login.f.orgid}'`
164
+ }
165
+ },{resolveMsg:null,rejectMsg:null}).then(res=>{
166
+ let myChart1 = this.$echarts.init(document.getElementById(("husunzhexian1")))
167
+ myChart1.setOption(this.getAOptions("呼损日分析表",res.data))
168
+ })
169
+
170
+ new HttpResetClass().load("post",'af-telephone/rs/sql/getLossPhoneByTime',{
171
+ data:{
172
+ groupitem:"SUBSTRING(outltime, 12, 2)+':00'",
173
+ condition:`outltime>='${Util.toStandardDateString(date)} 08:00:00' and outltime<='${Util.toStandardDateString(date)} 18:59:59' and f_filiale_id = '${this.$login.f.orgid}'`
174
+ }
175
+ },{resolveMsg:null,rejectMsg:null}).then(res=>{
176
+ let myChart1 = this.$echarts.init(document.getElementById(("husunzhexian2")))
177
+ myChart1.setOption(this.getAOptions("呼损时分析表",res.data))
178
+ })
179
+ },
180
+ getAOptions(title,arr){
181
+
182
+ return {
183
+ color: ['rgb(155,214,129)', '#73c0de'],
184
+ title: {
185
+ text: title
186
+ },
187
+ tooltip: {
188
+ trigger: 'axis'
189
+ },
190
+ legend: {
191
+ data: ['忙线', '未接']
192
+ },
193
+ grid: {
194
+ left: '3%',
195
+ right: '4%',
196
+ bottom: '3%',
197
+ containLabel: true
198
+ },
199
+ toolbox: {
200
+ feature: {
201
+ saveAsImage: {}
202
+ }
203
+ },
204
+ xAxis: {
205
+ type: 'category',
206
+ boundaryGap: false,
207
+ data: arr.map(item=>{
208
+ if(title === '呼损日分析表'){
209
+ return item.timearea.substr(5,5)
210
+ }
211
+ return item.timearea
212
+ })
213
+ },
214
+ yAxis: {
215
+ type: 'value'
216
+ },
217
+ series: [
218
+ {
219
+ name: '未接',
220
+ type: 'line',
221
+ stack: 'Total',
222
+ data: arr.map(item=>item.weijie)
223
+ },
224
+ {
225
+ name: '忙线',
226
+ type: 'line',
227
+ stack: 'Total',
228
+ data: arr.map(item=>item.zhanxian)
229
+ },
230
+ ]
231
+ }
232
+ },
233
+ getNowFormatDate() {
234
+ var date = new Date();
235
+ var seperator1 = "-";
236
+ var month = date.getMonth() + 1;
237
+ var strDate = date.getDate();
238
+ if (month >= 1 && month <= 9) {
239
+ month = "0" + month;
240
+ }
241
+ if (strDate >= 0 && strDate <= 9) {
242
+ strDate = "0" + strDate;
243
+ }
244
+ var currentdate = date.getFullYear() + seperator1 + month + seperator1 + strDate + ' 23:59:59'
245
+ return currentdate;
246
+ },
247
+ watchShow(val){
248
+ this.showVisit = val
249
+ },
250
+ clearVisit(){
251
+ this.show = false
252
+ },
253
+ playWav(val,val1){
254
+ if (!this.leftShow){
255
+ this.$parent.setUserPhone(val)
256
+ }
257
+ this.wavflie=val;
258
+ this.idwavfile=val1
259
+ this.showVisit = true
260
+ },
261
+ closemodel () {
262
+ this.showVisit = false
263
+ },
264
+ search(args) {
265
+ if(args.model.f_flghuifang){
266
+ if(args.model.f_flghuifang==='已回访'){
267
+ args.condition += ` and f_flghuifang = '已回访'`
268
+ }else{
269
+ args.condition += ` and f_flghuifang is null`
270
+ }
271
+ }
272
+ args.condition += " AND isnull(starttime,'') = '' AND isnull(findtime,'') != ''"
273
+ this.searchData.condition = args.condition
274
+ this.model.search(args.condition)
275
+ },
276
+ },
277
+ }
278
+ </script>