增加仓库和角色类型的数据权限控制

This commit is contained in:
季圣华
2021-05-19 23:29:15 +08:00
parent f1fa71d3cc
commit 931cdb736b
34 changed files with 142 additions and 75 deletions

View File

@@ -226,6 +226,7 @@
let err = {};
if(res.data.msgTip == 'user can login'){
Vue.ls.set('winBtnStrList', res.data.userBtn, 7 * 24 * 60 * 60 * 1000);
Vue.ls.set('roleType', res.data.roleType, 7 * 24 * 60 * 60 * 1000);
this.loginSuccess()
} else if(res.data.msgTip == 'user is not exist'){
err.message = '用户不存在';