处理ARR RRR 点击excel按钮出现错误的问题

This commit is contained in:
renpy 2023-07-28 16:05:34 +08:00
parent 05b5e76b8c
commit b6ba87c6ae
2 changed files with 6 additions and 6 deletions

View File

@ -73,7 +73,7 @@ const columns = [
] ]
import { compareDate } from "../../commom" import { compareDate } from "../../commom"
import { JeecgListMixin } from '@/mixins/JeecgListMixin' import { JeecgListMixin } from '@/mixins/JeecgListMixin'
import { getAction } from '../../../../api/manage' import { getAction, getFileAction } from '../../../../api/manage'
import dateFormat from '../../../../components/jeecg/JEasyCron/format-date' import dateFormat from '../../../../components/jeecg/JEasyCron/format-date'
import FileDetail from "../../fileDetail.vue" import FileDetail from "../../fileDetail.vue"
export default { export default {

View File

@ -73,7 +73,7 @@ const columns = [
] ]
import { compareDate } from "../../commom" import { compareDate } from "../../commom"
import { JeecgListMixin } from '@/mixins/JeecgListMixin' import { JeecgListMixin } from '@/mixins/JeecgListMixin'
import { getAction } from '../../../../api/manage' import { getAction, getFileAction } from '../../../../api/manage'
import dateFormat from '../../../../components/jeecg/JEasyCron/format-date' import dateFormat from '../../../../components/jeecg/JEasyCron/format-date'
import FileDetail from "../../fileDetail.vue" import FileDetail from "../../fileDetail.vue"
export default { export default {
@ -142,7 +142,7 @@ export default {
}, },
searchQueryData() { searchQueryData() {
let days = compareDate(this.queryParam.startTime, this.queryParam.endTime) let days = compareDate(this.queryParam.startTime, this.queryParam.endTime)
if (days <= 10) { // if (days <= 10) {
this.isImmediate = false this.isImmediate = false
// this.queryParam = { // this.queryParam = {
// startTime: "2023-01-01", // startTime: "2023-01-01",
@ -164,9 +164,9 @@ export default {
this.$message.warning("This operation fails. Contact your system administrator") this.$message.warning("This operation fails. Contact your system administrator")
} }
}) })
} else { // } else {
this.$message.info("Maximum timespan duration is 10 days. Please, change start or end date.") // this.$message.info("Maximum timespan duration is 10 days. Please, change start or end date.")
} // }
}, },
findStationList() { findStationList() {
getAction(this.url.findStationList, { menuName: '' }).then((res) => { getAction(this.url.findStationList, { menuName: '' }).then((res) => {