[update] 企标库,添加权限

This commit is contained in:
lideqin
2023-09-13 16:55:20 +08:00
parent b27e38e087
commit 1c46cfbae4
9 changed files with 126 additions and 157 deletions
@@ -42,7 +42,7 @@
{{ toggleSearchStatus ? $t('putAway') : $t('open') }}
<a-icon :type="toggleSearchStatus ? 'up' : 'down'"/>
</a>
<a-button type="primary" @click="searchQuery" icon="search" style="margin-left: 8px">{{ $t('query') }}</a-button>
<a-button type="primary" @click="searchQuery" icon="search" style="margin-left: 8px" v-has="'enterpriseStandardLibrary.reviewPlan.search'">{{ $t('query') }}</a-button>
<a-button type="primary" @click="searchReset" icon="reload" style="margin-left: 8px">{{ $t('reset') }}</a-button>
</div>
@@ -53,7 +53,8 @@
<!-- 操作区域 -->
<div class="table-operator">
<!-- 发起复审 -->
<a-button icon="plus" type="primary" ghost @click="handleInitReview">
<a-button icon="plus" type="primary" ghost v-has="'enterpriseStandardLibrary.reviewPlan.initReview'"
@click="handleInitReview">
{{ $t('enterpriseStandardLibrary.reviewPlan.initReview') }}
</a-button>
</div>
@@ -165,6 +166,12 @@ export default {
scopedSlots: { customRender: 'text' }
}
],
labelCol: {
span: 4
},
wrapperCol: {
span: 14
},
url: {
list: '/enterprise/recheckPlan/page'
}