Compare commits
No commits in common. "ea5336da3a8facc159c7dd80a3c532798c3aa223" and "4d81ce92cd1070635a5566b4f8c40e11cf07d56c" have entirely different histories.
ea5336da3a
...
4d81ce92cd
|
|
@ -73,7 +73,7 @@ export default {
|
||||||
this.flag4 = true;
|
this.flag4 = true;
|
||||||
this.flag5 = true;
|
this.flag5 = true;
|
||||||
this.flag6 = true;
|
this.flag6 = true;
|
||||||
// this.sendMessageToCSharp("生产工艺");
|
this.sendMessageToCSharp("生产工艺");
|
||||||
// this.$router.push(
|
// this.$router.push(
|
||||||
// "/znywjk",
|
// "/znywjk",
|
||||||
// () => {},
|
// () => {},
|
||||||
|
|
@ -87,7 +87,7 @@ export default {
|
||||||
this.flag4 = true;
|
this.flag4 = true;
|
||||||
this.flag5 = true;
|
this.flag5 = true;
|
||||||
this.flag6 = true;
|
this.flag6 = true;
|
||||||
// this.sendMessageToCSharp("能源监测");
|
this.sendMessageToCSharp("能源监测");
|
||||||
this.$router.push(
|
this.$router.push(
|
||||||
"/area",
|
"/area",
|
||||||
() => { },
|
() => { },
|
||||||
|
|
@ -101,7 +101,7 @@ export default {
|
||||||
this.flag4 = true;
|
this.flag4 = true;
|
||||||
this.flag5 = true;
|
this.flag5 = true;
|
||||||
this.flag6 = true;
|
this.flag6 = true;
|
||||||
// this.sendMessageToCSharp("负荷管理");
|
this.sendMessageToCSharp("负荷管理");
|
||||||
this.$router.push(
|
this.$router.push(
|
||||||
"/fhgl",
|
"/fhgl",
|
||||||
() => { },
|
() => { },
|
||||||
|
|
@ -115,7 +115,7 @@ export default {
|
||||||
this.flag4 = false;
|
this.flag4 = false;
|
||||||
this.flag5 = true;
|
this.flag5 = true;
|
||||||
this.flag6 = true;
|
this.flag6 = true;
|
||||||
// this.sendMessageToCSharp("能效管理");
|
this.sendMessageToCSharp("能效管理");
|
||||||
this.$router.push(
|
this.$router.push(
|
||||||
"/nxgl",
|
"/nxgl",
|
||||||
() => { },
|
() => { },
|
||||||
|
|
@ -129,7 +129,7 @@ export default {
|
||||||
this.flag4 = true;
|
this.flag4 = true;
|
||||||
this.flag5 = false;
|
this.flag5 = false;
|
||||||
this.flag6 = true;
|
this.flag6 = true;
|
||||||
// this.sendMessageToCSharp("智能运维");
|
this.sendMessageToCSharp("智能运维");
|
||||||
this.$router.push(
|
this.$router.push(
|
||||||
"/znyw",
|
"/znyw",
|
||||||
() => { },
|
() => { },
|
||||||
|
|
@ -143,7 +143,7 @@ export default {
|
||||||
this.flag4 = true;
|
this.flag4 = true;
|
||||||
this.flag5 = true;
|
this.flag5 = true;
|
||||||
this.flag6 = false;
|
this.flag6 = false;
|
||||||
// this.sendMessageToCSharp("碳资产管理");
|
this.sendMessageToCSharp("碳资产管理");
|
||||||
this.$router.push(
|
this.$router.push(
|
||||||
"/tzcgl",
|
"/tzcgl",
|
||||||
() => { },
|
() => { },
|
||||||
|
|
|
||||||
|
|
@ -1,56 +1,41 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="box">
|
<div class="box">
|
||||||
<div class="a">
|
<div class="a">
|
||||||
<img
|
<img src="../../assets/nyjc/电1.png" alt="" v-show="!dian" @click="
|
||||||
src="../../assets/nyjc/电1.png"
|
(dian = true),
|
||||||
alt=""
|
(shui = false),
|
||||||
v-show="!dian"
|
(mei = false),
|
||||||
@click="
|
sendMessageToCSharp('能源监测_电');
|
||||||
(dian = true),
|
$router.push(
|
||||||
(shui = false),
|
'/area/nyjcd',
|
||||||
(mei = false),
|
() => { },
|
||||||
sendMessageToCSharp('能源监测_电');
|
() => { }
|
||||||
$router.push(
|
);
|
||||||
'/area/nyjcd',
|
" />
|
||||||
() => {},
|
|
||||||
() => {}
|
|
||||||
);
|
|
||||||
"
|
|
||||||
/>
|
|
||||||
<img src="../../assets/nyjc/电.png" alt="" v-show="dian" />
|
<img src="../../assets/nyjc/电.png" alt="" v-show="dian" />
|
||||||
<img
|
<img src="../../assets/nyjc/水1.png" alt="" v-show="!shui" @click="
|
||||||
src="../../assets/nyjc/水1.png"
|
(dian = false),
|
||||||
alt=""
|
(shui = true),
|
||||||
v-show="!shui"
|
(mei = false),
|
||||||
@click="
|
sendMessageToCSharp('能源监测_水');
|
||||||
(dian = false),
|
$router.push(
|
||||||
(shui = true),
|
'/area/nyjcs',
|
||||||
(mei = false),
|
() => { },
|
||||||
sendMessageToCSharp('能源监测_水');
|
() => { }
|
||||||
$router.push(
|
);
|
||||||
'/area/nyjcs',
|
" />
|
||||||
() => {},
|
|
||||||
() => {}
|
|
||||||
);
|
|
||||||
"
|
|
||||||
/>
|
|
||||||
<img src="../../assets/nyjc/水.png" alt="" v-show="shui" />
|
<img src="../../assets/nyjc/水.png" alt="" v-show="shui" />
|
||||||
<img
|
<img src="../../assets/nyjc/煤1.png" alt="" v-show="!mei" @click="
|
||||||
src="../../assets/nyjc/煤1.png"
|
(dian = false),
|
||||||
alt=""
|
(shui = false),
|
||||||
v-show="!mei"
|
(mei = true),
|
||||||
@click="
|
sendMessageToCSharp('能源监测_煤');
|
||||||
(dian = false),
|
$router.push(
|
||||||
(shui = false),
|
'/area/nyjcm',
|
||||||
(mei = true),
|
() => { },
|
||||||
sendMessageToCSharp('能源监测_煤');
|
() => { }
|
||||||
$router.push(
|
);
|
||||||
'/area/nyjcm',
|
" />
|
||||||
() => {},
|
|
||||||
() => {}
|
|
||||||
);
|
|
||||||
"
|
|
||||||
/>
|
|
||||||
<img src="../../assets/nyjc/煤.png" alt="" v-show="mei" />
|
<img src="../../assets/nyjc/煤.png" alt="" v-show="mei" />
|
||||||
</div>
|
</div>
|
||||||
<div class="area">
|
<div class="area">
|
||||||
|
|
@ -72,12 +57,11 @@ export default {
|
||||||
addMessageListener();
|
addMessageListener();
|
||||||
} else {
|
} else {
|
||||||
window.addEventListener("vuplexready", addEventListener);
|
window.addEventListener("vuplexready", addEventListener);
|
||||||
}
|
} function addEventListener() {
|
||||||
function addEventListener() {
|
|
||||||
window.vuplex.addEventListener("message", function (event) {
|
window.vuplex.addEventListener("message", function (event) {
|
||||||
let json = event.data;
|
let json = event.data;
|
||||||
console.log("JSON received" + json);
|
console.log("JSON received" + json);
|
||||||
});
|
})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|
|
||||||
|
|
@ -309,7 +309,7 @@ export default {
|
||||||
goOne(a) {
|
goOne(a) {
|
||||||
this.click2 = "";
|
this.click2 = "";
|
||||||
this.click1 = a;
|
this.click1 = a;
|
||||||
// this.sendMessageToCSharp(this.click1);
|
this.sendMessageToCSharp(this.click1);
|
||||||
if (this.click1 == "配电室") {
|
if (this.click1 == "配电室") {
|
||||||
this.$router.replace(
|
this.$router.replace(
|
||||||
"/area/nyjcd/pds",
|
"/area/nyjcd/pds",
|
||||||
|
|
@ -327,7 +327,7 @@ export default {
|
||||||
goTwo(a) {
|
goTwo(a) {
|
||||||
this.click1 = "";
|
this.click1 = "";
|
||||||
this.click2 = a;
|
this.click2 = a;
|
||||||
// this.sendMessageToCSharp(this.click2);
|
this.sendMessageToCSharp(this.click2);
|
||||||
this.$router.replace(
|
this.$router.replace(
|
||||||
`/area/nyjcd/scx1?type=${this.click2}`,
|
`/area/nyjcd/scx1?type=${this.click2}`,
|
||||||
() => { },
|
() => { },
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue