|
@@ -49,13 +49,21 @@
|
|
|
<span class="sub-title gray">离线台数</span>
|
|
|
<span class="sub-count font-num gray">{{ wpnumMap.lxts }}</span>
|
|
|
</div>
|
|
|
+
|
|
|
</div>
|
|
|
+ <div class="query-actions btnR" v-if="wpId == 'PL01_GC' || wpId == 'PL02_GC'">
|
|
|
+ <button class="btn" :class="wpId == 'PL01_GC'?'green':''" @click="pl('PL01_GC')">平罗一期</button>
|
|
|
+ <button class="btn" :class="wpId == 'PL02_GC'?'green':''" @click="pl('PL02_GC')">平罗二期</button>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
<!-- <gax6 class="general-appearance-body"></gax6> -->
|
|
|
<div>
|
|
|
<XS class="general-appearance-body" :data="fjmap" :zmmap="zmmap" v-if="wpId === 'XS_FDC'" />
|
|
|
<XH class="general-appearance-body" :data="fjmap" :zmmap="zmmap" v-if="wpId === 'XH_GDC'" />
|
|
|
<DWK class="general-appearance-body" :data="fjmap" :zmmap="zmmap" v-if="wpId === 'DWK_GDC'" />
|
|
|
+ <PL1 class="general-appearance-body" :data="fjmap" :zmmap="zmmap" v-if="wpId === 'PL01_GC'" />
|
|
|
+ <PL2 class="general-appearance-body" :data="fjmap" :zmmap="zmmap" v-if="wpId === 'PL02_GC'" />
|
|
|
+ <MCH class="general-appearance-body" :data="fjmap" :zmmap="zmmap" v-if="wpId === 'MCH_GDC'" />
|
|
|
</div>
|
|
|
</div>
|
|
|
</template>
|
|
@@ -66,6 +74,9 @@ import BtnGroup2 from "@com/coms/btn/btn-group-double.vue";
|
|
|
import XS from "../components/generalappearance/xs.vue";
|
|
|
import XH from "../components/generalappearance/xh.vue";
|
|
|
import DWK from "../components/generalappearance/dwk.vue";
|
|
|
+import PL1 from "../components/generalappearance/pl1.vue";
|
|
|
+import PL2 from "../components/generalappearance/pl2.vue";
|
|
|
+import MCH from "../components/generalappearance/mch.vue";
|
|
|
export default {
|
|
|
// 名称
|
|
|
name: "GeneralAppearance",
|
|
@@ -75,7 +86,10 @@ export default {
|
|
|
BtnGroup2,
|
|
|
XS,
|
|
|
XH,
|
|
|
- DWK
|
|
|
+ DWK,
|
|
|
+ PL1,
|
|
|
+ PL2,
|
|
|
+ MCH
|
|
|
},
|
|
|
// 数据
|
|
|
data() {
|
|
@@ -140,6 +154,9 @@ export default {
|
|
|
code: ele.id,
|
|
|
});
|
|
|
} else {
|
|
|
+ if(ele.id == "PL_GDC"){
|
|
|
+ ele.id = 'PL01_GC';
|
|
|
+ }
|
|
|
btnGroup[1].btns.push({
|
|
|
text: ele.name,
|
|
|
code: ele.id,
|
|
@@ -179,6 +196,11 @@ export default {
|
|
|
});
|
|
|
});
|
|
|
},
|
|
|
+ pl(a){//单指平罗2个总貌
|
|
|
+ this.$router.replace({
|
|
|
+ path: `/monitor/windsite/generalappearance/${a}`,
|
|
|
+ });
|
|
|
+ }
|
|
|
},
|
|
|
unmounted() {
|
|
|
clearInterval(this.timmer);
|
|
@@ -207,7 +229,7 @@ export default {
|
|
|
display: flex;
|
|
|
flex-direction: row;
|
|
|
}
|
|
|
-
|
|
|
+ .btnR{flex: 1;text-align: end;}
|
|
|
.general-appearance-body {
|
|
|
flex-grow: 1;
|
|
|
}
|