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

update

parent ef8e9b28
......@@ -53,7 +53,7 @@
v-model="msg.DepartmentId"
@change="linkagePost()"
>
<el-option :label="$t('pub.unlimitedSel')" value="0"></el-option>
<el-option :label="$t('pub.unlimitedSel')" :value="0"></el-option>
<el-option
v-for="item in departMentList"
:label="item.DepartmentName"
......@@ -261,6 +261,7 @@ export default {
},
linkagePost() {
//联动岗位
this.msg.CreateBy='0';
this.employeeMsg.RB_Branch_id = this.msg.RB_Branch_Id;
this.employeeMsg.departmentId = this.msg.DepartmentId;
this.getEmployee();
......@@ -328,8 +329,8 @@ export default {
linkageDepartment() {
//联动部门
this.msg.RB_Department_Id = "0";
this.msg.RB_Post_Id = "0";
this.msg.DepartmentId = "0";
this.msg.CreateBy='0';
this.getDepartmentMsg.RB_Branch_Id = this.msg.RB_Branch_Id;
this.getDerpartMent();
},
......
......@@ -198,6 +198,7 @@ export default {
this.getList();
this.getCompany();
this.getDerpartMent();
this.getEmployee();
},
filters:{
YMD(date){
......@@ -234,8 +235,8 @@ export default {
});
},
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.departmentId = this.msg.DepartmentId;
this.getEmployee();
......@@ -302,9 +303,8 @@ export default {
linkageDepartment() {
//联动部门
this.msg.RB_Department_Id = "0";
this.msg.RB_Post_Id = "0";
console.log("sfasf",this.msg.RB_Branch_Id)
this.msg.DepartmentId = "0";
this.msg.CreateBy='0';
this.getDepartmentMsg.RB_Branch_Id = this.msg.RB_Branch_Id;
this.getDerpartMent();
},
......
......@@ -215,6 +215,7 @@ export default {
this.getList();
this.getCompany();
this.getDerpartMent();
this.getEmployee();
},
filters:{
YMD(date){
......@@ -250,6 +251,7 @@ export default {
},
linkagePost() {
//联动岗位
this.msg.CreateBy='0';
this.employeeMsg.RB_Branch_id = this.msg.RB_Branch_Id;
this.employeeMsg.departmentId = this.msg.DepartmentId;
this.getEmployee();
......@@ -316,8 +318,8 @@ export default {
linkageDepartment() {
//联动部门
this.msg.RB_Department_Id = "0";
this.msg.RB_Post_Id = "0";
this.msg.DepartmentId = "0";
this.msg.CreateBy='0';
this.getDepartmentMsg.RB_Branch_Id = this.msg.RB_Branch_Id;
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