diff --git a/src/views/trials/trials-list/index.vue b/src/views/trials/trials-list/index.vue index 539b91a7..b2005121 100644 --- a/src/views/trials/trials-list/index.vue +++ b/src/views/trials/trials-list/index.vue @@ -9,64 +9,28 @@ - + - + - - + + - - - + + + - - + + @@ -75,33 +39,19 @@ {{ $t('common:button:search') }} - + {{ $t('common:button:reset') }} - + {{ $t('common:button:export') }} - + {{ $t('common:button:new') }} @@ -112,190 +62,88 @@
- + - + - + - + - - + + - - + + - - + + - + - + - + - + - - + + - + - + - - + + - Search + Search Reset Back @@ -305,219 +153,89 @@ @@ -897,7 +516,7 @@ export default { this.$confirm(res.ErrorMessage, { type: 'warning', showCancelButton: false, - callback: (action) => {}, + callback: (action) => { }, }) } }) @@ -922,7 +541,7 @@ export default { this.currentRow = { ...row } this.abandonTrial() }) - .catch(() => {}) + .catch(() => { }) }, // 废除项目 abandonTrial() { @@ -954,7 +573,10 @@ export default { !( this.hasPermi(['role:qa']) || this.hasPermi(['role:ea']) || - this.hasPermi(['role:pm']) + this.hasPermi(['role:pm']) || + hasPermi(['role:op']) || + hasPermi(['role:dev']) || + hasPermi(['role:admin']) ) ) { return