|
@@ -183,8 +183,12 @@ const searchOther = async () => {
|
|
|
res = await dictData.query({ type: 'jl_area' });
|
|
|
if (res.errcode == '0') areaList.value = res.data;
|
|
|
// 角色
|
|
|
- res = await roleAxios.query({ account_type: '4', is_use: '0' });
|
|
|
- if (res.errcode == 0) roleList.value = res.data;
|
|
|
+ res = await roleAxios.query({ account_type: '4', is_use: '0' }); //
|
|
|
+ if (res.errcode == 0) {
|
|
|
+ let data = res.data as [];
|
|
|
+ // let list = data.filter((i: any) => i.account_type == '4' || i.account_type == '12');
|
|
|
+ roleList.value = data;
|
|
|
+ }
|
|
|
};
|
|
|
</script>
|
|
|
<style lang="scss" scoped>
|