apply-clients 3.3.10 → 3.3.14
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/AndroidApp.vue +2 -2
- package/src/components/android/Function/AppFunctionServiceControl.vue +3 -1
- package/src/components/android/Function/AppInstallFunction.vue +4 -15
- package/src/components/android/Process/AppExplorationUser.vue +0 -10
- package/src/components/android/Process/AppServiceControl.vue +686 -639
- package/src/components/android/Process/Processes/AppDevicesManagement.vue +106 -1
- package/src/components/android/Process/Processes/AppInstallationDetails.vue +61 -20
- package/src/components/android/Process/Processes/AppSupplementalAgreement.vue +2 -2
- package/src/components/android/Supervisory/AppProcessSupervisory.vue +0 -10
- package/src/components/product/ApplyCharge/ApplyChargeList.vue +0 -9
- package/src/components/product/Function/InstallInfoSelect.vue +4 -13
- package/src/components/product/Order/OrderMessage.vue +0 -4
- package/src/components/product/Process/ExplorationSelect.vue +7 -14
- package/src/components/product/Process/ExplorationUser.vue +3 -1
- package/src/components/product/Process/Processes/InstallationDetails.vue +67 -20
- package/src/components/product/Process/Processes/devicesManagement.vue +97 -44
- package/src/components/product/Process/Processes/printCharge.vue +16 -25
- package/src/components/product/Process/Service/ServiceControl.vue +187 -96
- package/src/components/product/Process/ShowBackReason.vue +33 -29
- package/src/components/product/Stop/StopApplyList.vue +3 -13
- package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +120 -19
- package/src/components/product/Supervisory/SupervisoryList.vue +3 -13
- package/src/components/product/Supervisory/SupervisoryhCart.vue +14 -11
|
@@ -350,7 +350,9 @@ export default {
|
|
|
350
350
|
userid: this.$login.f.id
|
|
351
351
|
}
|
|
352
352
|
|
|
353
|
-
let
|
|
353
|
+
let http = new HttpResetClass()
|
|
354
|
+
let res = await http.load(
|
|
355
|
+
'POST',
|
|
354
356
|
`rs/search`,
|
|
355
357
|
{data: data},
|
|
356
358
|
{resolveMsg: null, rejectMsg: '片区查询失败!!!'}
|
|
@@ -369,7 +371,9 @@ export default {
|
|
|
369
371
|
tablename: 't_pcd',
|
|
370
372
|
condition: `f_filialeid = '${this.$login.f.orgid}'`
|
|
371
373
|
}
|
|
372
|
-
let
|
|
374
|
+
let http = new HttpResetClass()
|
|
375
|
+
let res = await http.load(
|
|
376
|
+
'POST',
|
|
373
377
|
`rs/sql/singleTable`,
|
|
374
378
|
{data: data},
|
|
375
379
|
{resolveMsg: null, rejectMsg: '区县查询失败!!!'}
|
|
@@ -421,7 +425,9 @@ export default {
|
|
|
421
425
|
tablename: 't_dev_info',
|
|
422
426
|
condition: `f_orgid = '${this.$login.f.orgid}'`
|
|
423
427
|
}
|
|
424
|
-
let
|
|
428
|
+
let http = new HttpResetClass()
|
|
429
|
+
let res = await http.load(
|
|
430
|
+
'POST',
|
|
425
431
|
`rs/sql/singleTable`,
|
|
426
432
|
{data: data},
|
|
427
433
|
{resolveMsg: null, rejectMsg: '公司查询失败!!!'}
|
|
@@ -433,9 +439,51 @@ export default {
|
|
|
433
439
|
value: item.f_dev_name
|
|
434
440
|
}
|
|
435
441
|
})
|
|
442
|
+
},
|
|
443
|
+
async getPrice (f_price_id) {
|
|
444
|
+
console.log('=======================')
|
|
445
|
+
console.log(f_price_id)
|
|
446
|
+
|
|
447
|
+
let data = {
|
|
448
|
+
condition: `sp.f_orgid = '${this.$login.f.orgid}'`
|
|
449
|
+
}
|
|
450
|
+
|
|
451
|
+
if (!isEmpty(f_price_id)) {
|
|
452
|
+
data.condition = `sp.f_orgid = '${this.$login.f.orgid}' and sp.f_price_id = ${f_price_id}`
|
|
453
|
+
}
|
|
454
|
+
let http = new HttpResetClass()
|
|
455
|
+
let res = await http.load(
|
|
456
|
+
'POST',
|
|
457
|
+
`rs/sql/applyGetPrice`,
|
|
458
|
+
{data: data},
|
|
459
|
+
{resolveMsg: null, rejectMsg: '气价查询失败!!!'}
|
|
460
|
+
)
|
|
461
|
+
|
|
462
|
+
return res.data.map(item => {
|
|
463
|
+
return {
|
|
464
|
+
label: item.f_price_name,
|
|
465
|
+
value: item
|
|
466
|
+
}
|
|
467
|
+
})
|
|
436
468
|
}
|
|
437
469
|
},
|
|
438
470
|
events: {
|
|
471
|
+
// 选择气价
|
|
472
|
+
'priceChange' (index) {
|
|
473
|
+
if (isEmpty(this.show_data.stairPrice)) {
|
|
474
|
+
return
|
|
475
|
+
}
|
|
476
|
+
|
|
477
|
+
let stairPrice = this.getLableValue('气价名称')
|
|
478
|
+
|
|
479
|
+
this.setLabelValue('气价类型', stairPrice.f_price_type)
|
|
480
|
+
this.setLabelValue('用气性质', stairPrice.f_gasproperties)
|
|
481
|
+
this.setLabelValue('价格', stairPrice.f_price)
|
|
482
|
+
this.setLabelValue('客户类型', stairPrice.f_user_type)
|
|
483
|
+
|
|
484
|
+
this.show_data.f_price_id = stairPrice.f_price_id
|
|
485
|
+
this.show_data.f_price_name = stairPrice.f_price_name
|
|
486
|
+
},
|
|
439
487
|
// 选择开发商
|
|
440
488
|
async 'devInfoChange' (index) {
|
|
441
489
|
if (isEmpty(this.show_data.f_company_name)) {
|
|
@@ -515,6 +563,7 @@ export default {
|
|
|
515
563
|
}
|
|
516
564
|
}
|
|
517
565
|
},
|
|
566
|
+
// 终止报建初始化
|
|
518
567
|
async 'stopApplyReadyEvent' () {
|
|
519
568
|
|
|
520
569
|
let f_is_stop = this.getLableValue('是否终止')
|
|
@@ -563,8 +612,11 @@ export default {
|
|
|
563
612
|
this.show_data.f_userinfo_code = row.f_userinfo_code
|
|
564
613
|
},
|
|
565
614
|
// 是否购买保险
|
|
566
|
-
isInsureChange (index) {
|
|
567
|
-
|
|
615
|
+
async 'isInsureChange' (index) {
|
|
616
|
+
if (!this.show_data.f_is_insure) {
|
|
617
|
+
return
|
|
618
|
+
}
|
|
619
|
+
let f_is_insure = this.show_data.f_is_insure
|
|
568
620
|
for (const item of this.show_data.fields) {
|
|
569
621
|
if (f_is_insure === '是') {
|
|
570
622
|
if (item.label === '保费开始日期' || item.label === '保费结束日期' || item.label === '险种' || item.label === '保费金额') {
|
|
@@ -587,7 +639,48 @@ export default {
|
|
|
587
639
|
},
|
|
588
640
|
// 通气点火初始化
|
|
589
641
|
async 'gasReadyEvent' () {
|
|
590
|
-
//
|
|
642
|
+
// 是否有气价信息
|
|
643
|
+
if (!isEmpty(this.show_data.f_price_id)) {
|
|
644
|
+
let priceList = await this.getPrice(this.show_data.f_price_id)
|
|
645
|
+
this.setLabelValue('气价名称', priceList[0].value)
|
|
646
|
+
}
|
|
647
|
+
|
|
648
|
+
let data = {
|
|
649
|
+
tablename: 't_userfees',
|
|
650
|
+
condition: `f_orgid = '${this.$login.f.orgid}' and f_userinfo_id = '${this.show_data.f_userinfo_id}' and f_state = '待执行'`
|
|
651
|
+
}
|
|
652
|
+
let http = new HttpResetClass()
|
|
653
|
+
let res = await http.load(
|
|
654
|
+
'POST',
|
|
655
|
+
`rs/sql/singleTable`,
|
|
656
|
+
{data: data},
|
|
657
|
+
{resolveMsg: null, rejectMsg: '保险查询失败!!!'}
|
|
658
|
+
)
|
|
659
|
+
if (res.data.length > 0) {
|
|
660
|
+
|
|
661
|
+
this.setLabelValue('待执行保险', '是')
|
|
662
|
+
for (const item of this.show_data.fields) {
|
|
663
|
+
if (item.label === '是否购买保险' || item.label === '保费结束日期' || item.label === '险种' || item.label === '保费金额' || item.label === '保险备注') {
|
|
664
|
+
item.hidden = true
|
|
665
|
+
item.required = false
|
|
666
|
+
item.value = null
|
|
667
|
+
}
|
|
668
|
+
if (item.label === '保费开始日期') {
|
|
669
|
+
item.hidden = false
|
|
670
|
+
item.required = true
|
|
671
|
+
}
|
|
672
|
+
}
|
|
673
|
+
} else {
|
|
674
|
+
this.setLabelValue('待执行保险', '否')
|
|
675
|
+
for (const item of this.show_data.fields) {
|
|
676
|
+
if (item.label === '是否购买保险' || item.label === '保费开始日期' || item.label === '保费结束日期' || item.label === '险种' || item.label === '保费金额' || item.label === '保险备注') {
|
|
677
|
+
item.hidden = false
|
|
678
|
+
item.required = true
|
|
679
|
+
}
|
|
680
|
+
}
|
|
681
|
+
}
|
|
682
|
+
|
|
683
|
+
// 保险初始化显示内容
|
|
591
684
|
let f_is_insure = this.getLableValue('是否购买保险')
|
|
592
685
|
for (const item of this.show_data.fields) {
|
|
593
686
|
if (f_is_insure === '是') {
|
|
@@ -598,7 +691,13 @@ export default {
|
|
|
598
691
|
if (item.label === '保险备注') {
|
|
599
692
|
item.hidden = false
|
|
600
693
|
}
|
|
601
|
-
|
|
694
|
+
// 本期保费到期时间默认一年
|
|
695
|
+
if (isEmpty(this.selectdata.f_ins_expiration_date)) {
|
|
696
|
+
let f_ins_expiration_date = new Date().setFullYear(new Date().getFullYear() + 1)
|
|
697
|
+
this.setLabelValue("保费结束日期", new Date(f_ins_expiration_date).Format('yyyy-MM-dd'))
|
|
698
|
+
}
|
|
699
|
+
}
|
|
700
|
+
if (f_is_insure === '否') {
|
|
602
701
|
if (item.label === '保费开始日期' || item.label === '保费结束日期' || item.label === '险种' || item.label === '保费金额') {
|
|
603
702
|
item.hidden = true
|
|
604
703
|
item.required = false
|
|
@@ -608,11 +707,6 @@ export default {
|
|
|
608
707
|
}
|
|
609
708
|
}
|
|
610
709
|
}
|
|
611
|
-
// 本期保费到期时间默认一年
|
|
612
|
-
if (isEmpty(this.selectdata.f_ins_expiration_date)) {
|
|
613
|
-
let f_ins_expiration_date = new Date().setFullYear(new Date().getFullYear() + 1)
|
|
614
|
-
this.setLabelValue("保费结束日期", new Date(f_ins_expiration_date).Format('yyyy-MM-dd'))
|
|
615
|
-
}
|
|
616
710
|
},
|
|
617
711
|
// 合同金额失去焦点
|
|
618
712
|
async 'contractMoneyChange' (index) {
|
|
@@ -635,19 +729,21 @@ export default {
|
|
|
635
729
|
return
|
|
636
730
|
}
|
|
637
731
|
|
|
638
|
-
this.setLabelValue('
|
|
732
|
+
this.setLabelValue('集收单位', null)
|
|
639
733
|
|
|
640
734
|
let data = {
|
|
641
735
|
tablename: 't_area',
|
|
642
736
|
condition: `f_filialeid = '${this.$login.f.orgid}' and f_street = '${this.show_data.f_street}'`
|
|
643
737
|
}
|
|
644
|
-
let
|
|
738
|
+
let http = new HttpResetClass()
|
|
739
|
+
let res = await http.load(
|
|
740
|
+
'POST',
|
|
645
741
|
`rs/sql/singleTable`,
|
|
646
742
|
{data: data},
|
|
647
|
-
{resolveMsg: null, rejectMsg: '
|
|
743
|
+
{resolveMsg: null, rejectMsg: '集收单位查询失败!!!'}
|
|
648
744
|
)
|
|
649
745
|
|
|
650
|
-
this.setLabelOptions('
|
|
746
|
+
this.setLabelOptions('集收单位', res.data.map(item => {
|
|
651
747
|
return {
|
|
652
748
|
label: item.f_residential_area,
|
|
653
749
|
value: item.f_residential_area
|
|
@@ -660,20 +756,33 @@ export default {
|
|
|
660
756
|
return
|
|
661
757
|
}
|
|
662
758
|
|
|
663
|
-
this.setLabelValue('
|
|
664
|
-
this.setLabelValue('
|
|
759
|
+
this.setLabelValue('街道/乡镇', null)
|
|
760
|
+
this.setLabelValue('集收单位', null)
|
|
761
|
+
|
|
762
|
+
|
|
665
763
|
|
|
666
764
|
let data = {
|
|
667
765
|
tablename: 't_street',
|
|
668
766
|
condition: `f_filialeid = '${this.$login.f.orgid}' and f_pcd = '${this.show_data.f_pcd}'`
|
|
669
767
|
}
|
|
670
|
-
let
|
|
768
|
+
let f_address_type = this.getLableValue('地址类型')
|
|
769
|
+
|
|
770
|
+
if (f_address_type === '民用市区') {
|
|
771
|
+
data.condition = `f_filialeid = '${this.$login.f.orgid}' and f_pcd = '${this.show_data.f_pcd}' and f_iscity = '市区'`
|
|
772
|
+
}
|
|
773
|
+
if (f_address_type === '民用乡镇') {
|
|
774
|
+
data.condition = `f_filialeid = '${this.$login.f.orgid}' and f_pcd = '${this.show_data.f_pcd}' and f_iscity = '乡镇'`
|
|
775
|
+
}
|
|
776
|
+
|
|
777
|
+
let http = new HttpResetClass()
|
|
778
|
+
let res = await http.load(
|
|
779
|
+
'POST',
|
|
671
780
|
`rs/sql/singleTable`,
|
|
672
781
|
{data: data},
|
|
673
|
-
{resolveMsg: null, rejectMsg: '
|
|
782
|
+
{resolveMsg: null, rejectMsg: '街道/乡镇查询失败!!!'}
|
|
674
783
|
)
|
|
675
784
|
|
|
676
|
-
this.setLabelOptions('
|
|
785
|
+
this.setLabelOptions('街道/乡镇', res.data.map(item => {
|
|
677
786
|
return {
|
|
678
787
|
label: item.f_street,
|
|
679
788
|
value: item.f_street
|
|
@@ -684,71 +793,63 @@ export default {
|
|
|
684
793
|
'addressTypeChange' (index) {
|
|
685
794
|
let f_address_type = this.show_data.fields[index].value
|
|
686
795
|
for (const item of this.show_data.fields) {
|
|
687
|
-
if (f_address_type === '
|
|
688
|
-
if (item.label === '区/县' || item.label === '
|
|
796
|
+
if (f_address_type === '民用市区') {
|
|
797
|
+
if (item.label === '区/县' || item.label === '街道/乡镇' || item.label === '集收单位' || item.label === '门牌号') {
|
|
689
798
|
item.hidden = false
|
|
690
799
|
item.required = true
|
|
691
800
|
item.value = null
|
|
692
801
|
}
|
|
693
|
-
if (item.label === '
|
|
802
|
+
if (item.label === '楼号/组' || item.label === '单元/排' || item.label === '楼层') {
|
|
694
803
|
item.hidden = false
|
|
695
804
|
item.required = false
|
|
696
805
|
item.value = null
|
|
697
806
|
}
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
if (item.label === '楼层(组)' ||item.label === '门牌号(号)') {
|
|
701
|
-
item.hidden = false
|
|
702
|
-
item.required = false
|
|
703
|
-
item.value = null
|
|
704
|
-
}
|
|
705
|
-
if (item.label === '区/县' || item.label === '楼号(乡/镇)' || item.label === '单元(村)') {
|
|
706
|
-
item.hidden = false
|
|
707
|
-
item.required = true
|
|
708
|
-
item.value = null
|
|
709
|
-
}
|
|
710
|
-
if (item.label === '街道' || item.label === '小区') {
|
|
711
|
-
item.hidden = true
|
|
712
|
-
item.required = false
|
|
807
|
+
if (item.label === '地址') {
|
|
808
|
+
item.readonly = true
|
|
713
809
|
item.value = null
|
|
714
810
|
}
|
|
715
811
|
}
|
|
716
|
-
if (f_address_type === '
|
|
717
|
-
if (item.label === '区/县' || item.label === '
|
|
812
|
+
if (f_address_type === '民用乡镇') {
|
|
813
|
+
if (item.label === '区/县' || item.label === '街道/乡镇' || item.label === '集收单位' || item.label === '门牌号') {
|
|
718
814
|
item.hidden = false
|
|
719
815
|
item.required = true
|
|
720
816
|
item.value = null
|
|
721
817
|
}
|
|
722
|
-
if (item.label === '
|
|
818
|
+
if (item.label === '楼号/组' || item.label === '单元/排' || item.label === '楼层') {
|
|
723
819
|
item.hidden = false
|
|
724
820
|
item.required = false
|
|
725
821
|
item.value = null
|
|
726
822
|
}
|
|
727
|
-
if (item.label === '
|
|
823
|
+
if (item.label === '楼层') {
|
|
728
824
|
item.hidden = true
|
|
729
825
|
item.required = false
|
|
730
826
|
item.value = null
|
|
731
827
|
}
|
|
828
|
+
if (item.label === '地址') {
|
|
829
|
+
item.readonly = true
|
|
830
|
+
item.value = null
|
|
831
|
+
}
|
|
732
832
|
}
|
|
733
|
-
if (f_address_type === '
|
|
734
|
-
if (item.label === '区/县') {
|
|
833
|
+
if (f_address_type === '特殊地址') {
|
|
834
|
+
if (item.label === '区/县' || item.label === '街道/乡镇') {
|
|
735
835
|
item.hidden = false
|
|
736
836
|
item.required = true
|
|
737
837
|
item.value = null
|
|
738
838
|
}
|
|
739
|
-
if (item.label === '
|
|
839
|
+
if (item.label === '集收单位') {
|
|
740
840
|
item.hidden = false
|
|
741
841
|
item.required = false
|
|
742
842
|
item.value = null
|
|
743
843
|
}
|
|
744
|
-
if (item.label === '
|
|
844
|
+
if (item.label === '楼号/组' || item.label === '单元/排' || item.label === '楼层' || item.label === '门牌号') {
|
|
745
845
|
item.hidden = true
|
|
746
846
|
item.required = false
|
|
747
847
|
item.value = null
|
|
748
848
|
}
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
849
|
+
if (item.label === '地址') {
|
|
850
|
+
item.readonly = false
|
|
851
|
+
item.value = null
|
|
852
|
+
}
|
|
752
853
|
}
|
|
753
854
|
}
|
|
754
855
|
},
|
|
@@ -759,49 +860,52 @@ export default {
|
|
|
759
860
|
let f_address_type = this.show_data.f_address_type
|
|
760
861
|
|
|
761
862
|
for (const item of this.show_data.fields) {
|
|
762
|
-
if (f_address_type === '
|
|
763
|
-
if (item.label === '区/县' || item.label === '
|
|
863
|
+
if (f_address_type === '民用市区') {
|
|
864
|
+
if (item.label === '区/县' || item.label === '街道/乡镇' || item.label === '集收单位' || item.label === '门牌号') {
|
|
764
865
|
item.hidden = false
|
|
765
866
|
item.required = true
|
|
766
867
|
}
|
|
767
|
-
if (item.label === '
|
|
868
|
+
if (item.label === '楼号/组' || item.label === '单元/排' || item.label === '楼层') {
|
|
768
869
|
item.hidden = false
|
|
769
870
|
item.required = false
|
|
770
871
|
}
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
if (item.label === '区/县' || item.label === '楼号(乡/镇)' || item.label === '单元(村)' || item.label === '楼层(组)' ||item.label === '门牌号(号)') {
|
|
774
|
-
item.hidden = false
|
|
775
|
-
item.required = true
|
|
776
|
-
}
|
|
777
|
-
if (item.label === '街道' || item.label === '小区') {
|
|
778
|
-
item.hidden = true
|
|
779
|
-
item.required = false
|
|
872
|
+
if (item.label === '地址') {
|
|
873
|
+
item.readonly = true
|
|
780
874
|
}
|
|
781
875
|
}
|
|
782
|
-
if (f_address_type === '
|
|
783
|
-
if (item.label === '区/县' || item.label === '
|
|
876
|
+
if (f_address_type === '民用乡镇') {
|
|
877
|
+
if (item.label === '区/县' || item.label === '街道/乡镇' || item.label === '集收单位' || item.label === '门牌号') {
|
|
784
878
|
item.hidden = false
|
|
785
879
|
item.required = true
|
|
786
880
|
}
|
|
787
|
-
if (item.label === '
|
|
881
|
+
if (item.label === '楼号/组' || item.label === '单元/排' || item.label === '楼层') {
|
|
788
882
|
item.hidden = false
|
|
789
883
|
item.required = false
|
|
790
884
|
}
|
|
791
|
-
if (item.label === '
|
|
885
|
+
if (item.label === '楼层') {
|
|
792
886
|
item.hidden = true
|
|
793
887
|
item.required = false
|
|
794
888
|
}
|
|
889
|
+
if (item.label === '地址') {
|
|
890
|
+
item.readonly = true
|
|
891
|
+
}
|
|
795
892
|
}
|
|
796
|
-
if (f_address_type === '
|
|
797
|
-
if (item.label === '区/县') {
|
|
893
|
+
if (f_address_type === '特殊地址') {
|
|
894
|
+
if (item.label === '区/县' || item.label === '街道/乡镇') {
|
|
798
895
|
item.hidden = false
|
|
799
896
|
item.required = true
|
|
800
897
|
}
|
|
801
|
-
if (item.label === '
|
|
898
|
+
if (item.label === '集收单位') {
|
|
899
|
+
item.hidden = false
|
|
900
|
+
item.required = false
|
|
901
|
+
}
|
|
902
|
+
if (item.label === '楼号/组' || item.label === '单元/排' || item.label === '楼层' || item.label === '门牌号') {
|
|
802
903
|
item.hidden = true
|
|
803
904
|
item.required = false
|
|
804
905
|
}
|
|
906
|
+
if (item.label === '地址') {
|
|
907
|
+
item.readonly = false
|
|
908
|
+
}
|
|
805
909
|
}
|
|
806
910
|
|
|
807
911
|
if (this.show_data.f_apply_source === '线下发起' && item.label === '预约地址') {
|
|
@@ -839,41 +943,28 @@ export default {
|
|
|
839
943
|
'onchange' (index) {
|
|
840
944
|
if (this.show_data.defname === '报装申请') {
|
|
841
945
|
if (
|
|
842
|
-
this.show_data.fields[index].label === '
|
|
843
|
-
this.show_data.fields[index].label === '
|
|
844
|
-
this.show_data.fields[index].label === '
|
|
845
|
-
this.show_data.fields[index].label === '
|
|
846
|
-
this.show_data.fields[index].label === '
|
|
847
|
-
this.show_data.fields[index].label === '
|
|
946
|
+
this.show_data.fields[index].label === '区/县' ||
|
|
947
|
+
this.show_data.fields[index].label === '街道/乡镇' ||
|
|
948
|
+
this.show_data.fields[index].label === '集收单位' ||
|
|
949
|
+
this.show_data.fields[index].label === '楼号/组' ||
|
|
950
|
+
this.show_data.fields[index].label === '单元/排' ||
|
|
951
|
+
this.show_data.fields[index].label === '楼层' ||
|
|
952
|
+
this.show_data.fields[index].label === '门牌号'
|
|
848
953
|
) {
|
|
849
954
|
|
|
850
955
|
let f_pcd = this.getLableValue('区/县') || ''
|
|
851
|
-
let f_street = this.getLableValue('
|
|
852
|
-
let f_residential_area = this.getLableValue('
|
|
853
|
-
let f_building = this.getLableValue('
|
|
956
|
+
let f_street = this.getLableValue('街道/乡镇') || ''
|
|
957
|
+
let f_residential_area = this.getLableValue('集收单位') || ''
|
|
958
|
+
let f_building = this.getLableValue('楼号/组') || ''
|
|
854
959
|
let f_building_suffix = f_building ? this.config.f_building_suffix : ''
|
|
855
|
-
let f_unit = this.getLableValue('
|
|
960
|
+
let f_unit = this.getLableValue('单元/排') || ''
|
|
856
961
|
let f_unit_suffix = f_unit ? this.config.f_unit_suffix : ''
|
|
857
|
-
let f_floor = this.getLableValue('楼层
|
|
962
|
+
let f_floor = this.getLableValue('楼层') || ''
|
|
858
963
|
let f_floor_suffix = f_floor ? this.config.f_floor_suffix : ''
|
|
859
|
-
let f_room = this.getLableValue('门牌号
|
|
964
|
+
let f_room = this.getLableValue('门牌号') || ''
|
|
860
965
|
let f_room_suffix = f_room ? this.config.f_room_suffix : ''
|
|
861
966
|
|
|
862
|
-
let f_address =
|
|
863
|
-
|
|
864
|
-
let f_address_type = this.show_data.f_address_type
|
|
865
|
-
if (f_address_type === '民用城区') {
|
|
866
|
-
f_address = f_pcd + 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
|
|
867
|
-
}
|
|
868
|
-
if (f_address_type === '民用农村') {
|
|
869
|
-
f_address = f_pcd + f_building + f_unit + f_floor + f_room
|
|
870
|
-
}
|
|
871
|
-
if (f_address_type === '特殊城区') {
|
|
872
|
-
f_address = f_pcd + f_street + f_residential_area
|
|
873
|
-
}
|
|
874
|
-
if (f_address_type === '特殊农村') {
|
|
875
|
-
f_address = f_pcd
|
|
876
|
-
}
|
|
967
|
+
let f_address = f_pcd + 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
|
|
877
968
|
this.setLabelValue("地址", f_address)
|
|
878
969
|
}
|
|
879
970
|
}
|
|
@@ -1,29 +1,33 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div style="height: auto;text-align: center" class="col-sm-12" v-if="data != null">
|
|
3
|
-
<span style="color: red;font-family: 微软雅黑;font-weight: bold;font-size: 18px">请注意被退回原因为:{{data.f_back_reason}} 退回时间:{{data.f_date}}</span>
|
|
4
|
-
</div>
|
|
5
|
-
</template>
|
|
6
|
-
<script>
|
|
7
|
-
import {HttpResetClass} from 'vue-client'
|
|
8
|
-
|
|
9
|
-
export default {
|
|
10
|
-
title: '退回原因展示',
|
|
11
|
-
props: ['selectdata'],
|
|
12
|
-
data () {
|
|
13
|
-
return {
|
|
14
|
-
data: null
|
|
15
|
-
}
|
|
16
|
-
},
|
|
17
|
-
async ready () {
|
|
18
|
-
let data = {
|
|
19
|
-
tablename: 't_backcause',
|
|
20
|
-
condition: `actid = '${this.selectdata.actid}' and f_process_id = '${this.selectdata.f_process_id}'`
|
|
21
|
-
}
|
|
22
|
-
let
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
1
|
+
<template>
|
|
2
|
+
<div style="height: auto;text-align: center" class="col-sm-12" v-if="data != null">
|
|
3
|
+
<span style="color: red;font-family: 微软雅黑;font-weight: bold;font-size: 18px">请注意被退回原因为:{{data.f_back_reason}} 退回时间:{{data.f_date}}</span>
|
|
4
|
+
</div>
|
|
5
|
+
</template>
|
|
6
|
+
<script>
|
|
7
|
+
import {HttpResetClass} from 'vue-client'
|
|
8
|
+
|
|
9
|
+
export default {
|
|
10
|
+
title: '退回原因展示',
|
|
11
|
+
props: ['selectdata'],
|
|
12
|
+
data () {
|
|
13
|
+
return {
|
|
14
|
+
data: null
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
async ready () {
|
|
18
|
+
let data = {
|
|
19
|
+
tablename: 't_backcause',
|
|
20
|
+
condition: `actid = '${this.selectdata.actid}' and f_process_id = '${this.selectdata.f_process_id}'`
|
|
21
|
+
}
|
|
22
|
+
let http = new HttpResetClass()
|
|
23
|
+
let res = await http.load(
|
|
24
|
+
'POST',
|
|
25
|
+
'rs/sql/singleTable',
|
|
26
|
+
{data: data}, {
|
|
27
|
+
resolveMsg: null,
|
|
28
|
+
rejectMsg: '退回原因查询失败!!!'
|
|
29
|
+
})
|
|
30
|
+
this.data = res.data[0]
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
</script>
|
|
@@ -20,11 +20,10 @@
|
|
|
20
20
|
condition="f_apply_num = '{}'">
|
|
21
21
|
</div>
|
|
22
22
|
<div class="form-group col-sm-3">
|
|
23
|
-
<label class="font_normal_body"
|
|
24
|
-
<input type="text" style="width:60%" class="input_search" v-model="model.
|
|
25
|
-
v-on:keyup.enter="$parent.$parent.search()" condition="
|
|
23
|
+
<label class="font_normal_body">客户名称:</label>
|
|
24
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
|
|
25
|
+
v-on:keyup.enter="$parent.$parent.search()" condition="f_user_name like '%{}%'" placeholder='客户名称'>
|
|
26
26
|
</div>
|
|
27
|
-
|
|
28
27
|
<div class="form-group col-sm-2 button-range">
|
|
29
28
|
<button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
|
|
30
29
|
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
@@ -37,11 +36,6 @@
|
|
|
37
36
|
</div>
|
|
38
37
|
</div>
|
|
39
38
|
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
40
|
-
<div class="form-group col-sm-3">
|
|
41
|
-
<label class="font_normal_body">客户名称:</label>
|
|
42
|
-
<input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
|
|
43
|
-
v-on:keyup.enter="$parent.$parent.search()" condition="f_user_name like '%{}%'" placeholder='客户名称'>
|
|
44
|
-
</div>
|
|
45
39
|
<div class="form-group col-sm-3">
|
|
46
40
|
<label class="font_normal_body">联系电话:</label>
|
|
47
41
|
<input type="text" style="width:60%" class="input_search" placeholder='联系电话' v-model="model.f_phone"
|
|
@@ -115,7 +109,6 @@
|
|
|
115
109
|
<tr>
|
|
116
110
|
<th style="white-space: nowrap;">序号</th>
|
|
117
111
|
<th style="white-space: nowrap;">报建编号</th>
|
|
118
|
-
<th style="white-space: nowrap;">项目名称</th>
|
|
119
112
|
<th style="white-space: nowrap;">客户名称</th>
|
|
120
113
|
<th style="white-space: nowrap;">联系人</th>
|
|
121
114
|
<th style="white-space: nowrap;">电话</th>
|
|
@@ -140,9 +133,6 @@
|
|
|
140
133
|
<td style="text-align: center;">
|
|
141
134
|
<nobr>{{row.f_apply_num}}</nobr>
|
|
142
135
|
</td>
|
|
143
|
-
<td style="text-align: center;">
|
|
144
|
-
<nobr>{{row.f_entry_name}}</nobr>
|
|
145
|
-
</td>
|
|
146
136
|
<td style="text-align: center;">
|
|
147
137
|
<nobr>{{row.f_user_name}}</nobr>
|
|
148
138
|
</td>
|