Compare commits
2 Commits
4d81ce92cd
...
ea5336da3a
| Author | SHA1 | Date |
|---|---|---|
|
|
ea5336da3a | |
|
|
9333f2f083 |
|
|
@ -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,41 +1,56 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="box">
|
<div class="box">
|
||||||
<div class="a">
|
<div class="a">
|
||||||
<img src="../../assets/nyjc/电1.png" alt="" v-show="!dian" @click="
|
<img
|
||||||
(dian = true),
|
src="../../assets/nyjc/电1.png"
|
||||||
(shui = false),
|
alt=""
|
||||||
(mei = false),
|
v-show="!dian"
|
||||||
sendMessageToCSharp('能源监测_电');
|
@click="
|
||||||
$router.push(
|
(dian = true),
|
||||||
'/area/nyjcd',
|
(shui = false),
|
||||||
() => { },
|
(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 src="../../assets/nyjc/水1.png" alt="" v-show="!shui" @click="
|
<img
|
||||||
(dian = false),
|
src="../../assets/nyjc/水1.png"
|
||||||
(shui = true),
|
alt=""
|
||||||
(mei = false),
|
v-show="!shui"
|
||||||
sendMessageToCSharp('能源监测_水');
|
@click="
|
||||||
$router.push(
|
(dian = false),
|
||||||
'/area/nyjcs',
|
(shui = true),
|
||||||
() => { },
|
(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 src="../../assets/nyjc/煤1.png" alt="" v-show="!mei" @click="
|
<img
|
||||||
(dian = false),
|
src="../../assets/nyjc/煤1.png"
|
||||||
(shui = false),
|
alt=""
|
||||||
(mei = true),
|
v-show="!mei"
|
||||||
sendMessageToCSharp('能源监测_煤');
|
@click="
|
||||||
$router.push(
|
(dian = false),
|
||||||
'/area/nyjcm',
|
(shui = false),
|
||||||
() => { },
|
(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">
|
||||||
|
|
@ -57,11 +72,12 @@ 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