From 028162e8994039a19920db03e019811db49d2590 Mon Sep 17 00:00:00 2001 From: rd <1344903914@qq.com> Date: Wed, 13 Aug 2025 17:42:51 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E8=B5=B0=E6=9F=A5=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../detail/components/ai-suggest/index.vue | 29 ++++---- .../manuscript-writer/check-list/constants.ts | 5 ++ .../manuscript-writer/check-list/index.vue | 69 ++++-------------- .../upload-manuscript-modal/index.vue | 4 +- .../manuscript/check-list/constants.ts | 5 ++ .../manuscript/check-list/index.vue | 71 ++++--------------- .../components/manuscript-table/constants.ts | 7 +- .../components/manuscript-table/index.vue | 56 ++++++--------- .../upload-manuscript-modal/index.vue | 4 +- 9 files changed, 90 insertions(+), 160 deletions(-) diff --git a/src/views/creative-generation-workshop/explore/detail/components/ai-suggest/index.vue b/src/views/creative-generation-workshop/explore/detail/components/ai-suggest/index.vue index de7d009..2f00f7a 100644 --- a/src/views/creative-generation-workshop/explore/detail/components/ai-suggest/index.vue +++ b/src/views/creative-generation-workshop/explore/detail/components/ai-suggest/index.vue @@ -29,7 +29,7 @@ export default { }, dataSource: { type: Object, - default: () => {}, + default: () => { }, }, }, emits: ['toggle', 'updateComment', 'deleteComment'], @@ -212,33 +212,38 @@ export default { const renderAiSuggest = () => { if (isEmpty(aiReview.value)) return null; + const hasViolationItems = violationItems.value.length > 0 return ( <>

审核结果

- + { + hasViolationItems && ( + + ) + } +
{RESULT_LIST.map((item, index) => (
- {`${aiReview.value?.[item.value]}${ - item.suffix || '' - }`}{' '} + {`${aiReview.value?.[item.value]}${item.suffix || '' + }`}{' '} {item.label}
))}
- {violationItems.value.length > 0 && ( + {hasViolationItems && (

敏感词检测

diff --git a/src/views/creative-generation-workshop/manuscript-writer/check-list/constants.ts b/src/views/creative-generation-workshop/manuscript-writer/check-list/constants.ts index f1e5eeb..11b2a55 100644 --- a/src/views/creative-generation-workshop/manuscript-writer/check-list/constants.ts +++ b/src/views/creative-generation-workshop/manuscript-writer/check-list/constants.ts @@ -18,6 +18,11 @@ export const TABLE_COLUMNS1 = [ dataIndex: 'title', width: 300, }, + { + title: '客户意见', + dataIndex: 'customer_opinion', + width: 220, + }, { title: '稿件类型', dataIndex: 'type', diff --git a/src/views/creative-generation-workshop/manuscript-writer/check-list/index.vue b/src/views/creative-generation-workshop/manuscript-writer/check-list/index.vue index 1316e13..faf9cd9 100644 --- a/src/views/creative-generation-workshop/manuscript-writer/check-list/index.vue +++ b/src/views/creative-generation-workshop/manuscript-writer/check-list/index.vue @@ -7,63 +7,26 @@ 分享内容稿件 --> - +
-
- 批量审核 - 批量查看 + class="table-wrap bg-#fff rounded-8px border-1px border-#D7D7D9 border-solid px-24px py-24px flex-1 flex flex-col"> +
+ 批量审核 + 批量查看
- +
- +
@@ -86,8 +49,6 @@ import { INITIAL_QUERY, AUDIT_STATUS_LIST, TABLE_COLUMNS1, - TABLE_COLUMNS2, - TABLE_COLUMNS3, } from '@/views/creative-generation-workshop/manuscript/check-list/constants'; const { diff --git a/src/views/creative-generation-workshop/manuscript-writer/list/components/upload-manuscript-modal/index.vue b/src/views/creative-generation-workshop/manuscript-writer/list/components/upload-manuscript-modal/index.vue index 19f6c5e..417b0e4 100644 --- a/src/views/creative-generation-workshop/manuscript-writer/list/components/upload-manuscript-modal/index.vue +++ b/src/views/creative-generation-workshop/manuscript-writer/list/components/upload-manuscript-modal/index.vue @@ -173,7 +173,7 @@ export default {