apply-clients 3.4.2-FuGu-17 → 3.4.2-FuGu-18

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "apply-clients",
3
- "version": "3.4.2-FuGu-17",
3
+ "version": "3.4.2-FuGu-18",
4
4
  "description": "报建前端模块",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -478,13 +478,11 @@ export default {
478
478
  }
479
479
  }))
480
480
  },
481
- async 'streetChange' (index) {
481
+ async streetChange () {
482
482
  if (isEmpty(this.show_data.f_street)) {
483
483
  return
484
484
  }
485
485
 
486
- this.setLabelValue('小区', null)
487
-
488
486
  let data = {
489
487
  tablename: 't_area',
490
488
  condition: `f_filialeid = '${Vue.user.orgid}' and f_street = '${this.show_data.f_street}'`
@@ -504,31 +502,6 @@ export default {
504
502
  }
505
503
  }))
506
504
  },
507
- // 搜索小区
508
- async 'searchArea' (area, index) {
509
- let data = {
510
- tablename: 't_area',
511
- condition: `f_filialeid = '${Vue.user.orgid}' and f_street = '${this.show_data.f_street}' and f_residential_area like '%${area}%'`
512
- }
513
- let http = new HttpResetClass()
514
- let res = await http.load(
515
- 'POST',
516
- `${this.$androidUtil.getProxyUrl()}/rs/sql/singleTable`,
517
- {data: data},
518
- {resolveMsg: null, rejectMsg: '小区查询失败!!!'}
519
- )
520
-
521
- if (res.data.length === 0) {
522
- return
523
- }
524
-
525
- this.setLabelOptions('小区', res.data.map(item => {
526
- return {
527
- label: item.f_residential_area,
528
- value: item.f_residential_area
529
- }
530
- }))
531
- },
532
505
  // 缴费前置
533
506
  chargeBefore () {
534
507
  if (Number(this.show_data.f_due_money) > Number(this.show_data.f_cumulative_payment_money) || Number(this.show_data.f_surplus_money) > 0) {
@@ -653,6 +626,57 @@ export default {
653
626
  }
654
627
  }
655
628
  },
629
+ async 'streetChange' (index) {
630
+ if (isEmpty(this.show_data.f_street)) {
631
+ return
632
+ }
633
+
634
+ this.setLabelValue('小区', null)
635
+
636
+ let data = {
637
+ tablename: 't_area',
638
+ condition: `f_filialeid = '${Vue.user.orgid}' and f_street = '${this.show_data.f_street}'`
639
+ }
640
+ let http = new HttpResetClass()
641
+ let res = await http.load(
642
+ 'POST',
643
+ `${this.$androidUtil.getProxyUrl()}/rs/sql/singleTable`,
644
+ {data: data},
645
+ {resolveMsg: null, rejectMsg: '小区查询失败!!!'}
646
+ )
647
+
648
+ this.setLabelOptions('小区', res.data.map(item => {
649
+ return {
650
+ label: item.f_residential_area,
651
+ value: item.f_residential_area
652
+ }
653
+ }))
654
+ },
655
+ // 搜索小区
656
+ async 'searchArea' (area, index) {
657
+ let data = {
658
+ tablename: 't_area',
659
+ condition: `f_filialeid = '${Vue.user.orgid}' and f_street = '${this.show_data.f_street}' and f_residential_area like '%${area}%'`
660
+ }
661
+ let http = new HttpResetClass()
662
+ let res = await http.load(
663
+ 'POST',
664
+ `${this.$androidUtil.getProxyUrl()}/rs/sql/singleTable`,
665
+ {data: data},
666
+ {resolveMsg: null, rejectMsg: '小区查询失败!!!'}
667
+ )
668
+
669
+ if (res.data.length === 0) {
670
+ return
671
+ }
672
+
673
+ this.setLabelOptions('小区', res.data.map(item => {
674
+ return {
675
+ label: item.f_residential_area,
676
+ value: item.f_residential_area
677
+ }
678
+ }))
679
+ },
656
680
  // 打开模态框获取材料
657
681
  async 'getMaterialName' (index) {
658
682
  let data = {
@@ -616,11 +616,7 @@ export default {
616
616
  },
617
617
  async pcdChange () {
618
618
 
619
- if (isEmpty(this.show_data)) {
620
- if (!isEmpty(this.selectdata.f_pcd)) {
621
- this.show_data.f_pcd = this.selectdata.f_pcd
622
- }
623
- } if (isEmpty(this.show_data.f_pcd)) {
619
+ if (isEmpty(this.show_data.f_pcd)) {
624
620
  return
625
621
  }
626
622