fix: 角色管理调整

This commit is contained in:
lilinyuan
2024-04-01 14:27:52 +08:00
parent 8964cbe4bd
commit 1b10b9aa2b
3 changed files with 48 additions and 34 deletions

View File

@@ -132,15 +132,6 @@ const tableConfig = reactive({
fixed: 'right',
currentRender: ({row, index}) => {
let btn = [{label: '修改', auth: auths.edit, func: ()=>handleEdit(row) , type: 'primary'}]
row.template ?
btn.push(
{
label: '使用模版',
auth: auths.edit,
func: ()=>handleUseTemp(row),
type: 'primary'
}
) :
btn.push(
{
label: '分配用户',
@@ -222,16 +213,6 @@ const handleEdit = (row) => {
})
}
const handleUseTemp = (row) => {
router.push({
path: '/system/roleadd',
query: {
id: row.roleId,
isAdd: 1
}
})
}
const handleAssign = (row) => {
}