|
|
@ -136,7 +136,7 @@
|
|
|
|
<el-row type="flex">
|
|
|
|
<el-row type="flex">
|
|
|
|
|
|
|
|
|
|
|
|
<el-col :span="11" type="flex">
|
|
|
|
<el-col :span="11" type="flex">
|
|
|
|
<el-form-item label="所属部门" prop="depts">
|
|
|
|
<el-form-item label="所属部门">
|
|
|
|
<el-select
|
|
|
|
<el-select
|
|
|
|
v-model="formData.depts"
|
|
|
|
v-model="formData.depts"
|
|
|
|
filterable
|
|
|
|
filterable
|
|
|
@ -564,8 +564,14 @@ export default {
|
|
|
|
};
|
|
|
|
};
|
|
|
|
filterList(query)
|
|
|
|
filterList(query)
|
|
|
|
.then((response) => {
|
|
|
|
.then((response) => {
|
|
|
|
|
|
|
|
var deptList=[];
|
|
|
|
this.loading = false;
|
|
|
|
this.loading = false;
|
|
|
|
this.fromDeptOptions = response.data.list || [];
|
|
|
|
for(var i=0;i<response.data.list.length;i++){
|
|
|
|
|
|
|
|
if(response.data.list[i].id!=1){
|
|
|
|
|
|
|
|
deptList.push(response.data.list[i]);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
this.fromDeptOptions = deptList || [];
|
|
|
|
})
|
|
|
|
})
|
|
|
|
.catch(() => {
|
|
|
|
.catch(() => {
|
|
|
|
this.loading = false;
|
|
|
|
this.loading = false;
|
|
|
|