[update] 修改bug87731

This commit is contained in:
lideqin
2024-07-30 17:47:27 +08:00
parent 38671ce5d6
commit e09e13f439
@@ -78,7 +78,7 @@
<!-- 新增 -->
<a-button icon="plus" type="primary" @click="handleAdd" v-has="'marketStandard:add'">{{ $t('newlyAdded') }}</a-button>
<!-- 发布 -->
<a-button icon="plus" type="primary" @click="handleBatchPublish">{{ $t('release') }}</a-button>
<a-button icon="plus" type="primary" @click="handleBatchPublish" v-has="'marketStandard:publish'">{{ $t('release') }}</a-button>
<!-- 导出 -->
<a-button icon="upload" type="primary" ghost v-has="'marketStandard:export'"
@click="handleExportXls($t('standardRegulationLibrary.marketRegulationsList.exportName'))">
@@ -217,7 +217,7 @@ export default {
{
text: this.$t('release'),
clickEvent: 'handlePublish',
has: '',
has: 'marketStandard:publish',
// 已发布状态不显示发布按钮,只有作者和管理员可以发布
show: (record) => {
return record.manifestStatus !== ListState.RELEASED.value && (this.isAdmin || this.userInfo.id === record.author)