diff --git a/src/api/user.ts b/src/api/user.ts index 0b22268..39d2010 100644 --- a/src/api/user.ts +++ b/src/api/user.ts @@ -13,10 +13,10 @@ export function logout() { // 用户信息 export function getUserInfo() { - return request.get({ url: '/auth/admin/mySelf' }) + return request.get({ url: '/auth.admin/mySelf' }) } // 编辑管理员信息 export function setUserInfo(params: any) { - return request.post({ url: '/auth/admin/editSelf', params }) + return request.post({ url: '/auth.admin/editSelf', params }) } diff --git a/src/config/index.ts b/src/config/index.ts index 5aa6133..34561f7 100644 --- a/src/config/index.ts +++ b/src/config/index.ts @@ -3,7 +3,7 @@ const config = { title: '后台管理系统', //网站默认标题 version: '1.8.0', //版本号 baseUrl: `${import.meta.env.VITE_APP_BASE_URL || ''}/`, //请求接口域名 - urlPrefix: 'store', //请求默认前缀 + urlPrefix: 'adminapi', //请求默认前缀 timeout: 10 * 1000 //请求超时时长 } diff --git a/src/views/employerLists/edit.vue b/src/views/employerLists/edit.vue new file mode 100644 index 0000000..e69de29 diff --git a/src/views/employerLists/index.vue b/src/views/employerLists/index.vue index f7be415..e0e49b5 100644 --- a/src/views/employerLists/index.vue +++ b/src/views/employerLists/index.vue @@ -1 +1,129 @@ - \ No newline at end of file + + + \ No newline at end of file diff --git a/src/views/orderLists/index.vue b/src/views/orderLists/index.vue index 1d14efa..4d173b0 100644 --- a/src/views/orderLists/index.vue +++ b/src/views/orderLists/index.vue @@ -47,7 +47,7 @@ - + @@ -118,5 +118,4 @@ const handleDetail = async (data: any) => { getLists() - - \ No newline at end of file + \ No newline at end of file diff --git a/src/views/organization/department/edit.vue b/src/views/organization/department/edit.vue index e33309f..61464ad 100644 --- a/src/views/organization/department/edit.vue +++ b/src/views/organization/department/edit.vue @@ -1,43 +1,20 @@