小修复,总部文件权限改动

This commit is contained in:
shijing 2023-10-31 10:34:51 +08:00
parent e62a736885
commit ab7f69c418
2 changed files with 3 additions and 2 deletions

View File

@ -116,7 +116,8 @@ const actions = {
if (!perms || perms.length <= 0) { if (!perms || perms.length <= 0) {
reject('没有任何权限!') reject('没有任何权限!')
}else{ }else{
if(dept==5||dept==33||dept==34||dept==55||dept==36||dept==37||dept==38 debugger;
if(dept==5||dept==35||dept==33||dept==34||dept==55||dept==36||dept==37||dept==38
||dept==39||dept==40||dept==41||dept==42||dept==67||dept==97||dept==100){ ||dept==39||dept==40||dept==41||dept==42||dept==67||dept==97||dept==100){
perms.push('test') perms.push('test')
commit('SET_PERMS', perms); commit('SET_PERMS', perms);

View File

@ -229,7 +229,7 @@ export default {
getTimer() { getTimer() {
const TIME_COUNT = 60; const TIME_COUNT = 60;
if (!this.timer) { if (!this.timer) {
this.count = COUNT; this.count = TIME_COUNT;
this.disabled = true; this.disabled = true;
this.timer = setInterval(() => { this.timer = setInterval(() => {
if (this.count > 0 && this.count <= TIME_COUNT) { if (this.count > 0 && this.count <= TIME_COUNT) {