manage-client 3.3.42 → 3.3.43

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.
@@ -8,6 +8,7 @@
8
8
  <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
9
9
  <div class="row">
10
10
  <res-select-group :show-component="['company']" :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
11
+
11
12
  <div class="col-sm-2 form-group">
12
13
  <label for="startDate" class="font_normal_body">审核日期起</label>
13
14
  <datepicker id="startDate" placeholder="审核日期起" style="width:60%"
@@ -327,7 +328,7 @@
327
328
  return {
328
329
  other:[],
329
330
  footer:[],
330
- model: new PagedList('rs/sql/qnChaobiaomingxi', 20, {}, {f_gas: 0, f_money: 0}),
331
+ model: new PagedList('rs/sql/qnChaobiaomingxi', 20, {startDate: 'this.model.startDate', endDate: 'this.model.endDate', f_insideorgid:'this.model.f_insideorgid',f_insidemeter:'this.model.f_meter_classify'}, {f_gas: 0, f_money: 0}),
331
332
  criteriaShow: false,
332
333
  orgCondtionStr: '',
333
334
  modelval: [],
@@ -459,8 +460,8 @@
459
460
  return data
460
461
  },
461
462
  search(){
462
- console.log("=====search====")
463
- //this.$refs.paged.$refs.cri.search()
463
+ console.log("=====search====9999999")
464
+ this.$refs.paged.$refs.cri.model.f_insideorgid = this.f_filialeid;
464
465
  this.$refs.paged.$refs.cri.search()
465
466
  },
