From 11b0f437bdd332ca624319da905742c9cc8368e4 Mon Sep 17 00:00:00 2001
From: lideqin <694785430@qq.com>
Date: Tue, 9 Jul 2024 16:58:07 +0800
Subject: [PATCH] =?UTF-8?q?[update]=20=E5=B8=82=E5=9C=BA=E6=B3=95=E8=A7=84?=
=?UTF-8?q?=E6=B8=85=E5=8D=95=E6=8C=89=E9=92=AE=E6=9D=83=E9=99=90?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../MarketRegulationsFormPage.vue | 23 ++++++++++---------
.../MarketRegulationsList.vue | 11 +++++----
2 files changed, 18 insertions(+), 16 deletions(-)
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 @@
- {{ $t('edit') }}
-
- {{ $t('delete') }}
+ {{ $t('edit') }}
+
+ {{ $t('delete') }}
@@ -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