apply-clients 3.3.2 → 3.3.6

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.
Files changed (28) hide show
  1. package/package.json +2 -1
  2. package/src/AndroidApp.vue +2 -2
  3. package/src/apply.js +1 -0
  4. package/src/applyAndroid.js +1 -0
  5. package/src/components/android/AppTakePic.vue +143 -139
  6. package/src/components/android/Process/AppExplorationUser.vue +2 -2
  7. package/src/components/android/Process/AppServiceControl.vue +153 -35
  8. package/src/components/android/Process/Processes/AppChargeManagement.vue +468 -0
  9. package/src/components/android/Process/Processes/AppInstallationDetails.vue +5 -2
  10. package/src/components/product/ApplyCharge/ApplyChargeList.vue +32 -14
  11. package/src/components/product/ApplyCharge/ApplyChargeSearch.vue +30 -30
  12. package/src/components/product/Function/InstallFunction.vue +1 -1
  13. package/src/components/product/Function/Service/FunctionServiceControl.vue +15 -9
  14. package/src/components/product/Order/OrderApplyList.vue +48 -37
  15. package/src/components/product/Order/OrderMessage.vue +20 -5
  16. package/src/components/product/Process/ExplorationSelect.vue +4 -0
  17. package/src/components/product/Process/ExplorationUser.vue +126 -126
  18. package/src/components/product/Process/Processes/InstallationDetails.vue +100 -83
  19. package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +24 -23
  20. package/src/components/product/Process/Processes/chargeManagement.vue +65 -7
  21. package/src/components/product/Process/Processes/printCharge.vue +130 -126
  22. package/src/components/product/Process/Processes/selectApply.vue +5 -1
  23. package/src/components/product/Process/Service/ServiceControl.vue +211 -47
  24. package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +127 -23
  25. package/src/components/product/Supervisory/SupervisoryControl.vue +100 -100
  26. package/src/components/product/Supervisory/SupervisoryhCart.vue +121 -107
  27. package/src/components/product/VueUtils/ApplyUpload.vue +262 -261
  28. package/src/components/product/VueUtils/GaoPaiYi/HighMeter.vue +1090 -0
