稽查简历预览盲化
continuous-integration/drone/push Build is passing Details

uat_us
wangxiaoshuang 2024-11-21 16:50:18 +08:00
parent 3783f3cea4
commit 30ee433de3
1 changed files with 5 additions and 3 deletions

View File

@ -24,6 +24,7 @@ export default {
isInit: false,
reviewerId: '',
trialId: null,
isAll: true,
}
},
created() {
@ -34,11 +35,12 @@ export default {
isEN() {
return this.$i18n.locale !== 'zh'
},
isAll() {
return this.hasPermi(['role:pm', 'role:admin', 'role:apm', 'role:ir'])
},
// isAll() {
// return this.hasPermi(['role:pm', 'role:admin', 'role:apm', 'role:ir'])
// },
},
mounted() {
this.isAll = this.$route.query.blindState !== '0'
const token = getQueryString('token')
if (token) {
store.dispatch('user/setToken', token)