|
@@ -186,21 +186,26 @@
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
label:"关联对象",
|
|
label:"关联对象",
|
|
|
- prop:"resourceName",
|
|
|
|
|
|
|
+ prop:"resourceNames",
|
|
|
|
|
+ type: "textarea",
|
|
|
addDisplay:false,
|
|
addDisplay:false,
|
|
|
editDisplay:false,
|
|
editDisplay:false,
|
|
|
|
|
+ // row: true,
|
|
|
|
|
+ span: 24
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
{
|
|
{
|
|
|
label: "关联对象",
|
|
label: "关联对象",
|
|
|
prop: "resourceIds",
|
|
prop: "resourceIds",
|
|
|
type: "select",
|
|
type: "select",
|
|
|
|
|
+ multiple: true,
|
|
|
hide:true,
|
|
hide:true,
|
|
|
viewDisplay:false,
|
|
viewDisplay:false,
|
|
|
- span:24,
|
|
|
|
|
|
|
+ remote: true,
|
|
|
|
|
+ span: 24,
|
|
|
// dicUrl: "/api/cyzh-community/residential/list?agencyId={{key}}",
|
|
// dicUrl: "/api/cyzh-community/residential/list?agencyId={{key}}",
|
|
|
// dicUrl: "/api/cyzh-community/residential/list?size=500",
|
|
// dicUrl: "/api/cyzh-community/residential/list?size=500",
|
|
|
- dicUrl: "/api/cyzh-community/agency/list?size=1000",
|
|
|
|
|
|
|
+ dicUrl: "/api/cyzh-community/agency/list?size=100",
|
|
|
dicFormatter:(res)=>{
|
|
dicFormatter:(res)=>{
|
|
|
return res.data.records;//返回字典的层级结构
|
|
return res.data.records;//返回字典的层级结构
|
|
|
},
|
|
},
|
|
@@ -322,7 +327,7 @@
|
|
|
});
|
|
});
|
|
|
},
|
|
},
|
|
|
rowUpdate(row, index, done, loading) {
|
|
rowUpdate(row, index, done, loading) {
|
|
|
- row.residentialIds = row.residentialIds.toString();
|
|
|
|
|
|
|
+ row.resourceIds = row.resourceIds.toString();
|
|
|
update(row).then(() => {
|
|
update(row).then(() => {
|
|
|
this.onLoad(this.page);
|
|
this.onLoad(this.page);
|
|
|
this.$message({
|
|
this.$message({
|