This commit is contained in:
qsh
2023-03-21 00:53:28 +08:00
parent 953377e655
commit 955687d473
171 changed files with 7149 additions and 7341 deletions

View File

@@ -1,4 +1,4 @@
import request from '@/utils/request'
import request from '@/utils/request';
// 查询部门列表
export function listDept(query) {
@@ -6,7 +6,7 @@ export function listDept(query) {
url: '/system/dept/list',
method: 'get',
params: query
})
});
}
// 查询部门列表(排除节点)
@@ -14,7 +14,7 @@ export function listDeptExcludeChild(deptId) {
return request({
url: '/system/dept/list/exclude/' + deptId,
method: 'get'
})
});
}
// 查询部门详细
@@ -22,7 +22,7 @@ export function getDept(deptId) {
return request({
url: '/system/dept/' + deptId,
method: 'get'
})
});
}
// 新增部门
@@ -31,7 +31,7 @@ export function addDept(data) {
url: '/system/dept',
method: 'post',
data: data
})
});
}
// 修改部门
@@ -40,7 +40,7 @@ export function updateDept(data) {
url: '/system/dept',
method: 'put',
data: data
})
});
}
// 删除部门
@@ -48,12 +48,12 @@ export function delDept(deptId) {
return request({
url: '/system/dept/' + deptId,
method: 'delete'
})
});
}
// 查询部门下拉树结构
export function deptTreeSelect() {
return request({
url: '/system/dept/deptTree',
method: 'get'
})
});
}