From 65af8143f89d2de87bd6d9ba9bd5a08b034f6b09 Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期二, 20 八月 2024 17:46:32 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- src/views/system/monitor/recovery/index.vue | 21 +++--- src/views/system/monitor/video/index.vue | 53 ++++------------- src/views/system/monitor/face/index.vue | 27 ++++---- src/views/system/monitor/car/index.vue | 25 ++++---- src/views/system/monitor/platform/index.vue | 4 5 files changed, 49 insertions(+), 81 deletions(-) diff --git a/src/views/system/monitor/car/index.vue b/src/views/system/monitor/car/index.vue index d9a3556..60604c5 100644 --- a/src/views/system/monitor/car/index.vue +++ b/src/views/system/monitor/car/index.vue @@ -78,7 +78,7 @@ </el-form> <el-row :gutter="10" class="mb8"> - <el-col :span="1.5"> + <!-- <el-col :span="1.5"> <el-button type="warning" plain @@ -87,30 +87,29 @@ @click="handleExport" v-hasPermi="['system:monitor:export']" >瀵煎嚭</el-button> - </el-col> + </el-col> --> <right-toolbar :showSearch.sync="showSearch" @queryTable="getList" :columns="columns"></right-toolbar> </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"/> - <el-table-column label="鏍囩" align="center" prop="publicSecurity" width="180" v-if="columns[0].visible"/> - <el-table-column label="鍖哄煙" align="center" prop="address" width="180" v-if="columns[1].visible"/> + <el-table-column label="鏍囩" align="center" width="180" v-if="columns[0].visible"> + <template slot-scope="scope"> + <div>{{ scope.row.provinceTag == 0 ? "鐪佸巺" : "甯傚眬" }}</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"/> - <el-table-column label="绠$悊鍗曚綅" align="center" prop="managementUnit" width="180" v-if="columns[5].visible"/> + <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="褰撴棩鎶撴媿閲�" align="center" prop="dataCount" width="180" v-if="columns[6].visible"/> - <el-table-column label="鏃堕挓鍑嗙‘鐜�" align="center" prop="a" width="180" v-if="columns[7].visible"/> + <el-table-column label="鏃堕挓鍑嗙‘鐜�" align="center" prop="clockPercent" width="180" v-if="columns[7].visible"/> <el-table-column label="澶у浘鍙敤鐜�" align="center" prop="bigUsefulPercent" width="180" v-if="columns[8].visible"/> <el-table-column label="涓昏灞炴�т竴鑷寸巼" align="center" prop="majorConPercent" width="180" v-if="columns[9].visible"/> <el-table-column label="閲嶈灞炴�т竴鑷寸巼" align="center" prop="importantConPercent" width="180" v-if="columns[10].visible"/> diff --git a/src/views/system/monitor/face/index.vue b/src/views/system/monitor/face/index.vue index 58546c8..2beba5d 100644 --- a/src/views/system/monitor/face/index.vue +++ b/src/views/system/monitor/face/index.vue @@ -77,7 +77,7 @@ </el-form> <el-row :gutter="10" class="mb8"> - <el-col :span="1.5"> + <!-- <el-col :span="1.5"> <el-button type="warning" plain @@ -86,30 +86,29 @@ @click="handleExport" v-hasPermi="['system:monitor:export']" >瀵煎嚭</el-button> - </el-col> + </el-col> --> <right-toolbar :showSearch.sync="showSearch" @queryTable="getList" :columns="columns"></right-toolbar> </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"/> - <el-table-column label="鏍囩" align="center" prop="publicSecurity" width="180" v-if="columns[0].visible"/> - <el-table-column label="鍖哄煙" align="center" prop="address" width="180" v-if="columns[1].visible"/> + <el-table-column label="鏍囩" align="center" width="180" v-if="columns[0].visible"> + <template slot-scope="scope"> + <div>{{ scope.row.provinceTag == 0 ? "鐪佸巺" : "甯傚眬" }}</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"/> - <el-table-column label="绠$悊鍗曚綅" align="center" prop="managementUnit" width="180" v-if="columns[5].visible"/> - <el-table-column label="鎶撴媿閲�" align="center" prop="clockPercent" width="180" v-if="columns[6].visible"/> - <el-table-column label="鏃堕挓鍑嗙‘鐜�" align="center" prop="dataCount" width="180" v-if="columns[7].visible"/> + <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="鎶撴媿閲�" align="center" prop="dataCount" width="180" v-if="columns[6].visible"/> + <el-table-column label="鏃堕挓鍑嗙‘鐜�" align="center" prop="clockPercent" width="180" v-if="columns[7].visible"/> <el-table-column label="澶у浘鍙敤鐜�" align="center" prop="bigUsefulPercent" width="180" v-if="columns[8].visible"/> <el-table-column label="浜鸿劯鍚堟牸鐜�" align="center" prop="faceEligPercent" width="180" v-if="columns[9].visible"/> <el-table-column label="鎿嶄綔" align="center" class-name="small-padding fixed-width" fixed="right"> diff --git a/src/views/system/monitor/platform/index.vue b/src/views/system/monitor/platform/index.vue index 8c52ec6..39950ec 100644 --- a/src/views/system/monitor/platform/index.vue +++ b/src/views/system/monitor/platform/index.vue @@ -98,14 +98,14 @@ >鍒犻櫎</el-button> </el-col> --> <el-col :span="1.5"> - <el-button + <!-- <el-button type="warning" plain icon="el-icon-download" size="mini" @click="handleExport" v-hasPermi="['platform:platform:export']" - >瀵煎嚭</el-button> + >瀵煎嚭</el-button> --> </el-col> <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar> </el-row> diff --git a/src/views/system/monitor/recovery/index.vue b/src/views/system/monitor/recovery/index.vue index a641361..cd2018d 100644 --- a/src/views/system/monitor/recovery/index.vue +++ b/src/views/system/monitor/recovery/index.vue @@ -74,7 +74,7 @@ </el-form> <el-row :gutter="10" class="mb8"> - <el-col :span="1.5"> + <!-- <el-col :span="1.5"> <el-button type="warning" plain @@ -82,30 +82,29 @@ size="mini" @click="handleExport" >瀵煎嚭</el-button> - </el-col> + </el-col> --> <right-toolbar :showSearch.sync="showSearch" @queryTable="getList" :columns="columns"></right-toolbar> </el-row> <el-table v-loading="loading" :data="monitorList" @selection-change="handleSelectionChange"> - <el-table-column type="selection" width="55" align="center" /> <el-table-column label="璁惧鍚嶇О" align="center" prop="name" /> <el-table-column label="璁惧缂栫爜" align="center" prop="serialNumber" width="180px" /> - <el-table-column label="鏍囩" align="center" prop="publicSecurity" v-if="columns[0].visible" /> - <el-table-column label="鍖哄煙" align="center" prop="address" v-if="columns[1].visible"/> + <el-table-column label="鏍囩" align="center" v-if="columns[0].visible"> + <template slot-scope="scope"> + <div>{{ scope.row.provinceTag == 0 ? "鐪佸巺" : "甯傚眬" }}</div> + </template> + </el-table-column> + <el-table-column label="鍖哄煙" align="center" prop="area" 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" 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="error" v-if="columns[3].visible" /> <el-table-column label="寮傚父鍘熷洜" align="center" prop="reason" v-if="columns[4].visible" /> <el-table-column label="寮傚父鎭㈠鏃堕棿" align="center" prop="recoveryTime" width="180" v-if="columns[5].visible"> </el-table-column> - <el-table-column label="绠$悊鍗曚綅" align="center" prop="managementUnit" v-if="columns[6].visible" /> + <el-table-column label="绠$悊鍗曚綅" align="center" prop="unitName" v-if="columns[6].visible" /> <el-table-column label="鎿嶄綔" align="center" class-name="small-padding fixed-width"> <template slot-scope="scope"> <el-button diff --git a/src/views/system/monitor/video/index.vue b/src/views/system/monitor/video/index.vue index 06d7150..f94d070 100644 --- a/src/views/system/monitor/video/index.vue +++ b/src/views/system/monitor/video/index.vue @@ -80,7 +80,7 @@ </el-form> <el-row :gutter="10" class="mb8"> - <el-col :span="1.5"> + <!-- <el-col :span="1.5"> <el-button type="warning" plain @@ -89,59 +89,30 @@ @click="handleExport" v-hasPermi="['system:monitor:export']" >瀵煎嚭</el-button> - </el-col> + </el-col> --> <right-toolbar :showSearch.sync="showSearch" @queryTable="getList" :columns="columns"></right-toolbar> </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