监控修改

This commit is contained in:
2025-08-19 15:09:48 +08:00
parent ba344a503a
commit efe0e77a1d
4 changed files with 21 additions and 6 deletions

View File

@@ -120,6 +120,7 @@ export default {
this.pageType = options.pageType;
}
},
computed: {
warnInfoList() {
return [
@@ -134,7 +135,17 @@ export default {
];
}
},
created() {
this.loadDetail();
},
methods: {
async loadDetail() {
let res = await this.$u.api.getWarnDetail({}, this.warnInfo.id);
if (res.code == "200") {
}
this.loading = false;
},
// 处理文件列表变化
onListChange(list) {
this.selectedImages = list;
@@ -149,6 +160,7 @@ export default {
this.handleStatus = status;
this.showStatusPopup = false;
},
async submit() {
this.loading = true;
if (this.selectedImages.length <= 0) {

View File

@@ -1,6 +1,6 @@
<template>
<view>
<view v-if="node.children && node.children.length" class="tree-title" @click="toggle">
<view v-if="node.level ==1" class="tree-title" @click="toggle">
<text>{{ expanded ? '▼' : '▶' }} {{ node.title }}</text>
</view>

View File

@@ -47,12 +47,13 @@ export default {
methods: {
async getPlay() {
let params = {
"videoIp": this.detailItem.deviceIp,
"factoryNo":this.detailItem.factoryNo,
"account":this.detailItem.deviceAccount,
"pwd":this.detailItem.devicePwd,
"channelId":this.detailItem.channelNo
videoIp: this.detailItem.deviceIp,
factoryNo:this.detailItem.factoryNo,
account:this.detailItem.deviceAccount,
pwd:this.detailItem.devicePwd,
channelId:this.detailItem.channelNo
}
console.log("t1",params)
let res = await this.$u.api.getPlay(params);
if (res.code == 200) {
this.videoSrc = res.data.hls