feat: 新媒体账号状态处理

This commit is contained in:
rd
2025-07-24 18:30:33 +08:00
parent 050292b7cd
commit 458b4c0d60
11 changed files with 379 additions and 215 deletions

View File

@ -53,11 +53,7 @@
</div>
<p class="cts">
<template v-if="field.type === 'status'">
<div class="status-tag" :class="`status-tag-${detailData.status}`">
<span class="cts status-tag-text">{{
STATUS_LIST.find((item) => item.value === detailData.status)?.label
}}</span>
</div>
<StatusBox :item="detailData" class="w-fit" />
</template>
<template v-else-if="field.dataIndex === 'tags'">
<div v-if="detailData.tags?.length" class="flex items-center">
@ -138,8 +134,8 @@ import { useRoute } from 'vue-router';
import { formatTableField, formatNumberShow, exactFormatTime } from '@/utils/tools';
import { getAccountInfoFields } from '../../constants';
import { STATUS_LIST } from '@/views/property-marketing/media-account/components/status-select/constants';
import { getPropPrefix } from '@/views/property-marketing/media-account/account-dashboard/constants';
import StatusBox from '@/views/property-marketing/media-account/components/status-select/status-box.tsx';
import { getAccountBoardDetail } from '@/api/all/propertyMarketing';