From f11195779ab58206b5011a92dbdde7f6c44ed283 Mon Sep 17 00:00:00 2001 From: fuliqi <fuliqi@qq.com> Date: 星期一, 19 八月 2024 17:36:16 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- src/api/platform/platform.js | 73 src/views/system/data-manage/data-detail/list.js | 3265 +++++++++++++++++++++++++++++++++----------------- src/views/system/monitor/video/index.vue | 1 src/views/system/data-manage/data-detail/index.vue | 33 src/views/system/data-manage/index.vue | 10 src/views/system/platform/index.vue | 265 ++++ src/views/system/data-manage/equipment/index.vue | 40 src/components/RightToolbar/index.vue | 75 + src/api/platform/dynamicColumn.js | 35 9 files changed, 2,640 insertions(+), 1,157 deletions(-) diff --git a/src/api/platform/dynamicColumn.js b/src/api/platform/dynamicColumn.js new file mode 100644 index 0000000..b5464f3 --- /dev/null +++ b/src/api/platform/dynamicColumn.js @@ -0,0 +1,35 @@ +import axios from '@/utils/request'; + +// 鑾峰彇鍔ㄦ�佸垪鍒楄〃 +export const getDynamicColumnList = () => { + return axios({ + url: "/api/dynamic-column/list", + method: "GET" + }) +} + +// 閫氳繃id鍒犻櫎鍔ㄦ�佸垪 +export const deleteDynamicColumnById = (params) => { + return axios({ + url: "/api/dynamic-column/" + params, + method: "DELETE" + }) +} + +// 淇敼鍔ㄦ�佸垪 +export const editDynamicColumn = (data) => { + return axios({ + url: "/api/dynamic-column", + method: "PUT", + data: data + }) +} + +// 娣诲姞鍔ㄦ�佸垪 +export const addDynamicColumn = (params) => { + return axios({ + url: "/api/dynamic-column", + method: "POST", + data: params + }) +} diff --git a/src/api/platform/platform.js b/src/api/platform/platform.js index 5fe4eb7..3c1737b 100644 --- a/src/api/platform/platform.js +++ b/src/api/platform/platform.js @@ -1,44 +1,61 @@ -import request from '@/utils/request' +import axios from '@/utils/request' -// 鏌ヨ骞冲彴杩愯鐩戞帶鍒楄〃 -export function listPlatform(query) { - return request({ - url: '/platform/platformMonitor/list', - method: 'get', - params: query +// 鑾峰彇骞冲彴杩愯鐩戞帶鍒嗛〉 +export const getPlatforms = (params) => { + return axios({ + url: "/platform/page", + method: "GET", + params: params }) } -// 鏌ヨ骞冲彴杩愯鐩戞帶璇︾粏 -export function getPlatform(id) { - return request({ - url: '/platform/platformMonitor/' + id, - method: 'get' +// 鑾峰彇骞冲彴杩愯鐩戞帶鍒楄〃 +export const getPlatformList = () => { + return axios({ + url: "/platform/list", + method: "GET" }) } -// 鏂板骞冲彴杩愯鐩戞帶 -export function addPlatform(data) { - return request({ - url: '/platform/platformMonitor', - method: 'post', - data: data +// 閫氳繃id鑾峰彇骞冲彴杩愯鐩戞帶 +export const getPlatformById = (params) => { + return axios({ + url: "/platform/" + params, + method: "GET" + }) +} + +// 閫氳繃id鍒犻櫎骞冲彴杩愯鐩戞帶 +export const deletePlatformById = (params) => { + return axios({ + url: "/platform/" + params, + method: "DELETE" + }) +} + +// 鎵归噺鍒犻櫎骞冲彴杩愯鐩戞帶 +export const deletePlatformByIds = (params) => { + return axios({ + url: "/platform/batch", + method: "DELETE", + data: params }) } // 淇敼骞冲彴杩愯鐩戞帶 -export function updatePlatform(data) { - return request({ - url: '/platform/platformMonitor', - method: 'put', - data: data +export const editPlatform = (params) => { + return axios({ + url: "/platform", + method: "PUT", + data: params }) } -// 鍒犻櫎骞冲彴杩愯鐩戞帶 -export function delPlatform(id) { - return request({ - url: '/platform/platformMonitor/' + id, - method: 'delete' +// 娣诲姞骞冲彴杩愯鐩戞帶 +export const addPlatform = (params) => { + return axios({ + url: "/platform", + method: "POST", + data: params }) } diff --git a/src/components/RightToolbar/index.vue b/src/components/RightToolbar/index.vue index 67da293..8a1b609 100644 --- a/src/components/RightToolbar/index.vue +++ b/src/components/RightToolbar/index.vue @@ -7,6 +7,9 @@ <el-tooltip class="item" effect="dark" content="鍒锋柊" placement="top"> <el-button size="mini" circle icon="el-icon-refresh" @click="refresh()" /> </el-tooltip> + <el-tooltip class="item" effect="dark" content="鑷畾涔夊垪" placement="top"> + <el-button size="mini" circle icon="el-icon-collection-tag" @click="addDynamicColumn()" /> + </el-tooltip> <el-tooltip class="item" effect="dark" content="鏄鹃殣鍒�" placement="top" v-if="columns"> <el-button size="mini" circle icon="el-icon-menu" @click="showColumn()" v-if="showColumnsType == 'transfer'"/> <el-dropdown trigger="click" :hide-on-click="false" style="padding-left: 12px" v-if="showColumnsType == 'checkbox'"> @@ -29,13 +32,45 @@ @change="dataChange" ></el-transfer> </el-dialog> + + + <el-dialog + title="娣诲姞鍔ㄦ�佸垪" + :visible.sync="showDynamicColumn" + width="500px" + :before-close="dynamicColumnClose"> + <div> + <div style="margin-bottom: 8px"> + <el-button style="float: right" type="primary" @click="addColumn" size="small">鏂板涓�鏉�</el-button> + </div> + <div v-for="(dynamicColumn, index) in dynamicColumnList" :key="index"> + <el-form :inline="true" size="small"> + <el-form-item label="鍒楀悕" prop="labelValue"> + <div style="display: flex; flex-direction: row"> + <el-input v-model="dynamicColumn.labelValue"></el-input> + <el-button style="margin-left: 8px" type="danger" @click="delColumn(dynamicColumn.id, index)">鍒犻櫎</el-button> + </div> + </el-form-item> + </el-form> + </div> + </div> + + <span slot="footer" class="dialog-footer"> + <el-button size="small" @click="dynamicColumnClose">鍙� 娑�</el-button> + <el-button type="primary" size="small" :disabled="!dynamicColumnList || dynamicColumnList.length < 1" @click="saveColumns">淇� 瀛�</el-button> + </span> + </el-dialog> + </div> </template> <script> +import { addDynamicColumn, deleteDynamicColumnById, editDynamicColumn, getDynamicColumnList } from '@/api/platform/dynamicColumn' export default { name: "RightToolbar", data() { return { + dynamicColumnList: [], + showDynamicColumn: false, // 鏄鹃殣鏁版嵁 value: [], // 寮瑰嚭灞傛爣棰� @@ -80,6 +115,7 @@ } }, created() { + this.getDyColumn() if (this.showColumnsType == 'transfer') { // 鏄鹃殣鍒楀垵濮嬮粯璁ら殣钘忓垪 for (let item in this.columns) { @@ -90,6 +126,45 @@ } }, methods: { + getDyColumn() { + if (this.$route.path.concat("equipment")) { + // 鏌ヨ鍔ㄦ�佸垪 + let params = { + tableName: 't_monitor' + } + getDynamicColumnList(params).then(res => { + this.dynamicColumnList = res.data + }) + } + }, + addDynamicColumn() { + this.showDynamicColumn = true + }, + saveColumns() { + editDynamicColumn(this.dynamicColumnList).then(res => { + this.$message.success("淇濆瓨鎴愬姛") + this.showDynamicColumn = false + }) + }, + addColumn() { + this.dynamicColumnList.push({ + id: null, + labelValue: '' + }) + }, + delColumn(id, index) { + if (! id) { + this.dynamicColumnList.splice(index, 1) + return + } + deleteDynamicColumnById(id).then(res => { + this.$message.success("鍒犻櫎鎴愬姛") + this.getDyColumn(); + }) + }, + dynamicColumnClose() { + this.showDynamicColumn = false + }, // 鎼滅储 toggleSearch() { this.$emit("update:showSearch", !this.showSearch); diff --git a/src/views/system/data-manage/data-detail/index.vue b/src/views/system/data-manage/data-detail/index.vue index d8e6eae..fd1f243 100644 --- a/src/views/system/data-manage/data-detail/index.vue +++ b/src/views/system/data-manage/data-detail/index.vue @@ -2,22 +2,22 @@ <div class="app-container"> <el-card class="box-card"> <el-row style="display: flex; flex-direction: row; align-items: center" justify="space-between"> - <div v-for="card in cardList" style="display: flex;flex-direction: row; margin-right: 50px"> - <div> - <div class="icon-container"> - <i :class="card.icon"></i> - </div> - </div> - <div v-for="data in card.dataList" class="dashboard-item"> - <div style="color: #5C9BF8;margin-bottom: 20px;font-size: 20px">{{ data.value }}</div> - <div>{{data.label}}</div> + <div v-for="card in cardList" style="display: flex;flex-direction: row; margin-right: 50px"> + <div> + <div class="icon-container"> + <i :class="card.icon"></i> </div> </div> -<!-- <el-col :span="1">--> -<!-- <div class="dashboard-item">--> -<!-- <div style="width: 1px;height: 55px;border: 1px solid #D7EBFA;margin: 20px;"></div>--> -<!-- </div>--> -<!-- </el-col>--> + <div v-for="data in card.dataList" class="dashboard-item"> + <div style="color: #5C9BF8;margin-bottom: 20px;font-size: 20px">{{ data.value }}</div> + <div>{{ data.label }}</div> + </div> + </div> + <!-- <el-col :span="1">--> + <!-- <div class="dashboard-item">--> + <!-- <div style="width: 1px;height: 55px;border: 1px solid #D7EBFA;margin: 20px;"></div>--> + <!-- </div>--> + <!-- </el-col>--> <el-col :span="8"></el-col> </el-row> </el-card> @@ -57,10 +57,7 @@ </el-row> <el-table v-loading="loading" :data="platformList" @selection-change="handleSelectionChange"> - <template v-for="(item, index) in tableHead"> - <el-table-column :key="item.name" :prop="item.prop" :label="item.label"> - </el-table-column> - </template> + <el-table-column :prop="item.prop" :label="item.label" v-for="(item, index) in tableHead" :key="index" /> <el-table-column label="鎿嶄綔" align="center" class-name="small-padding fixed-width"> <template slot-scope="scope"> diff --git a/src/views/system/data-manage/data-detail/list.js b/src/views/system/data-manage/data-detail/list.js index 47e9481..987c208 100644 --- a/src/views/system/data-manage/data-detail/list.js +++ b/src/views/system/data-manage/data-detail/list.js @@ -64,60 +64,265 @@ index: 'monitor_qualification', columns: [ { - label: '璁惧缂栫爜', - align: 'center', - prop: 'serialNumber.showValue', + "label": "琛屾斂缂栫爜", + "align": "center", + "prop": "civilCode.value" }, { - label: '璁惧鍚嶇О', - align: 'center', - prop: 'name.showValue' + "label": "鏄惁閿欒", + "align": "center", + "prop": "civilCode.error" }, { - label: '璁惧鐘舵��', - align: 'center', - prop: 'sbzt.showValue' + "label": "閿欒淇℃伅", + "align": "center", + "prop": "civilCode.errorMessage" }, { - label: 'Mac鍦板潃', - align: 'center', - prop: 'macdz.showValue' + "label": "灞曠ず鍊�", + "align": "center", + "prop": "civilCode.showValue" }, { - label: 'IPV4/IPV6', - align: 'center', - prop: 'ip.showValue' + "label": "鏄惁闆嗘垚璁惧", + "align": "center", + "prop": "integrated_device.value" }, { - label: '鐩戞帶鐐逛綅绫诲瀷', - align: 'center', - prop: 'jkdwlx.showValue' + "label": "闆嗘垚璁惧鏄惁閿欒", + "align": "center", + "prop": "integrated_device.error" }, { - label: '鎽勫儚鏈哄姛鑳界被鍨�', - align: 'center', - prop: 'sxjgnlx.showValue' + "label": "闆嗘垚璁惧閿欒淇℃伅", + "align": "center", + "prop": "integrated_device.errorMessage" }, { - label: '琛屾斂缂栫爜', - align: 'center', - prop: 'civilCode.showValue' + "label": "闆嗘垚璁惧灞曠ず鍊�", + "align": "center", + "prop": "integrated_device.showValue" }, { - label: '缁忓害', - align: 'center', - prop: 'latitude.showValue' + "label": "IP鍦板潃灞曠ず鍊�", + "align": "center", + "prop": "ip.showValue" }, { - label: '绾害', - align: 'center', - prop: 'longitude.showValue' + "label": "IP鍦板潃瀹為檯鍊�", + "align": "center", + "prop": "ip.value" }, { - label: '鎽勫儚鏈洪噰闆嗗尯鍩�', - align: 'center', - prop: 'sxjcjqy.showValue' + "label": "IP鍦板潃鏄惁鏈夎", + "align": "center", + "prop": "ip.error" }, + { + "label": "IP鍦板潃閿欒淇℃伅", + "align": "center", + "prop": "ip.errorMessage" + }, + { + "label": "鐩戞帶鐐逛綅绫诲瀷灞曠ず鍊�", + "align": "center", + "prop": "jkdwlx.showValue" + }, + { + "label": "鐩戞帶鐐逛綅绫诲瀷瀹為檯鍊�", + "align": "center", + "prop": "jkdwlx.value" + }, + { + "label": "鐩戞帶鐐逛綅绫诲瀷鏄惁鏈夎", + "align": "center", + "prop": "jkdwlx.error" + }, + { + "label": "鐩戞帶鐐逛綅绫诲瀷閿欒淇℃伅", + "align": "center", + "prop": "jkdwlx.errorMessage" + }, + { + "label": "绾害灞曠ず鍊�", + "align": "center", + "prop": "latitude.showValue" + }, + { + "label": "绾害瀹為檯鍊�", + "align": "center", + "prop": "latitude.value" + }, + { + "label": "绾害鏄惁鏈夎", + "align": "center", + "prop": "latitude.error" + }, + { + "label": "绾害閿欒淇℃伅", + "align": "center", + "prop": "latitude.errorMessage" + }, + { + "label": "缁忓害灞曠ず鍊�", + "align": "center", + "prop": "longitude.showValue" + }, + { + "label": "缁忓害瀹為檯鍊�", + "align": "center", + "prop": "longitude.value" + }, + { + "label": "缁忓害鏄惁鏈夎", + "align": "center", + "prop": "longitude.error" + }, + { + "label": "缁忓害閿欒淇℃伅", + "align": "center", + "prop": "longitude.errorMessage" + }, + { + "label": "mac鍦板潃灞曠ず鍊�", + "align": "center", + "prop": "macdz.showValue" + }, + { + "label": "mac鍦板潃瀹為檯鍊�", + "align": "center", + "prop": "macdz.value" + }, + { + "label": "mac鍦板潃鏄惁鏈夎", + "align": "center", + "prop": "macdz.error" + }, + { + "label": "mac鍦板潃閿欒淇℃伅", + "align": "center", + "prop": "macdz.errorMessage" + }, + { + "label": "璁惧鍚嶅睍绀哄��", + "align": "center", + "prop": "name.showValue" + }, + { + "label": "璁惧鍚嶅疄闄呭��", + "align": "center", + "prop": "name.value" + }, + { + "label": "璁惧鍚嶆槸鍚︽湁璇�", + "align": "center", + "prop": "name.error" + }, + { + "label": "璁惧鍚嶉敊璇俊鎭�", + "align": "center", + "prop": "name.errorMessage" + }, + { + "label": "璁惧鐘舵�佸睍绀哄��", + "align": "center", + "prop": "sbzt.showValue" + }, + { + "label": "璁惧鐘舵�佸疄闄呭��", + "align": "center", + "prop": "sbzt.value" + }, + { + "label": "璁惧鐘舵�佹槸鍚︽湁璇�", + "align": "center", + "prop": "sbzt.error" + }, + { + "label": "璁惧鐘舵�侀敊璇俊鎭�", + "align": "center", + "prop": "sbzt.errorMessage" + }, + { + "label": "璁惧缂栫爜灞曠ず鍊�", + "align": "center", + "prop": "serialNumber.showValue" + }, + { + "label": "璁惧缂栫爜瀹為檯鍊�", + "align": "center", + "prop": "serialNumber.value" + }, + { + "label": "璁惧缂栫爜鏄惁鏈夎", + "align": "center", + "prop": "serialNumber.error" + }, + { + "label": "璁惧缂栫爜閿欒淇℃伅", + "align": "center", + "prop": "serialNumber.errorMessage" + }, + { + "label": "鎽勫儚鏈洪噰闆嗗尯鍩熷睍绀哄��", + "align": "center", + "prop": "sxjcjqy.showValue" + }, + { + "label": "鎽勫儚鏈洪噰闆嗗尯鍩熷疄闄呭��", + "align": "center", + "prop": "sxjcjqy.value" + }, + { + "label": "鎽勫儚鏈洪噰闆嗗尯鍩熸槸鍚︽湁璇�", + "align": "center", + "prop": "sxjcjqy.error" + }, + { + "label": "鎽勫儚鏈洪噰闆嗗尯鍩熼敊璇俊鎭�", + "align": "center", + "prop": "sxjcjqy.errorMessage" + }, + { + "label": "鎽勫儚鏈哄姛鑳界被鍨嬪睍绀哄��", + "align": "center", + "prop": "sxjgnlx.showValue" + }, + { + "label": "鎽勫儚鏈哄姛鑳界被鍨嬪疄闄呭��", + "align": "center", + "prop": "sxjgnlx.value" + }, + { + "label": "鎽勫儚鏈哄姛鑳界被鍨嬫槸鍚︽湁璇�", + "align": "center", + "prop": "sxjgnlx.error" + }, + { + "label": "鎽勫儚鏈哄姛鑳界被鍨嬮敊璇俊鎭�", + "align": "center", + "prop": "sxjgnlx.errorMessage" + }, + { + "label": "绉熸埛id灞曠ず鍊�", + "align": "center", + "prop": "tenantId.showValue" + }, + { + "label": "绉熸埛id瀹為檯鍊�", + "align": "center", + "prop": "tenantId.value" + }, + { + "label": "绉熸埛id鏄惁鏈夎", + "align": "center", + "prop": "tenantId.error" + }, + { + "label": "绉熸埛id閿欒淇℃伅", + "align": "center", + "prop": "tenantId.errorMessage" + } ], card: [ { @@ -140,45 +345,145 @@ index: 'monitor_registration', columns: [ { - label: '璁惧缂栫爜', - align: 'center', - prop: 'serialNumber', + "label": "璁惧缂栫爜", + "align": "center", + "prop": "sbbm" }, { - label: '璁惧鍚嶇О', - align: 'center', - prop: 'name' + "label": "璁惧鍚嶇О", + "align": "center", + "prop": "sbmc" }, { - label: '鐩戞帶鐐逛綅绫诲瀷', - align: 'center', - prop: 'siteType' + "label": "鎽勫儚鏈洪噰闆嗗尯鍩�", + "align": "center", + "prop": "sxjcjqy" }, { - label: 'Mac鍦板潃', - align: 'center', - prop: 'macAddr' + "label": "鐩戞帶鐐逛綅绫诲瀷", + "align": "center", + "prop": "jkdwlx" }, { - label: 'IPV4/IPV6', - align: 'center', - prop: 'ip' + "label": "IPV4鍦板潃", + "align": "center", + "prop": "ip" }, { - label: '鎽勫儚鏈哄姛鑳界被鍨�', - align: 'center', - prop: 'cameraFunType' + "label": "缁忓害", + "align": "center", + "prop": "jd" }, { - label: '璁惧鐘舵��', - align: 'center', - prop: 'onState' + "label": "绾害", + "align": "center", + "prop": "wd" }, { - label: '鑱旂綉灞炴��', - align: 'center', - prop: 'netWorking' + "label": "鎽勫儚鏈哄姛鑳界被鍨�", + "align": "center", + "prop": "sxjgnlx" }, + { + "label": "MAC鍦板潃", + "align": "center", + "prop": "macdz" + }, + { + "label": "璁惧鐘舵��", + "align": "center", + "prop": "sbzt" + }, + { + "label": "璁惧鍘傚晢", + "align": "center", + "prop": "sbcs" + }, + { + "label": "琛屾斂鍖哄煙", + "align": "center", + "prop": "xzqy" + }, + { + "label": "璁惧鍨嬪彿", + "align": "center", + "prop": "sbxh" + }, + { + "label": "鐐逛綅淇楃О", + "align": "center", + "prop": "dwcs" + }, + { + "label": "鎽勫儚鏈虹被鍨�", + "align": "center", + "prop": "sxjlx" + }, + { + "label": "琛ュ厜灞炴��", + "align": "center", + "prop": "bgsx" + }, + { + "label": "鎽勫儚鏈虹紪鐮佹牸寮�", + "align": "center", + "prop": "sxjbmgs" + }, + { + "label": "瀹夎鍦板潃", + "align": "center", + "prop": "azdz" + }, + { + "label": "鎽勫儚鏈轰綅缃被鍨�", + "align": "center", + "prop": "sxjwzlx" + }, + { + "label": "鐩戣鏂逛綅", + "align": "center", + "prop": "jsfw" + }, + { + "label": "鎽勫儚鏈哄満鏅璁剧収鐗嘦RL", + "align": "center", + "prop": "sxjcjyszp" + }, + { + "label": "鑱旂綉灞炴��", + "align": "center", + "prop": "lwsx" + }, + { + "label": "鎵�灞炶緰鍖哄叕瀹夋満鍏�", + "align": "center", + "prop": "ssxqgafg" + }, + { + "label": "瀹夎鏃堕棿", + "align": "center", + "prop": "azsj" + }, + { + "label": "绠$悊鍗曚綅", + "align": "center", + "prop": "gldw" + }, + { + "label": "绠$悊鍗曚綅鑱旂郴鏂瑰紡", + "align": "center", + "prop": "gldwlxfs" + }, + { + "label": "褰曞儚淇濆瓨澶╂暟", + "align": "center", + "prop": "lxbcts" + }, + { + "label": "鎵�灞為儴闂�/琛屼笟", + "align": "center", + "prop": "ssbmhy" + } ], card: [ { @@ -201,45 +506,145 @@ index: 'archives_rate', columns: [ { - label: '璁惧缂栫爜', - align: 'center', - prop: 'serialNumber', + "label": "璁惧缂栫爜", + "align": "center", + "prop": "sbbm" }, { - label: '璁惧鍚嶇О', - align: 'center', - prop: 'name' + "label": "璁惧鍚嶇О", + "align": "center", + "prop": "sbmc" }, { - label: '鐩戞帶鐐逛綅绫诲瀷', - align: 'center', - prop: 'siteType' + "label": "鎽勫儚鏈洪噰闆嗗尯鍩�", + "align": "center", + "prop": "sxjcjqy" }, { - label: 'Mac鍦板潃', - align: 'center', - prop: 'macAddr' + "label": "鐩戞帶鐐逛綅绫诲瀷", + "align": "center", + "prop": "jkdwlx" }, { - label: 'IPV4/IPV6', - align: 'center', - prop: 'ip' + "label": "IPV4鍦板潃", + "align": "center", + "prop": "ip" }, { - label: '鎽勫儚鏈哄姛鑳界被鍨�', - align: 'center', - prop: 'cameraFunType' + "label": "缁忓害", + "align": "center", + "prop": "jd" }, { - label: '璁惧鐘舵��', - align: 'center', - prop: 'onState' + "label": "绾害", + "align": "center", + "prop": "wd" }, { - label: '鑱旂綉灞炴��', - align: 'center', - prop: 'netWorking' + "label": "鎽勫儚鏈哄姛鑳界被鍨�", + "align": "center", + "prop": "sxjgnlx" }, + { + "label": "MAC鍦板潃", + "align": "center", + "prop": "macdz" + }, + { + "label": "璁惧鐘舵��", + "align": "center", + "prop": "sbzt" + }, + { + "label": "璁惧鍘傚晢", + "align": "center", + "prop": "sbcs" + }, + { + "label": "琛屾斂鍖哄煙", + "align": "center", + "prop": "xzqy" + }, + { + "label": "璁惧鍨嬪彿", + "align": "center", + "prop": "sbxh" + }, + { + "label": "鐐逛綅淇楃О", + "align": "center", + "prop": "dwcs" + }, + { + "label": "鎽勫儚鏈虹被鍨�", + "align": "center", + "prop": "sxjlx" + }, + { + "label": "琛ュ厜灞炴��", + "align": "center", + "prop": "bgsx" + }, + { + "label": "鎽勫儚鏈虹紪鐮佹牸寮�", + "align": "center", + "prop": "sxjbmgs" + }, + { + "label": "瀹夎鍦板潃", + "align": "center", + "prop": "azdz" + }, + { + "label": "鎽勫儚鏈轰綅缃被鍨�", + "align": "center", + "prop": "sxjwzlx" + }, + { + "label": "鐩戣鏂逛綅", + "align": "center", + "prop": "jsfw" + }, + { + "label": "鎽勫儚鏈哄満鏅璁剧収鐗嘦RL", + "align": "center", + "prop": "sxjcjyszp" + }, + { + "label": "鑱旂綉灞炴��", + "align": "center", + "prop": "lwsx" + }, + { + "label": "鎵�灞炶緰鍖哄叕瀹夋満鍏�", + "align": "center", + "prop": "ssxqgafg" + }, + { + "label": "瀹夎鏃堕棿", + "align": "center", + "prop": "azsj" + }, + { + "label": "绠$悊鍗曚綅", + "align": "center", + "prop": "gldw" + }, + { + "label": "绠$悊鍗曚綅鑱旂郴鏂瑰紡", + "align": "center", + "prop": "gldwlxfs" + }, + { + "label": "褰曞儚淇濆瓨澶╂暟", + "align": "center", + "prop": "lxbcts" + }, + { + "label": "鎵�灞為儴闂�/琛屼笟", + "align": "center", + "prop": "ssbmhy" + } ], card: [ { @@ -262,59 +667,127 @@ index: 'site_online', columns: [ { - label: "琛屾斂鍖哄垝缂栫爜", - align: "center", - prop: "arealayernoCode" + "label": "琛屾斂鍖哄垝缂栫爜", + "align": "center", + "prop": "arealayerPath" }, { - label: "琛屾斂鍖哄垝鍚嶇О", - align: "center", - prop: "arealayernoName" + "label": "琛屾斂鍖哄垝缂栫爜", + "align": "center", + "prop": "arealayerno" }, { - label: "璇婃柇鏃ユ湡", - align: "center", - prop: "diagDate" + "label": "琛屾斂鍖哄垝鍚嶇О", + "align": "center", + "prop": "arealayerName" }, { - label: "缁熻绾害", - align: "center", - prop: "dim" + "label": "瑙g爜鐘舵�佺爜", + "align": "center", + "prop": "decodingCode" }, { - label: "icmp绂荤嚎鏁�", - align: "center", - prop: "icmpOfflineNum" + "label": "璁惧id", + "align": "center", + "prop": "deviceId" }, { - label: "icmp鍦ㄧ嚎鏁�", - align: "center", - prop: "icmpOnlineNum" + "label": "璁惧鍚嶇О", + "align": "center", + "prop": "deviceName" }, { - label: "icmp鍦ㄧ嚎鐜�", - align: "center", - prop: "icmpOnlineRate" + "label": "icmp寤惰繜", + "align": "center", + "prop": "icmpDelay" }, { - label: "icmp璇婃柇鎬绘暟", - align: "center", - prop: "icmpTotalNum" + "label": "icmp鐘舵��", + "align": "center", + "prop": "icmpStatus" }, { - label: "绂荤嚎鏁�", - align: "center", - prop: "offlineNum" + "label": "鏈�杩慽cmp鏃堕棿", + "align": "center", + "prop": "icmpTime", + "format": "yyyy-MM-dd HH:mm:ss" }, { - label: "鍦ㄧ嚎鏁�", - align: "center", - prop: "onlineNum" + "label": "鍏抽敭甯ф椂寤�", + "align": "center", + "prop": "ifmDelay" }, { - label: "鍦ㄧ嚎鐜�", - align: "center", - prop: "onlineRate" + "label": "ip鍦板潃", + "align": "center", + "prop": "ipAddr" + }, + { + "label": "鏈�杩戞寔缁绾挎晠闅滄鏁�", + "align": "center", + "prop": "olErrEverduring" + }, + { + "label": "鏈�杩戞寔缁绾挎晠闅滄椂闂�", + "align": "center", + "prop": "olErrEverduringFirstTime", + "format": "yyyy-MM-dd HH:mm:ss" + }, + { + "label": "绱绂荤嚎鏁呴殰娆℃暟", + "align": "center", + "prop": "olErrTotal" + }, + { + "label": "绱绂荤嚎鏁呴殰鐜�", + "align": "center", + "prop": "olErrTotalRate" + }, + { + "label": "宸℃娆℃暟", + "align": "center", + "prop": "olTotal" + }, + { + "label": "sip鐘舵�佺爜", + "align": "center", + "prop": "sipCode" + }, + { + "label": "淇′护鏃跺欢", + "align": "center", + "prop": "sipDelay" + }, + { + "label": "鍦ㄧ嚎鐘舵��", + "align": "center", + "prop": "status" + }, + { + "label": "鐪佸巺鏍囩", + "align": "center", + "prop": "tagStr" + }, + { + "label": "鐪佸巺鏍囩鍒楄〃", + "align": "center", + "prop": "tags" + }, + { + "label": "绉熸埛id", + "align": "center", + "prop": "tenantId" + }, + { + "label": "瑙嗛娴佹椂寤�", + "align": "center", + "prop": "videoDelay" + }, + { + "label": "瑙嗛璐ㄩ噺妫�娴嬫椂闂�", + "align": "center", + "prop": "vqdTime", + "format": "yyyy-MM-dd HH:mm:ss" } ], card: [ @@ -409,60 +882,145 @@ index: 'annotation_accuracy', columns: [ { - label: "鍖哄煙璺緞淇℃伅", - align: "center", - prop: "arealayerPath" + "label": "璁惧缂栫爜", + "align": "center", + "prop": "sbbm" }, { - label: "鍖哄煙鍚嶇О", - align: "center", - prop: "arealayername" + "label": "璁惧鍚嶇О", + "align": "center", + "prop": "sbmc" }, { - label: "鍖哄煙缂栫爜", - align: "center", - prop: "arealayerno" + "label": "鎽勫儚鏈洪噰闆嗗尯鍩�", + "align": "center", + "prop": "sxjcjqy" }, { - label: "璁惧ID", - align: "center", - prop: "deviceId" + "label": "鐩戞帶鐐逛綅绫诲瀷", + "align": "center", + "prop": "jkdwlx" }, { - label: "璁惧鍚嶇О", - align: "center", - prop: "deviceName" + "label": "IPV4鍦板潃", + "align": "center", + "prop": "ip" }, { - label: "鍥剧墖涓婄殑瀛楀箷鏃堕棿鍜屾憚鍍忔満鎷夌爜娴佹椂闂村樊鏄惁澶т簬鏈�澶у��", - align: "center", - prop: "diff" + "label": "缁忓害", + "align": "center", + "prop": "jd" }, { - label: "鍥剧墖涓婄殑瀛楀箷鏃堕棿鍜屾憚鍍忔満鎷夌爜娴佹椂闂村樊锛屽崟浣�(绉�), -1 琛ㄧず鏈煡", - align: "center", - prop: "diffTime" + "label": "绾害", + "align": "center", + "prop": "wd" }, { - label: "ip", - align: "center", - prop: "ip" + "label": "鎽勫儚鏈哄姛鑳界被鍨�", + "align": "center", + "prop": "sxjgnlx" }, { - label: "鍥剧墖鍦板潃", - align: "center", - prop: "imgPath" + "label": "MAC鍦板潃", + "align": "center", + "prop": "macdz" }, { - label: "鐘舵�佺爜", - align: "center", - prop: "statusCode" + "label": "璁惧鐘舵��", + "align": "center", + "prop": "sbzt" }, { - label: "鍥剧墖涓婄殑瀛楀箷鏃堕棿鍜屾憚鍍忔満鎷夌爜娴佹椂闂村樊锛屽崟浣�(绉�)", - align: "center", - prop: "osdFormat" + "label": "璁惧鍘傚晢", + "align": "center", + "prop": "sbcs" }, + { + "label": "琛屾斂鍖哄煙", + "align": "center", + "prop": "xzqy" + }, + { + "label": "璁惧鍨嬪彿", + "align": "center", + "prop": "sbxh" + }, + { + "label": "鐐逛綅淇楃О", + "align": "center", + "prop": "dwcs" + }, + { + "label": "鎽勫儚鏈虹被鍨�", + "align": "center", + "prop": "sxjlx" + }, + { + "label": "琛ュ厜灞炴��", + "align": "center", + "prop": "bgsx" + }, + { + "label": "鎽勫儚鏈虹紪鐮佹牸寮�", + "align": "center", + "prop": "sxjbmgs" + }, + { + "label": "瀹夎鍦板潃", + "align": "center", + "prop": "azdz" + }, + { + "label": "鎽勫儚鏈轰綅缃被鍨�", + "align": "center", + "prop": "sxjwzlx" + }, + { + "label": "鐩戣鏂逛綅", + "align": "center", + "prop": "jsfw" + }, + { + "label": "鎽勫儚鏈哄満鏅璁剧収鐗嘦RL", + "align": "center", + "prop": "sxjcjyszp" + }, + { + "label": "鑱旂綉灞炴��", + "align": "center", + "prop": "lwsx" + }, + { + "label": "鎵�灞炶緰鍖哄叕瀹夋満鍏�", + "align": "center", + "prop": "ssxqgafg" + }, + { + "label": "瀹夎鏃堕棿", + "align": "center", + "prop": "azsj" + }, + { + "label": "绠$悊鍗曚綅", + "align": "center", + "prop": "gldw" + }, + { + "label": "绠$悊鍗曚綅鑱旂郴鏂瑰紡", + "align": "center", + "prop": "gldwlxfs" + }, + { + "label": "褰曞儚淇濆瓨澶╂暟", + "align": "center", + "prop": "lxbcts" + }, + { + "label": "鎵�灞為儴闂�/琛屼笟", + "align": "center", + "prop": "ssbmhy" + } ], card: [ { @@ -485,60 +1043,145 @@ index: 'timing_accuracy', columns: [ { - label: "鍖哄煙璺緞淇℃伅", - align: "center", - prop: "arealayerPath" + "label": "璁惧缂栫爜", + "align": "center", + "prop": "sbbm" }, { - label: "鍖哄煙鍚嶇О", - align: "center", - prop: "arealayername" + "label": "璁惧鍚嶇О", + "align": "center", + "prop": "sbmc" }, { - label: "鍖哄煙缂栫爜", - align: "center", - prop: "arealayerno" + "label": "鎽勫儚鏈洪噰闆嗗尯鍩�", + "align": "center", + "prop": "sxjcjqy" }, { - label: "璁惧ID", - align: "center", - prop: "deviceId" + "label": "鐩戞帶鐐逛綅绫诲瀷", + "align": "center", + "prop": "jkdwlx" }, { - label: "璁惧鍚嶇О", - align: "center", - prop: "deviceName" + "label": "IPV4鍦板潃", + "align": "center", + "prop": "ip" }, { - label: "鍥剧墖涓婄殑瀛楀箷鏃堕棿鍜屾憚鍍忔満鎷夌爜娴佹椂闂村樊鏄惁澶т簬鏈�澶у��", - align: "center", - prop: "diff" + "label": "缁忓害", + "align": "center", + "prop": "jd" }, { - label: "鍥剧墖涓婄殑瀛楀箷鏃堕棿鍜屾憚鍍忔満鎷夌爜娴佹椂闂村樊锛屽崟浣�(绉�), -1 琛ㄧず鏈煡", - align: "center", - prop: "diffTime" + "label": "绾害", + "align": "center", + "prop": "wd" }, { - label: "ip", - align: "center", - prop: "ip" + "label": "鎽勫儚鏈哄姛鑳界被鍨�", + "align": "center", + "prop": "sxjgnlx" }, { - label: "鍥剧墖鍦板潃", - align: "center", - prop: "imgPath" + "label": "MAC鍦板潃", + "align": "center", + "prop": "macdz" }, { - label: "鐘舵�佺爜", - align: "center", - prop: "statusCode" + "label": "璁惧鐘舵��", + "align": "center", + "prop": "sbzt" }, { - label: "鍥剧墖涓婄殑瀛楀箷鏃堕棿鍜屾憚鍍忔満鎷夌爜娴佹椂闂村樊锛屽崟浣�(绉�)", - align: "center", - prop: "osdFormat" + "label": "璁惧鍘傚晢", + "align": "center", + "prop": "sbcs" }, + { + "label": "琛屾斂鍖哄煙", + "align": "center", + "prop": "xzqy" + }, + { + "label": "璁惧鍨嬪彿", + "align": "center", + "prop": "sbxh" + }, + { + "label": "鐐逛綅淇楃О", + "align": "center", + "prop": "dwcs" + }, + { + "label": "鎽勫儚鏈虹被鍨�", + "align": "center", + "prop": "sxjlx" + }, + { + "label": "琛ュ厜灞炴��", + "align": "center", + "prop": "bgsx" + }, + { + "label": "鎽勫儚鏈虹紪鐮佹牸寮�", + "align": "center", + "prop": "sxjbmgs" + }, + { + "label": "瀹夎鍦板潃", + "align": "center", + "prop": "azdz" + }, + { + "label": "鎽勫儚鏈轰綅缃被鍨�", + "align": "center", + "prop": "sxjwzlx" + }, + { + "label": "鐩戣鏂逛綅", + "align": "center", + "prop": "jsfw" + }, + { + "label": "鎽勫儚鏈哄満鏅璁剧収鐗嘦RL", + "align": "center", + "prop": "sxjcjyszp" + }, + { + "label": "鑱旂綉灞炴��", + "align": "center", + "prop": "lwsx" + }, + { + "label": "鎵�灞炶緰鍖哄叕瀹夋満鍏�", + "align": "center", + "prop": "ssxqgafg" + }, + { + "label": "瀹夎鏃堕棿", + "align": "center", + "prop": "azsj" + }, + { + "label": "绠$悊鍗曚綅", + "align": "center", + "prop": "gldw" + }, + { + "label": "绠$悊鍗曚綅鑱旂郴鏂瑰紡", + "align": "center", + "prop": "gldwlxfs" + }, + { + "label": "褰曞儚淇濆瓨澶╂暟", + "align": "center", + "prop": "lxbcts" + }, + { + "label": "鎵�灞為儴闂�/琛屼笟", + "align": "center", + "prop": "ssbmhy" + } ], card: [ { @@ -561,299 +1204,144 @@ index: 'key_site_online', columns: [ { - label: "鍖哄煙璺緞淇℃伅", - align: "center", - prop: "arealayerPath" + "label": "璁惧缂栫爜", + "align": "center", + "prop": "sbbm" }, { - label: "琛屾斂鍖哄垝缂栫爜", - align: "center", - prop: "arealayernoCode" + "label": "璁惧鍚嶇О", + "align": "center", + "prop": "sbmc" }, { - label: "琛屾斂鍖哄垝鍚嶇О", - align: "center", - prop: "arealayernoName" + "label": "鎽勫儚鏈洪噰闆嗗尯鍩�", + "align": "center", + "prop": "sxjcjqy" }, { - label: "浜岃繘鍒剁鎴稩D", - align: "center", - prop: "binaryTenantId" + "label": "鐩戞帶鐐逛綅绫诲瀷", + "align": "center", + "prop": "jkdwlx" }, { - label: "妯$硦", - align: "center", - prop: "blur" + "label": "IPV4鍦板潃", + "align": "center", + "prop": "ip" }, { - label: "妯$硦鍘熷鍒嗗��", - align: "center", - prop: "blurRaw" + "label": "缁忓害", + "align": "center", + "prop": "jd" }, { - label: "妯$硦闃堝��", - align: "center", - prop: "blurThreshold" + "label": "绾害", + "align": "center", + "prop": "wd" }, { - label: "棰滆壊", - align: "center", - prop: "color" + "label": "鎽勫儚鏈哄姛鑳界被鍨�", + "align": "center", + "prop": "sxjgnlx" }, { - label: "棰滆壊鍘熷鍒嗗��", - align: "center", - prop: "colorRaw" + "label": "MAC鍦板潃", + "align": "center", + "prop": "macdz" }, { - label: "棰滆壊闃堝��", - align: "center", - prop: "colorThreshold" + "label": "璁惧鐘舵��", + "align": "center", + "prop": "sbzt" }, { - label: "瑙g爜淇℃伅", - align: "center", - prop: "decodeInfo" + "label": "璁惧鍘傚晢", + "align": "center", + "prop": "sbcs" }, { - label: "璁惧鍥芥爣ID", - align: "center", - prop: "deviceId" + "label": "琛屾斂鍖哄煙", + "align": "center", + "prop": "xzqy" }, { - label: "璁惧IP", - align: "center", - prop: "deviceIp" + "label": "璁惧鍨嬪彿", + "align": "center", + "prop": "sbxh" }, { - label: "璁惧鍚嶇О", - align: "center", - prop: "deviceName" + "label": "鐐逛綅淇楃О", + "align": "center", + "prop": "dwcs" }, { - label: "鎵╁睍JSON", - align: "center", - prop: "extJson" + "label": "鎽勫儚鏈虹被鍨�", + "align": "center", + "prop": "sxjlx" }, { - label: "涓㈠抚鐜�", - align: "center", - prop: "frameLostRate" + "label": "琛ュ厜灞炴��", + "align": "center", + "prop": "bgsx" }, { - label: "缁処D", - align: "center", - prop: "groupId" + "label": "鎽勫儚鏈虹紪鐮佹牸寮�", + "align": "center", + "prop": "sxjbmgs" }, { - label: "涓婚敭ID", - align: "center", - prop: "id" + "label": "瀹夎鍦板潃", + "align": "center", + "prop": "azdz" }, { - label: "IFM寤惰繜", - align: "center", - prop: "ifmDelay" + "label": "鎽勫儚鏈轰綅缃被鍨�", + "align": "center", + "prop": "sxjwzlx" }, { - label: "鍥惧儚璺緞", - align: "center", - prop: "imagePath" + "label": "鐩戣鏂逛綅", + "align": "center", + "prop": "jsfw" }, { - label: "鍥惧儚鐘舵��", - align: "center", - prop: "imgStatus" + "label": "鎽勫儚鏈哄満鏅璁剧収鐗嘦RL", + "align": "center", + "prop": "sxjcjyszp" }, { - label: "鍏ョ綉鏃堕棿", - align: "center", - prop: "inTime" + "label": "鑱旂綉灞炴��", + "align": "center", + "prop": "lwsx" }, { - label: "绾害", - align: "center", - prop: "latitude" + "label": "鎵�灞炶緰鍖哄叕瀹夋満鍏�", + "align": "center", + "prop": "ssxqgafg" }, { - label: "浜害", - align: "center", - prop: "light" + "label": "瀹夎鏃堕棿", + "align": "center", + "prop": "azsj" }, { - label: "浜害鍘熷鍒嗗��", - align: "center", - prop: "lightRaw" + "label": "绠$悊鍗曚綅", + "align": "center", + "prop": "gldw" }, { - label: "浜害闃堝��", - align: "center", - prop: "lightThreshold" + "label": "绠$悊鍗曚綅鑱旂郴鏂瑰紡", + "align": "center", + "prop": "gldwlxfs" }, { - label: "缁忓害", - align: "center", - prop: "longitude" + "label": "褰曞儚淇濆瓨澶╂暟", + "align": "center", + "prop": "lxbcts" }, { - label: "鍦ㄧ嚎鐘舵��", - align: "center", - prop: "onlineStatus" - }, - { - label: "鍘熷骞冲彴ID", - align: "center", - prop: "originalPlatId" - }, - { - label: "璐熻浇绫诲瀷", - align: "center", - prop: "payloadType" - }, - { - label: "鍍忕礌淇℃伅", - align: "center", - prop: "pixelInfo" - }, - { - label: "骞冲彴ID", - align: "center", - prop: "platId" - }, - { - label: "閬尅", - align: "center", - prop: "shade" - }, - { - label: "閬尅鍘熷鍒嗗��", - align: "center", - prop: "shadeRaw" - }, - { - label: "閬尅闃堝��", - align: "center", - prop: "shadeThreshold" - }, - { - label: "鎶栧姩", - align: "center", - prop: "shake" - }, - { - label: "鎶栧姩鍘熷鍒嗗��", - align: "center", - prop: "shakeRaw" - }, - { - label: "鎶栧姩闃堝��", - align: "center", - prop: "shakeThreshold" - }, - { - label: "鏃犱俊鍙�", - align: "center", - prop: "signa1" - }, - { - label: "鏃犱俊鍙峰師濮嬪垎鍊�", - align: "center", - prop: "signa1Raw" - }, - { - label: "鏃犱俊鍙风姸鎬�", - align: "center", - prop: "signa1Status" - }, - { - label: "鏃犱俊鍙烽槇鍊�", - align: "center", - prop: "signa1Threshold" - }, - { - label: "SIP寤惰繜", - align: "center", - prop: "sipDelay" - }, - { - label: "闆姳", - align: "center", - prop: "snow" - }, - { - label: "闆姳鍘熷鍒嗗��", - align: "center", - prop: "snowRaw" - }, - { - label: "闆姳闃堝��", - align: "center", - prop: "snowThreshold" - }, - { - label: "鏉$汗", - align: "center", - prop: "stripe" - }, - { - label: "鏉$汗鍘熷鍒嗗��", - align: "center", - prop: "stripeRaw" - }, - { - label: "鏉$汗闃堝��", - align: "center", - prop: "stripeThreshold" - }, - { - label: "鎽勫儚鏈烘爣绛�", - align: "center", - prop: "tags" - }, - { - label: "浠诲姟鍒涘缓鏃堕棿", - align: "center", - prop: "taskCreateTime" - }, - { - label: "浠诲姟澶嶆鏃堕棿", - align: "center", - prop: "taskRecheckTime" - }, - { - label: "绉熸埛ID", - align: "center", - prop: "tenantId" - }, - { - label: "瑙嗛寤惰繜", - align: "center", - prop: "videoDelay" - }, - { - label: "瑙嗛璇婃柇鐘舵��", - align: "center", - prop: "videoDiagStatus" - }, - { - label: "瑙嗛璇婃柇鏃堕棿", - align: "center", - prop: "videoDiagTime" - }, - { - label: "瑙嗛鑾峰彇鐘舵��", - align: "center", - prop: "videoGetStatus" - }, - { - label: "瑙嗛鑾峰彇鏃堕棿", - align: "center", - prop: "videoGetTime" - }, - { - label: "澶滈棿VQD", - align: "center", - prop: "vqdAtNight" + "label": "鎵�灞為儴闂�/琛屼笟", + "align": "center", + "prop": "ssbmhy" } ], card: [ @@ -948,60 +1436,145 @@ index: 'key_annotation_accuracy', columns: [ { - label: "鍖哄煙璺緞淇℃伅", - align: "center", - prop: "arealayerPath" + "label": "璁惧缂栫爜", + "align": "center", + "prop": "sbbm" }, { - label: "鍖哄煙鍚嶇О", - align: "center", - prop: "arealayername" + "label": "璁惧鍚嶇О", + "align": "center", + "prop": "sbmc" }, { - label: "鍖哄煙缂栫爜", - align: "center", - prop: "arealayerno" + "label": "鎽勫儚鏈洪噰闆嗗尯鍩�", + "align": "center", + "prop": "sxjcjqy" }, { - label: "璁惧ID", - align: "center", - prop: "deviceId" + "label": "鐩戞帶鐐逛綅绫诲瀷", + "align": "center", + "prop": "jkdwlx" }, { - label: "璁惧鍚嶇О", - align: "center", - prop: "deviceName" + "label": "IPV4鍦板潃", + "align": "center", + "prop": "ip" }, { - label: "鍥剧墖涓婄殑瀛楀箷鏃堕棿鍜屾憚鍍忔満鎷夌爜娴佹椂闂村樊鏄惁澶т簬鏈�澶у��", - align: "center", - prop: "diff" + "label": "缁忓害", + "align": "center", + "prop": "jd" }, { - label: "鍥剧墖涓婄殑瀛楀箷鏃堕棿鍜屾憚鍍忔満鎷夌爜娴佹椂闂村樊锛屽崟浣�(绉�), -1 琛ㄧず鏈煡", - align: "center", - prop: "diffTime" + "label": "绾害", + "align": "center", + "prop": "wd" }, { - label: "ip", - align: "center", - prop: "ip" + "label": "鎽勫儚鏈哄姛鑳界被鍨�", + "align": "center", + "prop": "sxjgnlx" }, { - label: "鍥剧墖鍦板潃", - align: "center", - prop: "imgPath" + "label": "MAC鍦板潃", + "align": "center", + "prop": "macdz" }, { - label: "鐘舵�佺爜", - align: "center", - prop: "statusCode" + "label": "璁惧鐘舵��", + "align": "center", + "prop": "sbzt" }, { - label: "鍥剧墖涓婄殑瀛楀箷鏃堕棿鍜屾憚鍍忔満鎷夌爜娴佹椂闂村樊锛屽崟浣�(绉�)", - align: "center", - prop: "osdFormat" + "label": "璁惧鍘傚晢", + "align": "center", + "prop": "sbcs" }, + { + "label": "琛屾斂鍖哄煙", + "align": "center", + "prop": "xzqy" + }, + { + "label": "璁惧鍨嬪彿", + "align": "center", + "prop": "sbxh" + }, + { + "label": "鐐逛綅淇楃О", + "align": "center", + "prop": "dwcs" + }, + { + "label": "鎽勫儚鏈虹被鍨�", + "align": "center", + "prop": "sxjlx" + }, + { + "label": "琛ュ厜灞炴��", + "align": "center", + "prop": "bgsx" + }, + { + "label": "鎽勫儚鏈虹紪鐮佹牸寮�", + "align": "center", + "prop": "sxjbmgs" + }, + { + "label": "瀹夎鍦板潃", + "align": "center", + "prop": "azdz" + }, + { + "label": "鎽勫儚鏈轰綅缃被鍨�", + "align": "center", + "prop": "sxjwzlx" + }, + { + "label": "鐩戣鏂逛綅", + "align": "center", + "prop": "jsfw" + }, + { + "label": "鎽勫儚鏈哄満鏅璁剧収鐗嘦RL", + "align": "center", + "prop": "sxjcjyszp" + }, + { + "label": "鑱旂綉灞炴��", + "align": "center", + "prop": "lwsx" + }, + { + "label": "鎵�灞炶緰鍖哄叕瀹夋満鍏�", + "align": "center", + "prop": "ssxqgafg" + }, + { + "label": "瀹夎鏃堕棿", + "align": "center", + "prop": "azsj" + }, + { + "label": "绠$悊鍗曚綅", + "align": "center", + "prop": "gldw" + }, + { + "label": "绠$悊鍗曚綅鑱旂郴鏂瑰紡", + "align": "center", + "prop": "gldwlxfs" + }, + { + "label": "褰曞儚淇濆瓨澶╂暟", + "align": "center", + "prop": "lxbcts" + }, + { + "label": "鎵�灞為儴闂�/琛屼笟", + "align": "center", + "prop": "ssbmhy" + } ], card: [ { @@ -1024,60 +1597,145 @@ index: 'key_timing_accuracy', columns: [ { - label: "鍖哄煙璺緞淇℃伅", - align: "center", - prop: "arealayerPath" + "label": "璁惧缂栫爜", + "align": "center", + "prop": "sbbm" }, { - label: "鍖哄煙鍚嶇О", - align: "center", - prop: "arealayername" + "label": "璁惧鍚嶇О", + "align": "center", + "prop": "sbmc" }, { - label: "鍖哄煙缂栫爜", - align: "center", - prop: "arealayerno" + "label": "鎽勫儚鏈洪噰闆嗗尯鍩�", + "align": "center", + "prop": "sxjcjqy" }, { - label: "璁惧ID", - align: "center", - prop: "deviceId" + "label": "鐩戞帶鐐逛綅绫诲瀷", + "align": "center", + "prop": "jkdwlx" }, { - label: "璁惧鍚嶇О", - align: "center", - prop: "deviceName" + "label": "IPV4鍦板潃", + "align": "center", + "prop": "ip" }, { - label: "鍥剧墖涓婄殑瀛楀箷鏃堕棿鍜屾憚鍍忔満鎷夌爜娴佹椂闂村樊鏄惁澶т簬鏈�澶у��", - align: "center", - prop: "diff" + "label": "缁忓害", + "align": "center", + "prop": "jd" }, { - label: "鍥剧墖涓婄殑瀛楀箷鏃堕棿鍜屾憚鍍忔満鎷夌爜娴佹椂闂村樊锛屽崟浣�(绉�), -1 琛ㄧず鏈煡", - align: "center", - prop: "diffTime" + "label": "绾害", + "align": "center", + "prop": "wd" }, { - label: "ip", - align: "center", - prop: "ip" + "label": "鎽勫儚鏈哄姛鑳界被鍨�", + "align": "center", + "prop": "sxjgnlx" }, { - label: "鍥剧墖鍦板潃", - align: "center", - prop: "imgPath" + "label": "MAC鍦板潃", + "align": "center", + "prop": "macdz" }, { - label: "鐘舵�佺爜", - align: "center", - prop: "statusCode" + "label": "璁惧鐘舵��", + "align": "center", + "prop": "sbzt" }, { - label: "鍥剧墖涓婄殑瀛楀箷鏃堕棿鍜屾憚鍍忔満鎷夌爜娴佹椂闂村樊锛屽崟浣�(绉�)", - align: "center", - prop: "osdFormat" + "label": "璁惧鍘傚晢", + "align": "center", + "prop": "sbcs" }, + { + "label": "琛屾斂鍖哄煙", + "align": "center", + "prop": "xzqy" + }, + { + "label": "璁惧鍨嬪彿", + "align": "center", + "prop": "sbxh" + }, + { + "label": "鐐逛綅淇楃О", + "align": "center", + "prop": "dwcs" + }, + { + "label": "鎽勫儚鏈虹被鍨�", + "align": "center", + "prop": "sxjlx" + }, + { + "label": "琛ュ厜灞炴��", + "align": "center", + "prop": "bgsx" + }, + { + "label": "鎽勫儚鏈虹紪鐮佹牸寮�", + "align": "center", + "prop": "sxjbmgs" + }, + { + "label": "瀹夎鍦板潃", + "align": "center", + "prop": "azdz" + }, + { + "label": "鎽勫儚鏈轰綅缃被鍨�", + "align": "center", + "prop": "sxjwzlx" + }, + { + "label": "鐩戣鏂逛綅", + "align": "center", + "prop": "jsfw" + }, + { + "label": "鎽勫儚鏈哄満鏅璁剧収鐗嘦RL", + "align": "center", + "prop": "sxjcjyszp" + }, + { + "label": "鑱旂綉灞炴��", + "align": "center", + "prop": "lwsx" + }, + { + "label": "鎵�灞炶緰鍖哄叕瀹夋満鍏�", + "align": "center", + "prop": "ssxqgafg" + }, + { + "label": "瀹夎鏃堕棿", + "align": "center", + "prop": "azsj" + }, + { + "label": "绠$悊鍗曚綅", + "align": "center", + "prop": "gldw" + }, + { + "label": "绠$悊鍗曚綅鑱旂郴鏂瑰紡", + "align": "center", + "prop": "gldwlxfs" + }, + { + "label": "褰曞儚淇濆瓨澶╂暟", + "align": "center", + "prop": "lxbcts" + }, + { + "label": "鎵�灞為儴闂�/琛屼笟", + "align": "center", + "prop": "ssbmhy" + } ] }, { @@ -1085,50 +1743,145 @@ index: 'key_command_image_online', columns: [ { - label: "鍖哄煙璺緞淇℃伅", - align: "center", - prop: "arealayerPath" + "label": "璁惧缂栫爜", + "align": "center", + "prop": "sbbm" }, { - label: "arealayernoCode", - align: "center", - prop: "arealayernoCode" + "label": "璁惧鍚嶇О", + "align": "center", + "prop": "sbmc" }, { - label: "arealayernoName", - align: "center", - prop: "arealayernoName" + "label": "鎽勫儚鏈洪噰闆嗗尯鍩�", + "align": "center", + "prop": "sxjcjqy" }, { - label: "binaryTenantId", - align: "center", - prop: "binaryTenantId" + "label": "鐩戞帶鐐逛綅绫诲瀷", + "align": "center", + "prop": "jkdwlx" }, { - label: "blur", - align: "center", - prop: "blur" + "label": "IPV4鍦板潃", + "align": "center", + "prop": "ip" }, { - label: "blurRaw", - align: "center", - prop: "blurRaw" + "label": "缁忓害", + "align": "center", + "prop": "jd" }, { - label: "color", - align: "center", - prop: "color" + "label": "绾害", + "align": "center", + "prop": "wd" }, { - label: "colorRaw", - align: "center", - prop: "colorRaw" + "label": "鎽勫儚鏈哄姛鑳界被鍨�", + "align": "center", + "prop": "sxjgnlx" }, { - label: "colorThreshold", - align: "center", - prop: "colorThreshold" + "label": "MAC鍦板潃", + "align": "center", + "prop": "macdz" }, + { + "label": "璁惧鐘舵��", + "align": "center", + "prop": "sbzt" + }, + { + "label": "璁惧鍘傚晢", + "align": "center", + "prop": "sbcs" + }, + { + "label": "琛屾斂鍖哄煙", + "align": "center", + "prop": "xzqy" + }, + { + "label": "璁惧鍨嬪彿", + "align": "center", + "prop": "sbxh" + }, + { + "label": "鐐逛綅淇楃О", + "align": "center", + "prop": "dwcs" + }, + { + "label": "鎽勫儚鏈虹被鍨�", + "align": "center", + "prop": "sxjlx" + }, + { + "label": "琛ュ厜灞炴��", + "align": "center", + "prop": "bgsx" + }, + { + "label": "鎽勫儚鏈虹紪鐮佹牸寮�", + "align": "center", + "prop": "sxjbmgs" + }, + { + "label": "瀹夎鍦板潃", + "align": "center", + "prop": "azdz" + }, + { + "label": "鎽勫儚鏈轰綅缃被鍨�", + "align": "center", + "prop": "sxjwzlx" + }, + { + "label": "鐩戣鏂逛綅", + "align": "center", + "prop": "jsfw" + }, + { + "label": "鎽勫儚鏈哄満鏅璁剧収鐗嘦RL", + "align": "center", + "prop": "sxjcjyszp" + }, + { + "label": "鑱旂綉灞炴��", + "align": "center", + "prop": "lwsx" + }, + { + "label": "鎵�灞炶緰鍖哄叕瀹夋満鍏�", + "align": "center", + "prop": "ssxqgafg" + }, + { + "label": "瀹夎鏃堕棿", + "align": "center", + "prop": "azsj" + }, + { + "label": "绠$悊鍗曚綅", + "align": "center", + "prop": "gldw" + }, + { + "label": "绠$悊鍗曚綅鑱旂郴鏂瑰紡", + "align": "center", + "prop": "gldwlxfs" + }, + { + "label": "褰曞儚淇濆瓨澶╂暟", + "align": "center", + "prop": "lxbcts" + }, + { + "label": "鎵�灞為儴闂�/琛屼笟", + "align": "center", + "prop": "ssbmhy" + } ], card: [ { @@ -1150,144 +1903,54 @@ title: "瑙嗛鍥惧儚璐ㄩ噺妫�娴嬫姤鍛�", columns: [ { - label: "琛屾斂鍖哄垝缂栫爜", - align: "center", - prop: "arealayernoCode" + "label": "鏁版嵁绫诲瀷", + "align": "center", + "prop": "dataType" }, { - label: "琛屾斂鍖哄垝鍚嶇О", - align: "center", - prop: "arealayernoName" + "label": "鍗″彛鎴栭噰闆嗚澶囧唴鐮�", + "align": "center", + "prop": "indexCode" }, { - label: "妯$硦", - align: "center", - prop: "blur" + "label": "璁惧鎴栧崱鍙e浗鏍囩紪鐮�", + "align": "center", + "prop": "externalIndexCode" }, { - label: "妯$硦鍘熷鍒嗗��", - align: "center", - prop: "blurRaw" + "label": "璁惧鎴栧崱鍙e悕绉�", + "align": "center", + "prop": "deviceName" }, { - label: "棰滆壊", - align: "center", - prop: "color" + "label": "缁勭粐缂栧彿", + "align": "center", + "prop": "orgCode" }, { - label: "棰滆壊鍘熷鍒嗗��", - align: "center", - prop: "colorRaw" + "label": "鎶撴媿鏁版嵁閲�", + "align": "center", + "prop": "dataCount" }, { - label: "鎽勫儚鏈�-鍥芥爣id", - align: "center", - prop: "deviceId" + "label": "闈炰粖鏃ユ姄鎷嶉噺", + "align": "center", + "prop": "noTodayCount" }, { - label: "鎽勫儚鏈篿p", - align: "center", - prop: "deviceIp" + "label": "鍛ㄥ钩鍧囨姄鎷嶉噺", + "align": "center", + "prop": "weekCompareCount" }, { - label: "鎽勫儚鏈鸿澶囧悕绉�", - align: "center", - prop: "deviceName" + "label": "鎸佺画鏃犳暟鎹ぉ鏁�", + "align": "center", + "prop": "continueNoDataDays" }, { - label: "缁熻绾害", - align: "center", - prop: "dim" - }, - { - label: "鍥惧儚鏄惁姝e父", - align: "center", - prop: "isImgAbnormal" - }, - { - label: "淇″彿鏄惁涓㈠け", - align: "center", - prop: "isSignalMiss" - }, - { - label: "浜害", - align: "center", - prop: "light" - }, - { - label: "浜害鍘熷鍒嗗��", - align: "center", - prop: "lightRaw" - }, - { - label: "閬尅", - align: "center", - prop: "shade" - }, - { - label: "閬尅鍘熷鍒嗗��", - align: "center", - prop: "shadeRaw" - }, - { - label: "鎶栧姩", - align: "center", - prop: "shake" - }, - { - label: "鎶栧姩鍘熷鍒嗗��", - align: "center", - prop: "shakeRaw" - }, - { - label: "鏃犱俊鍙�", - align: "center", - prop: "signa1" - }, - { - label: "鏃犱俊鍙峰師濮嬪垎鍊�", - align: "center", - prop: "signa1Raw" - }, - { - label: "闆姳", - align: "center", - prop: "snow" - }, - { - label: "闆姳鍘熷鍒嗗��", - align: "center", - prop: "snowRaw" - }, - { - label: "鎺掑簭灞炴��", - align: "center", - prop: "sortFiled" - }, - { - label: "璇婃柇鐘舵�佺紪鐮�", - align: "center", - prop: "status" - }, - { - label: "璇婃柇鐘舵�佸悕绉�", - align: "center", - prop: "statusName" - }, - { - label: "鏉$汗", - align: "center", - prop: "stripe" - }, - { - label: "鏉$汗鍘熷鍒嗗��", - align: "center", - prop: "stripeRaw" - }, - { - label: "璇婃柇鏃堕棿", - align: "center", - prop: "vqdTime" + "label": "鎶撴媿鏁版嵁閲忕洃娴嬬粨鏋�", + "align": "center", + "prop": "resultType" } ], card: [ @@ -1316,68 +1979,54 @@ index: 'view_connect_stability', columns: [ { - label: "鍗″彛鍐呯爜鎴栭噰闆嗚澶囧唴鐮�", - align: "center", - prop: "indexCode" + "label": "鏁版嵁绫诲瀷", + "align": "center", + "prop": "dataType" }, { - label: "璁惧鎴栧崱鍙e浗鏍囩紪鐮�", - align: "center", - prop: "externalIndexCode" + "label": "鍗″彛鍐呯爜鎴栭噰闆嗚澶囧唴鐮�", + "align": "center", + "prop": "indexCode" }, { - label: "璁惧鎴栧崱鍙e悕绉�", - align: "center", - prop: "deviceName" + "label": "璁惧鎴栧崱鍙e浗鏍囩紪鐮�", + "align": "center", + "prop": "externalIndexCode" }, { - label: "缁勭粐缂栧彿", - align: "center", - prop: "orgCode" - },{ - label: "鎶撴媿鏁版嵁閲�", - align: "center", - prop: "dataCount" + "label": "璁惧鎴栧崱鍙e悕绉�", + "align": "center", + "prop": "deviceName" }, { - label: "鏁版嵁鎶芥閲�", - align: "center", - prop: "sampleCount" + "label": "缁勭粐缂栧彿", + "align": "center", + "prop": "orgCode" }, { - label: "涓昏灞炴�ц瘑鍒笉涓�鑷存暟鎹噺", - align: "center", - prop: "majorDiffCount" + "label": "鎶撴媿鏁版嵁閲�", + "align": "center", + "prop": "dataCount" }, { - label: "閲嶈灞炴�т笉涓�鑷存暟鎹噺", - align: "center", - prop: "importantDiffCount" + "label": "闈炰粖鏃ユ姄鎷嶉噺", + "align": "center", + "prop": "noTodayCount" }, { - label: "杞︾墝鍙风爜涓嶄竴鑷存暟鎹噺", - align: "center", - prop: "plateDiffCount" + "label": "鍛ㄥ钩鍧囨姄鎷嶉噺", + "align": "center", + "prop": "weekCompareCount" }, { - label: "杞︾墝棰滆壊涓嶄竴鑷存暟鎹噺", - align: "center", - prop: "plateColorDiffCount" + "label": "鎸佺画鏃犳暟鎹ぉ鏁�", + "align": "center", + "prop": "continueNoDataDays" }, { - label: "绫诲瀷灞炴�т笉涓�鑷存暟鎹噺", - align: "center", - prop: "vehicleDiffCount" - }, - { - label: "杞﹁締绫诲瀷涓嶄竴鑷存暟鎹噺", - align: "center", - prop: "vehicleTypeDiffCount" - }, - { - label: "杞﹁締鍝佺墝涓嶄竴鑷存暟鎹噺", - align: "center", - prop: "vehicleBrandDiffCount" + "label": "鎶撴媿鏁版嵁閲忕洃娴嬬粨鏋�", + "align": "center", + "prop": "resultType" } ], card: [ @@ -1401,50 +2050,55 @@ index: 'site_online', columns: [ { - label: '鍐呯爜', - align: 'center', - prop: 'indexCode', + "label": "鏁版嵁绫诲瀷", + "align": "center", + "prop": "dataType" }, { - label: '璁惧鎴栧崱鍙e浗鏍囩紪鐮�', - align: 'center', - prop: 'externalIndexCode', + "label": "鍗″彛鍐呯爜鎴栭噰闆嗚澶囧唴鐮�", + "align": "center", + "prop": "indexCode" }, { - label: '璁惧鎴栧崱鍙e悕绉�', - align: 'center', - prop: 'deviceName', + "label": "璁惧鎴栧崱鍙e浗鏍囩紪鐮�", + "align": "center", + "prop": "externalIndexCode" }, { - label: '缁勭粐缂栧彿', - align: 'center', - prop: 'orgCode', + "label": "璁惧鎴栧崱鍙e悕绉�", + "align": "center", + "prop": "deviceName" }, { - label: '鎶撴媿鏁版嵁閲�', - align: 'center', - prop: 'dataCount', + "label": "缁勭粐缂栧彿", + "align": "center", + "prop": "orgCode" }, { - label: '闈炰粖鏃ユ姄鎷嶉噺', - align: 'center', - prop: 'noTodayCount', + "label": "鎶撴媿鏁版嵁閲�", + "align": "center", + "prop": "dataCount" }, { - label: '鍛ㄥ钩鍧囨姄鎷嶉噺', - align: 'center', - prop: 'weekCompareCount', + "label": "闈炰粖鏃ユ姄鎷嶉噺", + "align": "center", + "prop": "noTodayCount" }, { - label: '鎸佺画鏃犳暟鎹ぉ鏁�', - align: 'center', - prop: 'continueNoDataDays', + "label": "鍛ㄥ钩鍧囨姄鎷嶉噺", + "align": "center", + "prop": "weekCompareCount" }, { - label: '鎶撴媿鏁版嵁閲忕洃娴嬬粨鏋�', - align: 'center', - prop: 'resultType', + "label": "鎸佺画鏃犳暟鎹ぉ鏁�", + "align": "center", + "prop": "continueNoDataDays" }, + { + "label": "鎶撴媿鏁版嵁閲忕洃娴嬬粨鏋�", + "align": "center", + "prop": "resultType" + } ], card: [ { @@ -1467,45 +2121,145 @@ index: 'device_directory_consistent', columns: [ { - label: '璁惧缂栫爜', - align: 'center', - prop: 'serialNumber', + "label": "璁惧缂栫爜", + "align": "center", + "prop": "sbbm" }, { - label: '璁惧鍚嶇О', - align: 'center', - prop: 'name' + "label": "璁惧鍚嶇О", + "align": "center", + "prop": "sbmc" }, { - label: '鐩戞帶鐐逛綅绫诲瀷', - align: 'center', - prop: 'siteType' + "label": "鎽勫儚鏈洪噰闆嗗尯鍩�", + "align": "center", + "prop": "sxjcjqy" }, { - label: 'Mac鍦板潃', - align: 'center', - prop: 'macAddr' + "label": "鐩戞帶鐐逛綅绫诲瀷", + "align": "center", + "prop": "jkdwlx" }, { - label: 'IPV4/IPV6', - align: 'center', - prop: 'ip' + "label": "IPV4鍦板潃", + "align": "center", + "prop": "ip" }, { - label: '鎽勫儚鏈哄姛鑳界被鍨�', - align: 'center', - prop: 'cameraFunType' + "label": "缁忓害", + "align": "center", + "prop": "jd" }, { - label: '璁惧鐘舵��', - align: 'center', - prop: 'onState' + "label": "绾害", + "align": "center", + "prop": "wd" }, { - label: '鑱旂綉灞炴��', - align: 'center', - prop: 'netWorking' + "label": "鎽勫儚鏈哄姛鑳界被鍨�", + "align": "center", + "prop": "sxjgnlx" }, + { + "label": "MAC鍦板潃", + "align": "center", + "prop": "macdz" + }, + { + "label": "璁惧鐘舵��", + "align": "center", + "prop": "sbzt" + }, + { + "label": "璁惧鍘傚晢", + "align": "center", + "prop": "sbcs" + }, + { + "label": "琛屾斂鍖哄煙", + "align": "center", + "prop": "xzqy" + }, + { + "label": "璁惧鍨嬪彿", + "align": "center", + "prop": "sbxh" + }, + { + "label": "鐐逛綅淇楃О", + "align": "center", + "prop": "dwcs" + }, + { + "label": "鎽勫儚鏈虹被鍨�", + "align": "center", + "prop": "sxjlx" + }, + { + "label": "琛ュ厜灞炴��", + "align": "center", + "prop": "bgsx" + }, + { + "label": "鎽勫儚鏈虹紪鐮佹牸寮�", + "align": "center", + "prop": "sxjbmgs" + }, + { + "label": "瀹夎鍦板潃", + "align": "center", + "prop": "azdz" + }, + { + "label": "鎽勫儚鏈轰綅缃被鍨�", + "align": "center", + "prop": "sxjwzlx" + }, + { + "label": "鐩戣鏂逛綅", + "align": "center", + "prop": "jsfw" + }, + { + "label": "鎽勫儚鏈哄満鏅璁剧収鐗嘦RL", + "align": "center", + "prop": "sxjcjyszp" + }, + { + "label": "鑱旂綉灞炴��", + "align": "center", + "prop": "lwsx" + }, + { + "label": "鎵�灞炶緰鍖哄叕瀹夋満鍏�", + "align": "center", + "prop": "ssxqgafg" + }, + { + "label": "瀹夎鏃堕棿", + "align": "center", + "prop": "azsj" + }, + { + "label": "绠$悊鍗曚綅", + "align": "center", + "prop": "gldw" + }, + { + "label": "绠$悊鍗曚綅鑱旂郴鏂瑰紡", + "align": "center", + "prop": "gldwlxfs" + }, + { + "label": "褰曞儚淇濆瓨澶╂暟", + "align": "center", + "prop": "lxbcts" + }, + { + "label": "鎵�灞為儴闂�/琛屼笟", + "align": "center", + "prop": "ssbmhy" + } ], card: [ { @@ -1771,81 +2525,200 @@ index: 'vehicle_timing_accuracy', columns: [ { - label: '鍐呯爜', - align: 'center', - prop: 'indexCode', + "label": "璁惧缂栧彿", + "align": "center", + "prop": "externalIndexCode" }, { - label: '璁惧鍚嶇О', - align: 'center', - prop: 'deviceName', + "label": "璁惧鍚嶇О", + "align": "center", + "prop": "deviceName" }, { - label: '璁惧缂栧彿', - align: 'center', - prop: 'externalIndexCode', + "label": "鍗″彛鍐呯爜鎴栭噰闆嗚澶囧唴鐮�", + "align": "center", + "prop": "indexCode" }, { - label: 'orgCode', - align: 'center', - prop: 'orgCode', + "label": "缁勭粐缂栧彿", + "align": "center", + "prop": "orgCode" }, { - label: '缁勭粐鍚嶇О', - align: 'center', - prop: 'orgName', + "label": "缁勭粐鍚嶇О", + "align": "center", + "prop": "orgName" }, { - label: '褰撴棩鎺ユ敹鍒扮殑褰撴棩鎶撴媿閲�', - align: 'center', - prop: 'dataCount', + "label": "褰撴棩鎺ユ敹鍒扮殑褰撴棩鎶撴媿閲�", + "align": "center", + "prop": "dataCount" }, { - label: '褰撴棩鎺ユ敹鍒扮殑闈炲綋鏃ユ姄鎷嶉噺', - align: 'center', - prop: 'daySnapCount', + "label": "褰撴棩鎺ユ敹鍒扮殑鐧藉ぉ鎶撴媿閲�", + "align": "center", + "prop": "daySnapCount" }, { - label: '鎸佺画鏃犳暟鎹ぉ鏁�', - align: 'center', - prop: 'continueNoDataCount', + "label": "褰撴棩鎺ユ敹鍒扮殑闈炲綋鏃ユ姄鎷嶉噺", + "align": "center", + "prop": "noTodayCount" }, { - label: '鎶撴媿鏁版嵁閲忕洃娴嬬粨鏋�', - align: 'center', - prop: 'snapResult', + "label": "鎸佺画鏃犳暟鎹ぉ鏁�", + "align": "center", + "prop": "continueNoDataCount" }, { - label: '鏃堕挓鍑嗙‘鐜�', - align: 'center', - prop: 'clockPercent', + "label": "鎶撴媿鏁版嵁閲忕洃娴嬬粨鏋�", + "align": "center", + "prop": "snapResult" }, { - label: '褰撴棩鎺ユ敹鐨勫綋鏃ユ姄鎷嶆暟鎹椂閽熷噯纭暟鎹噺', - align: 'center', - prop: 'todayClockCount', + "label": "鏃堕挓鍑嗙‘鐜�", + "align": "center", + "prop": "snapClock.clockPercent" }, { - label: '褰撴棩鎺ユ敹鐨勫綋鏃ユ姄鎷嶆暟鎹椂閽熷噯纭�у垽瀹氱粨鏋�', - align: 'center', - prop: 'todayClockResult', + "label": "褰撴棩鎶撴媿鏁版嵁鏃堕挓鍑嗙‘鏁版嵁閲�", + "align": "center", + "prop": "snapClock.todayClockCount" }, { - label: '褰撴棩鎺ユ敹鐨勫叏閮ㄦ姄鎷嶆暟鎹椂閽熷噯纭暟鎹噺', - align: 'center', - prop: 'allClockCount', + "label": "褰撴棩鎶撴媿鏁版嵁鏃堕挓鍑嗙‘鎬у垽瀹氱粨鏋�", + "align": "center", + "prop": "snapClock.todayClockResult" }, { - label: '褰撴棩鎺ユ敹鐨勫叏閮ㄦ姄鎷嶆暟鎹椂閽熷噯纭�у垽瀹氱粨鏋�', - align: 'center', - prop: 'allClockResult', + "label": "鍏ㄩ儴鎶撴媿鏁版嵁鏃堕挓鍑嗙‘鏁版嵁閲�", + "align": "center", + "prop": "snapClock.allClockCount" }, { - label: '褰撴棩鎺ユ敹鐨勫叏閮ㄦ姄鎷嶆暟鎹椂閽熷噯纭暟鎹噺', - align: 'center', - prop: 'allClockCount', + "label": "鍏ㄩ儴鎶撴媿鏁版嵁鏃堕挓鍑嗙‘鎬у垽瀹氱粨鏋�", + "align": "center", + "prop": "snapClock.allClockResult" }, - + { + "label": "鍙婃椂鐜�", + "align": "center", + "prop": "snapTimely.timelyPercent" + }, + { + "label": "褰撴棩鎶撴媿鏁版嵁寤惰繜閲�", + "align": "center", + "prop": "snapTimely.todayDelayCount" + }, + { + "label": "褰撴棩鎶撴媿鏁版嵁寤惰繜30s浠ヤ笂鏁版嵁閲�", + "align": "center", + "prop": "snapTimely.todayDelayCount2" + }, + { + "label": "褰撴棩鎶撴媿鏁版嵁寤惰繜1m浠ヤ笂鏁版嵁閲�", + "align": "center", + "prop": "snapTimely.todayDelayCount3" + }, + { + "label": "褰撴棩鎶撴媿鏁版嵁寤惰繜5m浠ヤ笂鏁版嵁閲�", + "align": "center", + "prop": "snapTimely.todayDelayCount4" + }, + { + "label": "褰撴棩鎶撴媿鏁版嵁鍙婃椂鎬у垽瀹氱粨鏋�", + "align": "center", + "prop": "snapTimely.todayTimelyResult" + }, + { + "label": "鍏ㄩ儴鏁版嵁寤惰繜閲�", + "align": "center", + "prop": "snapTimely.allDelayCount" + }, + { + "label": "鍏ㄩ儴鏁版嵁涓欢杩�30s浠ヤ笂鏁版嵁閲�", + "align": "center", + "prop": "snapTimely.allDelayCount2" + }, + { + "label": "鍏ㄩ儴鏁版嵁涓欢杩�1m浠ヤ笂鏁版嵁閲�", + "align": "center", + "prop": "snapTimely.allDelayCount3" + }, + { + "label": "鍏ㄩ儴鏁版嵁涓欢杩�5m浠ヤ笂鏁版嵁閲�", + "align": "center", + "prop": "snapTimely.allDelayCount4" + }, + { + "label": "鍏ㄩ儴鏁版嵁鍙婃椂鎬у垽瀹氱粨鏋�", + "align": "center", + "prop": "snapTimely.allTimelyResult" + }, + { + "label": "涓嶅敮涓�鏁版嵁閲�", + "align": "center", + "prop": "snapUnique.nouniqueData" + }, + { + "label": "涓嶅敮涓�鏁版嵁閲嶅閲�", + "align": "center", + "prop": "snapUnique.nouniqueCount" + }, + { + "label": "杞︾墝鏈瘑鍒噺", + "align": "center", + "prop": "snapPlate.noNumberCount" + }, + { + "label": "鐧藉ぉ鏈瘑鍒噺", + "align": "center", + "prop": "snapPlate.dayNoNumberCount" + }, + { + "label": "杞︾墝璇嗗埆寮傚父", + "align": "center", + "prop": "snapPlate.recgResult" + }, + { + "label": "杞︾墝鍙蜂笉瀹屾暣閲�", + "align": "center", + "prop": "integrity.plateNoItgrCount" + }, + { + "label": "杞︾墝棰滆壊涓嶅畬鏁撮噺", + "align": "center", + "prop": "integrity.plateColorItgrCount" + }, + { + "label": "杞﹁締绫诲瀷涓嶅畬鏁撮噺", + "align": "center", + "prop": "integrity.vehTypeItgrCount" + }, + { + "label": "杞﹁締鍝佺墝涓嶅畬鏁撮噺", + "align": "center", + "prop": "integrity.vehBrandItgrCount" + }, + { + "label": "杞﹁締棰滆壊涓嶅畬鏁撮噺", + "align": "center", + "prop": "integrity.vehColorItgrCount" + }, + { + "label": "杞﹁締鍨嬪彿涓嶅畬鏁撮噺", + "align": "center", + "prop": "integrity.vehModelItgrCount" + }, + { + "label": "涓昏灞炴�т笉瀹屾暣閲�", + "align": "center", + "prop": "integrity.mainNoIntegrityCount" + }, + { + "label": "鍏ㄩ噺灞炴�т笉瀹屾暣閲�", + "align": "center", + "prop": "integrity.noIntegrityCount" + } ], card: [ { @@ -2025,64 +2898,94 @@ index: 'vehicle_picture_availability', columns: [ { - label: '鍐呯爜', - align: 'center', - prop: 'indexCode', + "label": "鍗″彛鍐呯爜鎴栭噰闆嗚澶囧唴鐮�", + "align": "center", + "prop": "indexCode" }, { - label: '璁惧鎴栧崱鍙e浗鏍囩紪鐮�', - align: 'center', - prop: 'externalIndexCode', + "label": "璁惧鎴栧崱鍙e浗鏍囩紪鐮�", + "align": "center", + "prop": "externalIndexCode" }, { - label: '璁惧鎴栧崱鍙e悕绉�', - align: 'center', - prop: 'deviceName', + "label": "璁惧鎴栧崱鍙e悕绉�", + "align": "center", + "prop": "deviceName" }, { - label: '缁勭粐缂栧彿', - align: 'center', - prop: 'orgCode', + "label": "缁勭粐缂栧彿", + "align": "center", + "prop": "orgCode" }, { - label: '缁勭粐鍚嶇О', - align: 'center', - prop: 'orgName', + "label": "缁勭粐鍚嶇О", + "align": "center", + "prop": "orgName" }, { - label: '澶у浘鍙敤鎬ф暟鎹娊妫�閲�', - align: 'center', - prop: 'sampleCount', + "label": "澶у浘鍙敤鎬ф暟鎹娊妫�閲�", + "align": "center", + "prop": "bigUseful.sampleCount" }, { - label: '澶у浘鍙敤鐜�', - align: 'center', - prop: 'bigUsefulPercent', + "label": "澶у浘鍙敤鐜�", + "align": "center", + "prop": "bigUseful.bigUsefulPercent" }, { - label: '灏忓浘璁块棶寮傚父閲�', - align: 'center', - prop: 'smallPicExpCount', + "label": "澶у浘璁块棶寮傚父鏁版嵁閲�", + "align": "center", + "prop": "bigUseful.bigPicExpCount" }, { - label: '澶у浘璁块棶寮傚父閲�', - align: 'center', - prop: 'bigPicExpCount', + "label": "OSD鏍囨敞寮傚父鏁版嵁閲�", + "align": "center", + "prop": "bigUseful.osdExpCount" }, { - label: '澶у浘鍙敤鐜�', - align: 'center', - prop: 'bigUsefulPercent', + "label": "杞﹁締灞炴�т笉涓�鑷存暟鎹娊妫�閲�", + "align": "center", + "prop": "vehDiff.sampleCount" }, { - label: '澶у浘璁块棶寮傚父鏁版嵁閲�', - align: 'center', - prop: 'bigPicExpCount', + "label": "杞︾墝鍙风爜涓嶄竴鑷存暟鎹噺", + "align": "center", + "prop": "vehDiff.plateNoDiffCount" }, { - label: 'osd鏍囨敞寮傚父鏁版嵁閲�', - align: 'center', - prop: 'osdExpCount', + "label": "杞︾墝棰滆壊涓嶄竴鑷存暟鎹噺", + "align": "center", + "prop": "vehDiff.plateColorDiffCount" + }, + { + "label": "杞﹁締绫诲瀷涓嶄竴鑷存暟鎹噺", + "align": "center", + "prop": "vehDiff.vehTypeDiffCount" + }, + { + "label": "杞﹁締鍝佺墝涓嶄竴鑷存暟鎹噺", + "align": "center", + "prop": "vehDiff.vehBrandDiffCount" + }, + { + "label": "涓昏灞炴�т笉涓�鑷存暟鎹噺", + "align": "center", + "prop": "vehDiff.majorDiffCount" + }, + { + "label": "涓昏灞炴�т竴鑷寸巼", + "align": "center", + "prop": "vehDiff.majorConPercent" + }, + { + "label": "閲嶈灞炴�т笉涓�鑷存暟鎹噺", + "align": "center", + "prop": "vehDiff.importDiffCount" + }, + { + "label": "閲嶈灞炴�т竴鑷寸巼", + "align": "center", + "prop": "vehDiff.importantConPercent" } ], card: [ @@ -2111,69 +3014,50 @@ index: 'view_connect_stability', columns: [ { - label: "鍗″彛鍐呯爜鎴栭噰闆嗚澶囧唴鐮�", - align: "center", - prop: "indexCode" + label: '鍐呯爜', + align: 'center', + prop: 'indexCode', }, { - label: "璁惧鎴栧崱鍙e浗鏍囩紪鐮�", - align: "center", - prop: "externalIndexCode" + label: '璁惧鎴栧崱鍙e浗鏍囩紪鐮�', + align: 'center', + prop: 'externalIndexCode', }, { - label: "璁惧鎴栧崱鍙e悕绉�", - align: "center", - prop: "deviceName" + label: '璁惧鎴栧崱鍙e悕绉�', + align: 'center', + prop: 'deviceName', }, { - label: "缁勭粐缂栧彿", - align: "center", - prop: "orgCode" - },{ - label: "鎶撴媿鏁版嵁閲�", - align: "center", - prop: "dataCount" + label: '缁勭粐缂栧彿', + align: 'center', + prop: 'orgCode', }, { - label: "鏁版嵁鎶芥閲�", - align: "center", - prop: "sampleCount" + label: '鎶撴媿鏁版嵁閲�', + align: 'center', + prop: 'dataCount', }, { - label: "涓昏灞炴�ц瘑鍒笉涓�鑷存暟鎹噺", - align: "center", - prop: "majorDiffCount" + label: '闈炰粖鏃ユ姄鎷嶉噺', + align: 'center', + prop: 'noTodayCount', }, { - label: "閲嶈灞炴�т笉涓�鑷存暟鎹噺", - align: "center", - prop: "importantDiffCount" + label: '鍛ㄥ钩鍧囨姄鎷嶉噺', + align: 'center', + prop: 'weekCompareCount', }, { - label: "杞︾墝鍙风爜涓嶄竴鑷存暟鎹噺", - align: "center", - prop: "plateDiffCount" + label: '鎸佺画鏃犳暟鎹ぉ鏁�', + align: 'center', + prop: 'continueNoDataDays', }, { - label: "杞︾墝棰滆壊涓嶄竴鑷存暟鎹噺", - align: "center", - prop: "plateColorDiffCount" + label: '鎶撴媿鏁版嵁閲忕洃娴嬬粨鏋�', + align: 'center', + prop: 'resultType', }, - { - label: "绫诲瀷灞炴�т笉涓�鑷存暟鎹噺", - align: "center", - prop: "vehicleDiffCount" - }, - { - label: "杞﹁締绫诲瀷涓嶄竴鑷存暟鎹噺", - align: "center", - prop: "vehicleTypeDiffCount" - }, - { - label: "杞﹁締鍝佺墝涓嶄竴鑷存暟鎹噺", - align: "center", - prop: "vehicleBrandDiffCount" - } ], card: [ { @@ -2262,45 +3146,145 @@ index: 'device_directory_consistent', columns: [ { - label: '璁惧缂栫爜', - align: 'center', - prop: 'serialNumber', + "label": "璁惧缂栫爜", + "align": "center", + "prop": "sbbm" }, { - label: '璁惧鍚嶇О', - align: 'center', - prop: 'name' + "label": "璁惧鍚嶇О", + "align": "center", + "prop": "sbmc" }, { - label: '鐩戞帶鐐逛綅绫诲瀷', - align: 'center', - prop: 'siteType' + "label": "鎽勫儚鏈洪噰闆嗗尯鍩�", + "align": "center", + "prop": "sxjcjqy" }, { - label: 'Mac鍦板潃', - align: 'center', - prop: 'macAddr' + "label": "鐩戞帶鐐逛綅绫诲瀷", + "align": "center", + "prop": "jkdwlx" }, { - label: 'IPV4/IPV6', - align: 'center', - prop: 'ip' + "label": "IPV4鍦板潃", + "align": "center", + "prop": "ip" }, { - label: '鎽勫儚鏈哄姛鑳界被鍨�', - align: 'center', - prop: 'cameraFunType' + "label": "缁忓害", + "align": "center", + "prop": "jd" }, { - label: '璁惧鐘舵��', - align: 'center', - prop: 'onState' + "label": "绾害", + "align": "center", + "prop": "wd" }, { - label: '鑱旂綉灞炴��', - align: 'center', - prop: 'netWorking' + "label": "鎽勫儚鏈哄姛鑳界被鍨�", + "align": "center", + "prop": "sxjgnlx" }, + { + "label": "MAC鍦板潃", + "align": "center", + "prop": "macdz" + }, + { + "label": "璁惧鐘舵��", + "align": "center", + "prop": "sbzt" + }, + { + "label": "璁惧鍘傚晢", + "align": "center", + "prop": "sbcs" + }, + { + "label": "琛屾斂鍖哄煙", + "align": "center", + "prop": "xzqy" + }, + { + "label": "璁惧鍨嬪彿", + "align": "center", + "prop": "sbxh" + }, + { + "label": "鐐逛綅淇楃О", + "align": "center", + "prop": "dwcs" + }, + { + "label": "鎽勫儚鏈虹被鍨�", + "align": "center", + "prop": "sxjlx" + }, + { + "label": "琛ュ厜灞炴��", + "align": "center", + "prop": "bgsx" + }, + { + "label": "鎽勫儚鏈虹紪鐮佹牸寮�", + "align": "center", + "prop": "sxjbmgs" + }, + { + "label": "瀹夎鍦板潃", + "align": "center", + "prop": "azdz" + }, + { + "label": "鎽勫儚鏈轰綅缃被鍨�", + "align": "center", + "prop": "sxjwzlx" + }, + { + "label": "鐩戣鏂逛綅", + "align": "center", + "prop": "jsfw" + }, + { + "label": "鎽勫儚鏈哄満鏅璁剧収鐗嘦RL", + "align": "center", + "prop": "sxjcjyszp" + }, + { + "label": "鑱旂綉灞炴��", + "align": "center", + "prop": "lwsx" + }, + { + "label": "鎵�灞炶緰鍖哄叕瀹夋満鍏�", + "align": "center", + "prop": "ssxqgafg" + }, + { + "label": "瀹夎鏃堕棿", + "align": "center", + "prop": "azsj" + }, + { + "label": "绠$悊鍗曚綅", + "align": "center", + "prop": "gldw" + }, + { + "label": "绠$悊鍗曚綅鑱旂郴鏂瑰紡", + "align": "center", + "prop": "gldwlxfs" + }, + { + "label": "褰曞儚淇濆瓨澶╂暟", + "align": "center", + "prop": "lxbcts" + }, + { + "label": "鎵�灞為儴闂�/琛屼笟", + "align": "center", + "prop": "ssbmhy" + } ], card: [ { @@ -2323,6 +3307,11 @@ index: 'face_information_collection_accuracy', columns: [ { + label: '缁勭粐缂栧彿 ', + align: 'center', + prop: 'orgCode', + }, + { label: '閲囬泦璁惧鍐呯爜 ', align: 'center', prop: 'indexCode', @@ -2333,10 +3322,51 @@ prop: 'externalIndexCode', }, { - label: '缁勭粐缂栧彿 ', + label: '鍗″彛鍚嶇О ', align: 'center', - prop: 'orgCode', + prop: 'crossName', }, + { + label: '缁忓害 ', + align: 'center', + prop: 'longitude', + }, + { + label: '绾害 ', + align: 'center', + prop: 'latitude', + }, + { + label: '缁忕含搴︾洃娴嬬粨鏋� ', + align: 'center', + prop: 'lalType', + }, + { + label: '鍥芥爣缂栫爜鐩戞祴缁撴灉 ', + align: 'center', + prop: 'gbCodeType', + }, + ], + card: [ + { + icon: 'el-icon-truck', + dataList: [ + { + value: 1999, + label: '杩囪溅鏁版嵁鎬婚噺' + }, + { + value: 1999, + label: '涓嶅敮涓�鏁版嵁閲�' + }, + ] + } + ] + }, + { + title: '璁惧鎶撴媿鍥剧墖鍚堟牸鎬�', + index: 'face_picture_qualification', + columns: [ { label: '閲囬泦璁惧鍚嶇О ', align: 'center', @@ -2385,150 +3415,149 @@ ] }, { - title: '璁惧鎶撴媿鍥剧墖鍚堟牸鎬�', - index: 'face_picture_qualification', - columns: [ - { - label: '璁惧鍚嶇О ', - align: 'center', - prop: 'deviceName', - }, - { - label: '鍐呯爜', - align: 'center', - prop: 'indexCode', - }, - { - label: '璁惧鎴栧崱鍙e浗鏍囩紪鐮� ', - align: 'center', - prop: 'externalIndexCode', - }, - { - label: 'IP鍦板潃 ', - align: 'center', - prop: 'networkAddr', - }, - { - label: '缁勭粐缂栧彿 ', - align: 'center', - prop: 'orgCode', - }, - { - label: '缁勭粐鍚嶇О ', - align: 'center', - prop: 'orgName', - }, - { - label: '浜鸿劯鍚堟牸鎬ф娊妫�閲� ', - align: 'center', - prop: 'sampleCount', - }, - { - label: '浜鸿劯鍚堟牸鐜� ', - align: 'center', - prop: 'faceEligPercent', - }, - { - label: '浜鸿劯涓嶅敮涓�閲� ', - align: 'center', - prop: 'unfaceEligCount', - }, - ], - card: [ - { - icon: 'el-icon-truck', - dataList: [ - { - value: 1999, - label: '杩囪溅鏁版嵁鎬婚噺' - }, - { - value: 1999, - label: '涓嶅敮涓�鏁版嵁閲�' - }, - ] - } - ] - }, - { title: '璁惧鎶撴媿鍥剧墖鏃堕挓鍑嗙‘鎬�', index: 'face_timing_accuracy', columns: [ { - label: '鍐呯爜', - align: 'center', - prop: 'indexCode', + "label": "璁惧缂栧彿", + "align": "center", + "prop": "externalIndexCode" }, { - label: '璁惧鍚嶇О', - align: 'center', - prop: 'deviceName', + "label": "璁惧鍚嶇О", + "align": "center", + "prop": "deviceName" }, { - label: '璁惧缂栧彿', - align: 'center', - prop: 'externalIndexCode', + "label": "鍗″彛鍐呯爜鎴栭噰闆嗚澶囧唴鐮�", + "align": "center", + "prop": "indexCode" }, { - label: 'orgCode', - align: 'center', - prop: 'orgCode', + "label": "缁勭粐缂栧彿", + "align": "center", + "prop": "orgCode" }, { - label: '缁勭粐鍚嶇О', - align: 'center', - prop: 'orgName', + "label": "缁勭粐鍚嶇О", + "align": "center", + "prop": "orgName" }, { - label: 'IP鍦板潃', - align: 'center', - prop: 'networkAddr', + "label": "褰撴棩鎺ユ敹鍒扮殑褰撴棩鎶撴媿閲�", + "align": "center", + "prop": "dataCount" }, { - label: '褰撴棩鎺ユ敹鍒扮殑褰撴棩鎶撴媿鏁版嵁閲�', - align: 'center', - prop: 'dataCount', + "label": "褰撴棩鎺ユ敹鍒扮殑鐧藉ぉ鎶撴媿閲�", + "align": "center", + "prop": "daySnapCount" }, { - label: '褰撴棩鎺ユ敹鍒扮殑鐧藉ぉ鎶撴媿鏁版嵁閲�', - align: 'center', - prop: 'daySnapCount', + "label": "褰撴棩鎺ユ敹鍒扮殑闈炲綋鏃ユ姄鎷嶉噺", + "align": "center", + "prop": "noTodayCount" }, { - label: '褰撴棩鎺ユ敹鍒扮殑闈炲綋鏃ユ姄鎷嶆暟鎹噺', - align: 'center', - prop: 'noTodayCount', + "label": "鎸佺画鏃犳暟鎹ぉ鏁�", + "align": "center", + "prop": "continueNoDataCount" }, { - label: '鎸佺画鏃犳暟鎹ぉ鏁�', - align: 'center', - prop: 'continueNoDataCount', + "label": "鎶撴媿鏁版嵁閲忕洃娴嬬粨鏋�", + "align": "center", + "prop": "snapResult" }, { - label: '鎶撴媿鏁版嵁閲忕洃娴嬬粨鏋�', - align: 'center', - prop: 'snapResult', + "label": "鏃堕挓鍑嗙‘鐜�", + "align": "center", + "prop": "snapClock.clockPercent" }, { - label: '褰撴棩鎺ユ敹鐨勫綋鏃ユ姄鎷嶆暟鎹椂閽熷噯纭噺', - align: 'center', - prop: 'todayClockCount', + "label": "褰撴棩鎶撴媿鏁版嵁鏃堕挓鍑嗙‘鏁版嵁閲�", + "align": "center", + "prop": "snapClock.todayClockCount" }, { - label: '褰撴棩鎺ユ敹鐨勫綋鏃ユ姄鎷嶆暟鎹椂閽熷噯纭�у垽瀹氱粨鏋�', - align: 'center', - prop: 'todayClockResult', + "label": "褰撴棩鎶撴媿鏁版嵁鏃堕挓鍑嗙‘鎬у垽瀹氱粨鏋�", + "align": "center", + "prop": "snapClock.todayClockResult" }, { - label: '褰撴棩鎺ユ敹鐨勫叏閮ㄦ姄鎷嶆暟鎹腑鏃堕挓鍑嗙‘鏁版嵁閲�', - align: 'center', - prop: 'allClockCount', + "label": "鍏ㄩ儴鎶撴媿鏁版嵁鏃堕挓鍑嗙‘鏁版嵁閲�", + "align": "center", + "prop": "snapClock.allClockCount" }, { - label: '褰撴棩鎺ユ敹鐨勫叏閮ㄦ姄鎷嶆暟鎹腑鏃堕挓鍑嗙‘鎬у垽瀹氱粨鏋�', - align: 'center', - prop: 'allClockResult', + "label": "鍏ㄩ儴鎶撴媿鏁版嵁鏃堕挓鍑嗙‘鎬у垽瀹氱粨鏋�", + "align": "center", + "prop": "snapClock.allClockResult" }, + { + "label": "鍙婃椂鐜�", + "align": "center", + "prop": "snapTimely.timelyPercent" + }, + { + "label": "褰撴棩鎶撴媿鏁版嵁寤惰繜閲�", + "align": "center", + "prop": "snapTimely.todayDelayCount" + }, + { + "label": "褰撴棩鎶撴媿鏁版嵁寤惰繜30s浠ヤ笂鏁版嵁閲�", + "align": "center", + "prop": "snapTimely.todayDelayCount2" + }, + { + "label": "褰撴棩鎶撴媿鏁版嵁寤惰繜1m浠ヤ笂鏁版嵁閲�", + "align": "center", + "prop": "snapTimely.todayDelayCount3" + }, + { + "label": "褰撴棩鎶撴媿鏁版嵁寤惰繜5m浠ヤ笂鏁版嵁閲�", + "align": "center", + "prop": "snapTimely.todayDelayCount4" + }, + { + "label": "褰撴棩鎶撴媿鏁版嵁鍙婃椂鎬у垽瀹氱粨鏋�", + "align": "center", + "prop": "snapTimely.todayTimelyResult" + }, + { + "label": "鍏ㄩ儴鏁版嵁寤惰繜閲�", + "align": "center", + "prop": "snapTimely.allDelayCount" + }, + { + "label": "鍏ㄩ儴鏁版嵁涓欢杩�30s浠ヤ笂鏁版嵁閲�", + "align": "center", + "prop": "snapTimely.allDelayCount2" + }, + { + "label": "鍏ㄩ儴鏁版嵁涓欢杩�1m浠ヤ笂鏁版嵁閲�", + "align": "center", + "prop": "snapTimely.allDelayCount3" + }, + { + "label": "鍏ㄩ儴鏁版嵁涓欢杩�5m浠ヤ笂鏁版嵁閲�", + "align": "center", + "prop": "snapTimely.allDelayCount4" + }, + { + "label": "鍏ㄩ儴鏁版嵁鍙婃椂鎬у垽瀹氱粨鏋�", + "align": "center", + "prop": "snapTimely.allTimelyResult" + }, + { + "label": "涓嶅敮涓�鏁版嵁閲�", + "align": "center", + "prop": "snapUnique.nouniqueData" + }, + { + "label": "涓嶅敮涓�鏁版嵁閲嶅閲�", + "align": "center", + "prop": "snapUnique.nouniqueCount" + } ], card: [ { @@ -2551,116 +3580,144 @@ index: 'face_upload_timeliness', columns: [ { - label: '鍐呯爜', - align: 'center', - prop: 'indexCode', + "label": "璁惧缂栧彿", + "align": "center", + "prop": "externalIndexCode" }, { - label: '璁惧鍚嶇О', - align: 'center', - prop: 'deviceName', + "label": "璁惧鍚嶇О", + "align": "center", + "prop": "deviceName" }, { - label: '璁惧缂栧彿', - align: 'center', - prop: 'externalIndexCode', + "label": "鍗″彛鍐呯爜鎴栭噰闆嗚澶囧唴鐮�", + "align": "center", + "prop": "indexCode" }, { - label: 'orgCode', - align: 'center', - prop: 'orgCode', + "label": "缁勭粐缂栧彿", + "align": "center", + "prop": "orgCode" }, { - label: '缁勭粐鍚嶇О', - align: 'center', - prop: 'orgName', + "label": "缁勭粐鍚嶇О", + "align": "center", + "prop": "orgName" }, { - label: 'IP鍦板潃', - align: 'center', - prop: 'networkAddr', + "label": "褰撴棩鎺ユ敹鍒扮殑褰撴棩鎶撴媿閲�", + "align": "center", + "prop": "dataCount" }, { - label: '褰撴棩鎺ユ敹鍒扮殑褰撴棩鎶撴媿鏁版嵁閲�', - align: 'center', - prop: 'dataCount', + "label": "褰撴棩鎺ユ敹鍒扮殑鐧藉ぉ鎶撴媿閲�", + "align": "center", + "prop": "daySnapCount" }, { - label: '褰撴棩鎺ユ敹鍒扮殑鐧藉ぉ鎶撴媿鏁版嵁閲�', - align: 'center', - prop: 'daySnapCount', + "label": "褰撴棩鎺ユ敹鍒扮殑闈炲綋鏃ユ姄鎷嶉噺", + "align": "center", + "prop": "noTodayCount" }, { - label: '褰撴棩鎺ユ敹鍒扮殑闈炲綋鏃ユ姄鎷嶆暟鎹噺', - align: 'center', - prop: 'noTodayCount', + "label": "鎸佺画鏃犳暟鎹ぉ鏁�", + "align": "center", + "prop": "continueNoDataCount" }, { - label: '鎸佺画鏃犳暟鎹ぉ鏁�', - align: 'center', - prop: 'continueNoDataCount', + "label": "鎶撴媿鏁版嵁閲忕洃娴嬬粨鏋�", + "align": "center", + "prop": "snapResult" }, { - label: '鎶撴媿鏁版嵁閲忕洃娴嬬粨鏋�', - align: 'center', - prop: 'snapResult', - }, - - - { - label: '鍙婃椂鐜�', - align: 'center', - prop: 'timelyPercent', + "label": "鏃堕挓鍑嗙‘鐜�", + "align": "center", + "prop": "snapClock.clockPercent" }, { - label: '褰撴棩鎺ユ敹鐨勫綋鏃ユ暟鎹欢杩熸暟鎹噺', - align: 'center', - prop: 'todayDelayCount', + "label": "褰撴棩鎶撴媿鏁版嵁鏃堕挓鍑嗙‘鏁版嵁閲�", + "align": "center", + "prop": "snapClock.todayClockCount" }, { - label: '褰撴棩鎺ユ敹鐨勫綋鏃ユ暟鎹欢杩�30s浠ヤ笂鏁版嵁閲�', - align: 'center', - prop: 'todayDelayCount2', + "label": "褰撴棩鎶撴媿鏁版嵁鏃堕挓鍑嗙‘鎬у垽瀹氱粨鏋�", + "align": "center", + "prop": "snapClock.todayClockResult" }, { - label: '褰撴棩鎺ユ敹鐨勫綋鏃ユ暟鎹欢杩�1m浠ヤ笂鏁版嵁閲�', - align: 'center', - prop: 'todayDelayCount3', + "label": "鍏ㄩ儴鎶撴媿鏁版嵁鏃堕挓鍑嗙‘鏁版嵁閲�", + "align": "center", + "prop": "snapClock.allClockCount" }, { - label: '褰撴棩鎺ユ敹鐨勫綋鏃ユ暟鎹欢杩�5m浠ヤ笂鏁版嵁閲�', - align: 'center', - prop: 'todayDelayCount4', + "label": "鍏ㄩ儴鎶撴媿鏁版嵁鏃堕挓鍑嗙‘鎬у垽瀹氱粨鏋�", + "align": "center", + "prop": "snapClock.allClockResult" }, { - label: '褰撴棩鎺ユ敹鐨勫綋鏃ユ姄鎷嶆暟鎹強鏃舵�у垽瀹氱粨鏋�', - align: 'center', - prop: 'todayTimelyResult', + "label": "鍙婃椂鐜�", + "align": "center", + "prop": "snapTimely.timelyPercent" }, { - label: '褰撴棩鎺ユ敹鐨勫叏閮ㄦ姄鎷嶆暟鎹腑寤惰繜鏁版嵁閲�', - align: 'center', - prop: 'allDelayCount', + "label": "褰撴棩鎶撴媿鏁版嵁寤惰繜閲�", + "align": "center", + "prop": "snapTimely.todayDelayCount" }, { - label: '褰撴棩鎺ユ敹鐨勫叏閮ㄦ姄鎷嶆暟鎹腑寤惰繜30s浠ヤ笂鏁版嵁閲�', - align: 'center', - prop: 'allDelayCount2', + "label": "褰撴棩鎶撴媿鏁版嵁寤惰繜30s浠ヤ笂鏁版嵁閲�", + "align": "center", + "prop": "snapTimely.todayDelayCount2" }, { - label: '褰撴棩鎺ユ敹鐨勫叏閮ㄦ姄鎷嶆暟鎹腑寤惰繜1m浠ヤ笂鏁版嵁閲�', - align: 'center', - prop: 'allDelayCount3', + "label": "褰撴棩鎶撴媿鏁版嵁寤惰繜1m浠ヤ笂鏁版嵁閲�", + "align": "center", + "prop": "snapTimely.todayDelayCount3" }, { - label: '褰撴棩鎺ユ敹鐨勫叏閮ㄦ姄鎷嶆暟鎹腑寤惰繜5m浠ヤ笂鏁版嵁閲�', - align: 'center', - prop: 'allDelayCount4', + "label": "褰撴棩鎶撴媿鏁版嵁寤惰繜5m浠ヤ笂鏁版嵁閲�", + "align": "center", + "prop": "snapTimely.todayDelayCount4" }, { - label: '褰撴棩鎺ユ敹鐨勫叏閮ㄦ姄鎷嶆暟鎹腑鍙婃椂鎬у垽瀹氱粨鏋�', - align: 'center', - prop: 'allTimelyResult', + "label": "褰撴棩鎶撴媿鏁版嵁鍙婃椂鎬у垽瀹氱粨鏋�", + "align": "center", + "prop": "snapTimely.todayTimelyResult" + }, + { + "label": "鍏ㄩ儴鏁版嵁寤惰繜閲�", + "align": "center", + "prop": "snapTimely.allDelayCount" + }, + { + "label": "鍏ㄩ儴鏁版嵁涓欢杩�30s浠ヤ笂鏁版嵁閲�", + "align": "center", + "prop": "snapTimely.allDelayCount2" + }, + { + "label": "鍏ㄩ儴鏁版嵁涓欢杩�1m浠ヤ笂鏁版嵁閲�", + "align": "center", + "prop": "snapTimely.allDelayCount3" + }, + { + "label": "鍏ㄩ儴鏁版嵁涓欢杩�5m浠ヤ笂鏁版嵁閲�", + "align": "center", + "prop": "snapTimely.allDelayCount4" + }, + { + "label": "鍏ㄩ儴鏁版嵁鍙婃椂鎬у垽瀹氱粨鏋�", + "align": "center", + "prop": "snapTimely.allTimelyResult" + }, + { + "label": "涓嶅敮涓�鏁版嵁閲�", + "align": "center", + "prop": "snapUnique.nouniqueData" + }, + { + "label": "涓嶅敮涓�鏁版嵁閲嶅閲�", + "align": "center", + "prop": "snapUnique.nouniqueCount" } ], card: [ @@ -2684,65 +3741,75 @@ index: 'face_picture_availability', columns: [ { - label: '鍐呯爜', - align: 'center', - prop: 'indexCode', + "label": "璁惧鍚嶇О", + "align": "center", + "prop": "deviceName" }, { - label: '璁惧鎴栧崱鍙e浗鏍囩紪鐮�', - align: 'center', - prop: 'externalIndexCode', + "label": "鍗″彛鍐呯爜鎴栭噰闆嗚澶囧唴鐮�", + "align": "center", + "prop": "indexCode" }, { - label: '璁惧鎴栧崱鍙e悕绉�', - align: 'center', - prop: 'deviceName', + "label": "璁惧鎴栧崱鍙e浗鏍囩紪鐮�", + "align": "center", + "prop": "externalIndexCode" }, { - label: '缁勭粐缂栧彿', - align: 'center', - prop: 'orgCode', + "label": "IP鍦板潃", + "align": "center", + "prop": "networkAddr" }, { - label: '鎶撴媿鏁版嵁閲�', - align: 'center', - prop: 'dataCount', + "label": "缁勭粐缂栧彿", + "align": "center", + "prop": "orgCode" }, { - label: '鏁版嵁鎶芥閲�', - align: 'center', - prop: 'sampleCount', + "label": "缁勭粐鍚嶇О", + "align": "center", + "prop": "orgName" }, { - label: '灏忓浘璁块棶寮傚父閲�', - align: 'center', - prop: 'smallPicExpCount', + "label": "澶у浘鍙敤鎬ф娊妫�閲�", + "align": "center", + "prop": "bigUseful.sampleCount" }, { - label: '澶у浘璁块棶寮傚父閲�', - align: 'center', - prop: 'bigPicExpCount', + "label": "澶у浘涓嶅彲鐢ㄧ巼", + "align": "center", + "prop": "bigUseful.bigUsefulPercent" }, { - label: '瀛樺湪鍥剧墖璁块棶寮傚父鐨勬暟鎹噺', - align: 'center', - prop: 'expCount', + "label": "澶у浘璁块棶寮傚父鏁版嵁閲�", + "align": "center", + "prop": "bigUseful.bigPicExpCount" }, { - label: '浜鸿劯澶у皬鍥句笉涓�鑷存暟閲�', - align: 'center', - prop: 'imgDiffCount', + "label": "浜鸿劯澶у皬鍥句笉涓�鑷存暟鎹噺", + "align": "center", + "prop": "bigUseful.imgDiffCount" }, { - label: 'Osd鏍囨敞寮傚父閲�', - align: 'center', - prop: 'osdExpCount', + "label": "OSD鏍囨敞寮傚父鏁版嵁閲�", + "align": "center", + "prop": "bigUseful.osdExpCount" }, { - label: '澶у浘涓嶅彲鐢ㄩ噺', - align: 'center', - prop: 'bigDisableCount', + "label": "浜鸿劯鍚堟牸鎬ф娊妫�閲�", + "align": "center", + "prop": "faceElig.sampleCount" }, + { + "label": "浜鸿劯鍚堟牸鐜�", + "align": "center", + "prop": "faceElig.faceEligPercent" + }, + { + "label": "浜鸿劯涓嶅敮涓�閲�", + "align": "center", + "prop": "faceElig.unfaceEligCount" + } ], card: [ { @@ -2788,7 +3855,7 @@ label: "Mac鍦板潃", align: "center", prop: "macAddr" - },{ + }, { label: "IPV4/IPV6", align: "center", prop: "ip" diff --git a/src/views/system/data-manage/equipment/index.vue b/src/views/system/data-manage/equipment/index.vue index 49b781b..76b4ea0 100644 --- a/src/views/system/data-manage/equipment/index.vue +++ b/src/views/system/data-manage/equipment/index.vue @@ -41,9 +41,9 @@ </el-card> <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch"> - <el-form-item label="鍏抽敭瀛�" prop="name"> + <el-form-item label="鍏抽敭瀛�" prop="keyword"> <el-input - v-model="queryParams.name" + v-model="queryParams.keyword" placeholder="璇疯緭鍏ュ叧閿瓧" clearable @keyup.enter.native="handleQuery" @@ -107,12 +107,17 @@ <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" prop="onState" v-if="columns[2].visible"> - <template slot-scope="scope"> - <dict-tag :options="dict.type.camera_state" :value="scope.row.onState"/> - </template> + <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="installedTime" width="180" v-if="columns[3].visible"/> <el-table-column label="绠$悊鍗曚綅" align="center" prop="managementUnit" width="180" v-if="columns[4].visible"/> + <el-table-column v-for="(column, index) in dynamicColumnList" :key="index" :label="column.labelValue" :prop="column.propName" align="center"> + <template slot-scope="scope"> + {{ getDynamicValue(scope.row, column.propName) }} + </template> + </el-table-column> <el-table-column label="鎿嶄綔" align="center" class-name="small-padding fixed-width" fixed="right"> <template slot-scope="scope"> <el-button @@ -167,11 +172,14 @@ <script> import { videoCount, listMonitor, getMonitor, delMonitor, addMonitor, updateMonitor } from "@/api/platform/monitor"; +import { getDynamicColumnList } from '@/api/platform/dynamicColumn' +import { dataCenter } from "@/api/platform/data-center"; export default { name: "Monitor", dicts: ['sys_normal_disable', 'platform_yes_no','camera_state'], data() { return { + dynamicColumnList: [], // 鍒椾俊鎭� columns: [ { key: 0, label: `鏍囩`, visible: true }, @@ -212,7 +220,7 @@ pageNum: 1, pageSize: 10, serialNumber: null, - name: null, + keyword: '鐞冩満', onState: null, address: null, installedTime: null, @@ -242,14 +250,28 @@ created() { this.getVideoCount(); this.getList(); - this.getCountyList(); + this.getDyColumn() }, methods: { + getDyColumn() { + // 鏌ヨ鍔ㄦ�佸垪 + let params = { + tableName: 't_monitor' + } + getDynamicColumnList(params).then(res => { + this.dynamicColumnList = res.data + }) + }, + getDynamicValue(row, propName) { + let target = row.dynamicColumnList.filter(item => item.propName === propName) + return target && target.length > 0 ? target[0].columnValue : '' + }, /** 鏌ヨ璁惧璧勪骇鍒楄〃 */ getList() { this.loading = true; - listMonitor(this.queryParams).then(response => { - this.monitorList = response.rows; + this.getDyColumn() + dataCenter('assetManagement', this.queryParams).then(response => { + this.monitorList = response.data; this.total = response.total; this.loading = false; }); diff --git a/src/views/system/data-manage/index.vue b/src/views/system/data-manage/index.vue index 71c1452..427d42f 100644 --- a/src/views/system/data-manage/index.vue +++ b/src/views/system/data-manage/index.vue @@ -139,7 +139,7 @@ :style="item.ruleName == '' ? 'display:none' : ''" class="col-margin" > - <el-link @click="handleDetail(item, item.ruleIndex, item.apiUrl)" style="width: 100%"> + <el-link @click="jumpToEquipment" style="width: 100%"> <el-card style="min-width: 150px;width:100%; height: 150px; text-align: center"> <i style="font-size: 40px; padding: 15px" :class="item.icon"></i> <div>{{ item.ruleName }}</div> @@ -363,10 +363,11 @@ equipment: [ { ruleName: "璧勪骇绠$悊", - ruleIndex: 'view_zc_manage', + ruleIndex: 'assetManagement', icon: "el-icon-wallet", description: "鎻忚堪淇℃伅", ruleCategory: "4", + apiUrl: 'assetManagement' } ], }; @@ -383,6 +384,11 @@ this.loading = false; }); }, + jumpToEquipment() { + this.$router.push({ + path: '/equipment' + }); + }, handleDetail(item, index, url) { this.$router.push({ path: `/data-manage/data-detail/index/1/1?type=${item.ruleCategory}&index=${index}&url=${url}`, diff --git a/src/views/system/monitor/video/index.vue b/src/views/system/monitor/video/index.vue index 87296d4..0736845 100644 --- a/src/views/system/monitor/video/index.vue +++ b/src/views/system/monitor/video/index.vue @@ -288,7 +288,6 @@ created() { this.getVideoCount(); this.getList(); - this.getCountyList(); }, methods: { /** 鏌ヨ璁惧璧勪骇鍒楄〃 */ diff --git a/src/views/system/platform/index.vue b/src/views/system/platform/index.vue new file mode 100644 index 0000000..c15a226 --- /dev/null +++ b/src/views/system/platform/index.vue @@ -0,0 +1,265 @@ +<template> + <div class="app-container"> + <el-form :model="queryParams" ref="queryForm" size="small" :inline="true"> + <el-form-item label="骞冲彴鍚嶇О" prop="workOrderNo"> + <el-input v-model="queryParams.platformName" placeholder="鍏抽敭璇嶆悳绱�" @clear="handleQuery" @keyup.enter.native="handleQuery" size="small"></el-input> + </el-form-item> + <el-form-item> + <el-button type="primary" icon="el-icon-search" size="small" @click="handleQuery">鎼滅储</el-button> + <el-button icon="el-icon-refresh" size="small" @click="resetQuery">閲嶇疆</el-button> + </el-form-item> + </el-form> + + <el-row :gutter="10" class="mb8"> + <el-col :span="1.5"> + <el-button + type="primary" + plain + size="mini" + @click="handleAdd" + v-hasPermi="['platform:add']" + >娣诲姞 + </el-button> + </el-col> + <el-col :span="1.5"> + <el-button + type="danger" + plain + size="mini" + @click="" + v-hasPermi="['platform:del']" + >鍒犻櫎 + </el-button> + </el-col> + </el-row> + + <div> + <el-table + :data="tableData" + :span-method="spanMethod" + border + style="width: 100%; margin-top: 20px"> + <el-table-column + prop="platformName" + label="骞冲彴鍚嶇О"> + </el-table-column> + <el-table-column + prop="area" + label="琛屾斂鍖哄煙"> + </el-table-column> + <el-table-column + prop="platformIP" + label="骞冲彴IP"> + </el-table-column> + <el-table-column + prop="status" + label="鏄惁鍦ㄧ嚎"> + </el-table-column> + <el-table-column + prop="monthOutLine" + label="鏈湀绂荤嚎鏃堕暱"> + </el-table-column> + </el-table> + + <pagination + v-show="total>0" + :total="total" + :page.sync="queryParams.pageNum" + :limit.sync="queryParams.pageSize" + @pagination="handleQuery" + /> + </div> + + <el-dialog + title="鏂板骞冲彴" + :visible.sync="addShow" + width="1000px" + :before-close="addClose"> + <div style="display: flex; flex-direction: row"> + <div style="flex: 2; padding-right: 20px;"> + <div> + <h3>骞冲彴淇℃伅锛�</h3> + </div> + <el-form :model="addForm" :rules="addFormRules" ref="addForm" size="small"> + <el-form-item label="骞冲彴鍚嶇О" prop="platformName"> + <el-input v-model="addForm.platformName"></el-input> + </el-form-item> + <el-form-item label="骞冲彴IP" prop="platformIP"> + <el-input v-model="addForm.platformIP"></el-input> + </el-form-item> + <el-form-item label="澶囨敞淇℃伅" prop="mark"> + <el-input v-model="addForm.remark"></el-input> + </el-form-item> + </el-form> + </div> + <div style="flex: 4; padding-left: 20px;border-left: 1px solid #b2b2b2; min-height: 400px"> + <div> + <h3>閮ㄧ讲淇℃伅锛�</h3> + </div> + <div v-for="(deploy, index) in addForm.deployList" :key="index" style="margin-bottom: 20px"> + <el-form size="small" ref="deployForm" :inline="true"> + <el-form-item label="骞冲彴鍚嶇О" prop="platformName"> + <el-input v-model="deploy.platformName"></el-input> + </el-form-item> + <el-form-item label="骞冲彴IP" prop="platformIP"> + <el-input v-model="deploy.platformIP"></el-input> + </el-form-item> + <el-form-item label="琛屾斂鍖哄煙" prop="area"> + <el-input v-model="deploy.area"></el-input> + </el-form-item> + <el-form-item label="澶囨敞淇℃伅" prop="remark"> + <el-input v-model="deploy.remark"></el-input> + </el-form-item> + </el-form> + </div> + <el-button style="float: right" size="small" type="primary" @click="next">缁х画娣诲姞</el-button> + </div> + </div> + + <span slot="footer" class="dialog-footer"> + <el-button @click="addClose">鍙� 娑�</el-button> + <el-button type="primary" @click="addPlatform">淇濆瓨</el-button> + </span> + </el-dialog> + + </div> +</template> + +<script> +import { getPlatforms, addPlatform} from '@/api/platform/platform' +export default { + name: 'index', + data() { + return { + deployRules: { + platformName: [ + { required: true, message: '骞冲彴鍚嶇О涓嶈兘涓虹┖', trigger: 'blur' } + ], + platformIP: [ + { required: true, message: '骞冲彴IP涓嶈兘涓虹┖', trigger: 'blur' } + ], + area: [ + { required: true, message: '琛屾斂鍖哄煙涓嶈兘涓虹┖', trigger: 'blur' } + ] + }, + addFormRules: { + platformName: [ + { required: true, message: '骞冲彴鍚嶇О涓嶈兘涓虹┖', trigger: 'blur' } + ], + platformIP: [ + { required: true, message: '骞冲彴IP涓嶈兘涓虹┖', trigger: 'blur' } + ] + }, + addForm: { + platformName: '', + remark: '', + platformIp: '', + deployList: [ + { + platformName: '', + platformIp: '', + remark: '', + area: '' + } + ] // 閮ㄧ讲鍦ㄤ簡鍝簺鍦版柟 + }, + addShow: false, + timeRange: [], + queryParams: { + platformName: '' + }, + tableData: [], + total: 0 + } + }, + mounted() { + this.getList(); + }, + methods: { + next() { + this.addForm.deployList.push({ + platformName: '', + platformIp: '', + remark: '', + area: '' + }) + }, + handleAdd() { + this.addShow = true + }, + checkDeployList() { + if (this.addForm.deployList) { + this.addForm.deployList = this.addForm.deployList.filter(item => { + return item.platformName || item.platformIp || item.remark || item.area; + }) + } + }, + addPlatform() { + this.$refs['addForm'].validate((valid) => { + if (valid) { + this.checkDeployList() + if (this.addForm.deployList) { + console.log(this.addForm.deployList) + if (this.addForm.deployList.some(item => !item.platformName || !item.platformIP || !item.area)) { + this.$message.error("璇锋鏌ュ钩鍙伴儴缃蹭俊鎭槸鍚﹀~鍐欏畬鏁�"); + return; // 閫�鍑� validate 鍥炶皟 + } + } + addPlatform(this.addForm).then(res => { + this.$message.success("娣诲姞鎴愬姛") + this.addShow = false + this.getList() + }) + } + }) + }, + addClose() { + this.addShow = false + // this.addForm = { + // platformName: '', + // remark: '', + // platformIp: '', + // deployList: [] + // } + }, + getList() { + this.loading = true + this.queryParams['start'] = this.timeRange ? this.timeRange[0] : null + this.queryParams['end'] = this.timeRange ? this.timeRange[1] : null + getPlatforms(this.queryParams).then(res => { + this.tableData = res.data + this.total = res.total + this.loading = false + }) + }, + resetQuery() { + this.daterangeYwHandleTime = [] + this.resetForm('queryForm') + this.handleQuery() + }, + handleQuery() { + this.queryParams.pageNum = 1 + this.getList() + }, + spanMethod({ row, column, rowIndex, columnIndex }) { + if (columnIndex === 0) { + if (rowIndex % 2 === 0) { + return { + rowspan: 2, + colspan: 1 + }; + } else { + return { + rowspan: 0, + colspan: 0 + }; + } + } + } + } +} +</script> + +<style scoped> + +</style> -- Gitblit v1.8.0