|  | @@ -5,7 +5,7 @@
 | 
											
												
													
														|  |        合作单位
 |  |        合作单位
 | 
											
												
													
														|  |      </h2>
 |  |      </h2>
 | 
											
												
													
														|  |      <transition name="el-fade-in-linear">
 |  |      <transition name="el-fade-in-linear">
 | 
											
												
													
														|  | -    <div class="m-core" v-if="(tableList.length>0 || pageInfo.page>1)&&contextFlag">
 |  | 
 | 
											
												
													
														|  | 
 |  | +    <div class="m-core" v-if="(tableList.length>0 || pageInfo.page>1)&&contextFlag || !isSearch">
 | 
											
												
													
														|  |        <!-- 搜索类型 -->
 |  |        <!-- 搜索类型 -->
 | 
											
												
													
														|  |        <save-form
 |  |        <save-form
 | 
											
												
													
														|  |          :inline="true"
 |  |          :inline="true"
 | 
											
										
											
												
													
														|  | @@ -141,7 +141,7 @@
 | 
											
												
													
														|  |        </div>
 |  |        </div>
 | 
											
												
													
														|  |      </div>
 |  |      </div>
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  | -    <emptyPage @submit="openTeaching('create')" title='合作单位' btnTitle='新建合作单位' :context='context' v-if="!(tableList.length>0 || pageInfo.page>1)&&contextFlag" />
 |  | 
 | 
											
												
													
														|  | 
 |  | +    <emptyPage @submit="openTeaching('create')" title='合作单位' btnTitle='新建合作单位' :context='context' v-if="!(tableList.length>0 || pageInfo.page>1)&&contextFlag&&isSearch" />
 | 
											
												
													
														|  |      </transition>
 |  |      </transition>
 | 
											
												
													
														|  |      <el-dialog
 |  |      <el-dialog
 | 
											
												
													
														|  |        :title="formTitle[formActionTitle]"
 |  |        :title="formTitle[formActionTitle]"
 | 
											
										
											
												
													
														|  | @@ -369,6 +369,7 @@ import { Export } from "@/utils/downLoadFile";
 | 
											
												
													
														|  |  import { getOrganRole } from "@/api/buildTeam";
 |  |  import { getOrganRole } from "@/api/buildTeam";
 | 
											
												
													
														|  |  import emptyPage from '@/components/emptyPage'
 |  |  import emptyPage from '@/components/emptyPage'
 | 
											
												
													
														|  |  import qs from "qs";
 |  |  import qs from "qs";
 | 
											
												
													
														|  | 
 |  | +import { isBoolean } from '@rongcloud/engine';
 | 
											
												
													
														|  |  let validPhone = (rule, value, callback) => {
 |  |  let validPhone = (rule, value, callback) => {
 | 
											
												
													
														|  |    if (!value) {
 |  |    if (!value) {
 | 
											
												
													
														|  |      callback(new Error("请输入电话号码"));
 |  |      callback(new Error("请输入电话号码"));
 | 
											
										
											
												
													
														|  | @@ -483,6 +484,7 @@ export default {
 | 
											
												
													
														|  |        this.searchForm = {
 |  |        this.searchForm = {
 | 
											
												
													
														|  |          organId: null,
 |  |          organId: null,
 | 
											
												
													
														|  |          isEnable: null,
 |  |          isEnable: null,
 | 
											
												
													
														|  | 
 |  | +        search: null,
 | 
											
												
													
														|  |        };
 |  |        };
 | 
											
												
													
														|  |        this.search();
 |  |        this.search();
 | 
											
												
													
														|  |      },
 |  |      },
 | 
											
										
											
												
													
														|  | @@ -671,6 +673,12 @@ export default {
 | 
											
												
													
														|  |        }
 |  |        }
 | 
											
												
													
														|  |      },
 |  |      },
 | 
											
												
													
														|  |    },
 |  |    },
 | 
											
												
													
														|  | 
 |  | +  computed:{
 | 
											
												
													
														|  | 
 |  | +    isSearch(){
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  | 
 |  | +      return !this.searchForm.search&&!this.searchForm.organId&& !isBoolean(this.searchForm.isEnable)&&!this.searchForm.isEnable
 | 
											
												
													
														|  | 
 |  | +    }
 | 
											
												
													
														|  | 
 |  | +  }
 | 
											
												
													
														|  |  };
 |  |  };
 | 
											
												
													
														|  |  </script>
 |  |  </script>
 | 
											
												
													
														|  |  <style lang="scss" scoped>
 |  |  <style lang="scss" scoped>
 |