Commit cf0aaa43 authored by Mac's avatar Mac

1

parent 5e4254cb
...@@ -677,7 +677,7 @@ ...@@ -677,7 +677,7 @@
<p>{{$t('fnc.fjshuoming')}}</p> <p>{{$t('fnc.fjshuoming')}}</p>
<div> <div>
<p>{{$t('fnc.fygsbumen')}}:<span> <p>{{$t('fnc.fygsbumen')}}:<span>
<el-select filterable v-model='msg.RB_Depart_Id' class="w135 _border_b_1"> <el-select filterable v-model='msg.RB_Depart_Id' class="w135 _border_b_1" @change="admin_get_Depart_IdGetList(msg.RB_Depart_Id)">
<el-option v-for='item in departmentList' :label='item.DeptName' :value='item.DeptId' <el-option v-for='item in departmentList' :label='item.DeptName' :value='item.DeptId'
:key='item.DeptId'> :key='item.DeptId'>
</el-option> </el-option>
...@@ -1699,6 +1699,13 @@ ...@@ -1699,6 +1699,13 @@
} }
}, err => {}) }, err => {})
}, },
admin_get_Depart_IdGetList(Bid){
this.departmentList.forEach(x=>{//给msg传部门名称
if(x.DeptId==Bid){
this.msg.RB_DepartName = x.DeptName;
}
})
},
admin_get_DepartmentGetList(Bid, T) { admin_get_DepartmentGetList(Bid, T) {
if (Bid == 0) { if (Bid == 0) {
this.chosenPeople = []; this.chosenPeople = [];
......
...@@ -579,7 +579,7 @@ ...@@ -579,7 +579,7 @@
<p>{{$t('fnc.fjshuoming')}}</p> <p>{{$t('fnc.fjshuoming')}}</p>
<div> <div>
<p>{{$t('fnc.fygsbumen')}}:<span> <p>{{$t('fnc.fygsbumen')}}:<span>
<el-select filterable v-model='msg.RB_Depart_Id' class="w135 _border_b_1"> <el-select filterable v-model='msg.RB_Depart_Id' class="w135 _border_b_1" @change="admin_get_Depart_IdGetList(msg.RB_Depart_Id)">
<el-option v-for='item in departmentList' :label='item.DeptName' :value='item.DeptId' <el-option v-for='item in departmentList' :label='item.DeptName' :value='item.DeptId'
:key='item.DeptId'> :key='item.DeptId'>
</el-option> </el-option>
...@@ -1719,12 +1719,22 @@ ...@@ -1719,12 +1719,22 @@
} else { } else {
this.msg.RB_Depart_Id = this.msg.RB_Depart_Id ? this.msg.RB_Depart_Id : this.getLocalStorage().DeptId; this.msg.RB_Depart_Id = this.msg.RB_Depart_Id ? this.msg.RB_Depart_Id : this.getLocalStorage().DeptId;
this.msg.RB_DepartName =this.msg.RB_DepartName?this.msg.RB_DepartName: this.getLocalStorage().RB_DepartName;
} }
} }
}).catch(() => { }).catch(() => {
}) })
}, },
admin_get_Depart_IdGetList(Bid){
this.departmentList.forEach(x=>{//给msg传部门名称
if(x.DeptId==Bid){
this.msg.RB_DepartName = x.DeptName;
}
})
},
getCompany() { // 获取公司 getCompany() { // 获取公司
getSchoolPage(this.schoolMsg).then(res => { getSchoolPage(this.schoolMsg).then(res => {
let data = res.Data.PageData; let data = res.Data.PageData;
......
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