优化加载时间

hn2.0
fanluyan 9 months ago
parent 9f281f9f0f
commit 05c499ad47

12037
package-lock.json generated

File diff suppressed because it is too large Load Diff

@ -17,6 +17,7 @@
"update-element-ui-theme": "^1.0.0", "update-element-ui-theme": "^1.0.0",
"v-viewer": "^1.6.4", "v-viewer": "^1.6.4",
"vue": "^2.6.14", "vue": "^2.6.14",
"vue-lazyload": "^1.2.6",
"vue-router": "^3.5.1", "vue-router": "^3.5.1",
"vuex": "^3.6.2" "vuex": "^3.6.2"
}, },

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

@ -26,7 +26,25 @@ import "./assets/css/theme.less"; //修改主题颜色
import "./assets/css/global.less"; //全局定义颜色 import "./assets/css/global.less"; //全局定义颜色
import "./assets/css/element.less"; //全局定义颜色 import "./assets/css/element.less"; //全局定义颜色
import "./assets/fonts/iconfont.css"; //按钮 import "./assets/fonts/iconfont.css"; //按钮
import VueLazyload from "vue-lazyload";
//注册插件
// 全局配置vue-lazyload
// Vue.use(VueLazyload, {
// listenEvents: ["scroll"], // 监听的事件类型
// });
Vue.use(VueLazyload, {
error: require("./assets/img/nodatapic2.jpg"),
listenEvents: [
"scroll",
"wheel",
"mousewheel",
"resize",
"animationend",
"transitionend",
"touchmove",
],
});
//引入md5加密 //引入md5加密
import md5 from "js-md5"; import md5 from "js-md5";
Vue.prototype.$md5 = md5; Vue.prototype.$md5 = md5;

@ -7,7 +7,7 @@ const service = axios.create({
// easy-mock服务挂了暂时不使用了 // easy-mock服务挂了暂时不使用了
// baseURL: '', // baseURL: '',
// timeout: 5000 // timeout: 5000
baseURL: "api", //把原来的项目地址改成api解决跨域问题 baseURL: "", //把原来的项目地址改成api解决跨域问题
timeout: 30000, timeout: 30000,
}); });

@ -16,9 +16,10 @@
</div> </div>
<carouselChart <carouselChart
ref="carouselpic" ref="carouselpic"
:key="carouselKey"
:terminalPhoto="terminalPhoto" :terminalPhoto="terminalPhoto"
:photoNum="photoNum"
v-if="terminalPhoto.length > 0" v-if="terminalPhoto.length > 0"
v-loading="historyPicLoading"
></carouselChart> ></carouselChart>
</el-dialog> </el-dialog>
</template> </template>
@ -31,6 +32,8 @@ export default {
}, },
data() { data() {
return { return {
carouselKey: 0,
photoNum: 5,
page: 1, // page: 1, //
pageSize: 10, // pageSize: 10, //
total: 0, // total: 0, //
@ -56,10 +59,8 @@ export default {
pagesize: this.pageSize, pagesize: this.pageSize,
}).then((res) => { }).then((res) => {
console.log(res); console.log(res);
this.historyPicLoading = false; this.historyPicLoading = false;
this.terminalPhoto = res.data.list; this.terminalPhoto = res.data.list;
this.total = res.data.total; this.total = res.data.total;
}); });
}, },

