|  | @@ -32,30 +32,6 @@
 | 
											
												
													
														|  |        </el-header>
 |  |        </el-header>
 | 
											
												
													
														|  |      
 |  |      
 | 
											
												
													
														|  |        <el-main>
 |  |        <el-main>
 | 
											
												
													
														|  | -        <div class="bgk2" v-show="bgk2false">
 |  | 
 | 
											
												
													
														|  | -          <div>
 |  | 
 | 
											
												
													
														|  | -            <ul>
 |  | 
 | 
											
												
													
														|  | -              <li class="s1" @click="handleSelect('2')" >
 |  | 
 | 
											
												
													
														|  | -                <el-image :src="s1" fit="contain"></el-image>
 |  | 
 | 
											
												
													
														|  | -                <span class="stext">火灾推演</span>
 |  | 
 | 
											
												
													
														|  | -              </li>
 |  | 
 | 
											
												
													
														|  | -              <li class="s2" @click="handleSelect('1')">
 |  | 
 | 
											
												
													
														|  | -                <el-image :src="s2" fit="contain"></el-image>
 |  | 
 | 
											
												
													
														|  | -                <span class="stext">突水推演</span>
 |  | 
 | 
											
												
													
														|  | -              </li>
 |  | 
 | 
											
												
													
														|  | -              <li class="s3" @click="handleSelect('3')">
 |  | 
 | 
											
												
													
														|  | -                <el-image :src="s3" fit="contain"></el-image>
 |  | 
 | 
											
												
													
														|  | -                <span class="stext">瓦斯爆炸推演</span>
 |  | 
 | 
											
												
													
														|  | -              </li>
 |  | 
 | 
											
												
													
														|  | -              <li  class="s4" @click="handleSelect('4')">   <el-image :src="s4" fit="contain"></el-image>
 |  | 
 | 
											
												
													
														|  | -                <span class="stext">模型库</span>
 |  | 
 | 
											
												
													
														|  | -
 |  | 
 | 
											
												
													
														|  | -              </li>
 |  | 
 | 
											
												
													
														|  | -            </ul>
 |  | 
 | 
											
												
													
														|  | -          </div>
 |  | 
 | 
											
												
													
														|  | -        </div>
 |  | 
 | 
											
												
													
														|  | -        <!-- <RouterView name="myhome"></RouterView> -->
 |  | 
 | 
											
												
													
														|  | -        <!-- <div class="main-conyeny"> -->
 |  | 
 | 
											
												
													
														|  |     <div  class="maincontent">
 |  |     <div  class="maincontent">
 | 
											
												
													
														|  |        <div class="mainpdding">
 |  |        <div class="mainpdding">
 | 
											
												
													
														|  |          <source-disaster ref="sourcedis" :classradio="classradio"  />
 |  |          <source-disaster ref="sourcedis" :classradio="classradio"  />
 | 
											
										
											
												
													
														|  | @@ -75,18 +51,22 @@
 | 
											
												
													
														|  |            @moxingclick="moxingclick"
 |  |            @moxingclick="moxingclick"
 | 
											
												
													
														|  |            :classradio="classradio" 
 |  |            :classradio="classradio" 
 | 
											
												
													
														|  |          ></Dialoges>
 |  |          ></Dialoges>
 | 
											
												
													
														|  | -        <result ref="resultbidui" @titleclick="titleclick"  :classradio="classradio"></result>
 |  | 
 | 
											
												
													
														|  | 
 |  | + 
 | 
											
												
													
														|  |          <MenuMine ref="menumine"/>
 |  |          <MenuMine ref="menumine"/>
 | 
											
												
													
														|  |          <MenuSensor ref="menusen"/>
 |  |          <MenuSensor ref="menusen"/>
 | 
											
												
													
														|  |          <!-- right -->
 |  |          <!-- right -->
 | 
											
												
													
														|  |          <!-- <firstLeft/> -->
 |  |          <!-- <firstLeft/> -->
 | 
											
												
													
														|  |        <!-- </div> -->
 |  |        <!-- </div> -->
 | 
											
												
													
														|  | -      <firstLeft ref="tanimation" :classradio="classradio" :aid="aid" />
 |  | 
 | 
											
												
													
														|  | 
 |  | +      <!-- 底部按钮三个页面 -->
 | 
											
												
													
														|  | 
 |  | +      <firstLeft ref="firstleftref" :classradio="classradio" :aid="aid" />
 | 
											
												
													
														|  | 
 |  | +      <towright ref="towrightref" :classradio="classradio" :aid="aid" />
 | 
											
												
													
														|  | 
 |  | +      <result ref="resultbidui" @titleclick="titleclick"  :classradio="classradio"></result>
 | 
											
												
													
														|  | 
 |  | +      <!-- <threeright ref="threerightref" :classradio="classradio" :aid="aid" /> -->
 | 
											
												
													
														|  |      </div>
 |  |      </div>
 | 
											
												
													
														|  |      </div>
 |  |      </div>
 | 
											
												
													
														|  |        </el-main>
 |  |        </el-main>
 | 
											
												
													
														|  |    <div class="footer">
 |  |    <div class="footer">
 | 
											
												
													
														|  | -    <Index ref="indexref"/>
 |  | 
 | 
											
												
													
														|  | 
 |  | +    <Index ref="indexref" @indexchange="indexchange" @hiadden="hiadden"/>
 | 
											
												
													
														|  |    </div>
 |  |    </div>
 | 
											
												
													
														|  |      </el-container>
 |  |      </el-container>
 | 
											
												
													
														|  |    <!-- </v-scale-screen> -->
 |  |    <!-- </v-scale-screen> -->
 | 
											
										
											
												
													
														|  | @@ -112,6 +92,8 @@ import MenuMine  from "./components/MenuMine.vue"
 | 
											
												
													
														|  |  import MenuSensor  from "./components/MenuSensor.vue"
 |  |  import MenuSensor  from "./components/MenuSensor.vue"
 | 
											
												
													
														|  |  import result from "./result.vue";
 |  |  import result from "./result.vue";
 | 
											
												
													
														|  |  import firstLeft  from "./index/first-left.vue"
 |  |  import firstLeft  from "./index/first-left.vue"
 | 
											
												
													
														|  | 
 |  | +import towright  from "./index/tow-right.vue"
 | 
											
												
													
														|  | 
 |  | +import threeright  from "./index/three-right.vue"
 | 
											
												
													
														|  |  import Vector from "@/assets/img/Vector.png";
 |  |  import Vector from "@/assets/img/Vector.png";
 | 
											
												
													
														|  |  import s1 from "@/assets/img/s1.png";
 |  |  import s1 from "@/assets/img/s1.png";
 | 
											
												
													
														|  |  import s2 from "@/assets/img/s2.png";
 |  |  import s2 from "@/assets/img/s2.png";
 | 
											
										
											
												
													
														|  | @@ -140,6 +122,9 @@ let resultbidui = ref();
 | 
											
												
													
														|  |  let mnindex = ref("");
 |  |  let mnindex = ref("");
 | 
											
												
													
														|  |  let resultleft = ref({});
 |  |  let resultleft = ref({});
 | 
											
												
													
														|  |  let datares=ref({});
 |  |  let datares=ref({});
 | 
											
												
													
														|  | 
 |  | +let firstleftref=ref();
 | 
											
												
													
														|  | 
 |  | +let towrightref=ref();
 | 
											
												
													
														|  | 
 |  | +let threerightref=ref();
 | 
											
												
													
														|  |  let resultright = ref({});
 |  |  let resultright = ref({});
 | 
											
												
													
														|  |  let headertime=ref({
 |  |  let headertime=ref({
 | 
											
												
													
														|  |         timing: null,
 |  |         timing: null,
 | 
											
										
											
												
													
														|  | @@ -159,7 +144,9 @@ let router = useRouter();
 | 
											
												
													
														|  |  let sgdata = ref({});
 |  |  let sgdata = ref({});
 | 
											
												
													
														|  |  let aid = ref();
 |  |  let aid = ref();
 | 
											
												
													
														|  |  onMounted(() => {
 |  |  onMounted(() => {
 | 
											
												
													
														|  | -  timeFn()
 |  | 
 | 
											
												
													
														|  | 
 |  | +  timeFn();
 | 
											
												
													
														|  | 
 |  | +  // childfun();
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  |  });
 |  |  });
 | 
											
												
													
														|  |  // 跳转页面,{ aid:aid.value}
 |  |  // 跳转页面,{ aid:aid.value}
 | 
											
												
													
														|  |  const  handleSelectzt=(val)=>{
 |  |  const  handleSelectzt=(val)=>{
 | 
											
										
											
												
													
														|  | @@ -272,13 +259,36 @@ const aidlist = () => {
 | 
											
												
													
														|  |    sgdata.value = lliudialog.value.sgdata;
 |  |    sgdata.value = lliudialog.value.sgdata;
 | 
											
												
													
														|  |    aid.value = sgdata.value.aid;
 |  |    aid.value = sgdata.value.aid;
 | 
											
												
													
														|  |  };
 |  |  };
 | 
											
												
													
														|  | 
 |  | +// index组件的方法
 | 
											
												
													
														|  | 
 |  | +const indexchange=(key)=>{
 | 
											
												
													
														|  | 
 |  | +  if(key==0){
 | 
											
												
													
														|  | 
 |  | +    firstleftref.value.firstshow=true;
 | 
											
												
													
														|  | 
 |  | +    towrightref.value.towshow=false;
 | 
											
												
													
														|  | 
 |  | +    // threerightref.value.threeshow=false;
 | 
											
												
													
														|  | 
 |  | +    resultbidui.value.accident6(key, aid.value);
 | 
											
												
													
														|  | 
 |  | +  }else if(key==1){
 | 
											
												
													
														|  | 
 |  | +    firstleftref.value.firstshow=false;
 | 
											
												
													
														|  | 
 |  | +    towrightref.value.towshow=true;
 | 
											
												
													
														|  | 
 |  | +    resultbidui.value.accident6(key, aid.value);
 | 
											
												
													
														|  | 
 |  | +    // threerightref.value.threeshow=false;
 | 
											
												
													
														|  | 
 |  | +  }else if(key==2){
 | 
											
												
													
														|  | 
 |  | +    firstleftref.value.firstshow=false;
 | 
											
												
													
														|  | 
 |  | +    towrightref.value.towshow=false;
 | 
											
												
													
														|  | 
 |  | +    resultbidui.value.accident6(key, aid.value);
 | 
											
												
													
														|  | 
 |  | +  }
 | 
											
												
													
														|  | 
 |  | +  else{
 | 
											
												
													
														|  | 
 |  | +    firstleftref.value.firstshow=false;
 | 
											
												
													
														|  | 
 |  | +    towrightref.value.towshow=false;
 | 
											
												
													
														|  | 
 |  | +    resultbidui.value.accident6(key, aid.value);
 | 
											
												
													
														|  | 
 |  | +    // threerightref.value.threeshow=false;
 | 
											
												
													
														|  | 
 |  | +  }
 | 
											
												
													
														|  | 
 |  | +}
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  |  // 获取子组件的方法
 |  |  // 获取子组件的方法
 | 
											
												
													
														|  |  const childfun = () => {
 |  |  const childfun = () => {
 | 
											
												
													
														|  | -  console.log(1112222)
 |  | 
 | 
											
												
													
														|  |    bgk2false.value=false;
 |  |    bgk2false.value=false;
 | 
											
												
													
														|  | -  console.log(bgk2false.value);
 |  | 
 | 
											
												
													
														|  | -
 |  | 
 | 
											
												
													
														|  | -  indexref.value.btnlistshow=true;
 |  | 
 | 
											
												
													
														|  | 
 |  | +  indexref.value.showhadend()
 | 
											
												
													
														|  | 
 |  | +  indexchange(indexref.value.btnindex);
 | 
											
												
													
														|  |    if(classradio.value=='Gass'){
 |  |    if(classradio.value=='Gass'){
 | 
											
												
													
														|  |      sourcedis.value.Gassgetdata(aid.value);
 |  |      sourcedis.value.Gassgetdata(aid.value);
 | 
											
												
													
														|  |    }else{
 |  |    }else{
 | 
											
										
											
												
													
														|  | @@ -298,6 +308,12 @@ const headerclick = (data) => {
 | 
											
												
													
														|  |  const handindodialoges=()=>{
 |  |  const handindodialoges=()=>{
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |  }
 |  |  }
 | 
											
												
													
														|  | 
 |  | +//清空灾情推演隐藏
 | 
											
												
													
														|  | 
 |  | + const hiadden= (key)=>{
 | 
											
												
													
														|  | 
 |  | +    boundary.value.accident4(key);
 | 
											
												
													
														|  | 
 |  | +      sourcedis.value.accident3(key);
 | 
											
												
													
														|  | 
 |  | +      lliudialog.value.accident2(key);
 | 
											
												
													
														|  | 
 |  | + }
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |  const handleSelect = (key) => {
 |  |  const handleSelect = (key) => {
 | 
											
												
													
														|  |    router.push({ path: "/" ,query:{classradio:key}});
 |  |    router.push({ path: "/" ,query:{classradio:key}});
 |