From 29f4f224321e32015736a62e766b8dd7664afe92 Mon Sep 17 00:00:00 2001
From: rd <1344903914@qq.com>
Date: Mon, 4 Aug 2025 10:36:27 +0800
Subject: [PATCH] =?UTF-8?q?feat:=20=E5=86=85=E5=AE=B9=E5=AE=A1=E6=A0=B8?=
=?UTF-8?q?=E8=A1=A8=E6=A0=BC=E5=88=9D=E5=A7=8B=E5=8C=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/all/generationWorkshop.ts | 5 +
.../check/components/filter-block/index.vue | 71 +++++-
.../manuscript-check-table/constants.ts | 60 -----
.../delete-manuscript-modal.vue | 4 +-
.../manuscript-check-table/index.vue | 57 ++++-
.../manuscript-check-table/style.scss | 6 +
.../manuscript/check/constants.ts | 221 +++++++++++++++++-
.../manuscript/check/index.vue | 52 +++--
.../manuscript/check/style.scss | 13 ++
.../share-manuscript-modal/index.vue | 4 +-
.../components/manuscript-table/constants.ts | 2 +-
.../components/manuscript-table/index.vue | 2 +-
12 files changed, 403 insertions(+), 94 deletions(-)
delete mode 100644 src/views/creative-generation-workshop/manuscript/check/components/manuscript-check-table/constants.ts
diff --git a/src/api/all/generationWorkshop.ts b/src/api/all/generationWorkshop.ts
index e29bc84..e365302 100644
--- a/src/api/all/generationWorkshop.ts
+++ b/src/api/all/generationWorkshop.ts
@@ -53,3 +53,8 @@ export const putWorkAuditsAuditPass = (params = {}) => {
const { id: auditId, ...rest } = params as { id: string; [key: string]: any };
return Http.put(`/v1/work-audits/${auditId}/audit-pass`, rest);
};
+
+// 生成分享链接
+export const getWriterLinksGenerate = (params = {}) => {
+ return Http.get('/v1/writer-links/generate', params);
+};
\ No newline at end of file
diff --git a/src/views/creative-generation-workshop/manuscript/check/components/filter-block/index.vue b/src/views/creative-generation-workshop/manuscript/check/components/filter-block/index.vue
index edc1821..c8bca08 100644
--- a/src/views/creative-generation-workshop/manuscript/check/components/filter-block/index.vue
+++ b/src/views/creative-generation-workshop/manuscript/check/components/filter-block/index.vue
@@ -10,7 +10,7 @@
内容稿件标题
+
+
+
上传时间
+
onDateChange(value, 'created_at')"
+ />
+
+
+
审核平台
+
+ {{ item.label }}
+
+
+
+
审核时间
+
onDateChange(value, 'audit_started_at')"
+ />
+
@@ -43,6 +94,7 @@
diff --git a/src/views/creative-generation-workshop/manuscript/check/components/manuscript-check-table/constants.ts b/src/views/creative-generation-workshop/manuscript/check/components/manuscript-check-table/constants.ts
deleted file mode 100644
index f074544..0000000
--- a/src/views/creative-generation-workshop/manuscript/check/components/manuscript-check-table/constants.ts
+++ /dev/null
@@ -1,60 +0,0 @@
-export const TABLE_COLUMNS = [
- {
- title: '序号',
- dataIndex: 'index',
- width: 120,
- fixed: 'left',
- },
- {
- title: '图片/视频',
- dataIndex: 'picker',
- width: 240,
- },
- {
- title: '内容稿件标题',
- dataIndex: 'name',
- width: 240,
- },
- {
- title: '所属项目',
- dataIndex: 'name',
- width: 240,
- },
- {
- title: '稿件类型',
- dataIndex: 'budget',
- width: 180,
- },
- {
- title: '上传时间',
- dataIndex: 'create_at',
- width: 180,
- sortable: {
- sortDirections: ['ascend', 'descend'],
- },
- },
- {
- title: '上传人员',
- dataIndex: 'placement_account_count',
- width: 180,
- },
- {
- title: '最后修改时间',
- dataIndex: 'last_create_at',
- width: 180,
- sortable: {
- sortDirections: ['ascend', 'descend'],
- },
- },
- {
- title: '最后修改人员',
- dataIndex: 'placement_account_count1',
- width: 180,
- },
- {
- title: '操作',
- dataIndex: 'operation',
- width: 160,
- fixed: 'right'
- },
-];
diff --git a/src/views/creative-generation-workshop/manuscript/check/components/manuscript-check-table/delete-manuscript-modal.vue b/src/views/creative-generation-workshop/manuscript/check/components/manuscript-check-table/delete-manuscript-modal.vue
index 97fd12d..ef68bd5 100644
--- a/src/views/creative-generation-workshop/manuscript/check/components/manuscript-check-table/delete-manuscript-modal.vue
+++ b/src/views/creative-generation-workshop/manuscript/check/components/manuscript-check-table/delete-manuscript-modal.vue
@@ -20,7 +20,7 @@
\ No newline at end of file
+@import './style.scss';
+
diff --git a/src/views/creative-generation-workshop/manuscript/check/style.scss b/src/views/creative-generation-workshop/manuscript/check/style.scss
index 13b35ec..a2c29f0 100644
--- a/src/views/creative-generation-workshop/manuscript/check/style.scss
+++ b/src/views/creative-generation-workshop/manuscript/check/style.scss
@@ -3,11 +3,24 @@
display: flex;
flex-direction: column;
.filter-wrap {
+ :deep(.arco-tabs) {
+ .arco-tabs-tab {
+ height: 56px;
+ padding: 0 8px;
+ }
+ .arco-tabs-nav-extra {
+ padding-right: 24px;
+ }
+ .arco-tabs-content {
+ display: none;
+ }
+ }
.top {
.title {
font-family: $font-family-medium;
font-style: normal;
}
+
:deep(.arco-btn) {
.arco-btn-icon {
line-height: 16px;
diff --git a/src/views/creative-generation-workshop/manuscript/components/share-manuscript-modal/index.vue b/src/views/creative-generation-workshop/manuscript/components/share-manuscript-modal/index.vue
index 2fbeeae..c5a7d6e 100644
--- a/src/views/creative-generation-workshop/manuscript/components/share-manuscript-modal/index.vue
+++ b/src/views/creative-generation-workshop/manuscript/components/share-manuscript-modal/index.vue
@@ -18,7 +18,7 @@ import { INITIAL_FORM, TABLE_COLUMNS } from './constants';
import { formatTableField, exactFormatTime } from '@/utils/tools';
import { CHECK_STATUS, EnumManuscriptType } from '@/views/creative-generation-workshop/manuscript/list/constants';
import { useTableSelectionWithPagination } from '@/hooks/useTableSelectionWithPagination';
-import { getWorksPage } from '@/api/all/generationWorkshop.ts';
+import { getWorksPage, getWriterLinksGenerate } from '@/api/all/generationWorkshop.ts';
import icon2 from '@/assets/img/creative-generation-workshop/icon-photo.png';
import icon3 from '@/assets/img/creative-generation-workshop/icon-video.png';
@@ -218,7 +218,7 @@ export default {
if (column.dataIndex === 'audit_status') {
return (
diff --git a/src/views/creative-generation-workshop/manuscript/list/components/manuscript-table/constants.ts b/src/views/creative-generation-workshop/manuscript/list/components/manuscript-table/constants.ts
index 2020a01..5199e88 100644
--- a/src/views/creative-generation-workshop/manuscript/list/components/manuscript-table/constants.ts
+++ b/src/views/creative-generation-workshop/manuscript/list/components/manuscript-table/constants.ts
@@ -11,7 +11,7 @@ export const TABLE_COLUMNS = [
{
title: '图片/视频',
dataIndex: 'cover',
- width: 240,
+ width: 120,
},
{
title: '内容稿件标题',
diff --git a/src/views/creative-generation-workshop/manuscript/list/components/manuscript-table/index.vue b/src/views/creative-generation-workshop/manuscript/list/components/manuscript-table/index.vue
index 0db6d7f..5a25e9e 100644
--- a/src/views/creative-generation-workshop/manuscript/list/components/manuscript-table/index.vue
+++ b/src/views/creative-generation-workshop/manuscript/list/components/manuscript-table/index.vue
@@ -39,7 +39,7 @@
{{ exactFormatTime(record.create_at) }}
-
+