|  | @@ -44,6 +44,7 @@
 | 
	
		
			
				|  |  |              v-model="searchForm.organIdList"
 | 
	
		
			
				|  |  |              clearable
 | 
	
		
			
				|  |  |              filterable
 | 
	
		
			
				|  |  | +            @change="changeOrgan"
 | 
	
		
			
				|  |  |              placeholder="请选择所属分部"
 | 
	
		
			
				|  |  |            >
 | 
	
		
			
				|  |  |              <el-option
 | 
	
	
		
			
				|  | @@ -60,6 +61,7 @@
 | 
	
		
			
				|  |  |          </el-form-item>
 | 
	
		
			
				|  |  |          <el-form-item>
 | 
	
		
			
				|  |  |            <el-select
 | 
	
		
			
				|  |  | +          :disabled="!searchForm.organIdList.length>0"
 | 
	
		
			
				|  |  |              clearable
 | 
	
		
			
				|  |  |              filterable
 | 
	
		
			
				|  |  |              placeholder="请选择所属学校"
 | 
	
	
		
			
				|  | @@ -416,6 +418,7 @@ import {
 | 
	
		
			
				|  |  |    updateSellOrder,
 | 
	
		
			
				|  |  |    refundSellOrder,
 | 
	
		
			
				|  |  |  } from "@/api/orderManager";
 | 
	
		
			
				|  |  | +import { queryByOrganId } from "@/api/systemManage";
 | 
	
		
			
				|  |  |  import {
 | 
	
		
			
				|  |  |    getEmployeeOrgan,
 | 
	
		
			
				|  |  |    getCooperation,
 | 
	
	
		
			
				|  | @@ -628,6 +631,20 @@ export default {
 | 
	
		
			
				|  |  |          "是否确认导出报表?"
 | 
	
		
			
				|  |  |        );
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  | +   async changeOrgan(value){
 | 
	
		
			
				|  |  | +       if (!value) {
 | 
	
		
			
				|  |  | +        this.cooperations = [];
 | 
	
		
			
				|  |  | +        this.searchForm.cooperationOrganId = null;
 | 
	
		
			
				|  |  | +        return;
 | 
	
		
			
				|  |  | +      }
 | 
	
		
			
				|  |  | +      // 合作单位
 | 
	
		
			
				|  |  | +      await queryByOrganId({ organId: value.join(',') }).then((res) => {
 | 
	
		
			
				|  |  | +        if (res.code == 200) {
 | 
	
		
			
				|  |  | +          this.cooperations = res.data;
 | 
	
		
			
				|  |  | +          this.searchForm.cooperationOrganId = null;
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +      });
 | 
	
		
			
				|  |  | +    }
 | 
	
		
			
				|  |  |    },
 | 
	
		
			
				|  |  |  };
 | 
	
		
			
				|  |  |  </script>
 |