Administrator
2021-11-05 6ce99cb40ee88271fa0d0d8daea99ba0eaec122f
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
        }
    })
}
@@ -61,6 +80,15 @@
}
export const updatePaperTime = (row) => {
    return request({
        url: '/api/blade-user/updatePaperTime',
        method: 'post',
        data: row
    })
}
export const saveOrUpdateUserPractitionersInfo = (row) => {
    return request({
        url: '/api/experience/saveOrUpdate',