diff --git a/src/views/AppMultipleStoreBoardFilter.vue b/src/views/AppMultipleStoreBoardFilter.vue index 21264df..b896a99 100644 --- a/src/views/AppMultipleStoreBoardFilter.vue +++ b/src/views/AppMultipleStoreBoardFilter.vue @@ -24,6 +24,13 @@ export default { } }) }, + reset() { + $http.post("/data-boot/la/screen/multipleStoreBoard/move").then(res => { + if (res?.data) { + this.$message.success("已重置") + } + }) + } }, watch: { 'form.interval'(v) { @@ -40,7 +47,7 @@ export default { this.getOptions().then(() => { setTimeout(() => { const {dayjs} = window - const hourNum = new Date().getHours()+1, groupCodeList = "", interval = 60000 + const hourNum = new Date().getHours() + 1, groupCodeList = "", interval = 60000 const currentDate = dayjs().subtract(7, 'day').format("YYYYMMDD") this.form = {hourNum, groupCodeList, type: "1", changeWay: "1", currentDate, interval} this.$set(this.$multipleStoreBoard, 'search', {hourNum, groupCodeList: [], type: "1", changeWay: "1", categoryId: "", currentDate, interval}) @@ -52,6 +59,9 @@ export default {