Kaynağa Gözat

731瓦斯爆炸演化

tangjunhao 1 ay önce
ebeveyn
işleme
2ae811a563

+ 2 - 0
src/view/components/InfoDisaster.vue

@@ -2605,6 +2605,8 @@ const Gassgetdata=(aidval)=>{
   
       tableDataws.value=res.rows;
       tableobj.value={};
+
+      emitter.emit("pipeName",res.rows[0]?.pname);
     })
     .catch((err) => {
       message.error(err.returnMsg);

+ 1 - 1
src/view/index/explode.vue

@@ -106,7 +106,7 @@ const formInline = ref({
   date: ""
 })
 
-const titleName = ref("快速瓦斯爆炸演化")
+const titleName = ref("瓦斯爆炸演化")
 
 const nameMap = {
   Pressure: '压力(Pa)',

+ 1 - 1
src/view/index/first-left.vue

@@ -19,7 +19,7 @@
                     <el-switch v-model="valueswitch" inline-prompt @change="swutchfun($event)"
                       style="--el-switch-on-color:#ff4949; --el-switch-off-color: #525050" active-text="是"
                       inactive-text="否" />
-                    <div class="re_tele2" v-if="props.classradio == 'Gass1'">
+                    <div class="re_tele2" v-if="props.classradio == 'Gass1' || props.classradio =='Gass'">
                       <div class="btn" @click="explode()">爆炸演化</div>
                     </div>
                   </div>