diff --git a/src/views/modules/cabaseinfo/caloudong.vue b/src/views/modules/cabaseinfo/caloudong.vue
index 5a07d25f..4f32e593 100644
--- a/src/views/modules/cabaseinfo/caloudong.vue
+++ b/src/views/modules/cabaseinfo/caloudong.vue
@@ -16,6 +16,14 @@
clearable
>
+
+
+
+
{{ $t("query") }}
@@ -145,9 +153,30 @@ export default {
dataForm: {
buildingName: "",
communityName: "",
+ gridId:""
},
+ caLouDongOptions:[]
};
},
+ methods:{
+ getloudongOptions(){
+ this.$http.post(`/opendata/caLoudong/getLouDongCascade`).then(resp => {
+ if(resp.data.code === 0){
+ this.caLouDongOptions = resp.data.data
+ }
+ }).catch(error => {
+ this.$message.error(error)
+ })
+
+ },
+ handlePartyChange(val) {
+ console.log('val------pp', val)
+ this.dataForm.gridId = val[val.length - 1]
+ },
+ },
+created(){
+ this.getloudongOptions()
+ },
components: {
AddOrUpdate,
},
diff --git a/src/views/modules/cabaseinfo/capingfang.vue b/src/views/modules/cabaseinfo/capingfang.vue
index 69404307..13043d32 100644
--- a/src/views/modules/cabaseinfo/capingfang.vue
+++ b/src/views/modules/cabaseinfo/capingfang.vue
@@ -16,6 +16,14 @@
clearable
>
+
+
+
+
{{ $t("query") }}
@@ -145,9 +153,30 @@ export default {
dataForm: {
buildingName: "",
communityName: "",
+ gridId:""
},
+ caLouDongOptions:[]
};
},
+ methods:{
+ getloudongOptions(){
+ this.$http.post(`/opendata/caLoudong/getLouDongCascade`).then(resp => {
+ if(resp.data.code === 0){
+ this.caLouDongOptions = resp.data.data
+ }
+ }).catch(error => {
+ this.$message.error(error)
+ })
+
+ },
+ handlePartyChange(val) {
+ console.log('val------pp', val)
+ this.dataForm.gridId = val[val.length - 1]
+ },
+ },
+created(){
+ this.getloudongOptions()
+ },
components: {
AddOrUpdate,
},
diff --git a/src/views/modules/cabaseinfo/carental.vue b/src/views/modules/cabaseinfo/carental.vue
index 0980e803..317e299c 100644
--- a/src/views/modules/cabaseinfo/carental.vue
+++ b/src/views/modules/cabaseinfo/carental.vue
@@ -22,6 +22,14 @@
placeholder="承租人姓名"
clearable
>
+
+
+
+
{{ $t("query") }}
@@ -146,9 +154,30 @@ export default {
houseName: "",
residentName: "",
renterName: "",
+ gridId:""
},
+ caLouDongOptions:[]
};
},
+ methods:{
+ getloudongOptions(){
+ this.$http.post(`/opendata/caLoudong/getLouDongCascade`).then(resp => {
+ if(resp.data.code === 0){
+ this.caLouDongOptions = resp.data.data
+ }
+ }).catch(error => {
+ this.$message.error(error)
+ })
+
+ },
+ handlePartyChange(val) {
+ console.log('val------pp', val)
+ this.dataForm.gridId = val[val.length - 1]
+ },
+ },
+created(){
+ this.getloudongOptions()
+ },
components: {
AddOrUpdate,
},
diff --git a/src/views/modules/cabaseinfo/caresident.vue b/src/views/modules/cabaseinfo/caresident.vue
index 0cba7cd8..68010a88 100644
--- a/src/views/modules/cabaseinfo/caresident.vue
+++ b/src/views/modules/cabaseinfo/caresident.vue
@@ -19,6 +19,14 @@
clearable
>
+
+
+
+
{{ $t("query") }}
@@ -137,9 +145,30 @@ export default {
idCard: "",
residentName: "",
telephone: "",
+ gridId:""
},
+ caLouDongOptions:[]
};
},
+ methods:{
+ getloudongOptions(){
+ this.$http.post(`/opendata/caLoudong/getLouDongCascade`).then(resp => {
+ if(resp.data.code === 0){
+ this.caLouDongOptions = resp.data.data
+ }
+ }).catch(error => {
+ this.$message.error(error)
+ })
+
+ },
+ handlePartyChange(val) {
+ console.log('val------pp', val)
+ this.dataForm.gridId = val[val.length - 1]
+ },
+ },
+created(){
+ this.getloudongOptions()
+ },
components: {
AddOrUpdate,
},
diff --git a/src/views/modules/cabaseinfo/carotators.vue b/src/views/modules/cabaseinfo/carotators.vue
index c171dad8..6f7ba14e 100644
--- a/src/views/modules/cabaseinfo/carotators.vue
+++ b/src/views/modules/cabaseinfo/carotators.vue
@@ -18,6 +18,14 @@
placeholder="联系方式"
clearable
>
+
+
+
+
{{ $t("query") }}
@@ -131,9 +139,30 @@ export default {
idCard: "",
residentName: "",
telephone: "",
+ gridId:""
},
+ caLouDongOptions:[]
};
},
+ methods:{
+ getloudongOptions(){
+ this.$http.post(`/opendata/caLoudong/getLouDongCascade`).then(resp => {
+ if(resp.data.code === 0){
+ this.caLouDongOptions = resp.data.data
+ }
+ }).catch(error => {
+ this.$message.error(error)
+ })
+
+ },
+ handlePartyChange(val) {
+ console.log('val------pp', val)
+ this.dataForm.gridId = val[val.length - 1]
+ },
+ },
+created(){
+ this.getloudongOptions()
+ },
components: {
AddOrUpdate,
},