|
@@ -81,12 +81,12 @@ const search = async () => {
|
|
// 所属社区
|
|
// 所属社区
|
|
res = await officeAxios.query({ belong: info.street, type: '1', is_use: '0' });
|
|
res = await officeAxios.query({ belong: info.street, type: '1', is_use: '0' });
|
|
if (res.errcode == '0') communityList.value = res.data;
|
|
if (res.errcode == '0') communityList.value = res.data;
|
|
- if (info.role == 'sqry') {
|
|
|
|
- fields.value.push({ label: '所属社区', model: 'community', type: 'select' });
|
|
|
|
- }
|
|
|
|
if (info.role != 'cs') {
|
|
if (info.role != 'cs') {
|
|
fields.value.push({ label: '所属街道', model: 'street', type: 'select' });
|
|
fields.value.push({ label: '所属街道', model: 'street', type: 'select' });
|
|
}
|
|
}
|
|
|
|
+ if (info.role == 'sqry') {
|
|
|
|
+ fields.value.push({ label: '所属社区', model: 'community', type: 'select' });
|
|
|
|
+ }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
};
|
|
};
|