修改超时时间
This commit is contained in:
@@ -73,7 +73,7 @@ export function calculateReportByDateAndTenant(reportDate, tenantId) {
|
||||
return request({
|
||||
url: '/lbDailyUserTrade/calculate-report/by-date-and-tenant',
|
||||
method: 'post',
|
||||
timeout: 2 * 60 * 1000,
|
||||
timeout: 3 * 60 * 1000,
|
||||
params: {
|
||||
reportDate,
|
||||
tenantId
|
||||
|
||||
@@ -285,7 +285,7 @@ export default {
|
||||
file: [{ required: true, message: '请上传Excel文件', trigger: 'change' }]
|
||||
},
|
||||
deleteByDateForm: {
|
||||
reportDate: ''
|
||||
reportDate: getLocalTodayDateString()
|
||||
},
|
||||
deleteByDateRules: {
|
||||
reportDate: [{ required: true, message: '请选择导入日期', trigger: 'change' }]
|
||||
@@ -414,6 +414,7 @@ export default {
|
||||
})
|
||||
},
|
||||
openDeleteByDateDialog() {
|
||||
this.deleteByDateForm.reportDate = getLocalTodayDateString()
|
||||
this.deleteByDateDialogVisible = true
|
||||
this.$nextTick(() => {
|
||||
if (this.$refs.deleteByDateFormRef) this.$refs.deleteByDateFormRef.clearValidate()
|
||||
@@ -498,7 +499,7 @@ export default {
|
||||
resetDeleteByDateForm() {
|
||||
if (this.$refs.deleteByDateFormRef) this.$refs.deleteByDateFormRef.resetFields()
|
||||
this.deleteByDateForm = {
|
||||
reportDate: ''
|
||||
reportDate: getLocalTodayDateString()
|
||||
}
|
||||
},
|
||||
submitPrepareReport() {
|
||||
|
||||
Reference in New Issue
Block a user