|
|
@@ -203,8 +203,6 @@
|
|
|
viewDisplay:false,
|
|
|
remote: true,
|
|
|
span: 24,
|
|
|
- // dicUrl: "/api/cyzh-community/residential/list?agencyId={{key}}",
|
|
|
- // dicUrl: "/api/cyzh-community/residential/list?size=500",
|
|
|
dicUrl: "/api/cyzh-community/agency/list?size=100",
|
|
|
dicFormatter:(res)=>{
|
|
|
return res.data.records;//返回字典的层级结构
|
|
|
@@ -280,15 +278,15 @@
|
|
|
let resourceIds = this.findObject(this.option.column, "resourceIds");
|
|
|
if (val == 1) {
|
|
|
this.option.column[7].props.label="name"
|
|
|
- resourceIds.dicUrl = `/api/cyzh-community/agency/list?size=500&name={{key}}`
|
|
|
+ resourceIds.dicUrl = `/api/cyzh-community/agency/list?size=100&name={{key}}`
|
|
|
} else if (val==2){
|
|
|
this.option.column[7].props.label="name"
|
|
|
- resourceIds.dicUrl = "/api/cyzh-community/residentail/list?size=9999";
|
|
|
+ resourceIds.dicUrl = "/api/cyzh-community/residentail/list?size=100&name={{key}}";
|
|
|
}else if(val==3){
|
|
|
this.option.column[7].props.label="name"
|
|
|
- resourceIds.dicUrl = `/api/cyzh-community/agency/list?size=500&name={{key}}`
|
|
|
+ resourceIds.dicUrl = `/api/cyzh-community/agency/list?size=100&name={{key}}`
|
|
|
}else{
|
|
|
- resourceIds.dicUrl = "/api/cyzh-enterprise/enterprise/list?size=500";
|
|
|
+ resourceIds.dicUrl = "/api/cyzh-enterprise/enterprise/list?size=100&enterpriseName={{key}}";
|
|
|
this.option.column[7].props.label="enterpriseName"
|
|
|
}
|
|
|
}
|