diff --git a/src/views/property-marketing/assignment-management/components/draw-popup.vue b/src/views/property-marketing/assignment-management/components/draw-popup.vue index e60a9fe..16acce9 100644 --- a/src/views/property-marketing/assignment-management/components/draw-popup.vue +++ b/src/views/property-marketing/assignment-management/components/draw-popup.vue @@ -275,7 +275,7 @@ const publishType = ref('immediate'); // 时间选择相关 const currentDate = ref(new Date()); -const strValue = ref(dayjs().format('HH:mm')); +const strValue = ref(); // 定义props和emit const props = defineProps({ @@ -438,13 +438,6 @@ const handleChange = (field, value) => { }); }; -// 监听主抽屉显示状态,每次打开时更新时间为当前时间 -watch(showDriwer, (newVal) => { - if (newVal) { - strValue.value = dayjs().format('HH:mm'); - } -}); - // 点击创建任务按钮时触发 const handleCreateTask = () => { // 验证表单 @@ -463,6 +456,7 @@ const handleCreateTask = () => { message.error('请选择发布内容'); return; } + console.log('有问题已返回'); // 准备提交的数据 const taskData = { media_account_id: localQuery.value.ids[0], @@ -491,7 +485,6 @@ const showDrawer = (accountInfo = null, selectedDate = null) => { localQuery.value.ids = [accountInfo.id]; }); } - console.log('selectedDate', selectedDate); // 如果传入了日期,则设置为默认日期 if (selectedDate) { currentDate.value = selectedDate; diff --git a/src/views/property-marketing/assignment-management/index.vue b/src/views/property-marketing/assignment-management/index.vue index 69bb657..7238362 100644 --- a/src/views/property-marketing/assignment-management/index.vue +++ b/src/views/property-marketing/assignment-management/index.vue @@ -60,11 +60,11 @@
-
+
还有{{ record[column.dataIndex].length - 1 }}项