feat(article-management): 首页通知公告加时间, 将"备注"字段改为"发文单位"

This commit is contained in:
dj
2025-04-06 21:25:30 +08:00
parent d3c0b36657
commit e8a5b4e788
3 changed files with 8 additions and 3 deletions

View File

@@ -5,7 +5,7 @@
<div class="article-title">
<Tag dictType="article_type" :value="formData.articleType"/>
<span>{{ formData.articleTime }}</span>
<span>备注{{ formData.remarks }}</span>
<span>发文单位{{ formData.remarks }}</span>
</div>
<el-row gutter="20">
<el-col :span="24">

View File

@@ -93,7 +93,7 @@ const articleTableConfig = reactive({
},
{
prop: 'remarks',
label: '备注',
label: '发文单位',
align: 'center'
},
{

View File

@@ -132,13 +132,16 @@
</el-icon>
</div>
</div>
<div class="notice-block">
<div class="notice-block notice-box">
<div v-if="noticeList&&noticeList.length==0">
<el-empty image-size="135" description="暂无通知公告~"/>
</div>
<div v-for="(item,index) in noticeList" class="notice" @click="handleGoToArticleDetail(item)">
<span>{{ index > 8 ? '' : 0 }}{{ index + 1 }}</span>
{{ item.articleTitle }}
<span style="float: right">
{{ item.articleTime }}
</span>
</div>
</div>
</div>
@@ -1456,7 +1459,9 @@ const handleView = (row) => {
}
}
}
.notice-box{
}
.notice-block {
height: 452px;
//height: 100%;