diff --git a/src/components/common/table/formItem.vue b/src/components/common/table/formItem.vue index 82a0328e..9342ca41 100644 --- a/src/components/common/table/formItem.vue +++ b/src/components/common/table/formItem.vue @@ -113,6 +113,11 @@ start-placeholder="开始时间" format="YYYY-MM-DD HH:mm:ss" value-format="YYYY-MM-DD HH:mm:ss" + :default-time=" + enableConfigByTenant([TENANT_ENUM.LYRIC]) + ? [new Date(2000, 1, 1, 8, 30), new Date(2000, 1, 1, 18, 0)] + : [new Date(2000, 1, 1, 0, 0, 0), new Date(2000, 1, 1, 23, 59, 59)] + " end-placeholder="结束时间" clearable :disabled="attrs.disabled || (item.disabled && showDisabled)" @@ -216,6 +221,7 @@ import UserSelect from '@/components/common/userSelect/index.vue'; import ProjectSelect from '@/components/common/projectSelect/index.vue'; import ApproveList from '@/components/common/approveList/index.vue'; import FileName from './fileName.vue'; +import { enableConfigByTenant, TENANT_ENUM } from '@/tenants/tenant'; interface Props { item: any; diff --git a/src/views/task/simulationTask/confirmTask/index.vue b/src/views/task/simulationTask/confirmTask/index.vue index bc319c0e..41005e7e 100644 --- a/src/views/task/simulationTask/confirmTask/index.vue +++ b/src/views/task/simulationTask/confirmTask/index.vue @@ -143,6 +143,11 @@ placeholder="选择日期" format="YYYY-MM-DD HH:mm:ss" value-format="YYYY-MM-DD HH:mm:ss" + :default-time=" + enableConfigByTenant([TENANT_ENUM.LYRIC]) + ? [new Date(2000, 1, 1, 8, 30), new Date(2000, 1, 1, 18, 0)] + : [new Date(2000, 1, 1, 0, 0, 0), new Date(2000, 1, 1, 23, 59, 59)] + " /> diff --git a/src/views/task/simulationTask/mySend/sendTask.vue b/src/views/task/simulationTask/mySend/sendTask.vue index ba555cb1..338cc0dc 100644 --- a/src/views/task/simulationTask/mySend/sendTask.vue +++ b/src/views/task/simulationTask/mySend/sendTask.vue @@ -124,6 +124,11 @@ placeholder="选择日期" format="YYYY-MM-DD HH:mm:ss" value-format="YYYY-MM-DD HH:mm:ss" + :default-time=" + enableConfigByTenant([TENANT_ENUM.LYRIC]) + ? [new Date(2000, 1, 1, 8, 30), new Date(2000, 1, 1, 18, 0)] + : [new Date(2000, 1, 1, 0, 0, 0), new Date(2000, 1, 1, 23, 59, 59)] + " />