From 639700c4bffa084dfe1822746f20449b50c53fa4 Mon Sep 17 00:00:00 2001
From: 龚焕茏 <2842157468@qq.com>
Date: 星期二, 20 八月 2024 16:57:55 +0800
Subject: [PATCH] feat:运行监控展示

---
 src/views/system/monitor/video/index.vue |   49 ++++++++++---------------------------------------
 1 files changed, 10 insertions(+), 39 deletions(-)

diff --git a/src/views/system/monitor/video/index.vue b/src/views/system/monitor/video/index.vue
index 06d7150..eb871e0 100644
--- a/src/views/system/monitor/video/index.vue
+++ b/src/views/system/monitor/video/index.vue
@@ -94,54 +94,25 @@
     </el-row>
 
     <el-table v-loading="loading" :data="monitorList" @selection-change="handleSelectionChange">
-      <el-table-column type="selection" align="center" />
       <el-table-column label="璁惧鍚嶇О" align="center" prop="name" width="280" fixed show-overflow-tooltip/>
-      <el-table-column label="璁惧缂栫爜" align="center" prop="serialNumber" width="180" show-overflow-tooltip/>
-      <el-table-column label="鏍囩" align="center" prop="publicSecurity" width="180" v-if="columns[0].visible">
+      <el-table-column label="璁惧缂栫爜" align="center" prop="serialNumber" width="180" />
+      <el-table-column label="鏍囩" align="center" width="180" v-if="columns[0].visible">
         <template slot-scope="scope">
-          <div>{{"鐪佸巺"}}</div>
+          <div>{{ scope.row.provinceTag == 0 ? "鐪佸巺" : "甯傚眬" }}</div>
         </template>
       </el-table-column>
-      <el-table-column label="鍖哄煙" align="center" prop="address" width="180" v-if="columns[1].visible">
-        <template slot-scope="scope">
-          <div>{{"鑷祦浜曞尯"}}</div>
-        </template>
-      </el-table-column>
+      <el-table-column label="鍖哄煙" align="center" prop="area" width="180" v-if="columns[1].visible" />
       <el-table-column label="璁惧鐘舵��" align="center" prop="onState" v-if="columns[2].visible">
       <template slot-scope="scope">
         <dict-tag :options="dict.type.camera_state" :value="scope.row.onState"/>
       </template>
       </el-table-column>
-      <el-table-column label="鏄惁鐢熸垚寮傚父宸ュ崟" align="center" prop="defaultOrder" width="180" v-if="columns[3].visible">
-      <template slot-scope="scope">
-        <dict-tag :options="dict.type.platform_yes_no" :value="scope.row.defaultOrder"/>
-      </template>
-      </el-table-column>
-      <el-table-column label="鏁版嵁鏃堕棿" align="center" prop="installedTime" width="180" v-if="columns[4].visible">
-        <template slot-scope="scope">
-          <div>{{"2023骞�08鏈�03鏃�"}}</div>
-        </template>
-      </el-table-column>
-      <el-table-column label="绠$悊鍗曚綅" align="center" prop="managementUnit" width="180" v-if="columns[5].visible">
-        <template slot-scope="scope">
-          <div>{{"杩愮淮鍏徃鐢�"}}</div>
-        </template>
-      </el-table-column>
-      <el-table-column label="淇′护鏃跺欢(ms)" align="center" prop="sipDelay" width="180" v-if="columns[6].visible">
-        <template slot-scope="scope">
-          <div>{{"100"}}</div>
-        </template>
-      </el-table-column>
-      <el-table-column label="瑙嗛鏃跺欢(ms)" align="center" prop="videoDelay" width="180" v-if="columns[7].visible">
-        <template slot-scope="scope">
-          <div>{{"200"}}</div>
-        </template>
-      </el-table-column>
-      <el-table-column label="鍏抽敭甯ф椂寤�(ms)" align="center" prop="ifmDelay" width="180" v-if="columns[8].visible">
-        <template slot-scope="scope">
-          <div>{{"300"}}</div>
-        </template>
-      </el-table-column>
+      <el-table-column label="鏄惁鐢熸垚寮傚父宸ュ崟" align="center" prop="error" width="180" v-if="columns[3].visible" />
+      <el-table-column label="鏁版嵁鏃堕棿" align="center" prop="mongoCreateTime" width="180" v-if="columns[4].visible" />
+      <el-table-column label="绠$悊鍗曚綅" align="center" prop="unitName" width="180" v-if="columns[5].visible" />
+      <el-table-column label="淇′护鏃跺欢(ms)" align="center" prop="sipDelay" width="180" v-if="columns[6].visible" />
+      <el-table-column label="瑙嗛鏃跺欢(ms)" align="center" prop="videoDelay" width="180" v-if="columns[7].visible" />
+      <el-table-column label="鍏抽敭甯ф椂寤�(ms)" align="center" prop="ifmDelay" width="180" v-if="columns[8].visible" />
       <el-table-column label="鎿嶄綔" align="center" class-name="small-padding fixed-width"  fixed="right">
           <template slot-scope="scope">
             <el-button

--
Gitblit v1.8.0