|
|
|
@ -467,7 +467,7 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
//不显示绘制线
|
|
|
|
|
handelClear() {
|
|
|
|
|
this.ctx.clearRect(0, 0, this.canvas.width, this.canvas.height);
|
|
|
|
|
// this.ctx.clearRect(0, 0, this.canvas.width, this.canvas.height);
|
|
|
|
|
this.flagline = false;
|
|
|
|
|
updateMarkEnableStatus({
|
|
|
|
|
status: 0,
|
|
|
|
@ -597,8 +597,9 @@ export default {
|
|
|
|
|
this.alarmList = this.fiveList[this.bigNum].alarmlist;
|
|
|
|
|
this.drawlineBig(this.alarmList[0]);
|
|
|
|
|
} else {
|
|
|
|
|
// this.canvas = document.getElementById("bigCanvas");
|
|
|
|
|
// this.ctx.clearRect(0, 0, this.canvas.width, this.canvas.height);
|
|
|
|
|
this.canvas = document.getElementById("bigCanvas");
|
|
|
|
|
this.ctx = this.canvas.getContext("2d");
|
|
|
|
|
this.ctx.clearRect(0, 0, this.canvas.width, this.canvas.height);
|
|
|
|
|
}
|
|
|
|
|
console.log(this.fiveList[this.bigNum]);
|
|
|
|
|
getCoordinate({
|
|
|
|
@ -634,8 +635,9 @@ export default {
|
|
|
|
|
this.alarmList = this.fiveList[this.bigNum].alarmlist;
|
|
|
|
|
this.drawlineBig(this.alarmList[0]);
|
|
|
|
|
} else {
|
|
|
|
|
// this.canvas = document.getElementById("bigCanvas");
|
|
|
|
|
// this.ctx.clearRect(0, 0, this.canvas.width, this.canvas.height);
|
|
|
|
|
this.canvas = document.getElementById("bigCanvas");
|
|
|
|
|
this.ctx = this.canvas.getContext("2d");
|
|
|
|
|
this.ctx.clearRect(0, 0, this.canvas.width, this.canvas.height);
|
|
|
|
|
}
|
|
|
|
|
getCoordinate({
|
|
|
|
|
channelId: this.fiveList[this.bigNum].channelId,
|
|
|
|
@ -664,8 +666,10 @@ export default {
|
|
|
|
|
this.alarmList = row.alarmlist;
|
|
|
|
|
this.drawlineBig(this.alarmList[0]);
|
|
|
|
|
} else {
|
|
|
|
|
// this.canvas = document.getElementById("bigCanvas");
|
|
|
|
|
// this.ctx.clearRect(0, 0, this.canvas.width, this.canvas.height);
|
|
|
|
|
this.canvas = document.getElementById("bigCanvas");
|
|
|
|
|
console.log(this.canvas);
|
|
|
|
|
this.ctx = this.canvas.getContext("2d");
|
|
|
|
|
this.ctx.clearRect(0, 0, this.canvas.width, this.canvas.height);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// this.bgbigPath = row.path + "!1366x768";
|
|
|
|
|