Commit 17cb3354 authored by 黄媛媛's avatar 黄媛媛

update

parent ef8e9b28
...@@ -53,7 +53,7 @@ ...@@ -53,7 +53,7 @@
v-model="msg.DepartmentId" v-model="msg.DepartmentId"
@change="linkagePost()" @change="linkagePost()"
> >
<el-option :label="$t('pub.unlimitedSel')" value="0"></el-option> <el-option :label="$t('pub.unlimitedSel')" :value="0"></el-option>
<el-option <el-option
v-for="item in departMentList" v-for="item in departMentList"
:label="item.DepartmentName" :label="item.DepartmentName"
...@@ -261,6 +261,7 @@ export default { ...@@ -261,6 +261,7 @@ export default {
}, },
linkagePost() { linkagePost() {
//联动岗位 //联动岗位
this.msg.CreateBy='0';
this.employeeMsg.RB_Branch_id = this.msg.RB_Branch_Id; this.employeeMsg.RB_Branch_id = this.msg.RB_Branch_Id;
this.employeeMsg.departmentId = this.msg.DepartmentId; this.employeeMsg.departmentId = this.msg.DepartmentId;
this.getEmployee(); this.getEmployee();
...@@ -328,8 +329,8 @@ export default { ...@@ -328,8 +329,8 @@ export default {
linkageDepartment() { linkageDepartment() {
//联动部门 //联动部门
this.msg.RB_Department_Id = "0"; this.msg.DepartmentId = "0";
this.msg.RB_Post_Id = "0"; this.msg.CreateBy='0';
this.getDepartmentMsg.RB_Branch_Id = this.msg.RB_Branch_Id; this.getDepartmentMsg.RB_Branch_Id = this.msg.RB_Branch_Id;
this.getDerpartMent(); this.getDerpartMent();
}, },
......
...@@ -198,6 +198,7 @@ export default { ...@@ -198,6 +198,7 @@ export default {
this.getList(); this.getList();
this.getCompany(); this.getCompany();
this.getDerpartMent(); this.getDerpartMent();
this.getEmployee();
}, },
filters:{ filters:{
YMD(date){ YMD(date){
...@@ -234,8 +235,8 @@ export default { ...@@ -234,8 +235,8 @@ export default {
}); });
}, },
linkagePost() { linkagePost() {
console.log("this.msg.RB_Branch_Id",this.msg.RB_Branch_Id)
//联动岗位 //联动岗位
this.msg.CreateBy='0';
this.employeeMsg.RB_Branch_id = this.msg.RB_Branch_Id; this.employeeMsg.RB_Branch_id = this.msg.RB_Branch_Id;
this.employeeMsg.departmentId = this.msg.DepartmentId; this.employeeMsg.departmentId = this.msg.DepartmentId;
this.getEmployee(); this.getEmployee();
...@@ -302,9 +303,8 @@ export default { ...@@ -302,9 +303,8 @@ export default {
linkageDepartment() { linkageDepartment() {
//联动部门 //联动部门
this.msg.RB_Department_Id = "0"; this.msg.DepartmentId = "0";
this.msg.RB_Post_Id = "0"; this.msg.CreateBy='0';
console.log("sfasf",this.msg.RB_Branch_Id)
this.getDepartmentMsg.RB_Branch_Id = this.msg.RB_Branch_Id; this.getDepartmentMsg.RB_Branch_Id = this.msg.RB_Branch_Id;
this.getDerpartMent(); this.getDerpartMent();
}, },
......
...@@ -215,6 +215,7 @@ export default { ...@@ -215,6 +215,7 @@ export default {
this.getList(); this.getList();
this.getCompany(); this.getCompany();
this.getDerpartMent(); this.getDerpartMent();
this.getEmployee();
}, },
filters:{ filters:{
YMD(date){ YMD(date){
...@@ -250,6 +251,7 @@ export default { ...@@ -250,6 +251,7 @@ export default {
}, },
linkagePost() { linkagePost() {
//联动岗位 //联动岗位
this.msg.CreateBy='0';
this.employeeMsg.RB_Branch_id = this.msg.RB_Branch_Id; this.employeeMsg.RB_Branch_id = this.msg.RB_Branch_Id;
this.employeeMsg.departmentId = this.msg.DepartmentId; this.employeeMsg.departmentId = this.msg.DepartmentId;
this.getEmployee(); this.getEmployee();
...@@ -316,8 +318,8 @@ export default { ...@@ -316,8 +318,8 @@ export default {
linkageDepartment() { linkageDepartment() {
//联动部门 //联动部门
this.msg.RB_Department_Id = "0"; this.msg.DepartmentId = "0";
this.msg.RB_Post_Id = "0"; this.msg.CreateBy='0';
this.getDepartmentMsg.RB_Branch_Id = this.msg.RB_Branch_Id; this.getDepartmentMsg.RB_Branch_Id = this.msg.RB_Branch_Id;
this.getDerpartMent(); this.getDerpartMent();
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment