manage-client 3.3.62 → 3.3.64
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/sale/filesquery/MeterQuery.vue +5 -0
- package/src/components/webmeter/DrillData/GetNoMetereadData.vue +1 -1
- package/src/components/webmeter/DrillData/LostContactAnalysis.vue +1 -1
- package/src/components/webmeter/DrillData/LostContactAnalysisList.vue +1 -1
- package/src/components/webmeter/DrillData/UserGasAll.vue +1 -1
- package/src/components/webmeter/DrillData/UserLostContactAnalysis.vue +1 -1
- package/src/components/webmeter/dataCollection/DataCollection.vue +1 -1
- package/src/components/webmeter/gasAnalysis/NewWebmeterSettlementAnalysis.vue +1 -1
- package/src/components/webmeter/gasAnalysis/WebmeterSettlementAnalysis.vue +1 -1
- package/src/components/webmeter/gasStatistics/GasStatistics.vue +1 -1
- package/src/components/webmeter/gasStatistics/NewGasStatistics.vue +1 -1
- package/src/components/webmeter/handplan/NewWebMeterHandPlan.vue +1 -1
- package/src/components/webmeter/instruction/NewQueryInstruct.vue +1 -1
- package/src/components/webmeter/newwebmeter/ArrearageQuery.vue +1 -1
- package/src/components/webmeter/newwebmeter/NewException/NewMeterException.vue +1 -1
- package/src/components/webmeter/newwebmeter/NewException/TotalExceptionByMeter.vue +1 -1
- package/src/components/webmeter/newwebmeter/PriceInstructDetail.vue +1 -1
- package/src/components/webmeter/newwebmeter/PriceInstructList.vue +1 -1
- package/src/components/webmeter/newwebmeter/UserGasList.vue +1 -1
- package/src/components/webmeter/newwebmeter/UserInstructList.vue +1 -1
- package/src/components/webmeter/newwebmeter/signAnalysisListMain.vue +1 -1
- package/src/components/webmeter/recharge/RechargeList.vue +1 -1
- package/src/components/webmeter/report/ReportList.vue +1 -1
- package/src/components/webmeter/reportdata/ReportDataQuery.vue +1 -1
- package/src/filiale/WEINAN/BusinessManage.vue +1 -1
- package/src/filiale/WEINAN/CancellationQuery.vue +3 -10
- package/src/filiale/WEINAN/ChangeMeterQuery.vue +56 -0
- package/src/filiale/WEINAN/ChargeQuery.vue +3 -5
- package/src/filiale/WEINAN/DeviceQuery.vue +3 -10
- package/src/filiale/WEINAN/DisableQuery.vue +3 -10
- package/src/filiale/WEINAN/EnableQuery.vue +3 -10
- package/src/filiale/WEINAN/FillGasQuery.vue +3 -10
- package/src/filiale/WEINAN/InspectListUser.vue +0 -35
- package/src/filiale/WEINAN/MergeFileQuery.vue +3 -10
- package/src/filiale/WEINAN/MeterQuery.vue +3 -5
- package/src/filiale/WEINAN/NewAccountQuery.vue +3 -5
- package/src/filiale/WEINAN/OtherChargeQuery.vue +3 -5
- package/src/filiale/WEINAN/RecordInfoQuery.vue +3 -5
- package/src/filiale/WEINAN/UserGasAll.vue +3 -10
- package/src/filiale/WEINAN/UserGasList.vue +3 -5
- package/src/filiale/WEINAN/UserLostContactAnalysis.vue +3 -10
- package/src/filiale/WEINAN/UserQuery.vue +3 -10
- package/src/filiale/WEINAN/businessquery/FillCardQuery.vue +3 -10
- package/src/filiale/WEINAN/businessquery/HandplanQuery.vue +3 -5
- package/src/filiale/WEINAN/businessquery/MoveMeterQuery.vue +3 -10
- package/src/filiale/WEINAN/businessquery/ReverseQuery.vue +3 -10
- package/src/filiale/WEINAN/businessquery/TransferQuery.vue +3 -10
- package/src/filiale/WEINAN/businessquery/UserInsured.vue +3 -10
- package/src/filiale/WEINAN/filesquery/ChangeUserQuery.vue +3 -10
- package/src/filiale/WEINAN/filesquery/FmyGasDeviceQuery.vue +2 -2
- package/src/filiale/WEINAN/filesquery/GasDeviceQuery.vue +2 -2
- package/src/filiale/WEINAN/filesquery/PriceChangeQuery.vue +3 -10
- package/src/filiale/WEINAN/filesquery/UserDeviceQuery.vue +3 -10
- package/src/filiale/WEINAN/manage/ChangeMeterQuery.vue +3 -10
- package/src/filiale/WEINAN/webmeter/LostContactAnalysisList.vue +3 -5
- package/src/filiale/WEINAN/webmeter/NewQueryInstruct.vue +3 -10
- package/src/filiale/WEINAN/webmeter/ReportList.vue +3 -5
- package/src/filiale/WEINAN/webmeter/TotalExceptionByMeter.vue +3 -5
- package/src/filiale/WEINAN/webmeter/UserInstructList.vue +3 -5
- package/src/filiale/kelai/ChargeQuery.vue +1 -1
- package/src/filiale/kelai/GasStatistics.vue +1 -1
- package/src/filiale/kelai/NewAccountQuery.vue +1 -1
- package/src/filiale/kelai/UserQuery.vue +1 -1
- package/src/filiale/ningjin/ManageSellType.vue +1 -1
- package/src/filiale/shiquan/ManageSellType.vue +18 -7
- package/src/filiale/zhongyi/ManageSellType.vue +1 -1
|
@@ -128,7 +128,6 @@
|
|
|
128
128
|
<label class="font_normal_body">用户类型</label>
|
|
129
129
|
<v-select :value.sync="model.f_user_type"
|
|
130
130
|
v-model="model.f_user_type"
|
|
131
|
-
@change="$parent.$parent.userTypeChange()"
|
|
132
131
|
:options='$parent.$parent.userTypes' placeholder='请选择'
|
|
133
132
|
condition="f_user_type = '{}'"
|
|
134
133
|
close-on-select></v-select>
|
|
@@ -307,7 +306,6 @@
|
|
|
307
306
|
dep:[],
|
|
308
307
|
user:[],
|
|
309
308
|
},
|
|
310
|
-
userusetypes: [],
|
|
311
309
|
useinstitutions: [],
|
|
312
310
|
userusenatures: [],
|
|
313
311
|
// 合计数据
|
|
@@ -338,14 +336,6 @@
|
|
|
338
336
|
this.useinstitutions = this.$appdata.getParam(str)
|
|
339
337
|
}
|
|
340
338
|
},
|
|
341
|
-
userTypeChange () {
|
|
342
|
-
this.userusetypes = []
|
|
343
|
-
if(this.$refs.paged.$refs.cri.model !==null) {
|
|
344
|
-
this.$refs.paged.$refs.cri.model.f_use_institution = ''
|
|
345
|
-
let str = this.$refs.paged.$refs.cri.model.f_user_type[0] + '用气类型'
|
|
346
|
-
this.userusetypes = this.$appdata.getParam(str)
|
|
347
|
-
}
|
|
348
|
-
},
|
|
349
339
|
getotherfooter () {
|
|
350
340
|
// this.$refs.paged.$refs.cri.$refs.exports.otherData = [];
|
|
351
341
|
// this.$refs.paged.$refs.cri.$refs.exports.footerData = [];
|
|
@@ -471,6 +461,9 @@
|
|
|
471
461
|
},
|
|
472
462
|
},
|
|
473
463
|
computed:{
|
|
464
|
+
userusetypes () {
|
|
465
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('用气类型')]
|
|
466
|
+
},
|
|
474
467
|
userTypes() {
|
|
475
468
|
return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
|
|
476
469
|
},
|
|
@@ -75,7 +75,6 @@
|
|
|
75
75
|
<label class="font_normal_body">用户类型</label>
|
|
76
76
|
<v-select :value.sync="model.f_user_type"
|
|
77
77
|
v-model="model.f_user_type"
|
|
78
|
-
@change="$parent.$parent.userTypeChange()"
|
|
79
78
|
:options='$parent.$parent.userTypes' placeholder='请选择'
|
|
80
79
|
condition="f_user_type = '{}'"
|
|
81
80
|
close-on-select></v-select>
|
|
@@ -458,7 +457,6 @@
|
|
|
458
457
|
|
|
459
458
|
//合计数据
|
|
460
459
|
sumsmodel: {},
|
|
461
|
-
userusetypes: [],
|
|
462
460
|
useinstitutions: [],
|
|
463
461
|
userusenatures: [],
|
|
464
462
|
changemeter_fee:[
|
|
@@ -498,14 +496,6 @@
|
|
|
498
496
|
this.useinstitutions = this.$appdata.getParam(str)
|
|
499
497
|
}
|
|
500
498
|
},
|
|
501
|
-
userTypeChange () {
|
|
502
|
-
this.userusetypes = []
|
|
503
|
-
if(this.$refs.paged.$refs.cri.model !==null) {
|
|
504
|
-
this.$refs.paged.$refs.cri.model.f_use_institution = ''
|
|
505
|
-
let str = this.$refs.paged.$refs.cri.model.f_user_type[0] + '用气类型'
|
|
506
|
-
this.userusetypes = this.$appdata.getParam(str)
|
|
507
|
-
}
|
|
508
|
-
},
|
|
509
499
|
view(row){
|
|
510
500
|
this.showupload = true
|
|
511
501
|
this.selected= row
|
|
@@ -657,6 +647,9 @@
|
|
|
657
647
|
changeTypes() {
|
|
658
648
|
return [{label: '全部', value: ''}, ...this.$appdata.getParam('换表类型')]
|
|
659
649
|
},
|
|
650
|
+
userusetypes () {
|
|
651
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('用气类型')]
|
|
652
|
+
},
|
|
660
653
|
userTypes() {
|
|
661
654
|
return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
|
|
662
655
|
},
|
|
@@ -428,7 +428,6 @@
|
|
|
428
428
|
{label: '全部', value: ''}
|
|
429
429
|
],
|
|
430
430
|
styles:false,
|
|
431
|
-
userusetypes: [],
|
|
432
431
|
useinstitutions: [],
|
|
433
432
|
userusenatures: [],
|
|
434
433
|
filename: '',
|
|
@@ -516,7 +515,6 @@
|
|
|
516
515
|
}
|
|
517
516
|
},
|
|
518
517
|
userTypeChange () {
|
|
519
|
-
this.userusetypes = []
|
|
520
518
|
this.gasproperties=[{label: '全部', value: ''}]
|
|
521
519
|
if(this.$refs.paged.$refs.cri.model && this.$refs.paged.$refs.cri.model.f_user_type) {
|
|
522
520
|
this.$refs.paged.$refs.cri.model.f_gasproperties=''
|
|
@@ -524,9 +522,6 @@
|
|
|
524
522
|
console.log(this.$refs.paged.$refs.cri.model.f_user_type[0])
|
|
525
523
|
this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.cri.model.f_user_type[0])
|
|
526
524
|
// this.gasproperties.push({label: '全部', value: ''})
|
|
527
|
-
this.$refs.paged.$refs.cri.model.f_use_institution = ''
|
|
528
|
-
let str = this.$refs.paged.$refs.cri.model.f_user_type + '用气类型'
|
|
529
|
-
this.userusetypes = this.$appdata.getParam(str)
|
|
530
525
|
}
|
|
531
526
|
else{
|
|
532
527
|
this.gasproperties =[{label: '全部', value: ''}]
|
|
@@ -640,6 +635,9 @@
|
|
|
640
635
|
}
|
|
641
636
|
|
|
642
637
|
},
|
|
638
|
+
userusetypes () {
|
|
639
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('用气类型')]
|
|
640
|
+
},
|
|
643
641
|
usertypes() {
|
|
644
642
|
return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
|
|
645
643
|
},
|
|
@@ -158,7 +158,6 @@
|
|
|
158
158
|
<label class="font_normal_body">用户类型</label>
|
|
159
159
|
<v-select :value.sync="model.f_user_type"
|
|
160
160
|
v-model="model.f_user_type"
|
|
161
|
-
@change="$parent.$parent.userTypeChange()"
|
|
162
161
|
:options='$parent.$parent.userType' placeholder='请选择'
|
|
163
162
|
condition="f_user_type = '{}'"
|
|
164
163
|
close-on-select></v-select>
|
|
@@ -377,7 +376,6 @@
|
|
|
377
376
|
f_start_date:'',
|
|
378
377
|
f_end_date:'',
|
|
379
378
|
getfield: {},
|
|
380
|
-
userusetypes: [],
|
|
381
379
|
useinstitutions: [],
|
|
382
380
|
userusenatures: [],
|
|
383
381
|
config: {
|
|
@@ -415,14 +413,6 @@
|
|
|
415
413
|
this.useinstitutions = this.$appdata.getParam(str)
|
|
416
414
|
}
|
|
417
415
|
},
|
|
418
|
-
userTypeChange () {
|
|
419
|
-
this.userusetypes = []
|
|
420
|
-
if(this.$refs.paged.$refs.criteria.model !==null) {
|
|
421
|
-
this.$refs.paged.$refs.criteria.model.f_use_institution = ''
|
|
422
|
-
let str = this.$refs.paged.$refs.criteria.model.f_user_type[0] + '用气类型'
|
|
423
|
-
this.userusetypes = this.$appdata.getParam(str)
|
|
424
|
-
}
|
|
425
|
-
},
|
|
426
416
|
hidden(){
|
|
427
417
|
this.criteriaShow = !this.criteriaShow
|
|
428
418
|
},
|
|
@@ -539,6 +529,9 @@
|
|
|
539
529
|
|
|
540
530
|
},
|
|
541
531
|
computed: {
|
|
532
|
+
userusetypes () {
|
|
533
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('用气类型')]
|
|
534
|
+
},
|
|
542
535
|
userType () {
|
|
543
536
|
return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
|
|
544
537
|
},
|
|
@@ -284,7 +284,6 @@
|
|
|
284
284
|
sumsmodel: {},
|
|
285
285
|
orgid:[this.$login.f.orgid],
|
|
286
286
|
criteriaShow:false,
|
|
287
|
-
userusetypes: [],
|
|
288
287
|
useinstitutions: [],
|
|
289
288
|
userusenatures: [],
|
|
290
289
|
orgCondtionStr: '',
|
|
@@ -349,13 +348,9 @@
|
|
|
349
348
|
},
|
|
350
349
|
userTypeChange () {
|
|
351
350
|
this.gasproperties=[]
|
|
352
|
-
this.userusetypes = []
|
|
353
351
|
if(this.$refs.paged.$refs.criteria.model !==null) {
|
|
354
352
|
this.$refs.paged.$refs.criteria.model.f_gasproperties=''
|
|
355
353
|
this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.criteria.model.f_user_type[0])
|
|
356
|
-
this.$refs.paged.$refs.criteria.model.f_use_institution = ''
|
|
357
|
-
let str = this.$refs.paged.$refs.criteria.model.f_user_type + '用气类型'
|
|
358
|
-
this.userusetypes = this.$appdata.getParam(str)
|
|
359
354
|
}
|
|
360
355
|
else{
|
|
361
356
|
this.gasproperties =[{label: '全部', value: ''}]
|
|
@@ -408,6 +403,9 @@
|
|
|
408
403
|
}
|
|
409
404
|
},
|
|
410
405
|
computed: {
|
|
406
|
+
userusetypes () {
|
|
407
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('用气类型')]
|
|
408
|
+
},
|
|
411
409
|
getPricenames() {
|
|
412
410
|
let f_user_type = this.$refs.paged.$refs.criteria.model.f_user_type;
|
|
413
411
|
let f_gasproperties = this.$refs.paged.$refs.criteria.model.f_gasproperties;
|
|
@@ -401,7 +401,6 @@
|
|
|
401
401
|
dep:[],
|
|
402
402
|
user:[]
|
|
403
403
|
},
|
|
404
|
-
userusetypes: [],
|
|
405
404
|
useinstitutions: [],
|
|
406
405
|
userusenatures: [],
|
|
407
406
|
condition: '1=1',
|
|
@@ -474,16 +473,12 @@
|
|
|
474
473
|
this.styles = true
|
|
475
474
|
},
|
|
476
475
|
userTypeChange () {
|
|
477
|
-
this.userusetypes = []
|
|
478
476
|
this.gasproperties=[{label: '全部', value: ''}]
|
|
479
477
|
if(this.$refs.paged.$refs.cri.model !==null) {
|
|
480
478
|
this.$refs.paged.$refs.cri.model.f_gasproperties=''
|
|
481
|
-
this.$refs.paged.$refs.cri.model.f_use_institution = ''
|
|
482
479
|
if(this.$refs.paged.$refs.cri.model.f_user_type){
|
|
483
480
|
console.log(this.$refs.paged.$refs.cri.model.f_user_type)
|
|
484
481
|
this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.cri.model.f_user_type[0])
|
|
485
|
-
let str = this.$refs.paged.$refs.cri.model.f_user_type[0] + '用气类型'
|
|
486
|
-
this.userusetypes = this.$appdata.getParam(str)
|
|
487
482
|
}
|
|
488
483
|
// this.gasproperties.push({label: '全部', value: ''})
|
|
489
484
|
}
|
|
@@ -623,6 +618,9 @@
|
|
|
623
618
|
}
|
|
624
619
|
},
|
|
625
620
|
computed: {
|
|
621
|
+
userusetypes () {
|
|
622
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('用气类型')]
|
|
623
|
+
},
|
|
626
624
|
// usertypes () {
|
|
627
625
|
// return this.$appdate.getParams("客户类型")
|
|
628
626
|
// },
|
|
@@ -247,7 +247,6 @@
|
|
|
247
247
|
criteriaShow: false,
|
|
248
248
|
echarts: false,
|
|
249
249
|
searchshow: false,
|
|
250
|
-
userusetypes: [],
|
|
251
250
|
useinstitutions: [],
|
|
252
251
|
userusenatures: [],
|
|
253
252
|
orgCondtionStr: '(' + this.$login.f.orgid + ')',
|
|
@@ -277,7 +276,6 @@
|
|
|
277
276
|
}
|
|
278
277
|
},
|
|
279
278
|
userTypeChange () {
|
|
280
|
-
this.userusetypes = []
|
|
281
279
|
this.gasproperties=[{label: '全部', value: ''}]
|
|
282
280
|
if(this.$refs.paged.$refs.cri.model !==null) {
|
|
283
281
|
this.$refs.paged.$refs.cri.model.f_gasproperties=''
|
|
@@ -285,9 +283,6 @@
|
|
|
285
283
|
console.log(this.$refs.paged.$refs.cri.model.f_user_type[0])
|
|
286
284
|
this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.cri.model.f_user_type[0])
|
|
287
285
|
// this.gasproperties.push({label: '全部', value: ''})
|
|
288
|
-
this.$refs.paged.$refs.cri.model.f_use_institution = ''
|
|
289
|
-
let str = this.$refs.paged.$refs.cri.model.f_user_type[0] + '用气类型'
|
|
290
|
-
this.userusetypes = this.$appdata.getParam(str)
|
|
291
286
|
|
|
292
287
|
}
|
|
293
288
|
else{
|
|
@@ -351,6 +346,9 @@
|
|
|
351
346
|
// }
|
|
352
347
|
},
|
|
353
348
|
computed: {
|
|
349
|
+
userusetypes () {
|
|
350
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('用气类型')]
|
|
351
|
+
},
|
|
354
352
|
getCondition() {
|
|
355
353
|
var con=""
|
|
356
354
|
if (this.orgCondtionStr) {
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
<div class="col-sm-2 form-group">
|
|
64
64
|
<label class="font_normal_body">客户名称</label>
|
|
65
65
|
<input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
|
|
66
|
-
condition="f_user_name
|
|
66
|
+
condition="f_user_name like '%{}%'" placeholder="客户名称">
|
|
67
67
|
</div>
|
|
68
68
|
<div class="col-sm-2 form-group">
|
|
69
69
|
<label class="font_normal_body">收费编号</label>
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
<div class="col-sm-2">
|
|
25
25
|
<label class="font_normal_body">客户名称</label>
|
|
26
26
|
<input @keyup.enter="search" style="width:60%" type="text" class="input_search" v-model="model.f_username" placeholder='客户名称'
|
|
27
|
-
condition="ss.f_user_name
|
|
27
|
+
condition="ss.f_user_name like '%{}%'" v-next-el='userid' v-el:username>
|
|
28
28
|
</div>
|
|
29
29
|
<div class="col-sm-2">
|
|
30
30
|
<label class="font_normal_body">客户地址</label>
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
<div class="col-sm-2 form-group">
|
|
36
36
|
<label class="font_normal_body">客户名称</label>
|
|
37
37
|
<input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
|
|
38
|
-
condition="f_user_name
|
|
38
|
+
condition="f_user_name like '%{}%'" placeholder="客户名称">
|
|
39
39
|
</div>
|
|
40
40
|
<!-- <div class="col-sm-2 form-group">-->
|
|
41
41
|
<!-- <label class="font_normal_body">公  司</label>-->
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
<div class="col-sm-2 form-group">
|
|
16
16
|
<label class="font_normal_body">客户名称</label>
|
|
17
17
|
<input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
|
|
18
|
-
condition="f_user_name
|
|
18
|
+
condition="f_user_name like '%{}%'" placeholder="客户名称">
|
|
19
19
|
</div>
|
|
20
20
|
<div class="col-sm-2 form-group">
|
|
21
21
|
<label class="font_normal_body" title="旧客户编号">档案编号</label>
|
|
@@ -204,7 +204,7 @@
|
|
|
204
204
|
this.orgCondtionStr += ` and f_orgid in ('${this.f_orgid}')`
|
|
205
205
|
}
|
|
206
206
|
if (this.f_depid[0]) {
|
|
207
|
-
this.orgCondtionStr += ` and f_depid in ('${this.f_depid.toString}')`
|
|
207
|
+
this.orgCondtionStr += ` and f_depid in ('${this.f_depid.toString()}')`
|
|
208
208
|
}
|
|
209
209
|
if(this.f_operatorid[0]) {
|
|
210
210
|
this.orgCondtionStr += ` and f_operatorid in ('${this.f_operatorid}')`
|
|
@@ -200,22 +200,33 @@
|
|
|
200
200
|
selfSearch (args) {
|
|
201
201
|
this.printTime = this.$login.toStandardTimeString()
|
|
202
202
|
this.orgCondtionStr='1=1'
|
|
203
|
-
if (this.
|
|
203
|
+
if (this.f_depid.length < 1) {
|
|
204
204
|
this.$showAlert('请选择部门之后再进行查询!', 'warning', 3000)
|
|
205
205
|
return
|
|
206
206
|
}
|
|
207
|
-
if (this.f_orgid
|
|
208
|
-
this.orgCondtionStr += ` and f_orgid in (
|
|
207
|
+
if (this.f_orgid.length > 0) {
|
|
208
|
+
this.orgCondtionStr += ` and f_orgid in (${this.getParamStr(this.f_orgid)})`
|
|
209
209
|
}
|
|
210
|
-
if (this.f_depid
|
|
211
|
-
this.orgCondtionStr += ` and f_depid in (
|
|
210
|
+
if (this.f_depid.length > 0) {
|
|
211
|
+
this.orgCondtionStr += ` and f_depid in (${this.getParamStr(this.f_depid)})`
|
|
212
212
|
}
|
|
213
|
-
if(this.f_operatorid
|
|
214
|
-
this.orgCondtionStr += ` and f_operatorid in (
|
|
213
|
+
if (this.f_operatorid.length > 0) {
|
|
214
|
+
this.orgCondtionStr += ` and f_operatorid in (${this.getParamStr(this.f_operatorid)})`
|
|
215
215
|
}
|
|
216
216
|
this.$refs.paged.$refs.criteria.model.f_orgid = this.orgCondtionStr.replace('1=1','') + (this.f_state && this.f_state != '' ? " and f_state='" + this.f_state + "' " : '')
|
|
217
217
|
this.$refs.paged.search(args)
|
|
218
218
|
},
|
|
219
|
+
getParamStr (array) {
|
|
220
|
+
let stringValue = ''
|
|
221
|
+
for (let i = 0; i < array.length; i++) {
|
|
222
|
+
if (i === array.length - 1) {
|
|
223
|
+
stringValue = stringValue + "'" + array[i] + "'"
|
|
224
|
+
} else {
|
|
225
|
+
stringValue = stringValue + "'" + array[i] + "',"
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
return stringValue
|
|
229
|
+
},
|
|
219
230
|
getRes (obj) {
|
|
220
231
|
this.orgname = obj.res[0]
|
|
221
232
|
this.depresid = obj.resids
|
|
@@ -204,7 +204,7 @@
|
|
|
204
204
|
this.orgCondtionStr += ` and f_orgid in ('${this.f_orgid}')`
|
|
205
205
|
}
|
|
206
206
|
if (this.f_depid[0]) {
|
|
207
|
-
this.orgCondtionStr += ` and f_depid in ('${this.f_depid.toString}')`
|
|
207
|
+
this.orgCondtionStr += ` and f_depid in ('${this.f_depid.toString()}')`
|
|
208
208
|
}
|
|
209
209
|
if(this.f_operatorid[0]) {
|
|
210
210
|
this.orgCondtionStr += ` and f_operatorid in ('${this.f_operatorid}')`
|