@@ -140,13 +140,11 @@ export default {
140
140
  if (item.queryEvent) {
141
141
  res = this[item.queryEvent]()
142
142
  } else {
143
- let http = new HttpResetClass()
144
143
  let data = {
145
144
  tablename: item.tables[0],
146
145
  condition: `f_process_id='${this.selectdata.f_process_id}'`
147
146
  }
148
- res = await http.load(
149
- 'POST',
147
+ res = await this.$resetpost(
150
148
  'rs/sql/singleTable',
151
149
  {data: data},
152
150
  {resolveMsg: null, rejectMsg: 'onetomany查询失败'}
@@ -174,18 +172,16 @@ export default {
174
172
 
175
173
  if (field.type === 'select') {
176
174
 
177
- if (field.param) {
178
- let temp = this.$appdata.getParam(field.label)
175
+ let temp = this.$appdata.getParam(field.label)
179
176
 
180
- if (temp && temp.length > 0) {
181
- field.options = temp
182
- }
177
+ if (temp && temp.length > 0) {
178
+ field.options = temp
179
+ }
183
180
 
184
- if (field.paramLabel) {
185
- temp = this.$appdata.getParam(field.paramLabel)
186
- if (temp && temp.length > 0) {
187
- item.options = temp
188
- }
181
+ if (field.paramLabel) {
182
+ temp = this.$appdata.getParam(field.paramLabel)
183
+ if (temp && temp.length > 0) {
184
+ item.options = temp
189
185
  }
190
186
  }
191
187
 
@@ -356,22 +352,22 @@ export default {
356
352
  }
357
353
  })
358
354
  },
359
- // 获取街道
360
- async getStreet () {
355
+ // 获取区县
356
+ async getPcd () {
361
357
  let data = {
362
- tablename: 't_street',
358
+ tablename: 't_pcd',
363
359
  condition: `f_filialeid = '${this.$login.f.orgid}'`
364
360
  }
365
361
  let res = await this.$resetpost(
366
362
  `rs/sql/singleTable`,
367
363
  {data: data},
368
- {resolveMsg: null, rejectMsg: '街道查询失败!!!'}
364
+ {resolveMsg: null, rejectMsg: '区县查询失败!!!'}
369
365
  )
370
366
 
371
367
  return res.data.map(item => {
372
368
  return {
373
- label: item.f_street,
374
- value: item.f_street
369
+ label: item.f_pcd,
370
+ value: item.f_pcd
375
371
  }
376
372
  })
377
373
  },
@@ -408,9 +404,54 @@ export default {
408
404
  if (this.selectdata.f_process_dep === '运营部') {
409
405
  return 'this.getParentByType($organization$).getChildByName($运营部报装$).getChildren()'
410
406
  }
407
+ },
408
+ async getDevInfo () {
409
+ let data = {
410
+ tablename: 't_dev_info',
411
+ condition: `f_orgid = '${this.$login.f.orgid}'`
412
+ }
413
+ let res = await this.$resetpost(
414
+ `rs/sql/singleTable`,
415
+ {data: data},
416
+ {resolveMsg: null, rejectMsg: '公司查询失败!!!'}
417
+ )
418
+
419
+ return res.data.map(item => {
420
+ return {
421
+ label: item.f_dev_name,
422
+ value: item.f_dev_name
423
+ }
424
+ })
411
425
  }
412
426
  },
413
427
  events: {
428
+ async 'devInfoChange' (index) {
429
+ if (isEmpty(this.show_data.f_company_name)) {
430
+ return
431
+ }
432
+ let data = {
433
+ tablename: 't_dev_info',
434
+ condition: `f_orgid = '${this.$login.f.orgid}' and f_dev_name = '${this.show_data.f_company_name}'`
435
+ }
436
+ let res = await this.$resetpost(
437
+ `rs/sql/singleTable`,
438
+ {data: data},
439
+ {resolveMsg: null, rejectMsg: '公司查询失败!!!'}
440
+ )
441
+ this.show_data.f_dev_id = res.data[0].id
442
+ this.setLabelValue('法人名称', res.data[0].f_legal_person)
443
+ this.setLabelValue('证件类型', res.data[0].f_credentials)
444
+ this.setLabelValue('证件号码', res.data[0].f_idnumber)
445
+ },
446
+ 'refundMoneyChange' (index) {
447
+ let f_cumulative_payment_money = this.show_data.f_cumulative_payment_money
448
+ let f_refund_money = this.show_data.fields[index].value
449
+
450
+ if (f_refund_money > f_cumulative_payment_money) {
451
+ this.$showAlert('退款金额不能大于累计缴费金额!!!', 'warning', 3000)
452
+ this.show_data.fields[index].value = null
453
+ }
454
+ },
414
455
  // 检查重复
415
456
  'checkRepeat' (index) {
416
457
  this.checkDuplicate(index)
@@ -425,7 +466,8 @@ export default {
425
466
  this.setLabelValue('证件类型', row.f_credentials)
426
467
  this.setLabelValue('证件号码', row.f_idnumber)
427
468
  this.setLabelValue('地址', row.f_address)
428
- this.show_data.f_parent_process_id = row.f_process_id
469
+ this.setLabelValue('累计缴费金额', row.f_cumulative_payment_money)
470
+
429
471
  this.show_data.parentApply = JSON.parse(JSON.stringify(row))
430
472
 
431
473
  delete row.id
@@ -439,10 +481,29 @@ export default {
439
481
  delete row.f_process_id
440
482
 
441
483
  this.show_data = Object.assign({}, this.show_data, row)
484
+
485
+ this.show_data.f_parent_process_id = this.show_data.parentApply.f_process_id
442
486
  },
443
- 'stopApplyReadyEvent' () {
487
+ async 'stopApplyReadyEvent' () {
444
488
  let f_depname = this.$login.f.f_department_name
445
489
  this.setLabelValue('发起部门', f_depname)
490
+
491
+ if (isEmpty(this.show_data.f_parent_process_id)) {
492
+ return
493
+ }
494
+ let data = {
495
+ condition: `f_process_id = '${this.show_data.f_parent_process_id}'`,
496
+ data: {
497
+ id: this.$login.f.id,
498
+ orgid: this.$login.f.orgid
499
+ }
500
+ }
501
+ let res = await this.$resetpost(
502
+ `rs/sql/supervisory`,
503
+ {data: data},
504
+ {resolveMsg: null, rejectMsg: '项目查询失败!!!'}
505
+ )
506
+ this.show_data.parentApply = res.data[0]
446
507
  },
447
508
  // 选择用户档案信息
448
509
  'selectUserinfo' (row) {
@@ -482,59 +543,158 @@ export default {
482
543
  }
483
544
  }))
484
545
  },
546
+ // 区县失去焦点
547
+ async 'pcdChange' (index) {
548
+ if (isEmpty(this.show_data.f_pcd)) {
549
+ return
550
+ }
551
+
552
+ this.setLabelValue('街道', null)
553
+ this.setLabelValue('小区', null)
554
+
555
+ let data = {
556
+ tablename: 't_street',
557
+ condition: `f_filialeid = '${this.$login.f.orgid}' and f_pcd = '${this.show_data.f_pcd}'`
558
+ }
559
+ let res = await this.$resetpost(
560
+ `rs/sql/singleTable`,
561
+ {data: data},
562
+ {resolveMsg: null, rejectMsg: '街道查询失败!!!'}
563
+ )
564
+
565
+ this.setLabelOptions('街道', res.data.map(item => {
566
+ return {
567
+ label: item.f_street,
568
+ value: item.f_street
569
+ }
570
+ }))
571
+ },
485
572
  // 地址类型失去焦点
486
573
  'addressTypeChange' (index) {
574
+ let f_address_type = this.show_data.fields[index].value
487
575
  for (const item of this.show_data.fields) {
488
- if (this.show_data.f_address_type === '民用地址') {
489
- if (item.label === '小区') {
576
+ if (f_address_type === '民用城区') {
577
+ if (item.label === '区/县' || item.label === '街道' || item.label === '小区' || item.label === '门牌号(号)') {
578
+ item.hidden = false
490
579
  item.required = true
580
+ item.value = null
491
581
  }
492
- if (item.label === '楼号' || item.label === '单元' || item.label === '楼层') {
582
+ if (item.label === '楼号(乡/镇)' || item.label === '单元(村)' || item.label === '楼层(组)') {
493
583
  item.hidden = false
584
+ item.required = false
494
585
  item.value = null
495
586
  }
496
- if (item.label === '门牌号') {
587
+ }
588
+ if (f_address_type === '民用农村') {
589
+ if (item.label === '区/县' || item.label === '楼号(乡/镇)' || item.label === '单元(村)' || item.label === '楼层(组)' ||item.label === '门牌号(号)') {
590
+ item.hidden = false
591
+ item.required = true
592
+ item.value = null
593
+ }
594
+ if (item.label === '街道' || item.label === '小区') {
595
+ item.hidden = true
596
+ item.required = false
597
+ item.value = null
598
+ }
599
+ }
600
+ if (f_address_type === '特殊城区') {
601
+ if (item.label === '区/县' || item.label === '街道') {
497
602
  item.hidden = false
498
603
  item.required = true
499
604
  item.value = null
500
605
  }
501
- } else {
502
606
  if (item.label === '小区') {
607
+ item.hidden = false
503
608
  item.required = false
609
+ item.value = null
504
610
  }
505
- if (item.label === '楼号' || item.label === '单元' || item.label === '楼层' || item.label === '门牌号') {
611
+ if (item.label === '楼号(乡/镇)' || item.label === '单元(村)' || item.label === '楼层(组)' ||item.label === '门牌号(号)') {
506
612
  item.hidden = true
507
613
  item.required = false
508
614
  item.value = null
509
615
  }
510
616
  }
617
+ if (f_address_type === '特殊农村') {
618
+ if (item.label === '区/县') {
619
+ item.hidden = false
620
+ item.required = true
621
+ item.value = null
622
+ }
623
+ if (item.label === '街道' || item.label === '小区' || item.label === '楼号(乡/镇)' || item.label === '单元(村)' || item.label === '楼层(组)' ||item.label === '门牌号(号)') {
624
+ item.hidden = true
625
+ item.required = false
626
+ item.value = null
627
+ }
628
+ }
629
+ if (item.label === '地址') {
630
+ item.value = null
631
+ }
511
632
  }
512
633
  },
513
634
  // 申请节点初始化
514
635
  'applyReadyEvent' () {
515
636
  this.$getConfig(this, 'UserAddress')
516
637
 
638
+ let f_address_type = this.show_data.f_address_type
639
+
517
640
  for (const item of this.show_data.fields) {
518
- if (this.show_data.f_address_type === '民用地址') {
519
- if (item.label === '小区') {
641
+ if (f_address_type === '民用城区') {
642
+ if (item.label === '区/县' || item.label === '街道' || item.label === '小区' || item.label === '门牌号(号)') {
643
+ item.hidden = false
520
644
  item.required = true
645
+ item.value = null
521
646
  }
522
- if (item.label === '楼号' || item.label === '单元' || item.label === '楼层') {
647
+ if (item.label === '楼号(乡/镇)' || item.label === '单元(村)' || item.label === '楼层(组)') {
523
648
  item.hidden = false
649
+ item.required = false
650
+ item.value = null
651
+ }
652
+ }
653
+ if (f_address_type === '民用农村') {
654
+ if (item.label === '区/县' || item.label === '楼号(乡/镇)' || item.label === '单元(村)' || item.label === '楼层(组)' ||item.label === '门牌号(号)') {
655
+ item.hidden = false
656
+ item.required = true
657
+ item.value = null
658
+ }
659
+ if (item.label === '街道' || item.label === '小区') {
660
+ item.hidden = true
661
+ item.required = false
662
+ item.value = null
524
663
  }
525
- if (item.label === '门牌号') {
664
+ }
665
+ if (f_address_type === '特殊城区') {
666
+ if (item.label === '区/县' || item.label === '街道') {
526
667
  item.hidden = false
527
668
  item.required = true
669
+ item.value = null
528
670
  }
529
- } else {
530
671
  if (item.label === '小区') {
672
+ item.hidden = false
673
+ item.required = false
674
+ item.value = null
675
+ }
676
+ if (item.label === '楼号(乡/镇)' || item.label === '单元(村)' || item.label === '楼层(组)' ||item.label === '门牌号(号)') {
677
+ item.hidden = true
531
678
  item.required = false
679
+ item.value = null
680
+ }
681
+ }
682
+ if (f_address_type === '特殊农村') {
683
+ if (item.label === '区/县') {
684
+ item.hidden = false
685
+ item.required = true
686
+ item.value = null
532
687
  }
533
- if (item.label === '楼号' || item.label === '单元' || item.label === '楼层' || item.label === '门牌号') {
688
+ if (item.label === '街道' || item.label === '小区' || item.label === '楼号(乡/镇)' || item.label === '单元(村)' || item.label === '楼层(组)' ||item.label === '门牌号(号)') {
534
689
  item.hidden = true
535
690
  item.required = false
691
+ item.value = null
536
692
  }
537
693
  }
694
+
695
+ if (this.show_data.f_apply_source === '线下发起' && item.label === '预约地址') {
696
+ item.hidden = true
697
+ }
538
698
  }
539
699
  },
540
700
  // ===========================================
@@ -566,34 +726,38 @@ export default {
566
726
  // 失去焦点出触发事件
567
727
  'onchange' (index) {
568
728
  if (this.show_data.defname === '报装申请') {
569
-
570
729
  if (
571
730
  this.show_data.fields[index].label === '街道' ||
572
731
  this.show_data.fields[index].label === '小区' ||
573
- this.show_data.fields[index].label === '楼号' ||
574
- this.show_data.fields[index].label === '单元' ||
575
- this.show_data.fields[index].label === '楼层' ||
576
- this.show_data.fields[index].label === '门牌号'
732
+ this.show_data.fields[index].label === '楼号(乡/镇)' ||
733
+ this.show_data.fields[index].label === '单元(村)' ||
734
+ this.show_data.fields[index].label === '楼层(组)' ||
735
+ this.show_data.fields[index].label === '门牌号(号)'
577
736
  ) {
578
- let f_street = this.getLableValue("街道")
579
- let f_residential_area = this.getLableValue("小区")
580
- let f_building = this.getLableValue("楼号")
737
+
738
+ let f_street = this.getLableValue('街道')
739
+ let f_residential_area = this.getLableValue('小区')
740
+ let f_building = this.getLableValue('楼号(乡/镇)')
581
741
  let f_building_suffix = f_building ? this.config.f_building_suffix : ''
582
- let f_unit = this.getLableValue("单元")
742
+ let f_unit = this.getLableValue('单元(村)')
583
743
  let f_unit_suffix = f_unit ? this.config.f_unit_suffix : ''
584
- let f_floor = this.getLableValue("楼层")
744
+ let f_floor = this.getLableValue('楼层(组)')
585
745
  let f_floor_suffix = f_floor ? this.config.f_floor_suffix : ''
586
- let f_room = this.getLableValue("门牌号")
746
+ let f_room = this.getLableValue('门牌号(号)')
587
747
  let f_room_suffix = f_room ? this.config.f_room_suffix : ''
588
748
 
589
749
  let f_address = null
590
750
 
591
- if (this.getLableValue("地址类型") === '民用地址') {
751
+ let f_address_type = this.show_data.f_address_type
752
+ if (f_address_type === '民用城区') {
592
753
  f_address = f_street + f_residential_area + f_building + f_building_suffix + f_unit + f_unit_suffix + f_floor + f_floor_suffix + f_room + f_room_suffix
593
- } else {
754
+ }
755
+ if (f_address_type === '民用农村') {
756
+ f_address = f_building + f_unit + f_floor + f_room
757
+ }
758
+ if (f_address_type === '特殊城区') {
594
759
  f_address = f_street + f_residential_area
595
760
  }
596
-
597
761
  this.setLabelValue("地址", f_address)
598
762
  }
599
763
  }
@@ -77,7 +77,7 @@
77
77
  this.data = Object.assign({}, this.data, this.selectdata)
78
78
 
79
79
  // fields 字段填充值
80
- this.data.fields.forEach(item => {
80
+ for (const item of this.data.fields) {
81
81
  if (this.selectdata[item.field]) {
82
82
  item.value = this.selectdata[item.field]
83
83
  }
@@ -86,7 +86,7 @@
86
86
  }
87
87
  item.readonly = true
88
88
  item.disabled = true
89
- })
89
+ }
90
90
 
91
91
  // 控制组件
92
92
  if (this.data.components) {
@@ -102,13 +102,11 @@
102
102
  if (item.queryEvent) {
103
103
  res = this[item.queryEvent]()
104
104
  } else {
105
- let http = new HttpResetClass()
106
105
  let data = {
107
106
  tablename: item.tables[0],
108
107
  condition: `f_process_id='${this.selectdata.f_process_id}'`
109
108
  }
110
- res = await http.load(
111
- 'POST',
109
+ res = await this.$resetpost(
112
110
  'rs/sql/singleTable',
113
111
  {data: data},
114
112
  {resolveMsg: null, rejectMsg: 'onetomany查询失败'}
@@ -147,30 +145,136 @@
147
145
  this.showview = true
148
146
  })
149
147
  },
150
- // json配置数据处理
151
- async initializtion() {
152
- // 查询是否有当前节点快照信息,如果有使用快照数据,没有则展示最新数据
153
- if (this.nodeSnapshot && this.data.nodeSnapshot) {
154
- let http = new HttpResetClass()
155
- let data = {
156
- tablename: 't_node_snapshot',
157
- condition: `actid = '${this.selectdata.actid}' and f_process_id='${this.selectdata.f_process_id}'`
158
- }
159
- let res = await http.load('POST', 'rs/sql/singleTable', {data: data}, {
160
- resolveMsg: null,
161
- rejectMsg: null
162
- })
163
- if (res.data.length > 0) {
164
- data = JSON.parse(res.data[0].f_node_data)
148
+ // 金额转大写
149
+ smalltoBIG(n) {
150
+ let fraction = ['角', '分'];
151
+ let digit = ['零', '壹', '贰', '叁', '肆', '伍', '陆', '柒', '捌', '玖'];
152
+ let unit = [['元', '万', '亿'], ['', '拾', '佰', '仟']];
153
+ let head = n < 0 ? '欠' : '';
154
+ n = Math.abs(n);
155
+
156
+ let s = '';
165
157
 
166
- this.data.fields = data.fields
167
- this.data.onetomany = data.onetomany
168
- this.data.title = data.title
158
+ for (var i = 0; i < fraction.length; i++) {
159
+ s += (digit[Math.floor(n * 10 * Math.pow(10, i)) % 10] + fraction[i]).replace(/零./, '');
160
+ }
161
+ s = s || '整';
162
+ n = Math.floor(n);
163
+
164
+ for (var i = 0; i < unit[0].length && n > 0; i++) {
165
+ let p = '';
166
+ for (var j = 0; j < unit[1].length && n > 0; j++) {
167
+ p = digit[n % 10] + unit[1][j] + p;
168
+ n = Math.floor(n / 10);
169
+ }
170
+ s = p.replace(/(零.)*零$/, '').replace(/^$/, '零') + unit[0][i] + s;
171
+ }
172
+ return head + s.replace(/(零.)*零元/, '元').replace(/(零.)+/g, '零').replace(/^整$/, '零元整')
173
+ },
174
+ getLableValue(label) {
175
+ for (const item of this.show_data.fields) {
176
+ if (item.label === label && item.type !== 'number') {
177
+ return item.value || ''
178
+ }
179
+ if (item.label === label && item.type === 'number') {
180
+ return item.value || 0
181
+ }
182
+ }
183
+ },
184
+ getLableOptions(label) {
185
+ for (const item of this.show_data.fields) {
186
+ if (item.label === label) {
187
+ return item.options
169
188
  }
170
189
  }
190
+ },
191
+ setLabelValue(label, value) {
192
+ for (const item of this.show_data.fields) {
193
+ if (item.label === label) {
194
+ item.value = value
195
+ this.show_data[item.field] = value
196
+ }
197
+ }
198
+ },
199
+ setLabelOptions(label, options) {
200
+ for (const item of this.show_data.fields) {
201
+ if (item.label === label) {
202
+ item.options = options
203
+ }
204
+ }
205
+ },
206
+ async checkDuplicate(index) {
207
+ let http = new HttpResetClass()
208
+ let data = {
209
+ tablename: 't_apply',
210
+ condition: `${this.show_data.fields[index].field} = '${this.show_data.fields[index].value}'`
211
+ }
212
+ let res = await http.load('POST', 'rs/sql/singleTable', {data: data}, {
213
+ resolveMsg: null,
214
+ rejectMsg: `${this.show_data.fields[index].label}查询失败`
215
+ })
216
+ if (res.data.length > 0) {
217
+ this.show_data.fields[index].value = null
218
+ this.$showAlert(`${this.show_data.fields[index].label}已存在!!!`, 'warning', 3000)
219
+ }
171
220
  }
172
221
  },
173
222
  events:{
223
+ // 申请节点初始化
224
+ 'applyReadyEvent' () {
225
+ let f_address_type = this.show_data.f_address_type
226
+
227
+ for (const item of this.show_data.fields) {
228
+ if (f_address_type === '民用城区') {
229
+ if (item.label === '区/县' || item.label === '街道' || item.label === '小区' || item.label === '门牌号(号)') {
230
+ item.hidden = false
231
+ item.required = true
232
+ }
233
+ if (item.label === '楼号(乡/镇)' || item.label === '单元(村)' || item.label === '楼层(组)') {
234
+ item.hidden = false
235
+ item.required = false
236
+ }
237
+ }
238
+ if (f_address_type === '民用农村') {
239
+ if (item.label === '区/县' || item.label === '楼号(乡/镇)' || item.label === '单元(村)' || item.label === '楼层(组)' ||item.label === '门牌号(号)') {
240
+ item.hidden = false
241
+ item.required = true
242
+ }
243
+ if (item.label === '街道' || item.label === '小区') {
244
+ item.hidden = true
245
+ item.required = false
246
+ }
247
+ }
248
+ if (f_address_type === '特殊城区') {
249
+ if (item.label === '区/县' || item.label === '街道') {
250
+ item.hidden = false
251
+ item.required = true
252
+ }
253
+ if (item.label === '小区') {
254
+ item.hidden = false
255
+ item.required = false
256
+ }
257
+ if (item.label === '楼号(乡/镇)' || item.label === '单元(村)' || item.label === '楼层(组)' ||item.label === '门牌号(号)') {
258
+ item.hidden = true
259
+ item.required = false
260
+ }
261
+ }
262
+ if (f_address_type === '特殊农村') {
263
+ if (item.label === '区/县') {
264
+ item.hidden = false
265
+ item.required = true
266
+ }
267
+ if (item.label === '街道' || item.label === '小区' || item.label === '楼号(乡/镇)' || item.label === '单元(村)' || item.label === '楼层(组)' ||item.label === '门牌号(号)') {
268
+ item.hidden = true
269
+ item.required = false
270
+ }
271
+ }
272
+
273
+ if (this.show_data.f_apply_source === '线下发起' && item.label === '预约地址') {
274
+ item.hidden = true
275
+ }
276
+ }
277
+ }
174
278
  },
175
279
  watch: {
176
280
  deep: true