466
467
  cancel(obj) {
@@ -529,6 +530,7 @@
529
530
  selfSearch(args) {
530
531
  console.log('args', args)
531
532
  console.log('this.orgCondtionStr', this.orgCondtionStr)
533
+
532
534
  if (!this.orgCondtionStr) {
533
535
  args.condition = `${args.condition}` + " and tr.f_orgid = " + this.$login.f.orgid
534
536
  } else {
@@ -657,7 +659,14 @@
657
659
  },
658
660
 
659
661
  getCondition() {
660
- return {condition: this.condition2,orderitem:this.orderitem}
662
+ return {
663
+ condition: this.condition2,
664
+ orderitem:this.orderitem,
665
+ startDate: this.$refs.paged.$refs.cri.model.startDate,
666
+ endDate: this.$refs.paged.$refs.cri.model.endDate,
667
+ f_insideorgid:this.f_filialeid,
668
+ f_insidemeter:this.$refs.paged.$refs.cri.model.f_meter_classify
669
+ }
661
670
  },
662
671
  getfield() {
663
672
  let data = {}
@@ -218,7 +218,7 @@
218
218
  return {
219
219
  other:[],
220
220
  footer:[],
221
- model: new PagedList('rs/sql/qnChaobiaoyhhz', 20, {}, {f_gas: 0, f_money: 0}),
221
+ model: new PagedList('rs/sql/qnChaobiaoyhhz', 20, {startDate: 'this.model.startDate', endDate: 'this.model.endDate', f_insideorgid:'this.model.f_insideorgid',f_insidemeter:'this.model.f_meter_classify'}, {f_gas: 0, f_money: 0}),
222
222
  criteriaShow: false,
223
223
  orgCondtionStr: '',
224
224
  modelval: [],
@@ -354,6 +354,7 @@
354
354
  search(){
355
355
  console.log("=====search====")
356
356
  //this.$refs.paged.$refs.cri.search()
357
+ this.$refs.paged.$refs.cri.model.f_insideorgid = this.f_filialeid;
357
358
  this.$refs.paged.$refs.cri.search()
358
359
  },
359
360
  cancel(obj) {
@@ -550,7 +551,14 @@
550
551
  },
551
552
 
552
553
  getCondition() {
553
- return {condition: this.condition2,orderitem:this.orderitem}
554
+ return {
555
+ condition: this.condition2,
556
+ orderitem:this.orderitem,
557
+ startDate: this.$refs.paged.$refs.cri.model.startDate,
558
+ endDate: this.$refs.paged.$refs.cri.model.endDate,
559
+ f_insideorgid:this.f_filialeid,
560
+ f_insidemeter:this.$refs.paged.$refs.cri.model.f_meter_classify
561
+ }
554
562
  },
555
563
  getfield() {
556
564
  let data = {}
@@ -189,7 +189,7 @@
189
189
  return {
190
190
  other:[],
191
191
  footer:[],
192
- model: new PagedList('rs/sql/qnChaobiaoyqxzhz', 20, {}, {f_gas: 0, f_money: 0}),
192
+ model: new PagedList('rs/sql/qnChaobiaoyqxzhz', 20, {startDate: 'this.model.startDate', endDate: 'this.model.endDate', f_insideorgid:'this.model.f_insideorgid',f_insidemeter:'this.model.f_meter_classify'}, {f_gas: 0, f_money: 0}),
193
193
  criteriaShow: false,
194
194
  orgCondtionStr: '',
195
195
  modelval: [],
@@ -323,6 +323,7 @@
323
323
  search(){
324
324
  console.log("=====search====")
325
325
  //this.$refs.paged.$refs.cri.search()
326
+ this.$refs.paged.$refs.cri.model.f_insideorgid = this.f_filialeid;
326
327
  this.$refs.paged.$refs.cri.search()
327
328
  },
328
329
  cancel(obj) {
@@ -519,7 +520,14 @@
519
520
  },
520
521
 
521
522
  getCondition() {
522
- return {condition: this.condition2,orderitem:this.orderitem}
523
+ return {
524
+ condition: this.condition2,
525
+ orderitem:this.orderitem,
526
+ startDate: this.$refs.paged.$refs.cri.model.startDate,
527
+ endDate: this.$refs.paged.$refs.cri.model.endDate,
528
+ f_insideorgid:this.f_filialeid,
529
+ f_insidemeter:this.$refs.paged.$refs.cri.model.f_meter_classify
530
+ }
523
531
  },
524
532
  getfield() {
525
533
  let data = {}
@@ -216,5 +216,14 @@ export default{
216
216
  'xz':'乡镇','jwh':'居委会','bjqdr':'报警器(非补贴项)当日','bjqlj':'报警器(非补贴项)累计','fbjsrgdr':'防爆金属软管当日',
217
217
  'fbjsrglj':'防爆金属软管累计','zbfdr':'自闭阀当日','zbflj':'自闭阀累计'
218
218
  },
219
+ qnAqzzYsbb:{
220
+ 'ysry':'验收人员','qjfj':'期间复检','fjlj':'复检累计','qjsgys':'期间施工验收','sgyslj':'施工验收累计',
221
+ 'qjhj':'期间合计','zlj':'总累计'
222
+ },
223
+ qnAqzzYsmx:{
224
+ 'title':'标题','createtimegmt':'发起时间','originator':'发起人','modifiedtimegmt':'验收时间','modifyuser':'验收人',
225
+ 'textfield_li9rszui':'用户编号','textfield_li9rszuj':'用户姓名',
226
+ 'textfield_li9rszuo':'地址','matchedaofeng':'与收费比对结果'
227
+ },
219
228
  }
220
229
 
@@ -68,6 +68,10 @@ export default function () {
68
68
  Vue.component('qn-aqzz-xzhz', (resolve) => { require(['./QnAqzzXzhz'], resolve) })
69
69
  //安全装置加装 乡镇居委会汇总
70
70
  Vue.component('qn-aqzz-xzjwhhz', (resolve) => { require(['./QnAqzzXzjwhhz'], resolve) })
71
+ //安全装置加装 验收明细
72
+ Vue.component('qn-aqzz-ysmx', (resolve) => { require(['./QnAqzzYsmx'], resolve) })
73
+ //安全装置加装 验收报表
74
+ Vue.component('qn-aqzz-ysbb', (resolve) => { require(['./QnAqzzYsbb'], resolve) })
71
75
  Vue.component('qn-aqzz', (resolve) => { require(['./QnAqzz'], resolve) })
72
76
  // **************潜能自定义报表end***************
73
77
  }
@@ -100,6 +100,22 @@
100
100
  condition="f_meter_brand_old = '{}'"
101
101
  close-on-select></v-select>
102
102
  </div>
103
+ <div class="col-sm-2 form-group">
104
+ <label class="font_normal_body">新表型号</label>
105
+ <v-select :value.sync="model.f_meter_style"
106
+ v-model="model.f_meter_style"
107
+ :options='$parent.$parent.meterStyle' placeholder='请选择'
108
+ condition="f_meter_style = '{}'"
109
+ close-on-select></v-select>
110
+ </div>
111
+ <div class="col-sm-2 form-group">
112
+ <label class="font_normal_body">旧表型号</label>
113
+ <v-select :value.sync="model.f_meter_style_old"
114
+ v-model="model.f_meter_style_old"
115
+ :options='$parent.$parent.meterStyle' placeholder='请选择'
116
+ condition="f_meter_style_old = '{}'"
117
+ close-on-select></v-select>
118
+ </div>
103
119
  <div class="col-sm-2 form-group">
104
120
  <label class="font_normal_body">换表类型</label>
105
121
  <v-select :value.sync="model.f_type"
@@ -523,6 +539,7 @@
523
539
  other:[],
524
540
  footer:[],
525
541
  meterbrands: [],
542
+ meterStyle: [],
526
543
  pricenames: [],
527
544
  model: new PagedList('rs/sql/changeMeterQuery', 20, {orderitem: this.orderitem?'"' + this.orderitem + ' "':`'f_operate_date desc'`}, {f_balance_amount: 0,f_changemeter_fee: 0,f_remanent_money:0,f_remanent_gas:0,hushu:0}),
528
545
  criteriaShow: false,
@@ -600,15 +617,35 @@
600
617
  this.other.push(otherInData);
601
618
  },
602
619
  async initParams() {
603
- // 初始化气表品牌
604
- let brandArr = []
605
- await this.$MagGetSaleParam.getGasbrand().forEach((item) => {
606
- let temp = {}
607
- temp.label = item.label
608
- temp.value = item.value.f_meter_brand
609
- brandArr.push(temp)
610
- })
611
- this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
620
+ // 初始化气表品牌
621
+ let brandArr = []
622
+ await this.$MagGetSaleParam.getGasbrand().forEach((item) => {
623
+ let temp = {}
624
+ temp.label = item.label
625
+ temp.value = item.value.f_meter_brand
626
+ brandArr.push(temp)
627
+ })
628
+ this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
629
+ // 获取气表型号
630
+ let data = {
631
+ tablename: `t_gasmodel`,
632
+ items: 'distinct f_meter_style',
633
+ condition: `1=1`,
634
+ orderitem: 'f_meter_style desc'
635
+ }
636
+ let res = await this.$resetpost('rs/sql/manage_singleTable', {data: data}, {rejectMsg: '获取表型号出错', resolveMsg: null})
637
+ let meStu = []
638
+ if (res.data) {
639
+ res.data.forEach((itemRes) => {
640
+ let tempTy = {}
641
+ tempTy.label = itemRes.f_meter_style
642
+ tempTy.value = itemRes.f_meter_style
643
+ meStu.push(tempTy)
644
+ })
645
+ }
646
+ console.log('------------打印数据---------------')
647
+ console.log(res)
648
+ this.meterStyle = [{label: '全部', value: ''}, ...meStu]
612
649
  },
613
650
  async selfSearch(args) {
614
651
  if (this.data) {