+
内容生成中...
完成后将自动展示,您可先返回其他操作
-
-
-
-
-
-
-
-
@@ -120,10 +117,8 @@ const choseTextArray = ref([]);
const choseVideoArray = ref([]);
const getTaskDetail = async () => {
if (!props.task || !props.task.id) return;
-
try {
const res = await getTaskSchedulesDetail(props.task.id);
-
if (res && res.data) {
datePickerValue.value = dayjs(res.data.execution_time * 1000);
console.log('任务详情:', datePickerValue.value);
@@ -156,6 +151,7 @@ const onOk = (value) => {
};
const onPopupVisibleChange = (visible) => {
+ popupVisible.value = visible;
if (visible) {
getTaskDetail();
}
@@ -168,21 +164,22 @@ const gotoDetail = () => {
console.log('跳转详情');
emit('handle-task', 'goto-detail', props.task, props.record);
};
-const handleTimeChange = (time: string) => {
- // if (time) {
- // emit('handle-task', 'edit-time', props.task, timestampToTime1() + ' ' + time + ':00');
- // }
-};
+
const handleAICreate = () => {
emit('handle-task', 'ai-create', props.task, props.record);
};
+
+const handleEditTask = () => {
+ // 关闭当前弹窗
+ popupVisible.value = false;
+ emit('handle-task', 'edit-task', props.task, props.record);
+};
+
const timestampToTime = (timestamp: number): string => {
// 如果没有传入时间戳,则返回空字符串
if (!timestamp) return '';
-
// 将时间戳转换为毫秒(如果时间戳是秒单位的话)
const date = new Date(timestamp * 1000);
-
// 格式化为 HH:mm 格式
const hours = String(date.getHours()).padStart(2, '0');
const minutes = String(date.getMinutes()).padStart(2, '0');
@@ -205,6 +202,9 @@ const timestampToTime1 = (timestamp: number): string => {
const emit = defineEmits(['filter-change', 'handle-task']);
+// 添加控制弹窗显示的响应式变量
+const popupVisible = ref(false);
+
// 日期选择器的值
const datePickerValue = ref(null);
diff --git a/src/views/property-marketing/assignment-management/index.vue b/src/views/property-marketing/assignment-management/index.vue
index 7238362..e72b7a8 100644
--- a/src/views/property-marketing/assignment-management/index.vue
+++ b/src/views/property-marketing/assignment-management/index.vue
@@ -248,7 +248,6 @@ const processTableData = (apiData: any[]) => {
// 创建任务
const handleAddTask = () => {
- console.log('handleAddTask');
drawerPopupRef.value?.showDrawer();
};
@@ -505,6 +504,17 @@ const handleTaskAction = async (action: string, task: any, ...args: any[]) => {
message.success(res.message);
}
break;
+ case 'edit-task':
+ console.log('edit-task', args[0], typeof args[0]);
+ const accountInfo = {
+ id: args[0].id,
+ name: args[0].name,
+ platform: args[0].platform,
+ };
+ const selectedDate = task.execution_time;
+ const date = new Date(selectedDate);
+ drawerPopupRef.value.showDrawer(accountInfo, date);
+ break;
}
};
From a6de1defadea9e2ef2587d76ca24c3a93b1db316 Mon Sep 17 00:00:00 2001
From: lq <121091329@qq.com>
Date: Thu, 25 Sep 2025 14:56:24 +0800
Subject: [PATCH 2/7] =?UTF-8?q?=E6=98=BE=E7=A4=BA=E4=BF=A1=E6=81=AF?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../components/draw-popup.vue | 64 ++++++++++++++++++-
.../assignment-management/index.vue | 8 +++
2 files changed, 70 insertions(+), 2 deletions(-)
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 6c00f83..1aeacc1 100644
--- a/src/views/property-marketing/assignment-management/components/draw-popup.vue
+++ b/src/views/property-marketing/assignment-management/components/draw-popup.vue
@@ -117,7 +117,10 @@
@click="handleDelte"
/>
-
{{ selectedProducts.data[0].title }}
+
{{ selectedProducts.data[0].title }}
+
+ {{ selectedProducts.data[0].content }}
+
@@ -385,6 +388,7 @@ const handleMaterialCancel = () => {
// 处理成品库选择确认
const handleProductConfirm = (result) => {
+ console.log('handleProductConfirm', result);
selectedProducts.value = {
keys: result.selectedKeys,
data: result.selectedData,
@@ -448,7 +452,6 @@ const handleCreateTask = () => {
message.error('请选择发布内容');
return;
}
- console.log('有问题已返回');
// 准备提交的数据
const taskData = {
media_account_id: localQuery.value.ids[0],
@@ -484,12 +487,69 @@ const showDrawer = (accountInfo = null, selectedDate = null) => {
}
};
+// 新增:编辑任务时的数据回填方法
+const fillTaskData = (taskData) => {
+ // 设置账号信息
+ if (taskData.media_account) {
+ nextTick(() => {
+ localQuery.value.accounts = [taskData.media_account.name];
+ localQuery.value.ids = [taskData.media_account.id];
+ });
+ }
+
+ // 设置AI生成或成品库选择
+ isActive.value = taskData.is_ai_generate ? 'ai' : 'chose';
+
+ // 设置任务描述(AI生成时)
+ if (taskData.is_ai_generate && taskData.ai_prompt) {
+ taskDescription.value = taskData.ai_prompt;
+ }
+
+ // 设置发布时间
+ if (taskData.publish_type === 1 && taskData.execution_time) {
+ // 定时发布
+ publishType.value = 'timing';
+ const execTime = new Date(taskData.execution_time * 1000);
+ currentDate.value = execTime;
+ strValue.value = dayjs(execTime).format('HH:mm');
+ } else {
+ // 立即发布
+ publishType.value = 'immediate';
+ }
+
+ // 设置选中的素材(AI生成时)
+ if (taskData.is_ai_generate && taskData.raw_materials && taskData.raw_materials.length > 0) {
+ const materials = taskData.raw_materials;
+ selectedMaterials.value = {
+ keys: materials.map((m) => m.id),
+ data: materials,
+ text: '',
+ images: materials.filter((m) => m.type === 0), // 图片
+ texts: materials.filter((m) => m.type === 2), // 文本
+ };
+ hasChoseMaterial.value = materials.length > 0;
+ }
+
+ // 设置选中的成品(成品库选择时)
+ if (!taskData.is_ai_generate && taskData.work) {
+ const work = taskData.work;
+ selectedProducts.value = {
+ keys: [work.id],
+ data: [work],
+ text: work.title || '1个稿件',
+ images: work.files ? work.files.filter((f) => f.type === 0) : [], // 图片文件
+ };
+ hasChoseFinishedProducts.value = true;
+ }
+};
+
// 定义事件发射器
const emit = defineEmits(['filter-change', 'create-task']);
// 暴露方法
defineExpose({
showDrawer,
+ fillTaskData, // 暴露新的数据回填方法
});
diff --git a/src/views/property-marketing/assignment-management/index.vue b/src/views/property-marketing/assignment-management/index.vue
index e72b7a8..97291ee 100644
--- a/src/views/property-marketing/assignment-management/index.vue
+++ b/src/views/property-marketing/assignment-management/index.vue
@@ -513,7 +513,15 @@ const handleTaskAction = async (action: string, task: any, ...args: any[]) => {
};
const selectedDate = task.execution_time;
const date = new Date(selectedDate);
+
+ // 显示抽屉
drawerPopupRef.value.showDrawer(accountInfo, date);
+
+ // 等待抽屉打开后再填充数据
+ nextTick(() => {
+ // 直接使用传入的task数据填充表单
+ drawerPopupRef.value.fillTaskData(task);
+ });
break;
}
};
From 89c773ac65e7fcbcb4bdc01b5f6d6c4b4e71c71e Mon Sep 17 00:00:00 2001
From: lq <121091329@qq.com>
Date: Thu, 25 Sep 2025 15:37:50 +0800
Subject: [PATCH 3/7] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BB=BB=E5=8A=A1?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/all/assignment-management.ts | 6 ++
.../components/draw-popup.vue | 72 +++++--------------
.../assignment-management/index.vue | 14 ++--
3 files changed, 32 insertions(+), 60 deletions(-)
diff --git a/src/api/all/assignment-management.ts b/src/api/all/assignment-management.ts
index f9aa270..26cd548 100644
--- a/src/api/all/assignment-management.ts
+++ b/src/api/all/assignment-management.ts
@@ -37,3 +37,9 @@ export const editTaskSchedulesTime = (id: string, params = {}) => {
console.log('id', id);
return Http.patch(`/v1/task-schedules/${id}/execution-time`, params);
};
+
+
+export const getWorkDetail = (id: string) => {
+ console.log('id', id);
+ return Http.get(`/v1/works/${id}`);
+};
\ No newline at end of file
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 1aeacc1..958075b 100644
--- a/src/views/property-marketing/assignment-management/components/draw-popup.vue
+++ b/src/views/property-marketing/assignment-management/components/draw-popup.vue
@@ -215,6 +215,8 @@ import RawMaterialDrawer from './raw-material-drawer.vue';
import FinishedProductDrawer from './finished-product-drawer.vue';
import { message } from 'ant-design-vue';
import { getMediaAccountList } from '@/api/all/propertyMarketing';
+// 导入任务详情API
+import { getWorkDetail } from '@/api/all/assignment-management';
// 平台图标
import iconDy from '@/assets/img/platform/icon-dy.png';
import iconXhs from '@/assets/img/platform/icon-xhs.png';
@@ -388,14 +390,12 @@ const handleMaterialCancel = () => {
// 处理成品库选择确认
const handleProductConfirm = (result) => {
- console.log('handleProductConfirm', result);
selectedProducts.value = {
keys: result.selectedKeys,
data: result.selectedData,
text: result.choseText,
images: result.choseImgArray,
};
-
// 如果是单选模式,确保只选择一个项目
if (result.selectedRows && result.selectedRows.length > 0) {
hasChoseFinishedProducts.value = true;
@@ -407,6 +407,7 @@ const handleProductConfirm = (result) => {
text: '1个稿件',
images: [selectedProduct],
};
+ fillTaskData(selectedProduct.id);
}
};
@@ -488,58 +489,21 @@ const showDrawer = (accountInfo = null, selectedDate = null) => {
};
// 新增:编辑任务时的数据回填方法
-const fillTaskData = (taskData) => {
- // 设置账号信息
- if (taskData.media_account) {
- nextTick(() => {
- localQuery.value.accounts = [taskData.media_account.name];
- localQuery.value.ids = [taskData.media_account.id];
- });
- }
-
- // 设置AI生成或成品库选择
- isActive.value = taskData.is_ai_generate ? 'ai' : 'chose';
-
- // 设置任务描述(AI生成时)
- if (taskData.is_ai_generate && taskData.ai_prompt) {
- taskDescription.value = taskData.ai_prompt;
- }
-
- // 设置发布时间
- if (taskData.publish_type === 1 && taskData.execution_time) {
- // 定时发布
- publishType.value = 'timing';
- const execTime = new Date(taskData.execution_time * 1000);
- currentDate.value = execTime;
- strValue.value = dayjs(execTime).format('HH:mm');
- } else {
- // 立即发布
- publishType.value = 'immediate';
- }
-
- // 设置选中的素材(AI生成时)
- if (taskData.is_ai_generate && taskData.raw_materials && taskData.raw_materials.length > 0) {
- const materials = taskData.raw_materials;
- selectedMaterials.value = {
- keys: materials.map((m) => m.id),
- data: materials,
- text: '',
- images: materials.filter((m) => m.type === 0), // 图片
- texts: materials.filter((m) => m.type === 2), // 文本
- };
- hasChoseMaterial.value = materials.length > 0;
- }
-
- // 设置选中的成品(成品库选择时)
- if (!taskData.is_ai_generate && taskData.work) {
- const work = taskData.work;
- selectedProducts.value = {
- keys: [work.id],
- data: [work],
- text: work.title || '1个稿件',
- images: work.files ? work.files.filter((f) => f.type === 0) : [], // 图片文件
- };
- hasChoseFinishedProducts.value = true;
+const fillTaskData = async (taskData_id) => {
+ try {
+ const res = await getWorkDetail(taskData_id);
+ if (res && res.code === 200) {
+ // const fullTaskData = res.data;
+ // selectedProducts.value = {
+ // keys: [fullTaskData.id],
+ // data: [fullTaskData],
+ // text: fullTaskData.title || '1个稿件',
+ // images: fullTaskData.files ? fullTaskData.files.filter((f) => f.type === 0) : [], // 图片文件
+ // };
+ // console.log('获取任务详情成功:', selectedProducts.value);
+ }
+ } catch (error) {
+ console.error('获取任务详情失败:', error);
}
};
diff --git a/src/views/property-marketing/assignment-management/index.vue b/src/views/property-marketing/assignment-management/index.vue
index 97291ee..7e278f0 100644
--- a/src/views/property-marketing/assignment-management/index.vue
+++ b/src/views/property-marketing/assignment-management/index.vue
@@ -513,14 +513,16 @@ const handleTaskAction = async (action: string, task: any, ...args: any[]) => {
};
const selectedDate = task.execution_time;
const date = new Date(selectedDate);
-
- // 显示抽屉
- drawerPopupRef.value.showDrawer(accountInfo, date);
-
+
// 等待抽屉打开后再填充数据
nextTick(() => {
- // 直接使用传入的task数据填充表单
- drawerPopupRef.value.fillTaskData(task);
+ console.log('修改任务');
+ // 显示抽屉
+ drawerPopupRef.value.showDrawer(accountInfo, date);
+ // if (task.work && task.work.id) {
+ // console.log('修改任务', task, task.work, task.work.id);
+ // drawerPopupRef.value.fillTaskData(task.work.id);
+ // }
});
break;
}
From 064cc3c9f630f1be8cf898faab766e6c165b016a Mon Sep 17 00:00:00 2001
From: lq <121091329@qq.com>
Date: Thu, 25 Sep 2025 15:44:29 +0800
Subject: [PATCH 4/7] =?UTF-8?q?=E5=9B=9E=E5=A1=AB=E6=98=BE=E7=A4=BA?=
=?UTF-8?q?=E4=BB=BB=E5=8A=A1=E8=AF=A6=E6=83=85?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../components/draw-popup.vue | 82 +++++++++++++++----
.../assignment-management/index.vue | 12 ++-
2 files changed, 72 insertions(+), 22 deletions(-)
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 958075b..6b626cb 100644
--- a/src/views/property-marketing/assignment-management/components/draw-popup.vue
+++ b/src/views/property-marketing/assignment-management/components/draw-popup.vue
@@ -216,7 +216,7 @@ import FinishedProductDrawer from './finished-product-drawer.vue';
import { message } from 'ant-design-vue';
import { getMediaAccountList } from '@/api/all/propertyMarketing';
// 导入任务详情API
-import { getWorkDetail } from '@/api/all/assignment-management';
+import { getWorkDetail,getTaskSchedulesDetail } from '@/api/all/assignment-management';
// 平台图标
import iconDy from '@/assets/img/platform/icon-dy.png';
import iconXhs from '@/assets/img/platform/icon-xhs.png';
@@ -489,21 +489,73 @@ const showDrawer = (accountInfo = null, selectedDate = null) => {
};
// 新增:编辑任务时的数据回填方法
-const fillTaskData = async (taskData_id) => {
- try {
- const res = await getWorkDetail(taskData_id);
- if (res && res.code === 200) {
- // const fullTaskData = res.data;
- // selectedProducts.value = {
- // keys: [fullTaskData.id],
- // data: [fullTaskData],
- // text: fullTaskData.title || '1个稿件',
- // images: fullTaskData.files ? fullTaskData.files.filter((f) => f.type === 0) : [], // 图片文件
- // };
- // console.log('获取任务详情成功:', selectedProducts.value);
+const fillTaskData = async (taskData) => {
+ // 如果传入的数据包含完整信息,则直接使用,否则获取完整详情
+ let fullTaskData = taskData;
+
+ // 如果没有work或raw_materials等详细信息,则需要获取完整详情
+ if ((!taskData.work && !taskData.raw_materials) || taskData.id) {
+ try {
+ const res = await getTaskSchedulesDetail(taskData.id);
+ if (res && res.code === 200) {
+ fullTaskData = res.data;
+ }
+ } catch (error) {
+ console.error('获取任务详情失败:', error);
}
- } catch (error) {
- console.error('获取任务详情失败:', error);
+ }
+
+ // 设置账号信息
+ if (fullTaskData.media_account) {
+ nextTick(() => {
+ localQuery.value.accounts = [fullTaskData.media_account.name];
+ localQuery.value.ids = [fullTaskData.media_account.id];
+ });
+ }
+
+ // 设置AI生成或成品库选择
+ isActive.value = fullTaskData.is_ai_generate ? 'ai' : 'chose';
+
+ // 设置任务描述(AI生成时)
+ if (fullTaskData.is_ai_generate && fullTaskData.ai_prompt) {
+ taskDescription.value = fullTaskData.ai_prompt;
+ }
+
+ // 设置发布时间
+ if (fullTaskData.publish_type === 1 && fullTaskData.execution_time) {
+ // 定时发布
+ publishType.value = 'timing';
+ const execTime = new Date(fullTaskData.execution_time * 1000);
+ currentDate.value = execTime;
+ strValue.value = dayjs(execTime).format('HH:mm');
+ } else {
+ // 立即发布
+ publishType.value = 'immediate';
+ }
+
+ // 设置选中的素材(AI生成时)
+ if (fullTaskData.is_ai_generate && fullTaskData.raw_materials && fullTaskData.raw_materials.length > 0) {
+ const materials = fullTaskData.raw_materials;
+ selectedMaterials.value = {
+ keys: materials.map(m => m.id),
+ data: materials,
+ text: '',
+ images: materials.filter(m => m.type === 0), // 图片
+ texts: materials.filter(m => m.type === 2), // 文本
+ };
+ hasChoseMaterial.value = materials.length > 0;
+ }
+
+ // 设置选中的成品(成品库选择时)
+ if (!fullTaskData.is_ai_generate && fullTaskData.work) {
+ const work = fullTaskData.work;
+ selectedProducts.value = {
+ keys: [work.id],
+ data: [work],
+ text: work.title || '1个稿件',
+ images: work.files ? work.files.filter(f => f.type === 0) : [], // 图片文件
+ };
+ hasChoseFinishedProducts.value = true;
}
};
diff --git a/src/views/property-marketing/assignment-management/index.vue b/src/views/property-marketing/assignment-management/index.vue
index 7e278f0..cae6a24 100644
--- a/src/views/property-marketing/assignment-management/index.vue
+++ b/src/views/property-marketing/assignment-management/index.vue
@@ -514,15 +514,13 @@ const handleTaskAction = async (action: string, task: any, ...args: any[]) => {
const selectedDate = task.execution_time;
const date = new Date(selectedDate);
+ // 显示抽屉
+ drawerPopupRef.value.showDrawer(accountInfo, date);
+
// 等待抽屉打开后再填充数据
nextTick(() => {
- console.log('修改任务');
- // 显示抽屉
- drawerPopupRef.value.showDrawer(accountInfo, date);
- // if (task.work && task.work.id) {
- // console.log('修改任务', task, task.work, task.work.id);
- // drawerPopupRef.value.fillTaskData(task.work.id);
- // }
+ // 将任务信息回填到draw-popup组件
+ drawerPopupRef.value.fillTaskData(task);
});
break;
}
From 435674babcece85ae184246dc1c79d33068f78e5 Mon Sep 17 00:00:00 2001
From: lq <121091329@qq.com>
Date: Thu, 25 Sep 2025 16:17:51 +0800
Subject: [PATCH 5/7] =?UTF-8?q?=E7=A9=BA=E7=8A=B6=E6=80=81=E4=B8=8D?=
=?UTF-8?q?=E5=AE=8C=E5=85=A8=E6=98=BE=E7=A4=BA?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../components/draw-popup.vue | 36 +++++++++++++------
.../assignment-management/index.vue | 14 +++-----
2 files changed, 31 insertions(+), 19 deletions(-)
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 6b626cb..f8acc2d 100644
--- a/src/views/property-marketing/assignment-management/components/draw-popup.vue
+++ b/src/views/property-marketing/assignment-management/components/draw-popup.vue
@@ -216,7 +216,7 @@ import FinishedProductDrawer from './finished-product-drawer.vue';
import { message } from 'ant-design-vue';
import { getMediaAccountList } from '@/api/all/propertyMarketing';
// 导入任务详情API
-import { getWorkDetail,getTaskSchedulesDetail } from '@/api/all/assignment-management';
+import { getWorkDetail } from '@/api/all/assignment-management';
// 平台图标
import iconDy from '@/assets/img/platform/icon-dy.png';
import iconXhs from '@/assets/img/platform/icon-xhs.png';
@@ -389,7 +389,7 @@ const handleMaterialCancel = () => {
};
// 处理成品库选择确认
-const handleProductConfirm = (result) => {
+const handleProductConfirm = async (result) => {
selectedProducts.value = {
keys: result.selectedKeys,
data: result.selectedData,
@@ -401,13 +401,29 @@ const handleProductConfirm = (result) => {
hasChoseFinishedProducts.value = true;
// 取第一个选中的项目
const selectedProduct = result.selectedRows[0];
- selectedProducts.value = {
- keys: [selectedProduct.id],
- data: [selectedProduct],
- text: '1个稿件',
- images: [selectedProduct],
- };
- fillTaskData(selectedProduct.id);
+
+ // 获取成品详情
+ try {
+ const res = await getWorkDetail(selectedProduct.id);
+ if (res && res.code === 200) {
+ const workDetail = res.data;
+ selectedProducts.value = {
+ keys: [workDetail.id],
+ data: [workDetail],
+ text: workDetail.title || '1个稿件',
+ images: workDetail.files ? workDetail.files.filter(f => f.type === 0) : [], // 图片文件
+ };
+ }
+ } catch (error) {
+ console.error('获取成品详情失败:', error);
+ // 如果获取详情失败,使用原始数据
+ selectedProducts.value = {
+ keys: [selectedProduct.id],
+ data: [selectedProduct],
+ text: '1个稿件',
+ images: [selectedProduct],
+ };
+ }
}
};
@@ -490,7 +506,7 @@ const showDrawer = (accountInfo = null, selectedDate = null) => {
// 新增:编辑任务时的数据回填方法
const fillTaskData = async (taskData) => {
- // 如果传入的数据包含完整信息,则直接使用,否则获取完整详情
+ // 如果传入的数据包含完整信息,则直接使用,否则获取详情
let fullTaskData = taskData;
// 如果没有work或raw_materials等详细信息,则需要获取完整详情
diff --git a/src/views/property-marketing/assignment-management/index.vue b/src/views/property-marketing/assignment-management/index.vue
index cae6a24..88dafa8 100644
--- a/src/views/property-marketing/assignment-management/index.vue
+++ b/src/views/property-marketing/assignment-management/index.vue
@@ -25,7 +25,7 @@
:columns="columns"
:data="data"
:bordered="{ cell: true }"
- :scroll="{ x: 'max-content', y: 600 }"
+ :scroll="{ x: 'max-content' }"
style="width: 100%"
:pagination="false"
@change="handleTableChange"
@@ -33,7 +33,7 @@
>
-
+
暂无数据
可通过账号管理添加账号,进行任务排期管理
@@ -516,7 +516,7 @@ const handleTaskAction = async (action: string, task: any, ...args: any[]) => {
// 显示抽屉
drawerPopupRef.value.showDrawer(accountInfo, date);
-
+
// 等待抽屉打开后再填充数据
nextTick(() => {
// 将任务信息回填到draw-popup组件
@@ -607,7 +607,7 @@ onMounted(() => {
}
.no-task {
- height: 30px;
+ min-height: 42px;
display: flex;
align-items: center;
justify-content: center;
@@ -641,11 +641,7 @@ onMounted(() => {
display: flex;
flex-direction: column;
align-items: start;
- height: 42px;
-}
-
-:deep(td.today-column) .arco-table-cell-wrap {
- color: white !important;
+ min-height: 42px;
}
/* 抽屉左侧圆角样式 */
From 80e734136ebd6c652f380a7c89392bcdbff10ced Mon Sep 17 00:00:00 2001
From: lq <121091329@qq.com>
Date: Thu, 25 Sep 2025 16:20:52 +0800
Subject: [PATCH 6/7] =?UTF-8?q?=E7=AC=AC=E4=B8=80=E5=88=97=E5=B1=85?=
=?UTF-8?q?=E4=B8=AD=E6=98=BE=E7=A4=BA?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../assignment-management/index.vue | 15 ++++++++++++---
1 file changed, 12 insertions(+), 3 deletions(-)
diff --git a/src/views/property-marketing/assignment-management/index.vue b/src/views/property-marketing/assignment-management/index.vue
index 88dafa8..c228495 100644
--- a/src/views/property-marketing/assignment-management/index.vue
+++ b/src/views/property-marketing/assignment-management/index.vue
@@ -33,7 +33,7 @@
>
-
+
暂无数据
可通过账号管理添加账号,进行任务排期管理
@@ -43,10 +43,10 @@
-
+
![]()
{{ record.name || '-' }}
@@ -644,6 +644,15 @@ onMounted(() => {
min-height: 42px;
}
+:deep(td .arco-table-cell:first-child) {
+ align-items: center;
+ justify-content: center;
+}
+
+:deep(td.today-column) .arco-table-cell-wrap {
+ color: white !important;
+}
+
/* 抽屉左侧圆角样式 */
:deep(.rounded-left .ant-drawer-content) {
border-top-left-radius: 8px !important;
From f4d20eb8e919c89bc11ca5ac60dd480e80952bf4 Mon Sep 17 00:00:00 2001
From: lq <121091329@qq.com>
Date: Thu, 25 Sep 2025 16:33:52 +0800
Subject: [PATCH 7/7] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BB=BB=E5=8A=A1?=
=?UTF-8?q?=E7=AE=A1=E7=90=86?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components/common-select/index.vue | 16 ++++++++--
.../components/draw-popup.vue | 31 +++++++++++++++++--
.../assignment-management/index.vue | 2 +-
3 files changed, 44 insertions(+), 5 deletions(-)
diff --git a/src/components/common-select/index.vue b/src/components/common-select/index.vue
index 2ca73d2..40477b3 100644
--- a/src/components/common-select/index.vue
+++ b/src/components/common-select/index.vue
@@ -22,9 +22,9 @@
{{ item.label }}
-
+
-
![]()
+
{{ label }}
@@ -39,6 +39,11 @@