diff --git a/.env.development b/.env.development index 01b0ea7..8b0f18b 100644 --- a/.env.development +++ b/.env.development @@ -3,17 +3,21 @@ VITE_API_PREFIX = '/dev-api' # 接口地址 -VITE_API_BASE_URL = 'http://pms.dtyx.net:9158/' +# VITE_API_BASE_URL = 'http://pms.dtyx.net:9158/' # VITE_API_BASE_URL = 'http://localhost:8888/' +VITE_API_BASE_URL = 'http://10.18.34.163:8888/' +# VITE_API_BASE_URL = 'http://10.18.34.213:8888/' # 接口地址 (WebSocket) -VITE_API_WS_URL = 'ws://localhost:8000' +# VITE_API_WS_URL = 'ws://localhost:8000' +VITE_API_WS_URL = 'ws://10.18.34.163:8000' +# VITE_API_WS_URL = 'ws://10.18.34.213:8000' # 地址前缀 VITE_BASE = '/' # 是否开启开发者工具 -VITE_OPEN_DEVTOOLS = true +VITE_OPEN_DEVTOOLS = false # 应用配置面板 VITE_APP_SETTING = true diff --git a/.env.production b/.env.production index 8700360..cbbbfbc 100644 --- a/.env.production +++ b/.env.production @@ -14,4 +14,4 @@ VITE_BASE = '/' VITE_APP_SETTING = true # 客户端ID -VITE_CLIENT_ID = 'ef51c9a3e9046c4f2ea45142c8a8344a' \ No newline at end of file +VITE_CLIENT_ID = 'ef51c9a3e9046c4f2ea45142c8a8344a' diff --git a/src/apis/system/user.ts b/src/apis/system/user.ts index 921d118..59257e1 100644 --- a/src/apis/system/user.ts +++ b/src/apis/system/user.ts @@ -3,9 +3,10 @@ import http from '@/utils/http' const BASE_URL = '/user' -/** @desc 查询用户列表 */ +/** @desc 分页查询用户列表 */ export function listUser(query: T.UserPageQuery) { - return http.get>(`${BASE_URL}`, query) + // 后端分页接口为 /user/page + return http.get>(`${BASE_URL}/page`, query) } /** @desc 查询所有用户列表 */ diff --git a/src/components/ApprovalAssistant/index.vue b/src/components/ApprovalAssistant/index.vue new file mode 100644 index 0000000..a023d94 --- /dev/null +++ b/src/components/ApprovalAssistant/index.vue @@ -0,0 +1,620 @@ + + + + + diff --git a/src/components/NotificationCenter/index.vue b/src/components/NotificationCenter/index.vue new file mode 100644 index 0000000..948be76 --- /dev/null +++ b/src/components/NotificationCenter/index.vue @@ -0,0 +1,870 @@ + + + + + diff --git a/src/layout/components/HeaderRightBar/index.vue b/src/layout/components/HeaderRightBar/index.vue index 64719de..3a7bcd7 100644 --- a/src/layout/components/HeaderRightBar/index.vue +++ b/src/layout/components/HeaderRightBar/index.vue @@ -12,29 +12,8 @@ - - - - - - - - - + + @@ -81,10 +60,12 @@ diff --git a/src/views/project-management/contract/expense-contract/ContractEdit.vue b/src/views/project-management/contract/expense-contract/ContractEdit.vue index 4ced636..d3d9c06 100644 --- a/src/views/project-management/contract/expense-contract/ContractEdit.vue +++ b/src/views/project-management/contract/expense-contract/ContractEdit.vue @@ -7,8 +7,16 @@ - - + + @@ -66,8 +74,27 @@ - - + + + + + + + @@ -88,6 +115,10 @@