From 0240c1a2a1a6e930fbdaca475b6a11263e66f082 Mon Sep 17 00:00:00 2001 From: haha Date: Sat, 23 Mar 2024 09:30:31 +0800 Subject: [PATCH 1/3] update code --- ruoyi-ui/src/utils/request.js | 2 +- ruoyi-ui/src/views/project/attendance/index.vue | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ruoyi-ui/src/utils/request.js b/ruoyi-ui/src/utils/request.js index bc60cb1a..254a6f35 100644 --- a/ruoyi-ui/src/utils/request.js +++ b/ruoyi-ui/src/utils/request.js @@ -17,7 +17,7 @@ const service = axios.create({ // axios中请求配置有baseURL选项,表示请求URL公共部分 baseURL: process.env.VUE_APP_BASE_API, // 超时 - timeout: 10000 + timeout: 100000 }) // request拦截器 diff --git a/ruoyi-ui/src/views/project/attendance/index.vue b/ruoyi-ui/src/views/project/attendance/index.vue index 734ce248..924cb006 100644 --- a/ruoyi-ui/src/views/project/attendance/index.vue +++ b/ruoyi-ui/src/views/project/attendance/index.vue @@ -226,6 +226,8 @@ export default { postData.attendanceTime=this.$dt(this.queryParams.attendanceTime).format("YYYY-MM-DD"); postData.projectId=this.queryParams.projectId; postData.deptId=this.queryParams.subDeptId; + postData.pageNum=this.queryParams.pageNum; + postData.pageSize=this.queryParams.pageSize; listAttendance(postData).then(response=>{ this.attendanceList = response.rows; this.total = response.total; From 41a8a5179d7df31c8dbf467fb7e7384674918f42 Mon Sep 17 00:00:00 2001 From: haha Date: Sat, 23 Mar 2024 18:32:18 +0800 Subject: [PATCH 2/3] update code --- .../src/main/resources/application-druid.yml | 2 +- .../src/views/project/attendance/index.vue | 39 +++++++++++++------ .../jh/project/task/AttendanceJgwTask.java | 13 +++---- .../SurProjectAttendanceDataMapper.xml | 38 ++++++++++++++++-- 4 files changed, 69 insertions(+), 23 deletions(-) diff --git a/ruoyi-admin/src/main/resources/application-druid.yml b/ruoyi-admin/src/main/resources/application-druid.yml index df613172..23a709cc 100644 --- a/ruoyi-admin/src/main/resources/application-druid.yml +++ b/ruoyi-admin/src/main/resources/application-druid.yml @@ -9,7 +9,7 @@ ruoyi: # 实例演示开关 demoEnabled: true # 文件路径 示例( Windows配置D:/ruoyi/uploadPath,Linux配置 /home/ruoyi/uploadPath) - profile: D:/data/uploadPath + profile: D:/data2/uploadPath # 获取ip地址开关 addressEnabled: false # 验证码类型 math 数字计算 char 字符验证 diff --git a/ruoyi-ui/src/views/project/attendance/index.vue b/ruoyi-ui/src/views/project/attendance/index.vue index 924cb006..7314bbfb 100644 --- a/ruoyi-ui/src/views/project/attendance/index.vue +++ b/ruoyi-ui/src/views/project/attendance/index.vue @@ -1,18 +1,26 @@