保安服务企业管理项目备份
guoshilong
2023-12-15 4f8d144bde3ef7e5e89652df0b22caae9970bfbd
src/api/system/dept.js
@@ -69,13 +69,25 @@
    })
}
export const getDeptLazyTree = (parentId, jurisdiction) => {
export const getDeptLazyTree = (parentId, userId) => {
    return request({
        url: '/api/blade-system/dept/lazy-tree',
        method: 'get',
        params: {
            parentId,
            jurisdiction
            userId
        }
    })
}
export const getSecurityDeptTree = (jurisdiction, parentId, deptId) => {
    return request({
        url: '/api/blade-system/dept/security_lazy-tree',
        method: 'get',
        params: {
            jurisdiction,
            parentId,
            deptId
        }
    })
}
@@ -103,4 +115,4 @@
        url: '/api/blade-system/role/selectRole',
        method: 'get',
    })
}
}