|
@@ -691,6 +691,7 @@ export default {
|
|
// this.$store.getters.userInfo
|
|
// this.$store.getters.userInfo
|
|
var that = this
|
|
var that = this
|
|
setTimeout(function(){
|
|
setTimeout(function(){
|
|
|
|
+
|
|
that.$refs.KFB.setData({[item[0].label]:that.$store.getters.userInfo.realname})
|
|
that.$refs.KFB.setData({[item[0].label]:that.$store.getters.userInfo.realname})
|
|
// 森语-请假单-须根据当前用户带出剩余年假
|
|
// 森语-请假单-须根据当前用户带出剩余年假
|
|
if(that.processData.businessTable =='employee_leave'){
|
|
if(that.processData.businessTable =='employee_leave'){
|
|
@@ -704,12 +705,14 @@ export default {
|
|
}
|
|
}
|
|
var jnDeparment = ''
|
|
var jnDeparment = ''
|
|
if(getProjctName() =='技能博物馆'){ //获取技能博物馆登录人对应的部门
|
|
if(getProjctName() =='技能博物馆'){ //获取技能博物馆登录人对应的部门
|
|
|
|
+
|
|
that.dynamicData.personListJn.map(item =>{
|
|
that.dynamicData.personListJn.map(item =>{
|
|
if(item.label == that.$store.getters.nickname){
|
|
if(item.label == that.$store.getters.nickname){
|
|
jnDeparment = item.departIds_dictText
|
|
jnDeparment = item.departIds_dictText
|
|
}
|
|
}
|
|
})
|
|
})
|
|
}
|
|
}
|
|
|
|
+
|
|
if(that.processData.businessTable == 'regular_employee_apply'){//员工转正申请
|
|
if(that.processData.businessTable == 'regular_employee_apply'){//员工转正申请
|
|
that.$refs.KFB.setData({apply_department:that.deptInfo[that.$store.getters.userInfo.username]})
|
|
that.$refs.KFB.setData({apply_department:that.deptInfo[that.$store.getters.userInfo.username]})
|
|
// that.$refs.KFB.setData({job_title:that.postInfo[that.$store.getters.userInfo.username]})
|
|
// that.$refs.KFB.setData({job_title:that.postInfo[that.$store.getters.userInfo.username]})
|
|
@@ -774,7 +777,7 @@ export default {
|
|
}
|
|
}
|
|
// 技能博物馆---请假申请-创建部门
|
|
// 技能博物馆---请假申请-创建部门
|
|
if(that.processData.businessTable == 'leave_apply'){
|
|
if(that.processData.businessTable == 'leave_apply'){
|
|
- that.$refs.KFB.setData({create_department:jnDeparment})
|
|
|
|
|
|
+ that.$refs.KFB.setData({create_department:jnDeparment})
|
|
}
|
|
}
|
|
//技能博物馆-任务--默认当前登陆人部门
|
|
//技能博物馆-任务--默认当前登陆人部门
|
|
if(that.processData.businessTable == 'task_management'){
|
|
if(that.processData.businessTable == 'task_management'){
|