diff --git a/src/views/standardRegulationLibrary/marketRegulationsList/MarketRegulationsFormPage.vue b/src/views/standardRegulationLibrary/marketRegulationsList/MarketRegulationsFormPage.vue index 458e9aa..6b74937 100644 --- a/src/views/standardRegulationLibrary/marketRegulationsList/MarketRegulationsFormPage.vue +++ b/src/views/standardRegulationLibrary/marketRegulationsList/MarketRegulationsFormPage.vue @@ -118,7 +118,7 @@
- {{ $t('query') }} + {{ $t('query') }} {{ $t('reset') }}
@@ -128,19 +128,19 @@
- {{ $t('newlyAdded') }} + {{ $t('newlyAdded') }} - {{ $t('transfer') }} + {{ $t('transfer') }} - {{ $t('copy') }} + {{ $t('copy') }} - {{ $t('batchDelete') }} + {{ $t('batchDelete') }} - + {{ $t('import') }} - {{ $t('templateDownload') }} @@ -169,9 +169,9 @@ @@ -203,7 +203,8 @@ import StandardSelectionModal from '../../../components/selection/StandardSelect import MarketRegulationsListSelectionModal from '../../../components/selection/MarketRegulationsListSelectionModal' import { getForeignStandardDocumentInfo, - getMarketRegulationListById, marketRegulationDetailAdd, marketRegulationDetailCopy, + getMarketRegulationListById, + marketRegulationDetailCopy, marketRegulationDetailTransfer, marketRegulationListAdd, marketRegulationListEdit diff --git a/src/views/standardRegulationLibrary/marketRegulationsList/MarketRegulationsList.vue b/src/views/standardRegulationLibrary/marketRegulationsList/MarketRegulationsList.vue index cd9bdc2..265201e 100644 --- a/src/views/standardRegulationLibrary/marketRegulationsList/MarketRegulationsList.vue +++ b/src/views/standardRegulationLibrary/marketRegulationsList/MarketRegulationsList.vue @@ -76,15 +76,16 @@
- {{ $t('newlyAdded') }} + {{ $t('newlyAdded') }} {{ $t('release') }} - + {{ $t('export') }} - {{ $t('view') }} + {{ $t('view') }}
@@ -223,7 +224,7 @@ export default { { text: this.$t('edit'), clickEvent: 'handleEdit', - has: '', + has: 'marketStandard:edit', // 只有作者和管理员可以编辑 show: (record) => { return this.isAdmin || this.userInfo.id === record.createBy @@ -233,7 +234,7 @@ export default { { text: this.$t('delete'), clickEvent: 'handleDelete', - has: '', + has: 'marketStandard:deleteBatch', // 只有作者和管理员可以删除 show: (record) => { return this.isAdmin || this.userInfo.id === record.createBy