feat : 菜单与公司选择组件修改

This commit is contained in:
clay
2024-06-18 22:24:50 +08:00
parent 369647f64f
commit 5410b6d248
5 changed files with 73 additions and 64 deletions

View File

@@ -143,7 +143,7 @@ const init = async () => {
form.value.setValues({state: '1', template: false})
const res = await getTemRoleOption()
localData.tempRoleOpt = res.data
const { data } = await getMenuOptRole()
const { data } = await getMenuOptRole(0)
localData.menuData = data.menuOption
// localData.checked = data.checked
}

View File

@@ -114,6 +114,12 @@ const tableConfig = reactive({
label: '手机号码',
align: 'center',
},
{
prop: 'accountType',
label: '主子账号',
align: 'center',
currentRender: ({row, index}) => (<Tag dictType={'account_type'} value={row.accountType} />)
},
{
prop: 'state',
label: '状态',