|
|
|
@ -48,6 +48,7 @@ |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
</avue-crud> |
|
|
|
</avue-crud> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 培训计划 --> |
|
|
|
<!-- 培训计划 --> |
|
|
|
<el-dialog title="培训计划" append-to-body v-model="planOpen" width="450px" v-if="planOpen"> |
|
|
|
<el-dialog title="培训计划" append-to-body v-model="planOpen" width="450px" v-if="planOpen"> |
|
|
|
<el-form |
|
|
|
<el-form |
|
|
|
@ -137,6 +138,7 @@ import { |
|
|
|
getPlanList, |
|
|
|
getPlanList, |
|
|
|
JobTransferPlan, |
|
|
|
JobTransferPlan, |
|
|
|
layoffPlan, |
|
|
|
layoffPlan, |
|
|
|
|
|
|
|
getOneByUserId |
|
|
|
} from '@/api/workLicense/jobTransferManagement'; |
|
|
|
} from '@/api/workLicense/jobTransferManagement'; |
|
|
|
import { getUserList } from '@/api/workLicense/workLicense'; |
|
|
|
import { getUserList } from '@/api/workLicense/workLicense'; |
|
|
|
import basicImport from '@/components/basic-import/main.vue'; |
|
|
|
import basicImport from '@/components/basic-import/main.vue'; |
|
|
|
@ -392,7 +394,7 @@ export default { |
|
|
|
width: 200, |
|
|
|
width: 200, |
|
|
|
rules: [ |
|
|
|
rules: [ |
|
|
|
{ |
|
|
|
{ |
|
|
|
required: true, |
|
|
|
required: false, |
|
|
|
message: '请输入身份证号码', |
|
|
|
message: '请输入身份证号码', |
|
|
|
trigger: 'blur', |
|
|
|
trigger: 'blur', |
|
|
|
}, |
|
|
|
}, |
|
|
|
@ -693,14 +695,28 @@ export default { |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
// 选择人员 |
|
|
|
onChangeData(val, type) { |
|
|
|
onChangeData(val, type) { |
|
|
|
if (val && type == 'userId') { |
|
|
|
if (val && type == 'userId') { |
|
|
|
|
|
|
|
console.log('val:::', val); |
|
|
|
|
|
|
|
// getOneByUserId({userId:val.id}).then(res => { |
|
|
|
|
|
|
|
// let info = res.data.data; |
|
|
|
|
|
|
|
// console.log('res.data:::', res.data.data); |
|
|
|
|
|
|
|
// this.form.userCode = info.tsCode; //工号 |
|
|
|
|
|
|
|
// this.form.userSex = info.sex; //性别 |
|
|
|
|
|
|
|
// this.form.deptName = info.deptName; //部门名字 |
|
|
|
|
|
|
|
// this.form.deptId = info.deptId; //部门名字 |
|
|
|
|
|
|
|
// this.form.mobile = info.phone; //手机号 |
|
|
|
|
|
|
|
// this.form.name = info.realName; //手机号 |
|
|
|
|
|
|
|
// }); |
|
|
|
|
|
|
|
|
|
|
|
this.form.userCode = val.code; //工号 |
|
|
|
this.form.userCode = val.code; //工号 |
|
|
|
this.form.userSex = val.sex; //性别 |
|
|
|
this.form.userSex = val.sex; //性别 |
|
|
|
this.form.deptName = val.deptName; //部门名字 |
|
|
|
this.form.deptName = val.deptName; //部门名字 |
|
|
|
this.form.deptId = val.deptId; //部门名字 |
|
|
|
this.form.deptId = val.deptId; //部门名字 |
|
|
|
this.form.mobile = val.phone; //手机号 |
|
|
|
this.form.mobile = val.phone; //手机号 |
|
|
|
this.form.name = val.realName; //手机号 |
|
|
|
this.form.name = val.realName; //手机号 |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
getPlanList() { |
|
|
|
getPlanList() { |
|
|
|
@ -790,7 +806,7 @@ export default { |
|
|
|
this.selectionList.forEach(item => { |
|
|
|
this.selectionList.forEach(item => { |
|
|
|
ids.push(item.id); |
|
|
|
ids.push(item.id); |
|
|
|
}); |
|
|
|
}); |
|
|
|
remove({ ids: ids.join(',') }).then(res => { |
|
|
|
remove(ids.join(',')).then(res => { |
|
|
|
this.$message.success('操作成功'); |
|
|
|
this.$message.success('操作成功'); |
|
|
|
this.onLoad(this.query); |
|
|
|
this.onLoad(this.query); |
|
|
|
}); |
|
|
|
}); |
|
|
|
|