Compare commits

...

2 Commits

Author SHA1 Message Date
lixiaobang 8ce3f155ee 代码提交 2023-05-19 09:29:11 +08:00
lixiaobang ce2c247386 代码提交 2023-05-19 09:17:36 +08:00
7 changed files with 18090 additions and 1628 deletions

BIN
dist.zip

Binary file not shown.

19383
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -19,7 +19,6 @@
"less-loader": "^5.0.0", "less-loader": "^5.0.0",
"moment": "^2.29.4", "moment": "^2.29.4",
"mqtt": "^4.3.7", "mqtt": "^4.3.7",
"node-sass": "^8.0.0",
"pdfjs-dist": "2.5.207", "pdfjs-dist": "2.5.207",
"postcss-px2rem-exclude": "^0.0.6", "postcss-px2rem-exclude": "^0.0.6",
"semver": "^7.4.0", "semver": "^7.4.0",
@ -36,7 +35,8 @@
"@vue/cli-plugin-babel": "^3.0.4", "@vue/cli-plugin-babel": "^3.0.4",
"@vue/cli-service": "^3.0.4", "@vue/cli-service": "^3.0.4",
"mini-css-extract-plugin": "^2.7.2", "mini-css-extract-plugin": "^2.7.2",
"sass-loader": "^7.0.3", "sass": "^1.26.5",
"sass-loader": "^8.0.2",
"vue-template-compiler": "^2.6.10", "vue-template-compiler": "^2.6.10",
"webpack": "^4.0.0" "webpack": "^4.0.0"
}, },

View File

@ -388,30 +388,36 @@ export default {
mouseOver() { mouseOver() {
let that = this; let that = this;
clearInterval(that.intervalTime); clearInterval(that.intervalTime);
that.intervalTime = null that.intervalTime = null;
}, },
mouseLeave() { mouseLeave() {
if (this.intervalTime == null) {
this.autoScrollalarm2(67, 50, 0, document.getElementById("courtHouse")); this.autoScrollalarm2(67, 50, 0, document.getElementById("courtHouse"));
}
}, },
// //
mouseOver2() { mouseOver2() {
let that = this; let that = this;
clearInterval(that.intervalTime1); clearInterval(that.intervalTime1);
that.intervalTime1 = null that.intervalTime1 = null;
}, },
mouseLeave2() { mouseLeave2() {
let name = 'courtHouse2' if (this.intervalTime1 == null) {
this.autoScrollalarm(67, 50, 0, document.getElementById("courtHouse2"),name); let name = "courtHouse2";
this.autoScrollalarm(67, 50, 0, document.getElementById("courtHouse2"), name);
}
}, },
// //
mouseOver3() { mouseOver3() {
let that = this; let that = this;
clearInterval(that.intervalTime2); clearInterval(that.intervalTime2);
that.intervalTime2 = null that.intervalTime2 = null;
}, },
mouseLeave3() { mouseLeave3() {
let name = 'courtHouse3' if (this.intervalTime2 == null) {
this.autoScrollalarm(67, 50, 0, document.getElementById("courtHouse3"),name); let name = "courtHouse3";
this.autoScrollalarm(67, 50, 0, document.getElementById("courtHouse3"), name);
}
}, },
}, },
beforeDestroy() { beforeDestroy() {
@ -420,9 +426,9 @@ export default {
clearInterval(that.intervalTime); clearInterval(that.intervalTime);
clearInterval(that.intervalTime1); clearInterval(that.intervalTime1);
clearInterval(that.intervalTime2); clearInterval(that.intervalTime2);
that.intervalTime = null that.intervalTime = null;
that.intervalTime1 = null that.intervalTime1 = null;
that.intervalTime2 = null that.intervalTime2 = null;
}, },
components: {}, components: {},
}; };

View File

@ -1116,7 +1116,9 @@ export default {
that.interval = null; that.interval = null;
}, },
mouseLeave() { mouseLeave() {
if (this.interval == null) {
this.autoScrollenergySaving(67, 50, 0, document.getElementById("equipmentWarnList")); this.autoScrollenergySaving(67, 50, 0, document.getElementById("equipmentWarnList"));
}
}, },
}, },
beforeDestroy() { beforeDestroy() {

View File

@ -1736,7 +1736,9 @@ export default {
that.interval = null that.interval = null
}, },
mouseLeave() { mouseLeave() {
if (this.interval == null) {
this.autoScrollindex(67, 50, 0, document.getElementById('warnList')) this.autoScrollindex(67, 50, 0, document.getElementById('warnList'))
}
}, },
}, },
beforeDestroy() { beforeDestroy() {

View File

@ -112,7 +112,12 @@
</div> </div>
<div class="rightTwo"> <div class="rightTwo">
<div class="title" style="height: 10%">安防报警管理</div> <div class="title" style="height: 10%">安防报警管理</div>
<div class="police" id="policeId" @mouseenter="mouseOver1" @mouseleave="mouseLeave1"> <div
class="police"
id="policeId"
@mouseenter="mouseOver1"
@mouseleave="mouseLeave1"
>
<div class="warnList" v-for="(item, index) in policeList" :key="index"> <div class="warnList" v-for="(item, index) in policeList" :key="index">
<span>{{ item.id }}</span> <span>{{ item.id }}</span>
<img :src="item.icon" /> <img :src="item.icon" />
@ -316,9 +321,9 @@ export default {
}; };
}, },
mounted() { mounted() {
window['getsecurity']= (name) => { window["getsecurity"] = (name) => {
console.log("name",name) console.log("name", name);
} };
// setTimeout(() => { // setTimeout(() => {
window["getWarning"] = (name) => { window["getWarning"] = (name) => {
// alert("goPage:"+b); // alert("goPage:"+b);
@ -816,21 +821,25 @@ export default {
mouseOver() { mouseOver() {
let that = this; let that = this;
clearInterval(that.intervalTime); clearInterval(that.intervalTime);
that.intervalTime = null that.intervalTime = null;
}, },
mouseLeave() { mouseLeave() {
let name = 'fire' if (this.intervalTime == null) {
this.autoScrollsecurity(67, 50, 0, document.getElementById("fireId"),name); let name = "fire";
this.autoScrollsecurity(67, 50, 0, document.getElementById("fireId"), name);
}
}, },
// //
mouseOver1() { mouseOver1() {
let that = this; let that = this;
clearInterval(that.intervalTime1); clearInterval(that.intervalTime1);
that.intervalTime1 = null that.intervalTime1 = null;
}, },
mouseLeave1() { mouseLeave1() {
let name = 'police' if (this.intervalTime1 == null) {
this.autoScrollsecurity(67, 50, 0, document.getElementById("policeId"),name); let name = "police";
this.autoScrollsecurity(67, 50, 0, document.getElementById("policeId"), name);
}
}, },
}, },
beforeDestroy() { beforeDestroy() {
@ -838,8 +847,8 @@ export default {
// //
clearInterval(that.intervalTime); clearInterval(that.intervalTime);
clearInterval(that.intervalTime1); clearInterval(that.intervalTime1);
that.intervalTime = null that.intervalTime = null;
that.intervalTime1 = null that.intervalTime1 = null;
}, },
components: {}, components: {},
}; };