diff --git a/src/api/all/generationWorkshop.ts b/src/api/all/generationWorkshop.ts index e365302..3d178a2 100644 --- a/src/api/all/generationWorkshop.ts +++ b/src/api/all/generationWorkshop.ts @@ -8,6 +8,14 @@ export const getWorksList = (params = {}) => { export const postWorksBatch = (params = {}) => { return Http.post('/v1/works/batch', params); }; +// 生成分享链接 +export const postShareLinksGenerate = (params = {}) => { + return Http.post('/v1/share-links/generate', params); +}; +// 生成写手链接 +export const postWriterLinksGenerate = (params = {}) => { + return Http.post('/v1/writer-links/generate', params); +}; // 内容稿件-修改 export const putWorksUpdate = (params = {}) => { const { id, ...rest } = params as { id: string; [key: string]: any }; diff --git a/src/hooks/useTableSelectionWithPagination.ts b/src/hooks/useTableSelectionWithPagination.ts index 80ae4aa..71286e5 100644 --- a/src/hooks/useTableSelectionWithPagination.ts +++ b/src/hooks/useTableSelectionWithPagination.ts @@ -45,6 +45,7 @@ export function useTableSelectionWithPagination(options: UseTableSelectionWithPa // 全选/取消全选 const handleSelectAll = (checked: boolean) => { + console.log('handleSelectAll', checked) const currentPageRows = dataSource.value; const currentPageKeys = currentPageRows.map((v) => v[rowKey]); diff --git a/src/router/routes/modules/creativeGenerationWorkshop.ts b/src/router/routes/modules/creativeGenerationWorkshop.ts index 70a2a17..8d4ad1e 100644 --- a/src/router/routes/modules/creativeGenerationWorkshop.ts +++ b/src/router/routes/modules/creativeGenerationWorkshop.ts @@ -81,6 +81,20 @@ const COMPONENTS: AppRouteRecordRaw[] = [ }, component: () => import('@/views/creative-generation-workshop/manuscript/check-list/index.vue'), }, + { + path: 'check-list/detail/:id', + name: 'ManuscriptCheckListDetail', + meta: { + locale: '内容稿件审核详情', + requiresAuth: false, + requireLogin: false, + hideFooter: true, + hideInMenu: true, + roles: ['*'], + activeMenu: 'ManuscriptCheckList', + }, + component: () => import('@/views/creative-generation-workshop/manuscript/detail/index.vue'), + }, { path: 'check/:id', name: 'ManuscriptCheck', diff --git a/src/styles/components/input.scss b/src/styles/components/input.scss index e55b6f4..4e81891 100644 --- a/src/styles/components/input.scss +++ b/src/styles/components/input.scss @@ -15,4 +15,8 @@ &.arco-input-disabled { background-color: var(--BG-200, #F2F3F5) !important; } + .arco-input-prefix { + padding-right: 0 !important; + margin-right: 4px; + } } diff --git a/src/styles/components/table.scss b/src/styles/components/table.scss index 4abb4b9..9c53cc5 100644 --- a/src/styles/components/table.scss +++ b/src/styles/components/table.scss @@ -9,6 +9,7 @@ } .arco-table-container { border: none !important; + height: 100%; .arco-table-element { thead { .arco-table-tr { diff --git a/src/views/creative-generation-workshop/manuscript/check-list/components/manuscript-check-table/delete-manuscript-modal.vue b/src/views/creative-generation-workshop/manuscript/check-list/components/manuscript-check-table/delete-manuscript-modal.vue index ef68bd5..98016d4 100644 --- a/src/views/creative-generation-workshop/manuscript/check-list/components/manuscript-check-table/delete-manuscript-modal.vue +++ b/src/views/creative-generation-workshop/manuscript/check-list/components/manuscript-check-table/delete-manuscript-modal.vue @@ -10,8 +10,8 @@ 确认删除 {{ projectName }} 这个稿件吗? diff --git a/src/views/creative-generation-workshop/manuscript/check-list/components/manuscript-check-table/index.vue b/src/views/creative-generation-workshop/manuscript/check-list/components/manuscript-check-table/index.vue index 51488cd..9b511b2 100644 --- a/src/views/creative-generation-workshop/manuscript/check-list/components/manuscript-check-table/index.vue +++ b/src/views/creative-generation-workshop/manuscript/check-list/components/manuscript-check-table/index.vue @@ -8,7 +8,11 @@ :scroll="{ x: '100%' }" class="flex-1 manuscript-table w-100%" bordered + :row-selection="rowSelection" + :selected-row-keys="selectedRowKeys" @sorter-change="handleSorterChange" + @select="(selectedKeys, rowKeyValue, record) => emits('select', selectedKeys, rowKeyValue, record)" + @select-all="(check) => emits('selectAll', check)" > - diff --git a/src/views/creative-generation-workshop/manuscript/check-list/components/manuscript-check-table/style.scss b/src/views/creative-generation-workshop/manuscript/check-list/components/manuscript-check-table/style.scss index 8621a01..5a1711b 100644 --- a/src/views/creative-generation-workshop/manuscript/check-list/components/manuscript-check-table/style.scss +++ b/src/views/creative-generation-workshop/manuscript/check-list/components/manuscript-check-table/style.scss @@ -6,6 +6,9 @@ font-style: normal; font-weight: 400; line-height: 22px; + &.num { + font-family: $font-family-manrope-regular; + } } :deep(.title) { cursor: pointer; diff --git a/src/views/creative-generation-workshop/manuscript/check-list/constants.ts b/src/views/creative-generation-workshop/manuscript/check-list/constants.ts index a20e022..dd7acf4 100644 --- a/src/views/creative-generation-workshop/manuscript/check-list/constants.ts +++ b/src/views/creative-generation-workshop/manuscript/check-list/constants.ts @@ -88,6 +88,11 @@ export const TABLE_COLUMNS2 = [ dataIndex: 'platform', width: 120, }, + { + title: '合规程度', + dataIndex: 'compliance_degree', + width: 120, + }, // { // title: '合规程度', // dataIndex: 'platform', diff --git a/src/views/creative-generation-workshop/manuscript/check-list/index.vue b/src/views/creative-generation-workshop/manuscript/check-list/index.vue index 618e7cd..1de279b 100644 --- a/src/views/creative-generation-workshop/manuscript/check-list/index.vue +++ b/src/views/creative-generation-workshop/manuscript/check-list/index.vue @@ -2,9 +2,9 @@
- {{ item.label }} + +
+ 批量审核 + 批量查看 +
+
+