fix: 角色管理调整
This commit is contained in:
@@ -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) => {
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user