重点安全工程管理视频数量显示在线视频数量

pet_li_6.6
limingyu 2024-04-29 11:50:37 +08:00
parent c1125a06c7
commit 327eb851fc
4 changed files with 15 additions and 5 deletions

View File

@ -68,7 +68,11 @@
<el-table-column v-if="otherShow" prop="HIDDEN_COUNT" label="发现隐患数量" /> <el-table-column v-if="otherShow" prop="HIDDEN_COUNT" label="发现隐患数量" />
<el-table-column v-if="otherShow" prop="PUNISH_COUNT" label="违约处罚次数" /> <el-table-column v-if="otherShow" prop="PUNISH_COUNT" label="违约处罚次数" />
<el-table-column v-if="otherShow" prop="AMOUT_SUM" label="违约处罚金额(元)" /> <el-table-column v-if="otherShow" prop="AMOUT_SUM" label="违约处罚金额(元)" />
<el-table-column v-if="otherShow" prop="VIDEO_COUNT" label="包含视频监控数" /> <el-table-column v-if="otherShow" prop="VIDEO_COUNT" label="包含视频监控数(在线视频数)" width="200">
<template slot-scope="{row}">
<span>{{ row.VIDEO_COUNT }} (0)</span>
</template>
</el-table-column>
<el-table-column label="操作" align="center" width="100"> <el-table-column label="操作" align="center" width="100">
<template slot-scope="{row}"> <template slot-scope="{row}">
<el-button type="success" icon="el-icon-view" size="mini" @click="goDetail(row.CORPINFO_ID)"></el-button> <el-button type="success" icon="el-icon-view" size="mini" @click="goDetail(row.CORPINFO_ID)"></el-button>

View File

@ -40,11 +40,11 @@
</div> </div>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="消防点位数" align="center"> <el-table-column label="消防点位数(已标点数)" align="center">
<template slot-scope="{row}"> <template slot-scope="{row}">
<div class="link-type" @click="goControlRoomInfo({CORPINFO_ID:row.CORPINFO_ID,TYPE:'FirePoint'})"> <div class="link-type" @click="goControlRoomInfo({CORPINFO_ID:row.CORPINFO_ID,TYPE:'FirePoint'})" style="display: inline-block">
{{ row.xiaoFangDianWeiNum }} {{ row.xiaoFangDianWeiNum }}
</div> </div>({{ row.xiaoFangDianWeiBiaoDianNum }})
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="消防器材数" align="center"> <el-table-column label="消防器材数" align="center">

View File

@ -145,12 +145,13 @@
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="OUTSOURCED_CREATOR_NAME" label="创建人" show-overflow-tooltip /> <el-table-column prop="OUTSOURCED_CREATOR_NAME" label="创建人" show-overflow-tooltip />
<el-table-column label="视频数量" show-overflow-tooltip> <el-table-column label="视频数量(在线数)" show-overflow-tooltip width="150">
<template slot-scope="{row}"> <template slot-scope="{row}">
<span v-if="row.VIDEO_COUNT != 0"> <span v-if="row.VIDEO_COUNT != 0">
<a style="color: #1e9fff;text-decoration:underline" @click="clickVideoDetail(row.OUTSOURCED_ID)">{{ row.VIDEO_COUNT }}</a> <a style="color: #1e9fff;text-decoration:underline" @click="clickVideoDetail(row.OUTSOURCED_ID)">{{ row.VIDEO_COUNT }}</a>
</span> </span>
<span v-else>{{ row.VIDEO_COUNT }}</span> <span v-else>{{ row.VIDEO_COUNT }}</span>
<span>({{ row.VIDEO_ONLINE_COUNT }})</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="操作" align="center" width="400"> <el-table-column label="操作" align="center" width="400">

View File

@ -50,6 +50,11 @@
<span v-else></span> <span v-else></span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="ONLINE_STATUS" label="是否在线" width="100">
<template slot-scope="{row}">
<span>{{ row.ONLINE_STATUS }}</span>
</template>
</el-table-column>
<el-table-column label="操作" align="left" width="500"> <el-table-column label="操作" align="left" width="500">
<template slot-scope="{row}"> <template slot-scope="{row}">
<el-button :disabled="STATE == 2" type="success" icon="el-icon-caret-right" size="mini" @click="showVideo(row)"></el-button> <el-button :disabled="STATE == 2" type="success" icon="el-icon-caret-right" size="mini" @click="showVideo(row)"></el-button>