|
@@ -266,14 +266,8 @@ export default {
|
|
|
formConfirm1() {
|
|
|
this.$refs.formData1.validate((valid, invalidFields, errLabels) => {
|
|
|
if (valid) {
|
|
|
- pageExport({
|
|
|
- statDate: this.formData1.date[0] + ' 00:00:00',
|
|
|
- endDate: this.formData1.date[1] + ' 23:59:59'
|
|
|
- }).then(res => {
|
|
|
- this.isShowDate = false
|
|
|
- this.$refs?.formData1?.resetFields()
|
|
|
- this.$message({ type: 'success', message: '导出成功!' })
|
|
|
- })
|
|
|
+ downloadFiles('promotion/activity/export',{statDate: this.formData1.date[0] + ' 00:00:00',endDate: this.formData1.date[1] + ' 23:59:59'});
|
|
|
+ this.isShowDate = false
|
|
|
}
|
|
|
})
|
|
|
},
|