1
This commit is contained in:
@@ -48,7 +48,7 @@
|
||||
</el-form>
|
||||
</div>
|
||||
|
||||
<el-dialog title="Please select your role." :close-on-click-modal="showCLO" :show-close="showCLO" :visible.sync="roleVisible"
|
||||
<!-- <el-dialog title="Please select your role." :close-on-click-modal="showCLO" :show-close="showCLO" :visible.sync="roleVisible"
|
||||
width="400px" class="show_CLO">
|
||||
<p @click="Auth()">
|
||||
<svg t="1629711630755" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2987"
|
||||
@@ -112,7 +112,7 @@
|
||||
fill="#FFFFFF" opacity=".4" p-id="2839"></path>
|
||||
</svg>
|
||||
Young scientist member</p>
|
||||
</el-dialog>
|
||||
</el-dialog> -->
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -164,8 +164,18 @@
|
||||
.post('api/User/checkLogin', this.param)
|
||||
.then((res) => {
|
||||
if (res.code == 1) {
|
||||
this.$message.error('Login failed, user name or password error!');
|
||||
return false;
|
||||
if (res.msg == undefined) {
|
||||
this.$message.error('Login failed, user name or password error!');
|
||||
return false;
|
||||
} else {
|
||||
this.$message({
|
||||
duration: 0,
|
||||
showClose: true,
|
||||
message: res.msg,
|
||||
type: 'warning'
|
||||
});
|
||||
return false;
|
||||
}
|
||||
} else {
|
||||
this.$message.success('login success');
|
||||
// U_status 0超级管理员 1编辑 2作者
|
||||
@@ -198,7 +208,6 @@
|
||||
this.$message.error(err);
|
||||
});
|
||||
} else {
|
||||
this.$message.error('Please enter the correct account and password');
|
||||
this.$message.error('error submit!!');
|
||||
return false;
|
||||
}
|
||||
@@ -224,7 +233,8 @@
|
||||
if (this.user_cap.includes('board')) {
|
||||
this.$router.push('/editorial');
|
||||
} else {
|
||||
this.$message.error("Sorry, you can not login as Editorial board member, please contact publisher@tmrjournals.com.");
|
||||
this.$message.error(
|
||||
"Sorry, you can not login as Editorial board member, please contact publisher@tmrjournals.com.");
|
||||
}
|
||||
},
|
||||
Revi() { //审稿人
|
||||
@@ -238,7 +248,8 @@
|
||||
if (this.user_cap.includes('yboard')) {
|
||||
this.$router.push('/youthed');
|
||||
} else {
|
||||
this.$message.error("Sorry, you can not login as Young scientist member, please contact publisher@tmrjournals.com.");
|
||||
this.$message.error(
|
||||
"Sorry, you can not login as Young scientist member, please contact publisher@tmrjournals.com.");
|
||||
}
|
||||
},
|
||||
|
||||
@@ -325,7 +336,7 @@
|
||||
width: 15px;
|
||||
height: 15px;
|
||||
}
|
||||
|
||||
|
||||
.captchaimg {
|
||||
margin-top: 2px;
|
||||
margin-left: 4px;
|
||||
|
||||
Reference in New Issue
Block a user