稽查简历预览盲化
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, isInit: false,
reviewerId: '', reviewerId: '',
trialId: null, trialId: null,
isAll: true,
} }
}, },
created() { created() {
@ -34,11 +35,12 @@ export default {
isEN() { isEN() {
return this.$i18n.locale !== 'zh' return this.$i18n.locale !== 'zh'
}, },
isAll() { // isAll() {
return this.hasPermi(['role:pm', 'role:admin', 'role:apm', 'role:ir']) // return this.hasPermi(['role:pm', 'role:admin', 'role:apm', 'role:ir'])
}, // },
}, },
mounted() { mounted() {
this.isAll = this.$route.query.blindState !== '0'
const token = getQueryString('token') const token = getQueryString('token')
if (token) { if (token) {
store.dispatch('user/setToken', token) store.dispatch('user/setToken', token)