mirror of
https://gitee.com/hhyykk/ipms-sjy-ui.git
synced 2025-07-19 13:25:07 +08:00
Vue3 重构:流程分配规则
This commit is contained in:
@ -165,7 +165,7 @@ import { DICT_TYPE, getIntDictOptions } from '@/utils/dict'
|
||||
import { rules, allSchemas } from './role.data'
|
||||
import * as RoleApi from '@/api/system/role'
|
||||
import { listSimpleMenusApi } from '@/api/system/menu'
|
||||
import { listSimpleDeptApi } from '@/api/system/dept'
|
||||
import { getSimpleDeptList } from '@/api/system/dept'
|
||||
import * as PermissionApi from '@/api/system/permission'
|
||||
|
||||
const { t } = useI18n() // 国际化
|
||||
@ -278,7 +278,7 @@ const handleScope = async (type: string, row: RoleApi.RoleVO) => {
|
||||
})
|
||||
}
|
||||
} else if (type === 'data') {
|
||||
const deptRes = await listSimpleDeptApi()
|
||||
const deptRes = await getSimpleDeptList()
|
||||
treeOptions.value = handleTree(deptRes)
|
||||
const role = await RoleApi.getRoleApi(row.id)
|
||||
dataScopeForm.dataScope = role.dataScope
|
||||
|
Reference in New Issue
Block a user