|
@@ -338,7 +338,7 @@
|
|
mounted(){
|
|
mounted(){
|
|
let self=this;
|
|
let self=this;
|
|
this.initialize();
|
|
this.initialize();
|
|
-
|
|
|
|
|
|
+ this.deptSelect('')
|
|
|
|
|
|
},
|
|
},
|
|
methods:{
|
|
methods:{
|
|
@@ -522,18 +522,14 @@
|
|
},
|
|
},
|
|
//学院查询
|
|
//学院查询
|
|
deptSelect(query){
|
|
deptSelect(query){
|
|
- if (query !== '') {
|
|
|
|
- let obj = {
|
|
|
|
- level:'2',
|
|
|
|
- deptType:'1',
|
|
|
|
- deptName:query,
|
|
|
|
- }
|
|
|
|
- getDeptDropList(obj).then(response => {
|
|
|
|
- this.$set(this, 'deptOptions', response.data)
|
|
|
|
- });
|
|
|
|
- } else {
|
|
|
|
- this.deptOptions = [];
|
|
|
|
|
|
+ let obj = {
|
|
|
|
+ level:'2',
|
|
|
|
+ deptType:'1',
|
|
|
|
+ deptName:query,
|
|
}
|
|
}
|
|
|
|
+ getDeptDropList(obj).then(response => {
|
|
|
|
+ this.$set(this, 'deptOptions', response.data)
|
|
|
|
+ });
|
|
},
|
|
},
|
|
|
|
|
|
|
|
|
|
@@ -600,11 +596,6 @@
|
|
laboratorySubRelInfoGetRelList(obj).then(response => {
|
|
laboratorySubRelInfoGetRelList(obj).then(response => {
|
|
this.subOptions = response.data;
|
|
this.subOptions = response.data;
|
|
});
|
|
});
|
|
- /* if (query !== '') {
|
|
|
|
-
|
|
|
|
- } else {
|
|
|
|
- this.subOptions = [];
|
|
|
|
- } */
|
|
|
|
},
|
|
},
|
|
//人员选中触发
|
|
//人员选中触发
|
|
userSelectClick(val,index){
|
|
userSelectClick(val,index){
|