@ -289,8 +289,8 @@
{{ item.lineName }} / {{ item.lineName }} /
{{ {{
item.displayName !== null && item.displayName !== "" item.displayName !== null && item.displayName !== ""
? item.towerName ? item.displayName
: item.displayName : item.towerName
}} }}
/ /
{{ {{

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

@ -44,11 +44,32 @@
: '' : ''
" "
> >
<img <!-- <img
:src="item.path + '!1366x768'" :src="item.path"
:id="'img' + index" :id="'img' + index"
:ref="'imgref' + index" :ref="'imgref' + index"
/> -->
<el-image
:src="item.path"
:id="'img' + index"
:ref="'imgref' + index"
>
<div
slot="placeholder"
class="image-slot"
:style="{
backgroundImage: 'url(' + item.path + '!260x160' + ')',
}"
>
<i class="el-icon-loading"></i>
</div>
<template slot="error">
<img
:id="'img' + index"
src="../../assets/img/nodatapic2.jpg"
/> />
</template>
</el-image>
<canvas <canvas
:ref="'canvansref' + index" :ref="'canvansref' + index"
:id="'canvas_' + index" :id="'canvas_' + index"
@ -110,6 +131,16 @@
></el-option> ></el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="选择通道">
<el-select v-model="channelVal" placeholder="请选择">
<el-option
v-for="item in channelOption"
:key="item.value"
:label="item.name"
:value="item.value"
></el-option>
</el-select>
</el-form-item>
<el-form-item label="画面布局" class="layoutBox"> <el-form-item label="画面布局" class="layoutBox">
<!-- <el-select v-model="selLayout" placeholder="s请选择"> <!-- <el-select v-model="selLayout" placeholder="s请选择">
<el-option <el-option
@ -150,27 +181,7 @@
<el-button type="primary" @click="submitForm()"> </el-button> <el-button type="primary" @click="submitForm()"> </el-button>
</div> </div>
</el-dialog> </el-dialog>
<!-- <el-dialog
title="历史图片"
:visible.sync="historyPicdialog"
width="1366px"
:close-on-click-modal="false"
class="showDialogHistoryPic"
>
<div class="title">
{{ picInfoData.linename }}-{{ picInfoData.towername }}-{{
picInfoData.alias !== null && picInfoData.alias !== ""
? picInfoData.alias
: picInfoData.channnelname
}} {{ $moment(picInfoData.photoTime).format("YYYY-MM-DD ") }}
</div>
<carouselChartmore
ref="carouselpic"
:terminalPhoto="terminalPhoto"
v-if="terminalPhoto.length > 0"
v-loading="historyPicLoading"
></carouselChartmore>
</el-dialog> -->
<div class="morePicBox" v-if="historyPicdialog"> <div class="morePicBox" v-if="historyPicdialog">
<div class="headTitle"> <div class="headTitle">
<div class="info"> <div class="info">
@ -193,9 +204,9 @@
<div class="picmain"> <div class="picmain">
<carouselChartmore <carouselChartmore
ref="carouselpic" ref="carouselpic"
:key="carouselKey"
:terminalPhoto="terminalPhoto" :terminalPhoto="terminalPhoto"
v-if="terminalPhoto.length > 0" :photoNum="photoNum"
v-loading="historyPicLoading"
></carouselChartmore> ></carouselChartmore>
</div> </div>
</div> </div>
@ -211,6 +222,7 @@ export default {
}, },
data() { data() {
return { return {
carouselKey: 0,
OptionssalseImg: { OptionssalseImg: {
inline: false, inline: false,
button: true, button: true,
@ -228,10 +240,17 @@ export default {
total: 0, // total: 0, //
picList: [], // picList: [], //
remainingTime: 0, // remainingTime: 0, //
photoNum: 8,
isRuning: false, isRuning: false,
timer: null, timer: null,
loading: false, loading: false,
setdialog: false, // setdialog: false, //
channelVal: 1, //
channelOption: [
{ name: "全部", value: -1 },
{ name: "通道一", value: 1 },
{ name: "通道二", value: 2 },
],
speedOptions: [ speedOptions: [
{ {
value: 5, value: 5,
@ -300,29 +319,36 @@ export default {
handleclose() { handleclose() {
this.historyPicdialog = false; this.historyPicdialog = false;
}, },
// //
getTerminalPhotoList(channelid, date, termId) { getTerminalPhotoList(channelId, date, termId) {
this.terminalPhoto = []; console.log(channelId, date, termId);
this.historyPicLoading = true;
console.log("zhanshi asdadadadadadsddadadadadad", this.terminalPhoto);
//this.terminalPhoto = [];
getTerminalPhotoListJoggle({ getTerminalPhotoListJoggle({
channelid: channelid, channelid: channelId,
time: date, time: date,
terminalid: termId, terminalid: termId,
}) })
.then((res) => { .then((res) => {
console.log(res); console.log(res);
this.historyPicLoading = false;
if (res.data.list.length == 0) { if (res.data.list.length == 0) {
this.terminalPhoto = [ this.terminalPhoto = [
{ {
path: this.nopicPath, path: this.nopicPath,
termId: termId, termId: termId,
mediatype: 0, mediaType: 0,
}, },
]; ];
} else { } else {
this.terminalPhoto = res.data.list; this.terminalPhoto = res.data.list;
} }
this.carouselKey++; // key
this.$nextTick(() => {
this.$refs.carouselpic.changeBigPic(this.terminalPhoto[0], 0);
});
}) })
.catch((err) => { .catch((err) => {
console.log(err); // console.log(err); //
@ -347,6 +373,9 @@ export default {
this.colradio = parseInt(localStorage.getItem("col")) this.colradio = parseInt(localStorage.getItem("col"))
? parseInt(localStorage.getItem("col")) ? parseInt(localStorage.getItem("col"))
: 4; : 4;
this.channelVal = parseInt(localStorage.getItem("channelNum"))
? parseInt(localStorage.getItem("channelNum"))
: 1;
}, },
submitForm() { submitForm() {
localStorage.setItem("totalTime", this.selSpeed); localStorage.setItem("totalTime", this.selSpeed);
@ -358,6 +387,10 @@ export default {
this.colNum = parseInt(localStorage.getItem("col")) this.colNum = parseInt(localStorage.getItem("col"))
? parseInt(localStorage.getItem("col")) ? parseInt(localStorage.getItem("col"))
: 4; : 4;
this.channelVal = parseInt(localStorage.getItem("channelNum"))
? parseInt(localStorage.getItem("channelNum"))
: 1;
this.page = 1;
this.pageSize = this.rowradio * this.colradio; this.pageSize = this.rowradio * this.colradio;
this.setdialog = false; this.setdialog = false;
this.$message.success("设置成功"); this.$message.success("设置成功");
@ -373,19 +406,28 @@ export default {
// //
getPicData() { getPicData() {
this.loading = true; this.loading = true;
console.log(this.picList);
this.picList = []; this.picList = [];
getPictureList({ const params = {
pageindex: this.page, pageindex: this.page,
pagesize: this.rowNum * this.colNum, pagesize: this.rowNum * this.colNum,
}) };
if (this.channelVal !== -1) {
params.channelId = this.channelVal;
}
getPictureList(params)
.then((res) => { .then((res) => {
this.picList = res.data.list; this.picList = res.data.list;
this.totalPage = res.data.totalpage; this.totalPage = res.data.totalpage;
this.total = res.data.total; this.total = res.data.total;
this.loading = false; this.loading = false;
this.$nextTick(() => { console.log("我是来获取图片的", document.getElementById("img" + 0));
setTimeout(() => {
this.drawlineListAll(this.picList); this.drawlineListAll(this.picList);
}); }, 200); // 200
// this.$nextTick(() => {
// });
}) })
.catch((err) => { .catch((err) => {
console.log(err); console.log(err);
@ -441,7 +483,7 @@ export default {
if (val[i].isAlarm == 1) { if (val[i].isAlarm == 1) {
console.log(i); console.log(i);
console.log(document.getElementById("canvas_" + i)); console.log(document.getElementById("canvas_" + i));
console.log(document.getElementById("img" + i));
this.canvas = document.getElementById("canvas_" + i); this.canvas = document.getElementById("canvas_" + i);
this.imgpic = document.getElementById("img" + i); this.imgpic = document.getElementById("img" + i);
this.textInfo = val[i].alarmlist[0].enname; this.textInfo = val[i].alarmlist[0].enname;
@ -498,8 +540,12 @@ export default {
this.colradio = this.colNum = parseInt(localStorage.getItem("col")) this.colradio = this.colNum = parseInt(localStorage.getItem("col"))
? parseInt(localStorage.getItem("col")) ? parseInt(localStorage.getItem("col"))
: 4; : 4;
this.channelVal = parseInt(localStorage.getItem("channelNum"))
? parseInt(localStorage.getItem("channelNum"))
: 1;
this.pageSize = this.rowradio * this.colradio; this.pageSize = this.rowradio * this.colradio;
//this.toggleCountdown(); //this.toggleCountdown();
this.getPicData(); this.getPicData();
}, },
created() {}, created() {},
@ -568,6 +614,22 @@ export default {
position: relative; position: relative;
//background-color: #00eaff; //background-color: #00eaff;
height: 100%; height: 100%;
.el-image {
width: 100%;
height: 100%;
.image-slot {
display: flex;
justify-content: center;
align-items: center;
height: 100%;
background-size: 100% 100%;
i {
font-size: 20px;
color: #169e8c;
}
}
}
.bigpic { .bigpic {
width: 100%; width: 100%;
height: 100%; height: 100%;

@ -18,20 +18,22 @@
</div> </div>
</div> </div>
<div class="picmain" v-loading="picLoading"> <div class="picmain" v-loading="picLoading">
<carouselChartmore <carouselChart
ref="carouselpic" ref="carouselpic"
:key="carouselKey"
:terminalPhoto="terminalPhoto" :terminalPhoto="terminalPhoto"
v-if="terminalPhoto.length > 0" :photoNum="photoNum"
></carouselChartmore> ></carouselChart>
</div> </div>
</div> </div>
</template> </template>
<script> <script>
import carouselChartmore from "../../components/carouselChartmore.vue"; // import carouselChartmore from "../../components/carouselChartmore.vue";
import carouselChart from "../../components/carouselChart.vue";
import { getTerminalPhotoListJoggle } from "@/utils/api/index"; import { getTerminalPhotoListJoggle } from "@/utils/api/index";
export default { export default {
components: { components: {
carouselChartmore, carouselChart,
}, },
props: { props: {
title: String, title: String,
@ -44,6 +46,8 @@ export default {
terminalPhoto: [], // terminalPhoto: [], //
nopicPath: require("@/assets/img/nopic.jpg"), nopicPath: require("@/assets/img/nopic.jpg"),
picLoading: false, picLoading: false,
photoNum: 8,
carouselKey: 0,
}; };
}, },
mounted() {}, mounted() {},
@ -58,29 +62,65 @@ export default {
this.getTerminalPhotoList(data.channelid, data.photoTime, data.termid); this.getTerminalPhotoList(data.channelid, data.photoTime, data.termid);
}, },
// //
getTerminalPhotoList(channelid, date, termId) { // getTerminalPhotoList(channelid, date, termId) {
this.terminalPhoto = []; // this.terminalPhoto = [];
console.log("我是morem"); // console.log("morem");
this.picLoading = true; // this.picLoading = true;
// getTerminalPhotoListJoggle({
// channelid: channelid,
// time: date,
// terminalid: termId,
// })
// .then((res) => {
// console.log(res);
// this.picLoading = false;
// if (res.data.list.length == 0) {
// this.terminalPhoto = [
// {
// path: this.nopicPath,
// termId: termId,
// mediatype: 0,
// },
// ];
// } else {
// this.terminalPhoto = res.data.list;
// }
// })
// .catch((err) => {
// console.log(err); //
// });
// },
//
getTerminalPhotoList(channelId, date, termId) {
console.log(channelId, date, termId);
this.swiperLoading = true;
console.log("zhanshi asdadadadadadsddadadadadad", this.terminalPhoto);
//this.terminalPhoto = [];
getTerminalPhotoListJoggle({ getTerminalPhotoListJoggle({
channelid: channelid, channelid: channelId,
time: date, time: date,
terminalid: termId, terminalid: termId,
}) })
.then((res) => { .then((res) => {
console.log(res); console.log(res);
this.picLoading = false;
if (res.data.list.length == 0) { if (res.data.list.length == 0) {
this.terminalPhoto = [ this.terminalPhoto = [
{ {
path: this.nopicPath, path: this.nopicPath,
termId: termId, termId: termId,
mediatype: 0, mediaType: 0,
}, },
]; ];
} else { } else {
this.terminalPhoto = res.data.list; this.terminalPhoto = res.data.list;
} }
this.carouselKey++; // key
this.$nextTick(() => {
this.$refs.carouselpic.changeBigPic(this.terminalPhoto[0], 0);
});
this.swiperLoading = false;
}) })
.catch((err) => { .catch((err) => {
console.log(err); // console.log(err); //

@ -110,12 +110,17 @@
<el-breadcrumb-item> {{ towertitle }}</el-breadcrumb-item> <el-breadcrumb-item> {{ towertitle }}</el-breadcrumb-item>
</el-breadcrumb> </el-breadcrumb>
</div> </div>
<!-- <carouselChart
ref="carouselpic"
:key="carouselKey"
:terminalPhoto="terminalPhoto"
></carouselChart> -->
<carouselChart <carouselChart
ref="carouselpic" ref="carouselpic"
:key="carouselKey"
:terminalPhoto="terminalPhoto" :terminalPhoto="terminalPhoto"
v-if="terminalPhoto.length > 0" :photoNum="photoNum"
></carouselChart> ></carouselChart>
<!-- -->
</div> </div>
<div class="parameterArea"> <div class="parameterArea">
<div class="zzbox"> <div class="zzbox">
@ -382,6 +387,7 @@ export default {
lineTreeData: [], lineTreeData: [],
filterText: "", filterText: "",
searchName: "", searchName: "",
photoNum: 5,
defaultProps: { defaultProps: {
// //
children: "list", children: "list",
@ -410,7 +416,7 @@ export default {
channelOption: [], // channelOption: [], //
channelarr: [], channelarr: [],
channelarrValue: null, channelarrValue: null,
selectChannelValue: null, // selectChannelValue: 1, //
channelId: "", //id channelId: "", //id
btnpicloading: false, //loading btnpicloading: false, //loading
requestId: "", //requestid requestId: "", //requestid
@ -433,6 +439,7 @@ export default {
favorVal: "", favorVal: "",
}, // }, //
favorOptions: [], // favorOptions: [], //
carouselKey: 0, // key
}; };
}, },
watch: { watch: {
@ -712,8 +719,8 @@ export default {
alias: item.alias, alias: item.alias,
}); });
}); });
this.selectChannelValue = this.channelListOption[0].value; // this.selectChannelValue = this.channelListOption[1].value; //
this.channelarrValue = this.channelOption[0].value; this.channelarrValue = this.channelOption[1].value;
this.getTerminalPhotoList( this.getTerminalPhotoList(
this.selectChannelValue, this.selectChannelValue,
this.dateValue, this.dateValue,
@ -748,30 +755,74 @@ export default {
); );
}, },
// //
getTerminalPhotoList(id, date, termId) { // getTerminalPhotoList(id, date, termId) {
this.clearfun(); // this.swiperLoading = true;
this.terminalPhoto = []; // this.clearfun();
console.log(id, date, termId); // //this.terminalPhoto = [];
// console.log("", this.terminalPhoto);
// console.log(id, date, termId);
// getTerminalPhotoListJoggle({
// channelid: id,
// time: date,
// terminalid: termId,
// })
// .then((res) => {
// console.log(res);
// if (res.data.list.length == 0) {
// this.terminalPhoto = [
// {
// path: this.nopicPath,
// termId: termId,
// mediatype: 0,
// },
// ];
// } else {
// this.terminalPhoto = res.data.list;
// }
// this.carouselKey++; // key
// this.$nextTick(() => {
// this.$refs.carouselpic.handleBigpic(this.terminalPhoto[0], 0);
// });
// this.swiperLoading = false;
// })
// .catch((err) => {
// console.log(err); //
// });
// },
//
getTerminalPhotoList(channelId, date, termId) {
console.log(channelId, date, termId);
this.swiperLoading = true; this.swiperLoading = true;
console.log("zhanshi asdadadadadadsddadadadadad", this.terminalPhoto);
//this.terminalPhoto = [];
getTerminalPhotoListJoggle({ getTerminalPhotoListJoggle({
channelid: id, channelid: channelId,
time: date, time: date,
terminalid: termId, terminalid: termId,
}) })
.then((res) => { .then((res) => {
console.log(res); console.log(res);
this.swiperLoading = false;
if (res.data.list.length == 0) { if (res.data.list.length == 0) {
this.terminalPhoto = [ this.terminalPhoto = [
{ {
path: this.nopicPath, path: this.nopicPath,
termId: termId, termId: termId,
mediatype: 0, mediaType: 0,
}, },
]; ];
} else { } else {
this.terminalPhoto = res.data.list; this.terminalPhoto = res.data.list;
} }
this.carouselKey++; // key
this.$nextTick(() => {
this.$refs.carouselpic.changeBigPic(this.terminalPhoto[0], 0);
});
this.swiperLoading = false;
}) })
.catch((err) => { .catch((err) => {
console.log(err); // console.log(err); //
@ -1521,6 +1572,8 @@ export default {
overflow: hidden; overflow: hidden;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
position: relative;
.title { .title {
height: 32px; height: 32px;
padding-left: 12px; padding-left: 12px;
@ -1540,6 +1593,9 @@ export default {
} }
} }
} }
.el-loading-mask {
background-color: rgba(0, 0, 0, 0.3);
}
} }
.parameterArea { .parameterArea {
width: 220px; width: 220px;

@ -119,7 +119,7 @@
<img <img
:id="'img' + index" :id="'img' + index"
:ref="'imgref' + index" :ref="'imgref' + index"
:src="item.path + '!1366x768'" :src="item.path + '!800x600'"
ref="picJpg" ref="picJpg"
/> />
<canvas <canvas
@ -444,549 +444,6 @@ export default {
// this.$set(this.formdata, "endtime", this.formdata.timeVal[1]); // this.$set(this.formdata, "endtime", this.formdata.timeVal[1]);
getRealtimePhoto(this.formdata) getRealtimePhoto(this.formdata)
.then((res) => { .then((res) => {
// this.picList = [
// {
// id: 2000898,
// termId: 10027,
// displayName: "XYIGQ10D221000100",
// lineId: 111,
// lineName: "线",
// towerId: 25,
// towerName: "XYIGQ10D221000100",
// channelId: 2,
// channnelName: "2",
// alias: null,
// presetId: 255,
// photoOrgId: 1697595617,
// path: "http://47.96.238.157/photos/2023/10/18/00/XYIGQ10D221000100_2_FF_20231018102017.jpg",
// alarmTime: "2023-10-18T02:20:17.000+00:00",
// label: 3,
// name: "WaJueJi",
// enname: "",
// prob: 84,
// x: 743,
// y: 141,
// width: 377,
// height: 465,
// photoWidth: 1920,
// photoHeight: 1080,
// isread: 0,
// },
// {
// id: 2000897,
// termId: 10027,
// displayName: "XYIGQ10D221000100",
// lineId: 111,
// lineName: "线",
// towerId: 25,
// towerName: "XYIGQ10D221000100",
// channelId: 1,
// channnelName: "1",
// alias: null,
// presetId: 255,
// photoOrgId: 1697595602,
// path: "http://47.96.238.157/photos/2023/10/18/00/XYIGQ10D221000100_1_FF_20231018102002.jpg",
// alarmTime: "2023-10-18T02:20:02.000+00:00",
// label: 3,
// name: "WaJueJi",
// enname: "",
// prob: 84,
// x: 624,
// y: 0,
// width: 433,
// height: 577,
// photoWidth: 1920,
// photoHeight: 1080,
// isread: 0,
// },
// {
// id: 2000896,
// termId: 10027,
// displayName: "XYIGQ10D221000100",
// lineId: 111,
// lineName: "线",
// towerId: 25,
// towerName: "XYIGQ10D221000100",
// channelId: 2,
// channnelName: "2",
// alias: null,
// presetId: 255,
// photoOrgId: 1697595017,
// path: "http://47.96.238.157/photos/2023/10/18/00/XYIGQ10D221000100_2_FF_20231018101017.jpg",
// alarmTime: "2023-10-18T02:10:17.000+00:00",
// label: 3,
// name: "WaJueJi",
// enname: "",
// prob: 84,
// x: 747,
// y: 141,
// width: 375,
// height: 465,
// photoWidth: 1920,
// photoHeight: 1080,
// isread: 0,
// },
// {
// id: 2000895,
// termId: 10027,
// displayName: "XYIGQ10D221000100",
// lineId: 111,
// lineName: "线",
// towerId: 25,
// towerName: "XYIGQ10D221000100",
// channelId: 1,
// channnelName: "1",
// alias: null,
// presetId: 255,
// photoOrgId: 1697595002,
// path: "http://47.96.238.157/photos/2023/10/18/00/XYIGQ10D221000100_1_FF_20231018101002.jpg",
// alarmTime: "2023-10-18T02:10:02.000+00:00",
// label: 3,
// name: "WaJueJi",
// enname: "",
// prob: 83,
// x: 624,
// y: 0,
// width: 433,
// height: 577,
// photoWidth: 1920,
// photoHeight: 1080,
// isread: 0,
// },
// {
// id: 2000894,
// termId: 10027,
// displayName: "XYIGQ10D221000100",
// lineId: 111,
// lineName: "线",
// towerId: 25,
// towerName: "XYIGQ10D221000100",
// channelId: 2,
// channnelName: "2",
// alias: null,
// presetId: 255,
// photoOrgId: 1697594416,
// path: "http://47.96.238.157/photos/2023/10/18/00/XYIGQ10D221000100_2_FF_20231018100016.jpg",
// alarmTime: "2023-10-18T02:00:16.000+00:00",
// label: 3,
// name: "WaJueJi",
// enname: "",
// prob: 84,
// x: 745,
// y: 143,
// width: 375,
// height: 462,
// photoWidth: 1920,
// photoHeight: 1080,
// isread: 1,
// },
// {
// id: 2000893,
// termId: 10027,
// displayName: "XYIGQ10D221000100",
// lineId: 111,
// lineName: "线",
// towerId: 25,
// towerName: "XYIGQ10D221000100",
// channelId: 1,
// channnelName: "1",
// alias: null,
// presetId: 255,
// photoOrgId: 1697594402,
// path: "http://47.96.238.157/photos/2023/10/18/00/XYIGQ10D221000100_1_FF_20231018100002.jpg",
// alarmTime: "2023-10-18T02:00:02.000+00:00",
// label: 3,
// name: "WaJueJi",
// enname: "",
// prob: 83,
// x: 624,
// y: 0,
// width: 435,
// height: 577,
// photoWidth: 1920,
// photoHeight: 1080,
// isread: 0,
// },
// {
// id: 2000892,
// termId: 10027,
// displayName: "XYIGQ10D221000100",
// lineId: 111,
// lineName: "线",
// towerId: 25,
// towerName: "XYIGQ10D221000100",
// channelId: 2,
// channnelName: "2",
// alias: null,
// presetId: 255,
// photoOrgId: 1697593815,
// path: "http://47.96.238.157/photos/2023/10/18/00/XYIGQ10D221000100_2_FF_20231018095015.jpg",
// alarmTime: "2023-10-18T01:50:15.000+00:00",
// label: 3,
// name: "WaJueJi",
// enname: "",
// prob: 85,
// x: 747,
// y: 141,
// width: 382,
// height: 465,
// photoWidth: 1920,
// photoHeight: 1080,
// isread: 0,
// },
// {
// id: 2000891,
// termId: 10027,
// displayName: "XYIGQ10D221000100",
// lineId: 111,
// lineName: "线",
// towerId: 25,
// towerName: "XYIGQ10D221000100",
// channelId: 1,
// channnelName: "1",
// alias: null,
// presetId: 255,
// photoOrgId: 1697593802,
// path: "http://47.96.238.157/photos/2023/10/18/00/XYIGQ10D221000100_1_FF_20231018095002.jpg",
// alarmTime: "2023-10-18T01:50:02.000+00:00",
// label: 3,
// name: "WaJueJi",
// enname: "",
// prob: 85,
// x: 622,
// y: 0,
// width: 438,
// height: 576,
// photoWidth: 1920,
// photoHeight: 1080,
// isread: 0,
// },
// {
// id: 2000890,
// termId: 10027,
// displayName: "XYIGQ10D221000100",
// lineId: 111,
// lineName: "线",
// towerId: 25,
// towerName: "XYIGQ10D221000100",
// channelId: 2,
// channnelName: "2",
// alias: null,
// presetId: 255,
// photoOrgId: 1697593218,
// path: "http://47.96.238.157/photos/2023/10/18/00/XYIGQ10D221000100_2_FF_20231018094018.jpg",
// alarmTime: "2023-10-18T01:40:18.000+00:00",
// label: 3,
// name: "WaJueJi",
// enname: "",
// prob: 85,
// x: 743,
// y: 140,
// width: 384,
// height: 466,
// photoWidth: 1920,
// photoHeight: 1080,
// isread: 1,
// },
// {
// id: 2000889,
// termId: 10027,
// displayName: "XYIGQ10D221000100",
// lineId: 111,
// lineName: "线",
// towerId: 25,
// towerName: "XYIGQ10D221000100",
// channelId: 1,
// channnelName: "1",
// alias: null,
// presetId: 255,
// photoOrgId: 1697593202,
// path: "http://47.96.238.157/photos/2023/10/18/00/XYIGQ10D221000100_1_FF_20231018094002.jpg",
// alarmTime: "2023-10-18T01:40:02.000+00:00",
// label: 3,
// name: "WaJueJi",
// enname: "",
// prob: 86,
// x: 622,
// y: 0,
// width: 435,
// height: 576,
// photoWidth: 1920,
// photoHeight: 1080,
// isread: 1,
// },
// {
// id: 2000887,
// termId: 10027,
// displayName: "XYIGQ10D221000100",
// lineId: 111,
// lineName: "线",
// towerId: 25,
// towerName: "XYIGQ10D221000100",
// channelId: 2,
// channnelName: "2",
// alias: null,
// presetId: 255,
// photoOrgId: 1697592550,
// path: "http://47.96.238.157/photos/2023/10/18/00/XYIGQ10D221000100_2_FF_20231018092910.jpg",
// alarmTime: "2023-10-18T01:29:10.000+00:00",
// label: 3,
// name: "WaJueJi",
// enname: "",
// prob: 69,
// x: 955,
// y: 131,
// width: 410,
// height: 589,
// photoWidth: 1920,
// photoHeight: 1080,
// isread: 1,
// },
// {
// id: 2000885,
// termId: 10027,
// displayName: "XYIGQ10D221000100",
// lineId: 111,
// lineName: "线",
// towerId: 25,
// towerName: "XYIGQ10D221000100",
// channelId: 2,
// channnelName: "2",
// alias: null,
// presetId: 255,
// photoOrgId: 1697591415,
// path: "http://47.96.238.157/photos/2023/10/18/00/XYIGQ10D221000100_2_FF_20231018091015.jpg",
// alarmTime: "2023-10-18T01:10:15.000+00:00",
// label: 3,
// name: "WaJueJi",
// enname: "",
// prob: 62,
// x: 764,
// y: 286,
// width: 953,
// height: 482,
// photoWidth: 1920,
// photoHeight: 1080,
// isread: 1,
// },
// {
// id: 2000884,
// termId: 10027,
// displayName: "XYIGQ10D221000100",
// lineId: 111,
// lineName: "线",
// towerId: 25,
// towerName: "XYIGQ10D221000100",
// channelId: 1,
// channnelName: "1",
// alias: null,
// presetId: 255,
// photoOrgId: 1697591402,
// path: "http://47.96.238.157/photos/2023/10/18/00/XYIGQ10D221000100_1_FF_20231018091002.jpg",
// alarmTime: "2023-10-18T01:10:02.000+00:00",
// label: 3,
// name: "WaJueJi",
// enname: "",
// prob: 70,
// x: 612,
// y: 199,
// width: 983,
// height: 602,
// photoWidth: 1920,
// photoHeight: 1080,
// isread: 0,
// },
// {
// id: 2000883,
// termId: 10027,
// displayName: "XYIGQ10D221000100",
// lineId: 111,
// lineName: "线",
// towerId: 25,
// towerName: "XYIGQ10D221000100",
// channelId: 2,
// channnelName: "2",
// alias: null,
// presetId: 255,
// photoOrgId: 1697590816,
// path: "http://47.96.238.157/photos/2023/10/18/00/XYIGQ10D221000100_2_FF_20231018090016.jpg",
// alarmTime: "2023-10-18T01:00:16.000+00:00",
// label: 3,
// name: "WaJueJi",
// enname: "",
// prob: 64,
// x: 753,
// y: 287,
// width: 977,
// height: 482,
// photoWidth: 1920,
// photoHeight: 1080,
// isread: 0,
// },
// {
// id: 2000882,
// termId: 10027,
// displayName: "XYIGQ10D221000100",
// lineId: 111,
// lineName: "线",
// towerId: 25,
// towerName: "XYIGQ10D221000100",
// channelId: 1,
// channnelName: "1",
// alias: null,
// presetId: 255,
// photoOrgId: 1697590802,
// path: "http://47.96.238.157/photos/2023/10/18/00/XYIGQ10D221000100_1_FF_20231018090002.jpg",
// alarmTime: "2023-10-18T01:00:02.000+00:00",
// label: 3,
// name: "WaJueJi",
// enname: "",
// prob: 74,
// x: 622,
// y: 199,
// width: 987,
// height: 604,
// photoWidth: 1920,
// photoHeight: 1080,
// isread: 0,
// },
// {
// id: 2000881,
// termId: 10027,
// displayName: "XYIGQ10D221000100",
// lineId: 111,
// lineName: "线",
// towerId: 25,
// towerName: "XYIGQ10D221000100",
// channelId: 2,
// channnelName: "2",
// alias: null,
// presetId: 255,
// photoOrgId: 1697590215,
// path: "http://47.96.238.157/photos/2023/10/18/00/XYIGQ10D221000100_2_FF_20231018085015.jpg",
// alarmTime: "2023-10-18T00:50:15.000+00:00",
// label: 3,
// name: "WaJueJi",
// enname: "",
// prob: 64,
// x: 779,
// y: 287,
// width: 942,
// height: 482,
// photoWidth: 1920,
// photoHeight: 1080,
// isread: 0,
// },
// {
// id: 2000880,
// termId: 10027,
// displayName: "XYIGQ10D221000100",
// lineId: 111,
// lineName: "线",
// towerId: 25,
// towerName: "XYIGQ10D221000100",
// channelId: 1,
// channnelName: "1",
// alias: null,
// presetId: 255,
// photoOrgId: 1697590202,
// path: "http://47.96.238.157/photos/2023/10/18/00/XYIGQ10D221000100_1_FF_20231018085002.jpg",
// alarmTime: "2023-10-18T00:50:02.000+00:00",
// label: 3,
// name: "WaJueJi",
// enname: "",
// prob: 71,
// x: 597,
// y: 199,
// width: 1082,
// height: 604,
// photoWidth: 1920,
// photoHeight: 1080,
// isread: 0,
// },
// {
// id: 2000878,
// termId: 10027,
// displayName: "XYIGQ10D221000100",
// lineId: 111,
// lineName: "线",
// towerId: 25,
// towerName: "XYIGQ10D221000100",
// channelId: 1,
// channnelName: "1",
// alias: null,
// presetId: 255,
// photoOrgId: 1697589602,
// path: "http://47.96.238.157/photos/2023/10/18/00/XYIGQ10D221000100_1_FF_20231018084002.jpg",
// alarmTime: "2023-10-18T00:40:02.000+00:00",
// label: 3,
// name: "WaJueJi",
// enname: "",
// prob: 70,
// x: 618,
// y: 201,
// width: 1292,
// height: 612,
// photoWidth: 1920,
// photoHeight: 1080,
// isread: 0,
// },
// {
// id: 2000876,
// termId: 10027,
// displayName: "XYIGQ10D221000100",
// lineId: 111,
// lineName: "线",
// towerId: 25,
// towerName: "XYIGQ10D221000100",
// channelId: 1,
// channnelName: "1",
// alias: null,
// presetId: 255,
// photoOrgId: 1697589002,
// path: "http://47.96.238.157/photos/2023/10/18/00/XYIGQ10D221000100_1_FF_20231018083002.jpg",
// alarmTime: "2023-10-18T00:30:02.000+00:00",
// label: 3,
// name: "WaJueJi",
// enname: "",
// prob: 68,
// x: 618,
// y: 200,
// width: 1290,
// height: 613,
// photoWidth: 1920,
// photoHeight: 1080,
// isread: 0,
// },
// {
// id: 2000874,
// termId: 10027,
// displayName: "XYIGQ10D221000100",
// lineId: 111,
// lineName: "线",
// towerId: 25,
// towerName: "XYIGQ10D221000100",
// channelId: 1,
// channnelName: "1",
// alias: null,
// presetId: 255,
// photoOrgId: 1697588402,
// path: "http://47.96.238.157/photos/2023/10/18/00/XYIGQ10D221000100_1_FF_20231018082002.jpg",
// alarmTime: "2023-10-18T00:20:02.000+00:00",
// label: 3,
// name: "WaJueJi",
// enname: "",
// prob: 65,
// x: 620,
// y: 200,
// width: 1286,
// height: 613,
// photoWidth: 1920,
// photoHeight: 1080,
// isread: 0,
// },
// ];
this.picList = res.data.list; this.picList = res.data.list;
this.alarmList = res.data.list.alarmlist; this.alarmList = res.data.list.alarmlist;
this.total = res.data.total; this.total = res.data.total;

Loading…
Cancel
Save