|
@@ -75,7 +75,7 @@ export default {
|
|
|
corpId: corpId, // 企业id
|
|
|
onSuccess: function(info) {
|
|
|
that.$axios('post', '/api/ding/login', { authCode: info.code, corpId: corpId }).then(res => {
|
|
|
- // that.$axios('post', '/api/ding/login', { authCode: '962c50cef81a3da4a9a83487cd3a391d', corpId: 'ding011f57ab048cf202ffe93478753d9884' }).then(res => {
|
|
|
+ // that.$axios('post', '/api/ding/login', { authCode: 'fd5dc75e50c435b58ce6343bf1cb765b', corpId: 'ding011f57ab048cf202ffe93478753d9884' }).then(res => {
|
|
|
var is = false;
|
|
|
if (res.data.code == 1) {
|
|
|
var { token, user } = res.data.data;
|
|
@@ -91,7 +91,7 @@ export default {
|
|
|
that.$router.replace({ path: '/noAccess' });
|
|
|
}
|
|
|
}else if(res.data.code==2001){
|
|
|
- this.dialogFormVisible=true;
|
|
|
+ that.dialogFormVisible=true;
|
|
|
}
|
|
|
}).finally(() => {
|
|
|
that.loading = false;
|