apply-clients 3.4.2-FuGu-18 → 3.4.2-FuGu-19
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
|
@@ -626,6 +626,45 @@ export default {
|
|
|
626
626
|
}
|
|
627
627
|
}
|
|
628
628
|
},
|
|
629
|
+
// 区县失去焦点
|
|
630
|
+
async 'pcdChange' (index) {
|
|
631
|
+
if (isEmpty(this.show_data.f_pcd)) {
|
|
632
|
+
return
|
|
633
|
+
}
|
|
634
|
+
|
|
635
|
+
this.setLabelValue('街道', null)
|
|
636
|
+
this.setLabelValue('小区', null)
|
|
637
|
+
|
|
638
|
+
|
|
639
|
+
|
|
640
|
+
let data = {
|
|
641
|
+
tablename: 't_street',
|
|
642
|
+
condition: `f_filialeid = '${this.$login.f.orgid}' and f_pcd = '${this.show_data.f_pcd}'`
|
|
643
|
+
}
|
|
644
|
+
let f_address_type = this.getLableValue('地址类型')
|
|
645
|
+
|
|
646
|
+
if (f_address_type === '民用市区') {
|
|
647
|
+
data.condition = `f_filialeid = '${this.$login.f.orgid}' and f_pcd = '${this.show_data.f_pcd}' and f_iscity = '市区'`
|
|
648
|
+
}
|
|
649
|
+
if (f_address_type === '民用乡镇') {
|
|
650
|
+
data.condition = `f_filialeid = '${this.$login.f.orgid}' and f_pcd = '${this.show_data.f_pcd}' and f_iscity = '乡镇'`
|
|
651
|
+
}
|
|
652
|
+
|
|
653
|
+
let http = new HttpResetClass()
|
|
654
|
+
let res = await http.load(
|
|
655
|
+
'POST',
|
|
656
|
+
`${this.$androidUtil.getProxyUrl()}/rs/sql/singleTable`,
|
|
657
|
+
{data: data},
|
|
658
|
+
{resolveMsg: null, rejectMsg: '街道查询失败!!!'}
|
|
659
|
+
)
|
|
660
|
+
|
|
661
|
+
this.setLabelOptions('街道', res.data.map(item => {
|
|
662
|
+
return {
|
|
663
|
+
label: item.f_street,
|
|
664
|
+
value: item.f_street
|
|
665
|
+
}
|
|
666
|
+
}))
|
|
667
|
+
},
|
|
629
668
|
async 'streetChange' (index) {
|
|
630
669
|
if (isEmpty(this.show_data.f_street)) {
|
|
631
670
|
return
|
|
@@ -616,7 +616,11 @@ export default {
|
|
|
616
616
|
},
|
|
617
617
|
async pcdChange () {
|
|
618
618
|
|
|
619
|
-
|
|
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)) {
|
|
620
624
|
return
|
|
621
625
|
}
|
|
622
626
|
|