|
@@ -12,7 +12,7 @@ export function listDept(query) {
|
|
|
// 查询部门列表(排除节点)
|
|
|
export function listDeptExcludeChild(deptId) {
|
|
|
return request({
|
|
|
- url: '/system/dept/list/exclude/' + deptId,
|
|
|
+ url: '/basicdata/warehouse/list/exclude/' + deptId,
|
|
|
method: 'get'
|
|
|
})
|
|
|
}
|
|
@@ -20,7 +20,7 @@ export function listDeptExcludeChild(deptId) {
|
|
|
// 查询部门详细
|
|
|
export function getDept(deptId) {
|
|
|
return request({
|
|
|
- url: '/system/dept/' + deptId,
|
|
|
+ url: '/basicdata/warehouse/' + deptId,
|
|
|
method: 'get'
|
|
|
})
|
|
|
}
|
|
@@ -28,7 +28,7 @@ export function getDept(deptId) {
|
|
|
// 查询部门下拉树结构
|
|
|
export function treeselect() {
|
|
|
return request({
|
|
|
- url: '/system/dept/treeselect',
|
|
|
+ url: '/basicdata/warehouse/treeselect',
|
|
|
method: 'get'
|
|
|
})
|
|
|
}
|
|
@@ -53,7 +53,7 @@ export function addDept(data) {
|
|
|
// 修改部门
|
|
|
export function updateDept(data) {
|
|
|
return request({
|
|
|
- url: '/system/dept',
|
|
|
+ url: '/basicdata/warehouse',
|
|
|
method: 'put',
|
|
|
data: data
|
|
|
})
|
|
@@ -62,7 +62,7 @@ export function updateDept(data) {
|
|
|
// 删除部门
|
|
|
export function delDept(deptId) {
|
|
|
return request({
|
|
|
- url: '/system/dept/' + deptId,
|
|
|
+ url: '/basicdata/warehouse/' + deptId,
|
|
|
method: 'delete'
|
|
|
})
|
|
|
}
|