|
@@ -126,7 +126,7 @@
|
|
|
|
|
|
<el-dialog v-model="openExcel" title="导出Excel" width="500" append-to-body>
|
|
|
<div v-loading="excelLoading">
|
|
|
- <div style="color:red;margin-bottom:5px">请选择日期区间(限7天)</div>
|
|
|
+ <div style="color:red;margin-bottom:5px">请选择日期区间(限31天)</div>
|
|
|
<el-date-picker v-model="beginTime" type="date" placeholder="开始日期" value-format="YYYY-MM-DD" />
|
|
|
<div></div>
|
|
|
<el-date-picker v-model="endTime" type="date" placeholder="结束日期" value-format="YYYY-MM-DD" :disabled="!beginTime" :disabled-date="disabledFn"
|
|
@@ -882,7 +882,7 @@ const disabledFn = (date) => {
|
|
|
// 禁用已选日期和比当前日期小的
|
|
|
return (
|
|
|
moment(beginTime.value).isAfter(current) ||
|
|
|
- moment(beginTime.value).add(6, "day").isBefore(current)
|
|
|
+ moment(beginTime.value).add(30, "day").isBefore(current)
|
|
|
);
|
|
|
};
|
|
|
</script>
|