Commit c3831eff authored by lizhichao's avatar lizhichao

视频接入,巡检统计详情页面修改

parent 209860bb
......@@ -94,7 +94,7 @@ export default {
this.open();
},
open() {
this.queryParam.cameraIndexCode = "c3949900706942479d414998b4c2ee40";
this.queryParam.cameraIndexCode = this.deviceData.sbbh;
getPreviewURLs(this.queryParam).then((response) => {
if (response.data.code == "0") {
this.videoOpenNum++;
......
......@@ -434,13 +434,16 @@ export default {
.map((item) => {
let obj;
// 视频
if (item.mapDeviceType == 5) {
console.log(item,"item");
obj = {
latitude: item.latitude,
longitude: item.longitude,
deviceId: item.mapDeviceId,
shortNum: 10,
deviceType: item.mapDeviceType,
sbbh: item.mapDeviceNum,
title: item.mapDeviceName,
config: { scale: 1, textHeight: -32 },
};
......
......@@ -90,9 +90,9 @@
</el-row>
<el-table v-loading="loading" :data="settingList" @selection-change="handleSelectionChange">
<el-table-column width="180" label="巡检区域" align="center" prop="dictLabel" />
<el-table-column width="250" label="巡检地点" align="center" prop="patrolAddress" />
<el-table-column width="200" label="巡检区域" align="center" prop="dictLabel" />
<el-table-column width="600" label="巡检内容" align="center" prop="patrolComent" >
<el-table-column width="500" label="巡检内容" align="center" prop="patrolComent" >
<span slot-scope="scope" v-if="scope.row.patrolComent">{{scope.row.patrolComent}}</span>
<span v-else>-</span>
</el-table-column>
......@@ -106,7 +106,7 @@
<span slot-scope="scope" v-else-if="scope.row.isNormal==1">正常</span>
</el-table-column>
<el-table-column label="上报时间" align="center" prop="createTime" width="170" />
<el-table-column label="操作" align="center" width="200" class-name="small-padding fixed-width">
<el-table-column label="操作" align="center" width="80" class-name="small-padding fixed-width">
<template slot-scope="scope">
<el-button
size="mini"
......@@ -139,20 +139,23 @@
<!-- </el-dialog>-->
<el-dialog :title="title" :visible.sync="open" width="1100px" append-to-body>
<el-descriptions :model="form" :column="2" border>
<el-descriptions :model="form" :column="4" border>
<el-descriptions-item label="巡检区域">{{form.dictLabel}}</el-descriptions-item>
<el-descriptions-item :span="2" label="巡检地点" >{{form.patrolAddress}}</el-descriptions-item>
<el-descriptions-item :span="2" label="巡检内容">{{form.patrolComent}}</el-descriptions-item>
<el-descriptions-item label="巡检频次" >{{form.patrolFrequency}}</el-descriptions-item>
<el-descriptions-item :span="4" label="巡检内容">{{form.patrolComent}}</el-descriptions-item>
<el-descriptions-item label="巡检结果" >
<el-tag v-if="form.isNormal==0" size="danger">异常</el-tag>
<el-tag v-else-if="form.isNormal==1" size="small">正常</el-tag>
</el-descriptions-item>
<el-descriptions-item label="图片" >
<el-image size="small" :preview-src-list="srcList" :src="form.picture" ></el-image>
</el-descriptions-item>
<el-descriptions-item :span="4" label="上报人">{{form.nickName}}</el-descriptions-item>
<el-descriptions-item :span="2" label="上报时间">{{form.createTime}}</el-descriptions-item>
<el-descriptions-item label="上报人">{{form.nickName}}</el-descriptions-item>
<el-descriptions-item :span="4" label="图片" >
<el-image style="padding-left:10px" size="small" :preview-src-list="srcList" :src="form.picture" ></el-image>
</el-descriptions-item>
<el-descriptions-item label="备注">{{form.remarks}}</el-descriptions-item>
</el-descriptions>
<div slot="footer" class="dialog-footer">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment