master
fanluyan 2 years ago
parent 8b5d09dbd2
commit 4e33b94a91

@ -69,11 +69,11 @@ export default {
index: "/pictureRotation",
title: "图片轮巡",
},
// {
// icon: "el-icon-bell",
// index: "photoAlarm",
// title: "",
// },
{
icon: "el-icon-bell",
index: "photoAlarm",
title: "告警处理",
},
{
icon: "el-icon-search",
@ -106,10 +106,10 @@ export default {
index: "/devicePhotoSchedule",
title: "拍照时间表设置",
},
// {
// index: "/deviceUpgrade",
// title: "",
// },
{
index: "/deviceUpgrade",
title: "装置升级",
},
// {
// icon: "el-icon-picture-outline",
// index: "imageSettings",

@ -29,7 +29,7 @@
class="showPic"
@click="closePic"
>
<div class="picboxI" @click.stop>
<div class="picboxI">
<img class="maskPic" :src="bigPicPath" />
<i @click="closePic" class="el-icon-circle-close"></i>
</div>
@ -190,9 +190,10 @@ export default {
canvas: null,
ctx: null,
imgpic: null,
color: "#FF0000",
color: "#00ff00",
num: 5,
showBigpic: false,
flagline: true,
};
},
mounted() {
@ -230,6 +231,11 @@ export default {
closePic() {
this.showBigpic = false;
},
openline() {
this.flagline = true;
console.log("11111111111111111111111111", this.flagline);
this.drawline();
},
drawline() {
this.canvas = this.$refs.myCanvas;
this.imgpic = this.$refs.picJpg;
@ -239,6 +245,11 @@ export default {
this.canvas.height = this.imgpic.offsetHeight; //
this.ctx = this.canvas.getContext("2d");
console.log(this.localPoints);
if (this.flagline == true) {
this.localPoints = this.localPoints;
} else {
this.localPoints = [];
}
console.log(this.ctx);
this.ctx.beginPath();
//线
@ -262,6 +273,7 @@ export default {
//线
handelClear() {
this.ctx.clearRect(0, 0, this.canvas.width, this.canvas.height);
this.flagline = false;
},
getphotoList() {
this.fiveList = this.terminalPhoto.slice(

@ -65,13 +65,14 @@
:max="9"
></el-input-number>
</div>
<!-- <div class="deStatus" v-if="isactive == data.id">
<el-tag type="success" v-if="isCheck"></el-tag>
<el-tag type="" v-if="isCheck"
><i class="el-icon-loading"></i>下发中{{ data.id }}</el-tag
>
<el-tag type="danger" v-if="data.errortag"></el-tag>
</div> -->
<div
class="deStatus"
v-if="allCheckNode.indexOf(data) != -1 && showtag"
>
<!-- <el-tag type="success">下发成功</el-tag> -->
<el-tag type=""><i class="el-icon-loading"></i>下发中</el-tag>
<!-- <el-tag type="danger">下发失败</el-tag> -->
</div>
</div>
<span v-else class="custom-tree-node" slot-scope="{ data }">
<span>{{ data.name }}</span>
@ -146,6 +147,7 @@ export default {
termzzid: [],
flag: false,
sureloading: false,
showtag: false,
};
},
mounted() {},
@ -218,6 +220,7 @@ export default {
submitForm() {
//console.log(this.termidArr);
this.sureSum();
this.showtag = true;
},
//
sureSum() {
@ -280,6 +283,7 @@ export default {
this.timer = null;
this.isShow = false;
this.sureloading = false;
this.showtag = false;
} else if (this.i > 9) {
this.zzerror = true;
this.i = 0;
@ -287,6 +291,7 @@ export default {
clearInterval(this.timer);
this.timer = null;
this.isShow = false;
this.showtag = false;
this.sureloading = false;
}
})
@ -303,6 +308,7 @@ export default {
clearTimeout(this.timer);
this.timer = null;
this.sureloading = false;
this.showtag = false;
},
},
};

@ -29,9 +29,9 @@
<el-table-column fixed="right" label="操作" width="200">
<template slot-scope="scope">
<el-button type="text">修改</el-button>
<el-button type="text" class="deleteText">删除</el-button>
<el-button type="text">设置</el-button>
<el-button type="text">升级</el-button>
<!-- <el-button type="text" class="deleteText">删除</el-button>
<el-button type="text">设置</el-button> -->
</template>
</el-table-column>
</el-table>

@ -93,7 +93,7 @@ export default {
ctx: null,
imgpic: null,
drawingSurfaceImageData: "",
color: "#FF0000",
color: "#00ff00",
num: 5,
flag: false,
x: 0,

@ -93,35 +93,11 @@
>
</el-option>
</el-select>
<!-- <el-select
v-model="channelValue"
placeholder="请选择"
@change="changeChannelId"
ref="multiSelect"
>
<el-option key="0" label="全部" value="0"></el-option>
<el-option
v-for="item in channelOption"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</el-select> -->
</div>
<div class="setTimebtn">
<h3>操作项</h3>
<div class="buttonGroup">
<!-- <el-button
v-if="this.newTermId == this.termid"
type="primary"
@click.native.stop="handlexfTime()"
>下发时间表</el-button
> -->
<!-- <el-button type="primary" v-debounce="handleShowPic"
>手动拍照</el-button
> -->
<el-dropdown trigger="click" @command="handleCommandpic">
<el-button type="primary" :loading="btnpicloading">
主动拍照<i class="el-icon-arrow-down el-icon--right"></i>
@ -149,12 +125,6 @@
</el-dropdown-menu>
</el-dropdown>
<!-- <el-button type="primary" @click="handleShowPic"
>手动拍视频</el-button
> -->
<!-- <el-button type="primary" v-debounce="handleShowGPS"
>获取GPS位置</el-button
> -->
<el-button type="primary" @click="handleShowInfo">
装置信息</el-button
>
@ -545,7 +515,7 @@ export default {
handleCommandLine(command) {
switch (command) {
case "open": //
this.$refs.carouselpic.drawline();
this.$refs.carouselpic.openline();
break;
case "close": //
this.$refs.carouselpic.handelClear();

Loading…
Cancel
Save