From 9a8bf1e637fed68929f3afc187aa85593ee60d4a Mon Sep 17 00:00:00 2001 From: wangxiaoshuang <825034831@qq.com> Date: Mon, 29 Sep 2025 10:37:17 +0800 Subject: [PATCH] =?UTF-8?q?EA=E6=9F=A5=E7=9C=8B=E5=B7=A5=E4=BD=9C=E5=8F=B0?= =?UTF-8?q?=E5=9F=B9=E8=AE=AD=E8=AE=B0=E5=BD=95=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../attachment-management/index.vue | 23 +++++++++++++++---- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/src/views/trials/trials-panel/attachments/attachment-management/index.vue b/src/views/trials/trials-panel/attachments/attachment-management/index.vue index 117ce709..6edd2043 100644 --- a/src/views/trials/trials-panel/attachments/attachment-management/index.vue +++ b/src/views/trials/trials-panel/attachments/attachment-management/index.vue @@ -60,7 +60,7 @@ - + - + @@ -78,12 +78,12 @@ + " v-if="!isEASystem"> - + @@ -91,7 +91,7 @@ :default-time="['00:00:00', '23:59:59']" type="datetimerange"> - + @@ -305,6 +305,11 @@ export default { }, } }, + computed: { + isEASystem() { + return this.isSystem && this.hasPermi(['role:ea']) + } + }, mounted() { this.getTypeOptions() this.getUserSelect() @@ -360,6 +365,14 @@ export default { }, // 获取系统文件数据 getList() { + if (this.isEASystem) { + this.searchData.IsConfirmed = true + if (!this.searchData.FileTypeId && !this.searchData.Name && !this.searchData.UserId && !this.searchData.userName && (!Array.isArray(this.timeList) || this.timeList.length < 2)) { + this.list = [] + this.total = 0 + return false + } + } this.loading = true if (this.viewStatus) { this.searchData.IsConfirmed = true