Commit 703a8d53 authored by 黄奎's avatar 黄奎

1

parent 2bc074bd
......@@ -28,7 +28,7 @@
<!--class="h34 w150"-->
<el-form-item :label="$t('admin.admin_Department')">
<treeselect class="w200 fl" style="height:34px !important;margin-top: 5px !important"
:options="departmentList" v-model="msg.RB_Department_Id" :label="$t('pub.unlimitedSel')"
:options="departmentList" v-model="msg.DepartmentId" :label="$t('pub.unlimitedSel')"
:normalizer="normalizer" @select="changeDepart" placeholder="请选择部门" />
</el-form-item>
</el-col>
......@@ -670,6 +670,7 @@
created() {
this.userInfo = this.getLocalStorage();
this.getCompanyMsg.RB_Group_Id = this.userInfo.RB_Group_id;
this.departmentMsg.RB_Group_Id = this.userInfo.RB_Group_id; //集团
this.getCompanyList();
if (this.$route.query.EnterTime) {
this.EnterTime = this.$route.query.EnterTime
......@@ -691,8 +692,9 @@
this.msg.RB_Branch_id = Number(this.userInfo.RB_Branch_id);
}
}
this.getDepartment();
if (this.$route.query.RB_Department_Id && Number(this.$route.query.RB_Department_Id) > 0) {
this.msg.DepartmentId = Number(this.$route.query.RB_Department_Id);
this.msg.DepartmentId= Number(this.$route.query.RB_Department_Id);
this.employeeMsg.departmentId = Number(this.$route.query.RB_Department_Id);
this.getEmployee();
}
......@@ -706,8 +708,8 @@
this.departState = true;
}
this.bossID = this.userInfo.EmployeeId;
this.departmentMsg.RB_Group_Id = this.userInfo.RB_Group_id; //集团
this.getDepartment();
this.getList();
this.getCreateByInfoList();
this.getProvince();
......
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