diff --git a/.env b/.env index d6ce7d4..a6f3a74 100644 --- a/.env +++ b/.env @@ -1,3 +1,3 @@ VUE_APP_MODE=production VUE_APP_PREVIEW=false -VUE_APP_URL=https://www.tall.wiki/checkwork +VUE_APP_URL=https://test.tall.wiki/checkwork diff --git a/.env.development b/.env.development index 9dd7ac0..2c33c8a 100644 --- a/.env.development +++ b/.env.development @@ -1,10 +1,10 @@ VUE_APP_MODE=development VUE_APP_NODE_ENV=development VUE_APP_SCENE=checkwork -VUE_APP_BASE_URL=https://www.tall.wiki/checkwork/ -VUE_APP_API_URL=https://www.tall.wiki/checkwork/gateway +VUE_APP_BASE_URL=https://test.tall.wiki/checkwork/ +VUE_APP_API_URL=https://test.tall.wiki/checkwork/gateway VUE_APP_PROXY_URL=/gateway VUE_APP_PUBLIC_PATH=/checkwork -VUE_APP_MSG_URL=wss://www.tall.wiki/websocket/message/v4.0/ws +VUE_APP_MSG_URL=wss://test.tall.wiki/websocket/message/v4.0/ws VUE_APP_TITLE=考勤管理 VUE_APP_DESCRIPTION=考勤管理 diff --git a/.env.production b/.env.production index fdb41e9..b9b103f 100644 --- a/.env.production +++ b/.env.production @@ -1,10 +1,10 @@ VUE_APP_MODE=production VUE_APP_NODE_ENV=production VUE_APP_SCENE=checkwork -VUE_APP_BASE_URL=https://www.tall.wiki/checkwork/ -VUE_APP_API_URL=https://www.tall.wiki/checkwork/gateway +VUE_APP_BASE_URL=https://test.tall.wiki/checkwork/ +VUE_APP_API_URL=https://test.tall.wiki/checkwork/gateway VUE_APP_PROXY_URL=/gateway VUE_APP_PUBLIC_PATH=/checkwork -VUE_APP_MSG_URL=wss://www.tall.wiki/websocket/message/v4.0/ws +VUE_APP_MSG_URL=wss://test.tall.wiki/websocket/message/v4.0/ws VUE_APP_TITLE=考勤管理 VUE_APP_DESCRIPTION=考勤管理 diff --git a/rest/project.http b/rest/project.http index cbddcbd..48179b8 100644 --- a/rest/project.http +++ b/rest/project.http @@ -1,7 +1,7 @@ ### login # @name login -POST https://www.tall.wiki/gateway/tall/v1.0/users/signin +POST https://test.tall.wiki/gateway/tall/v1.0/users/signin content-type: application/json;charset=utf-8 { @@ -18,7 +18,7 @@ content-type: application/json;charset=utf-8 ### 导入插件 # POST http://127.0.0.1:7220/plugin/import -POST http://www.tall.wiki/gateway/pluginshop/plugin/import +POST http://test.tall.wiki/gateway/pluginshop/plugin/import Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW Authorization: Bearer {{login.response.body.$.data.token}} @@ -34,6 +34,6 @@ Content-Type: xlsx ### 更新redis内的插件信息 -POST http://www.tall.wiki/gateway/pluginshop/plugin/updatePluginOfRedis +POST http://test.tall.wiki/gateway/pluginshop/plugin/updatePluginOfRedis content-type: application/json;charset=utf-8 Authorization: Bearer {{login.response.body.$.data.token}} diff --git a/src/components/List/List.vue b/src/components/List/List.vue index 270ee56..3b3ee17 100644 --- a/src/components/List/List.vue +++ b/src/components/List/List.vue @@ -437,6 +437,7 @@ export default { this.$message.success(params.param.type === 0 ? '修改成功' : params.param.type === 1 ? '驳回成功' : '审核通过'); record[show] = false; this.auditOptions = null; + this.chooseTime = ''; const options = { startTime: this.startTime, endTime: this.endTime, memberIdList: this.memberIdList }; this.setParams(options); } else { diff --git a/src/config/api-user.js b/src/config/api-user.js index 9b46e51..ddb4f1c 100644 --- a/src/config/api-user.js +++ b/src/config/api-user.js @@ -1,7 +1,7 @@ import axios from 'axios'; let { proxyUrl } = require('@/config/setting'); -const tall = `https://www.tall.wiki/gateway/tall3/v3.0`; +const tall = `https://test.tall.wiki/gateway/tall3/v3.0`; const users = `${tall}/users`; // 通过userId获取token diff --git a/src/config/api.js b/src/config/api.js index a874933..fa727ca 100644 --- a/src/config/api.js +++ b/src/config/api.js @@ -1,6 +1,6 @@ import axios from 'axios'; -const defaultwbs = `https://www.tall.wiki/gateway/defaultwbs`; +const defaultwbs = `https://test.tall.wiki/gateway/defaultwbs`; // 查询考勤信息 export const clockQuery = params => axios.post(`${defaultwbs}/clock/query`, params);