From 5f8bfc63cca7318f55d746b30c379d6c756a60ac Mon Sep 17 00:00:00 2001
From: fuliqi <fuliqi@qq.com>
Date: 星期六, 24 八月 2024 14:02:29 +0800
Subject: [PATCH] 大屏考核视频数据
---
src/views/system/data-manage/data-detail/index.vue | 40 +++++++++++--------
src/views/screen/components/screen-examine/components/video-chart.vue | 61 ++----------------------------
2 files changed, 28 insertions(+), 73 deletions(-)
diff --git a/src/views/screen/components/screen-examine/components/video-chart.vue b/src/views/screen/components/screen-examine/components/video-chart.vue
index 1e44dc7..2e6a938 100644
--- a/src/views/screen/components/screen-examine/components/video-chart.vue
+++ b/src/views/screen/components/screen-examine/components/video-chart.vue
@@ -55,7 +55,7 @@
// "keyCommandImageOnline": 96.41, //鏈堣繍琛岀巼
// "operatingRate": 96.07 //閲嶇偣鎸囨尌鍥惧儚鍦ㄧ嚎鐜�
this.dataList = [];
-
+
let item = { value: 0, name: "", id: 0, routerUrl: "" }
item.value = this.videoList.platformOnline
item.name = "骞冲彴鍦ㄧ嚎鐜�"
@@ -141,69 +141,18 @@
this.dataList.push(item11)
let item12 = { value: 0, name: "", id: 0, routerUrl: "" }
- item12.value = this.videoList.keyCommandImageInspection
- item12.name = "閲嶇偣鎸囨尌鍥惧儚宸℃缁撴灉"
+ item12.value = this.videoList.keyCommandImageOnline
+ item12.name = "閲嶇偣鎸囨尌鍥惧儚鍦ㄧ嚎鐜�"
item12.id = 13
item12.routerUrl = ""
this.dataList.push(item12)
let item13 = { value: 0, name: "", id: 0, routerUrl: "" }
- item13.value = this.videoList.keyCommandImageDirectoryTree
- item13.name = "閲嶇偣鎸囨尌鍥惧儚鐩綍鏍�"
+ item13.value = this.videoList.imageResourceSecurity
+ item13.name = "鍥惧儚璧勬簮瀹夊叏绠$悊"
item13.id = 14
item13.routerUrl = ""
this.dataList.push(item13)
-
- let item14 = { value: 0, name: "", id: 0, routerUrl: "" }
- item14.value = this.videoList.onlineInspectionPlatform
- item14.name = "骞冲彴閮ㄧ讲鍙婅繍琛岀巼"
- item14.id = 15
- item14.routerUrl = ""
- this.dataList.push(item14)
-
- let item15 = { value: 0, name: "", id: 0, routerUrl: "" }
- item15.value = this.videoList.videoTransmissionAssetsAccuracy
- item15.name = "璧勪骇鍑嗙‘鐜�"
- item15.id = 16
- item15.routerUrl = ""
- this.dataList.push(item15)
-
- let item16 = { value: 0, name: "", id: 0, routerUrl: "" }
- item16.value = this.videoList.videoTransmissionAssetsWeakPasswordScore
- item16.name = "璧勪骇寮卞彛浠ゅ緱鍒嗘瘮鐜�"
- item16.id = 17
- item16.routerUrl = ""
- this.dataList.push(item16)
-
- let item17 = { value: 0, name: "", id: 0, routerUrl: "" }
- item17.value = this.videoList.videoTransmissionDangerousAssetsScore
- item17.name = "鍗遍櫓璧勪骇寰楀垎姣旈噸"
- item17.id = 18
- item17.routerUrl = ""
- this.dataList.push(item17)
-
- let item18 = { value: 0, name: "", id: 0, routerUrl: "" }
- item18.value = this.videoList.videoTransmissionBoundaryIntegrityDetection
- item18.name = "杈圭晫瀹屾暣鎬ф娴嬫墸鍒嗛」"
- item18.id = 19
- item18.routerUrl = ""
- this.dataList.push(item18)
-
- let item19 = { value: 0, name: "", id: 0, routerUrl: "" }
- item19.value = this.videoList.keyCommandImageOnline
- item19.name = "鏈堣繍琛岀巼"
- item19.id = 20
- item19.routerUrl = ""
- this.dataList.push(item19)
-
- let item20 = { value: 0, name: "", id: 0, routerUrl: "" }
- item20.value = this.videoList.operatingRate
- item20.name = "閲嶇偣鎸囨尌鍥惧儚鍦ㄧ嚎鐜�"
- item20.id = 21
- item20.routerUrl = ""
- this.dataList.push(item20)
-
-
},
}
};
diff --git a/src/views/system/data-manage/data-detail/index.vue b/src/views/system/data-manage/data-detail/index.vue
index 60e3395..50bffa7 100644
--- a/src/views/system/data-manage/data-detail/index.vue
+++ b/src/views/system/data-manage/data-detail/index.vue
@@ -36,22 +36,26 @@
</el-form-item>
</el-form>
- <el-row :gutter="10" class="mb8">
+ <el-row :gutter="10" class="mb8" v-show = "index === 'platform_online'">
+<!-- <el-col :span="1.5">-->
+<!-- <el-button type="primary" plain icon="el-icon-plus" size="mini" @click="handleAdd"-->
+<!-- v-hasPermi="['platform:platform:add']">鏂板</el-button>-->
+<!-- </el-col>-->
+<!-- <el-col :span="1.5">-->
+<!-- <el-button type="success" plain icon="el-icon-edit" size="mini" :disabled="single" @click="handleUpdate"-->
+<!-- v-hasPermi="['platform:platform:edit']">淇敼</el-button>-->
+<!-- </el-col>-->
+<!-- <el-col :span="1.5">-->
+<!-- <el-button type="danger" plain icon="el-icon-delete" size="mini" :disabled="multiple" @click="handleDelete"-->
+<!-- v-hasPermi="['platform:platform:remove']">鍒犻櫎</el-button>-->
+<!-- </el-col>-->
+<!-- <el-col :span="1.5">-->
+<!-- <el-button type="warning" plain icon="el-icon-download" size="mini" @click="handleExport"-->
+<!-- v-hasPermi="['platform:platform:export']">瀵煎嚭</el-button>-->
+<!-- </el-col>-->
<el-col :span="1.5">
- <el-button type="primary" plain icon="el-icon-plus" size="mini" @click="handleAdd"
- v-hasPermi="['platform:platform:add']">鏂板</el-button>
- </el-col>
- <el-col :span="1.5">
- <el-button type="success" plain icon="el-icon-edit" size="mini" :disabled="single" @click="handleUpdate"
- v-hasPermi="['platform:platform:edit']">淇敼</el-button>
- </el-col>
- <el-col :span="1.5">
- <el-button type="danger" plain icon="el-icon-delete" size="mini" :disabled="multiple" @click="handleDelete"
- v-hasPermi="['platform:platform:remove']">鍒犻櫎</el-button>
- </el-col>
- <el-col :span="1.5">
- <el-button type="warning" plain icon="el-icon-download" size="mini" @click="handleExport"
- v-hasPermi="['platform:platform:export']">瀵煎嚭</el-button>
+ <el-button type="warning" plain icon="el-icon-download" size="mini" @click="handleExport"
+ v-hasPermi="['platform:platform:export']">瀵煎叆</el-button>
</el-col>
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
</el-row>
@@ -150,7 +154,8 @@
],
},
tableHead: [],
- cardList: []
+ cardList: [],
+ index: null
};
},
beforeRouteEnter(to, from, next) {
@@ -158,11 +163,12 @@
next();
},
created() {
+ this.index =this.$route.query.index;
if (this.$route.query.type === '1') {
let data = videoData.table.filter(item => item.index === this.$route.query.index)[0]
this.tableHead = data.columns;
this.cardList = data.card;
- };
+ }
if (this.$route.query.type === '2') {
let data = carData.table.filter(item => item.index === this.$route.query.index)[0]
this.tableHead = data.columns;
--
Gitblit v1.8.0