From d8eda80eaf2f328ed43dc4f5c783b7dee5a4092c Mon Sep 17 00:00:00 2001 From: riku <risaku@163.com> Date: 星期六, 12 十月 2024 17:39:39 +0800 Subject: [PATCH] 1. 新增巡查计划功能(待完成); 2. 完成任务的各场景下的分别移除和添加; --- src/components/search-option/FYOptionTime.vue | 9 +-------- 1 files changed, 1 insertions(+), 8 deletions(-) diff --git a/src/components/search-option/FYOptionTime.vue b/src/components/search-option/FYOptionTime.vue index 801fbde..ac1292c 100644 --- a/src/components/search-option/FYOptionTime.vue +++ b/src/components/search-option/FYOptionTime.vue @@ -14,6 +14,7 @@ import dayjs from 'dayjs'; const MONTH = 'month'; +const DATE = 'date'; export default { props: { @@ -42,14 +43,6 @@ handleChange(value) { this.$emit('update:value', value); }, - timeFormat() { - switch (this.type) { - case MONTH: - return 'YYYY-MM'; - default: - return 'YYYY-MM'; - } - } }, mounted() { if (this.initValue) { -- Gitblit v1.9.3