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