update code
parent
5c90be5110
commit
0240c1a2a1
|
@ -17,7 +17,7 @@ const service = axios.create({
|
|||
// axios中请求配置有baseURL选项,表示请求URL公共部分
|
||||
baseURL: process.env.VUE_APP_BASE_API,
|
||||
// 超时
|
||||
timeout: 10000
|
||||
timeout: 100000
|
||||
})
|
||||
|
||||
// request拦截器
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue