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