Merge branch 'master' of http://gitlab.ldxit push -u or nyong.com/enterpriseManagement/lz_management_vue
This commit is contained in:
commit
09c57c310d
@ -43,11 +43,20 @@ export default {
|
|||||||
},
|
},
|
||||||
mounted () {
|
mounted () {
|
||||||
if(this.isDingtalk()){
|
if(this.isDingtalk()){
|
||||||
|
if(typeof this.$route.query.code == 'undefined'){
|
||||||
console.log('走钉钉免登流程')
|
console.log('走钉钉免登流程')
|
||||||
this.dingtalkLogin()
|
this.dingtalkLogin()
|
||||||
this.checkDingTalkLogin()
|
this.checkDingTalkLogin()
|
||||||
|
} else {
|
||||||
|
this.loginJump()
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
|
this.loginJump()
|
||||||
|
}
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
loginJump () {
|
||||||
this.dataForm.verify = '验证中'
|
this.dataForm.verify = '验证中'
|
||||||
console.log(this.$route.query)
|
console.log(this.$route.query)
|
||||||
this.req.code = this.$route.query.code
|
this.req.code = this.$route.query.code
|
||||||
@ -68,10 +77,7 @@ export default {
|
|||||||
}
|
}
|
||||||
this.hasSendCode = false;
|
this.hasSendCode = false;
|
||||||
})
|
})
|
||||||
|
},
|
||||||
}
|
|
||||||
},
|
|
||||||
methods: {
|
|
||||||
checkDingTalkLogin () {
|
checkDingTalkLogin () {
|
||||||
if(dingCode === null){
|
if(dingCode === null){
|
||||||
if(this.tick < 30){
|
if(this.tick < 30){
|
||||||
@ -133,4 +139,3 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|||||||
@ -20,7 +20,7 @@
|
|||||||
<div class="titleCenter">
|
<div class="titleCenter">
|
||||||
<span>考核月份:<b>{{checkMonth}}</b></span>
|
<span>考核月份:<b>{{checkMonth}}</b></span>
|
||||||
<span>员工姓名:<b>{{ staffName }}</b></span>
|
<span>员工姓名:<b>{{ staffName }}</b></span>
|
||||||
<span>业务线:<b>{{ department1 }}</b></span>
|
<span>架构线:<b>{{ department1 }}</b></span>
|
||||||
<span>一级部门:<b>{{ department2 }}</b></span>
|
<span>一级部门:<b>{{ department2 }}</b></span>
|
||||||
<span>二级部门:<b>{{ department3 }}</b></span>
|
<span>二级部门:<b>{{ department3 }}</b></span>
|
||||||
<span >直属上级:<b>{{ superStaff }}</b></span>
|
<span >直属上级:<b>{{ superStaff }}</b></span>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user