From a1df9699594b0a0e46d26a0394eafb1eb030c68b Mon Sep 17 00:00:00 2001
From: yyb <995253665@qq.com>
Date: 星期三, 20 五月 2026 17:42:09 +0800
Subject: [PATCH] 企业新闻
---
src/views/officeProcessAutomation/EnterpriseNews/news-manage/components/NewsDetailPanel.vue | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/views/officeProcessAutomation/EnterpriseNews/news-manage/components/NewsDetailPanel.vue b/src/views/officeProcessAutomation/EnterpriseNews/news-manage/components/NewsDetailPanel.vue
index bb25ba0..1124472 100644
--- a/src/views/officeProcessAutomation/EnterpriseNews/news-manage/components/NewsDetailPanel.vue
+++ b/src/views/officeProcessAutomation/EnterpriseNews/news-manage/components/NewsDetailPanel.vue
@@ -2,9 +2,9 @@
<template>
<el-descriptions :column="2" border>
<el-descriptions-item label="鏂伴椈缂栧彿">{{ row.newsNo || "鈥�" }}</el-descriptions-item>
- <el-descriptions-item label="鍙戝竷鐘舵��">
- <el-tag :type="publishStatusTag(row.publishStatus)" size="small">
- {{ publishStatusLabel(row.publishStatus) }}
+ <el-descriptions-item label="鐘舵��">
+ <el-tag :type="publishStatusTag(row.newsStatus ?? row.publishStatus)" size="small">
+ {{ publishStatusLabel(row.newsStatus ?? row.publishStatus) }}
</el-tag>
</el-descriptions-item>
<el-descriptions-item label="鏂伴椈鍒嗙被">
@@ -57,7 +57,7 @@
</template>
<el-empty v-else description="鏆傛棤闄勪欢" :image-size="48" />
- <template v-if="row.newsType === 'culture' && row.publishStatus === 'published'">
+ <template v-if="row.newsType === 'culture' && (row.publishStatus === 'PUBLISHED' || row.publishStatus === 'published')">
<el-divider content-position="left">浜掑姩锛堢偣璧� {{ likeCount }} 路 璇勮 {{ commentCount }}锛�</el-divider>
<div class="interaction-bar">
<el-button type="primary" plain size="small" @click="$emit('like')">
--
Gitblit v1.9.3