feat: 新媒体账号状态处理
This commit is contained in:
@ -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';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user