Merge remote-tracking branch 'origin/feature/v1.2灵机空间-内容上传审核_rxd' into test

This commit is contained in:
rd
2025-08-14 16:27:49 +08:00
11 changed files with 48 additions and 26 deletions

View File

@ -22,6 +22,18 @@
@include table-cell-text; @include table-cell-text;
font-family: 'PingFangSC-Medium'; font-family: 'PingFangSC-Medium';
} }
.arco-table-sorter {
.arco-table-sorter-icon {
.arco-icon {
color: #939499;
}
&-active {
.arco-icon {
color: $color-primary;
}
}
}
}
} }
} }
} }
@ -40,5 +52,15 @@
} }
} }
} }
.arco-scrollbar {
display: flex;
flex-direction: column;
.arco-table-element {
height: 100%;
}
.arco-scrollbar-container{
flex: 1;
}
}
} }
} }

View File

@ -21,12 +21,12 @@ export const TABLE_COLUMNS1 = [
{ {
title: '客户意见', title: '客户意见',
dataIndex: 'customer_opinion', dataIndex: 'customer_opinion',
width: 220, width: 120,
}, },
{ {
title: '稿件类型', title: '稿件类型',
dataIndex: 'type', dataIndex: 'type',
width: 180, width: 120,
}, },
{ {
title: '上传时间', title: '上传时间',
@ -74,7 +74,7 @@ export const TABLE_COLUMNS2 = [
{ {
title: '客户意见', title: '客户意见',
dataIndex: 'customer_opinion', dataIndex: 'customer_opinion',
width: 220, width: 120,
}, },
{ {
title: '审核平台', title: '审核平台',
@ -90,7 +90,7 @@ export const TABLE_COLUMNS2 = [
{ {
title: '稿件类型', title: '稿件类型',
dataIndex: 'type', dataIndex: 'type',
width: 180, width: 120,
}, },
{ {
title: '审核时间', title: '审核时间',
@ -143,7 +143,7 @@ export const TABLE_COLUMNS3 = [
{ {
title: '客户意见', title: '客户意见',
dataIndex: 'customer_opinion', dataIndex: 'customer_opinion',
width: 200, width: 120,
}, },
{ {
title: '审核平台', title: '审核平台',
@ -153,7 +153,7 @@ export const TABLE_COLUMNS3 = [
{ {
title: '稿件类型', title: '稿件类型',
dataIndex: 'type', dataIndex: 'type',
width: 180, width: 120,
}, },
{ {
title: '通过时间', title: '通过时间',

View File

@ -34,7 +34,7 @@
.pagination-box { .pagination-box {
display: flex; display: flex;
width: 100%; width: 100%;
padding: 16px 24px; padding: 16px 24px 0;
justify-content: flex-end; justify-content: flex-end;
align-items: center; align-items: center;
} }

View File

@ -1,5 +1,5 @@
.manuscript-list-wrap { .manuscript-list-wrap {
height: 100%; // height: 100%;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
.filter-wrap { .filter-wrap {
@ -21,7 +21,7 @@
.pagination-box { .pagination-box {
display: flex; display: flex;
width: 100%; width: 100%;
padding: 16px 24px; padding: 16px 24px 0;
justify-content: flex-end; justify-content: flex-end;
align-items: center; align-items: center;
} }

View File

@ -21,12 +21,12 @@ export const TABLE_COLUMNS1 = [
{ {
title: '客户意见', title: '客户意见',
dataIndex: 'customer_opinion', dataIndex: 'customer_opinion',
width: 220, width: 120,
}, },
{ {
title: '稿件类型', title: '稿件类型',
dataIndex: 'type', dataIndex: 'type',
width: 180, width: 120,
}, },
{ {
title: '上传时间', title: '上传时间',
@ -84,7 +84,7 @@ export const TABLE_COLUMNS2 = [
{ {
title: '客户意见', title: '客户意见',
dataIndex: 'customer_opinion', dataIndex: 'customer_opinion',
width: 220, width: 120,
}, },
{ {
title: '审核平台', title: '审核平台',
@ -100,7 +100,7 @@ export const TABLE_COLUMNS2 = [
{ {
title: '稿件类型', title: '稿件类型',
dataIndex: 'type', dataIndex: 'type',
width: 180, width: 120,
}, },
{ {
title: '审核时间', title: '审核时间',
@ -153,7 +153,7 @@ export const TABLE_COLUMNS3 = [
{ {
title: '客户意见', title: '客户意见',
dataIndex: 'customer_opinion', dataIndex: 'customer_opinion',
width: 200, width: 120,
}, },
{ {
title: '审核平台', title: '审核平台',
@ -163,7 +163,7 @@ export const TABLE_COLUMNS3 = [
{ {
title: '稿件类型', title: '稿件类型',
dataIndex: 'type', dataIndex: 'type',
width: 180, width: 120,
}, },
{ {
title: '通过时间', title: '通过时间',

View File

@ -34,7 +34,7 @@
.pagination-box { .pagination-box {
display: flex; display: flex;
width: 100%; width: 100%;
padding: 16px 24px; padding: 16px 24px 0;
justify-content: flex-end; justify-content: flex-end;
align-items: center; align-items: center;
} }

View File

@ -206,7 +206,7 @@ export default {
v-slots={{ v-slots={{
title: () => ( title: () => (
<div class="flex items-center"> <div class="flex items-center">
<span class="cts mr-4px">{column.title}</span> <span class="cts mr-4px bold color-#211F24">{column.title}</span>
{column.tooltip && ( {column.tooltip && (
<Tooltip content={column.tooltip} position="top"> <Tooltip content={column.tooltip} position="top">
<IconQuestionCircle class="tooltip-icon color-#737478" size={16} /> <IconQuestionCircle class="tooltip-icon color-#737478" size={16} />

View File

@ -6,7 +6,7 @@
font-weight: 400; font-weight: 400;
line-height: 20px; line-height: 20px;
&.bold { &.bold {
font-family: $font-family-medium; font-family: $font-family-medium;
} }
} }
.filter-row-item { .filter-row-item {

View File

@ -21,7 +21,7 @@ export const TABLE_COLUMNS = [
{ {
title: '客户意见', title: '客户意见',
dataIndex: 'customer_opinion', dataIndex: 'customer_opinion',
width: 220, width: 120,
}, },
// { // {
// title: '所属项目', // title: '所属项目',
@ -31,12 +31,12 @@ export const TABLE_COLUMNS = [
{ {
title: '稿件类型', title: '稿件类型',
dataIndex: 'type', dataIndex: 'type',
width: 180, width: 120,
}, },
{ {
title: '审核状态', title: '审核状态',
dataIndex: 'audit_status', dataIndex: 'audit_status',
width: 180, width: 120,
}, },
{ {
title: '上传时间', title: '上传时间',

View File

@ -1,6 +1,6 @@
<template> <template>
<a-table ref="tableRef" :data="dataSource" row-key="id" column-resizable :pagination="false" :scroll="{ x: '100%' }" <a-table ref="tableRef" :data="dataSource" row-key="id" column-resizable :pagination="false" :scroll="{ x: '100%' }"
class="manuscript-table w-100%" bordered @sorter-change="handleSorterChange"> class="manuscript-table w-100% flex-1" bordered @sorter-change="handleSorterChange">
<template #empty> <template #empty>
<NoData text="暂无稿件" /> <NoData text="暂无稿件" />
</template> </template>
@ -25,7 +25,7 @@
:style="{ background: getCustomerOpinionInfo(record.customer_opinion)?.bg }"> :style="{ background: getCustomerOpinionInfo(record.customer_opinion)?.bg }">
<span class="cts" :class="getCustomerOpinionInfo(record.customer_opinion)?.color">{{ <span class="cts" :class="getCustomerOpinionInfo(record.customer_opinion)?.color">{{
getCustomerOpinionInfo(record.customer_opinion)?.label ?? '-' getCustomerOpinionInfo(record.customer_opinion)?.label ?? '-'
}}</span> }}</span>
</p> </p>
</template> </template>
<template v-else-if="column.dataIndex === 'title'" #cell="{ record }"> <template v-else-if="column.dataIndex === 'title'" #cell="{ record }">
@ -36,7 +36,7 @@
:style="{ backgroundColor: getStatusInfo(record.audit_status).backgroundColor }"> :style="{ backgroundColor: getStatusInfo(record.audit_status).backgroundColor }">
<span class="cts s1" :style="{ color: getStatusInfo(record.audit_status).color }">{{ <span class="cts s1" :style="{ color: getStatusInfo(record.audit_status).color }">{{
getStatusInfo(record.audit_status).name getStatusInfo(record.audit_status).name
}}</span> }}</span>
</div> </div>
</template> </template>
<template v-else-if="column.dataIndex === 'type'" #cell="{ record }"> <template v-else-if="column.dataIndex === 'type'" #cell="{ record }">
@ -45,7 +45,7 @@
class="mr-4px" /> class="mr-4px" />
<span class="cts" :class="record.type === EnumManuscriptType.Image ? '!color-#25C883' : '!color-#6D4CFE'">{{ <span class="cts" :class="record.type === EnumManuscriptType.Image ? '!color-#25C883' : '!color-#6D4CFE'">{{
record.type === EnumManuscriptType.Image ? '图文' : '视频' record.type === EnumManuscriptType.Image ? '图文' : '视频'
}}</span> }}</span>
</div> </div>
</template> </template>
<template v-else-if="['uploader', 'last_modifier'].includes(column.dataIndex)" #cell="{ record }"> <template v-else-if="['uploader', 'last_modifier'].includes(column.dataIndex)" #cell="{ record }">

View File

@ -21,7 +21,7 @@
.pagination-box { .pagination-box {
display: flex; display: flex;
width: 100%; width: 100%;
padding: 16px 24px; padding: 16px 24px 0;
justify-content: flex-end; justify-content: flex-end;
align-items: center; align-items: center;
} }