This commit is contained in:
wangjinlei
2021-06-24 16:02:02 +08:00
parent f0e4bdbd5e
commit 7eb357aba5
4 changed files with 14 additions and 16 deletions

View File

@@ -2,8 +2,9 @@ const en = {
system: { system: {
title: 'Submission System', title: 'Submission System',
repassword:'Forget the password ', repassword:'Forgot your password?',
register:'Register now', register:'Not registered yet? Register now.',
orcidlogin:'Login with your ORCID iD',
login:'Log in', login:'Log in',
forgetpwd:'Find Your Password', forgetpwd:'Find Your Password',
screen:'full screen', screen:'full screen',

View File

@@ -4,6 +4,7 @@ const zh = {
title: '投稿系统', title: '投稿系统',
repassword:'忘记密码', repassword:'忘记密码',
register:'注册', register:'注册',
orcidlogin:'ORCID登陆',
login:'登录', login:'登录',
forgetpwd:'找回密码', forgetpwd:'找回密码',
screen:'全屏', screen:'全屏',

View File

@@ -27,8 +27,7 @@
</el-col> </el-col>
<el-col :span="24" style="margin-top: 5px"> <el-col :span="24" style="margin-top: 5px">
<el-link :underline="false" type="primary" @click="skip_check()"> <el-link :underline="false" type="primary" @click="skip_check()">
<img class="orcid" src="../../assets/img/orcid.png" style="float: left; margin: -1px 5px 0 0" />Login with your <img class="orcid" src="../../assets/img/orcid.png" style="float: left; margin: -1px 5px 0 0" />{{$t('system.orcidlogin')}}
orcid
</el-link> </el-link>
</el-col> </el-col>
</el-row> </el-row>

View File

@@ -126,21 +126,18 @@
}; };
}, },
created: function() { created: function() {
// this.initLinkOrcid(); this.initLinkOrcid();
}, },
methods: { methods: {
//推送记录信息
initLinkOrcid() { initLinkOrcid() {
// this.$message.success(this.query.account); this.$api
.post('api/User/getUserForOrcid', this.query)
// this.$api .then((res) => {
// .post('api/User/getUserForOrcid', this.query) alert('okokok!!!!');
// .then((res) => { })
// alert('okokok!!!!'); .catch((err) => {
// }) console.log(err);
// .catch((err) => { });
// console.log(err);
// });
} }
} }
}; };