diff --git a/src/views/trials/trials-panel/reading/read-order/index.vue b/src/views/trials/trials-panel/reading/read-order/index.vue
index 4bc3dfd2..6d0dff80 100644
--- a/src/views/trials/trials-panel/reading/read-order/index.vue
+++ b/src/views/trials/trials-panel/reading/read-order/index.vue
@@ -71,7 +71,7 @@
+ :disabled="!searchData.TrialReadingCriterionId || !searchData.DoctorUserId" v-if="!isAdmin">
{{ $t('trials:readingTracking:button:order') }}
@@ -189,7 +189,7 @@
handleChange(scope.row, value, old)" :min="0" style="width: 150px;"
- v-if="scope.row.ReadingTaskState !== 1">
+ v-if="scope.row.ReadingTaskState !== 1 && !isAdmin">
{{ scope.row.RandomOrder }}
@@ -260,7 +260,12 @@ export default {
}
},
created() {
- if (!this.hasPermi(['role:pm', 'role:apm'])) return this.$router.replace("/login")
+ if (!this.hasPermi(['role:pm', 'role:apm', 'role:admin'])) return this.$router.replace("/login")
+ },
+ computed: {
+ isAdmin() {
+ return !!this.hasPermi(['role:admin'])
+ }
},
mounted() {
this.getSite()