Administrator
2021-11-03 152a4702ec03ceec5f57b207a8d7d9ea5ccdbfe7
src/api/system/user.js
@@ -1,6 +1,25 @@
import request from '@/router/axios';
export const getList = (current, size, params, deptId) => {
export const getJurisdiction = (params) => {
    return request({
        url: '/api/jurisdiction/selJur',
        method: 'get',
        params: {
            ...params
        }
    })
}
export const getList = (current, size, params, deptId, jurisdiction) => {
    var datas = {};
    if (jurisdiction == '') {
        datas = { deptId: deptId };
    } else {
        datas = { jurisdiction: jurisdiction };
    }
    return request({
        url: '/api/blade-user/page',
        method: 'get',
@@ -8,7 +27,7 @@
            ...params,
            current,
            size,
            deptId,
            ...datas
        }
    })
}