|
|
@ -213,6 +213,7 @@ export default { |
|
|
|
// showImportBtn: false,//是否显示操作按钮,根据登录人所属组织判断 |
|
|
|
|
|
|
|
agencyObj: {},//树所选的小区对象 |
|
|
|
agencyLevel: '',//树对应的level, grid neighborHood building agency |
|
|
|
|
|
|
|
|
|
|
|
validTableDataNum: 0,//有效的数据数量,即有权限操作的数据数量 |
|
|
@ -339,6 +340,20 @@ export default { |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
if (this.agencyObj.level === 'grid') { |
|
|
|
this.agencyLevel = 'grid' |
|
|
|
|
|
|
|
} else if (this.agencyObj.level === 'neighborHood') { |
|
|
|
this.agencyLevel = 'neighborHood' |
|
|
|
|
|
|
|
} else if (this.agencyObj.level === 'building') { |
|
|
|
this.agencyLevel = 'building' |
|
|
|
|
|
|
|
} else { |
|
|
|
this.agencyLevel = 'agency' |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
// if (fromTree) { |
|
|
|
// this.agencyObj = treeObj |
|
|
|
|
|
|
@ -346,7 +361,7 @@ export default { |
|
|
|
let params = { |
|
|
|
pageSize: this.pageSize, |
|
|
|
pageNo: this.pageNo, |
|
|
|
level: this.agencyObj.level, |
|
|
|
level: this.agencyLevel, |
|
|
|
id: this.agencyObj.id, |
|
|
|
ownerName: this.ownerName, |
|
|
|
ownerPhone: this.ownerPhone, |
|
|
|