From e2d09defdbb1a133530dab7ea33b7ad0d5ad20f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E9=9C=84?= Date: Tue, 31 Oct 2023 16:00:44 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E8=B5=84=E6=96=99=E4=B8=AD=E5=BF=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../profileCenter/ProfileCenterList.vue | 2 +- .../modules/ProfileCenterModal.vue | 19 ++++++++++++++----- .../modules/ProfileCenterTreeModal.vue | 6 ++++-- 3 files changed, 19 insertions(+), 8 deletions(-) diff --git a/src/views/standardRegulationLibrary/profileCenter/ProfileCenterList.vue b/src/views/standardRegulationLibrary/profileCenter/ProfileCenterList.vue index 53590239..bd6c37b7 100644 --- a/src/views/standardRegulationLibrary/profileCenter/ProfileCenterList.vue +++ b/src/views/standardRegulationLibrary/profileCenter/ProfileCenterList.vue @@ -34,7 +34,7 @@ v-has="'profileCenter:addChildren'"> - + diff --git a/src/views/standardRegulationLibrary/profileCenter/modules/ProfileCenterModal.vue b/src/views/standardRegulationLibrary/profileCenter/modules/ProfileCenterModal.vue index 9c45ee19..ee79f481 100644 --- a/src/views/standardRegulationLibrary/profileCenter/modules/ProfileCenterModal.vue +++ b/src/views/standardRegulationLibrary/profileCenter/modules/ProfileCenterModal.vue @@ -27,12 +27,18 @@ - - + + - - + @@ -79,7 +85,10 @@ export default { }, // 推送范围 pushRangeIds: { - rules: [{ required: false, message: this.$t('pleaseSelect') + this.$t('standardRegulationLibrary.dynamicMessage.pushRange') }], + rules: [{ + required: false, + message: this.$t('pleaseSelect') + this.$t('standardRegulationLibrary.dynamicMessage.pushRange') + }], validateTrigger: 'change' }, // 文件说明 diff --git a/src/views/standardRegulationLibrary/profileCenter/modules/ProfileCenterTreeModal.vue b/src/views/standardRegulationLibrary/profileCenter/modules/ProfileCenterTreeModal.vue index ae5b07a5..1919f281 100644 --- a/src/views/standardRegulationLibrary/profileCenter/modules/ProfileCenterTreeModal.vue +++ b/src/views/standardRegulationLibrary/profileCenter/modules/ProfileCenterTreeModal.vue @@ -20,11 +20,13 @@ @@ -75,7 +77,7 @@ export default { validateTrigger: 'change' }, // 查看权限 - authViewIds:{ + authViewIds: { rules: [{ required: false, message: this.$t('pleaseSelect') + this.$t('treeRight.checkPermissions') }], validateTrigger: 'change' }, @@ -114,7 +116,7 @@ export default { let submitFunc if (this.model.id) { submitFunc = editProfileCenterTree - } else if (this.peerOrNot){ + } else if (this.peerOrNot) { submitFunc = addProfileCenterTree } else { submitFunc = addChildrenFolder