hse修改接口
This commit is contained in:
@ -6,11 +6,11 @@ VITE_APP_ENV = 'development'
|
||||
|
||||
# 开发环境
|
||||
# 李陈杰 209
|
||||
# VITE_APP_BASE_API = 'http://192.168.110.209:8899'
|
||||
VITE_APP_BASE_API = 'http://192.168.110.209:8899'
|
||||
# 曾涛
|
||||
# VITE_APP_BASE_API = 'http://192.168.110.180:8899'
|
||||
# 罗成
|
||||
VITE_APP_BASE_API = 'http://192.168.110.188:8899'
|
||||
# VITE_APP_BASE_API = 'http://192.168.110.188:8899'
|
||||
# 朱银
|
||||
# VITE_APP_BASE_API = 'http://192.168.110.180:8899'
|
||||
|
||||
|
@ -12,9 +12,9 @@ export function listPost(query: { pageNum: number; pageSize: number }): AxiosPro
|
||||
}
|
||||
|
||||
// 查询岗位列表
|
||||
export function listTreeByProject(projectId: string): AxiosPromise<PostVO[]> {
|
||||
export function listTreeByProject(): AxiosPromise<PostVO[]> {
|
||||
return request({
|
||||
url: '/system/dept/list/treeByProjectId/' + projectId,
|
||||
url: '/system/dept/list/tree',
|
||||
method: 'get'
|
||||
});
|
||||
}
|
||||
|
@ -145,7 +145,7 @@ const state = reactive<any>({
|
||||
});
|
||||
|
||||
const postList = () => {
|
||||
listTreeByProject(currentProject.value?.id).then((res) => {
|
||||
listTreeByProject().then((res) => {
|
||||
console.log('🚀 ~ listTreeByProject ~ res:', res);
|
||||
state.postListAll = res.data ?? [];
|
||||
});
|
||||
|
Reference in New Issue
Block a user