Commit 6890c7f4 authored by anxixi's avatar anxixi

修改小b未认证查看数据

parent 0417198a
......@@ -148,11 +148,6 @@
};
api.selectProjects(params).then(response => {
if(response.code == 0) {
if(response.msg == 'false'){
this.stateauth = false;
}else{
this.stateauth = true;
}
this.projectlist = response.result.records;
this.totalListResult = response.result.total;
} else {
......@@ -178,8 +173,13 @@
},
mounted(){
if(this.$route.query.remind){
const empinfo = JSON.parse(this.Base64.decode(window.sessionStorage.getItem("userInfo")));
if(empinfo.authenticationState != 2){
this.stateauth = false;
}else{
this.stateauth = true;
}
if(this.$route.query.remind){
//empType 0 小b 1 大b 2 内部用户
if(empinfo.empType == 1){
api.tipInfo().then(response => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment