From a5ba580dcafbdfc55b462df74c68ef5403b39332 Mon Sep 17 00:00:00 2001
From: ZhangXianQiang <1135831638@qq.com>
Date: 星期四, 25 四月 2024 18:03:56 +0800
Subject: [PATCH] fix:修改代理
---
src/views/system/threshold/index.vue | 42 +++++++++++++++++++++++++++++++++---------
1 files changed, 33 insertions(+), 9 deletions(-)
diff --git a/src/views/system/threshold/index.vue b/src/views/system/threshold/index.vue
index b1acb98..3a2d583 100644
--- a/src/views/system/threshold/index.vue
+++ b/src/views/system/threshold/index.vue
@@ -25,17 +25,33 @@
</el-table-column>
<el-table-column label="宸ュ崟闃堝��" align="center" prop="indicator">
<template slot-scope="scope">
- <div v-for="item in JSON.parse(scope.row.indicator)" :key="item" style="display: flex;flex-direction: row">
- <div style="width: 120px;text-align: right">{{ item.label }}</div>
- <div style="width: 60px;text-align: right">{{ item.value}}</div>
+ <div class="table-row" style="display: flex;flex-direction: row">
+ <div class="table-row-item">鍥惧儚璐ㄩ噺</div>
+ <div class="table-row-item">{{ scope.row.imageQuality }}</div>
+ </div>
+ <div class="table-row" style="display: flex;flex-direction: row">
+ <div class="table-row-item">瑙嗛璐ㄩ噺</div>
+ <div class="table-row-item">{{ scope.row.videoQuality }}</div>
+ </div>
+ <div class="table-row" style="display: flex;flex-direction: row">
+ <div class="table-row-item">鏍囨敞鍑嗙‘鐜�</div>
+ <div class="table-row-item">{{ scope.row.annotationAccuracy }}</div>
</div>
</template>
</el-table-column>
<el-table-column label="涓嬪彂闃堝��" align="center" prop="indicator">
<template slot-scope="scope">
- <div v-for="item in JSON.parse(scope.row.indicator)" :key="item" style="display: flex;flex-direction: row">
- <div style="width: 120px;text-align: right">{{ item.label }}</div>
- <div style="width: 60px;text-align: right">{{ item.value2}}</div>
+ <div class="table-row" style="display: flex;flex-direction: row">
+ <div class="table-row-item">鍥惧儚璐ㄩ噺</div>
+ <div class="table-row-item">{{ scope.row.imageQualityAuto }}</div>
+ </div>
+ <div class="table-row" style="display: flex;flex-direction: row">
+ <div class="table-row-item">瑙嗛璐ㄩ噺</div>
+ <div class="table-row-item">{{ scope.row.videoQualityAuto }}</div>
+ </div>
+ <div class="table-row" style="display: flex;flex-direction: row">
+ <div class="table-row-item">鏍囨敞鍑嗙‘鐜�</div>
+ <div class="table-row-item">{{ scope.row.annotationAccuracyAuto }}</div>
</div>
</template>
</el-table-column>
@@ -346,17 +362,17 @@
/** 淇敼鎸夐挳鎿嶄綔 */
updateWho(row) {
if (row.monitorType === 'face') {
- getFace(id).then(response => {
+ getFace(row.id).then(response => {
this.faceForm = response.data
this.faceOpen = true;
})
} else if (row.monitorType === 'car') {
- getCar(id).then(response => {
+ getCar(row.id).then(response => {
this.carForm = response.data
this.carOpen = true;
})
} else {
- getVideo(id).then(response => {
+ getVideo(row.id).then(response => {
this.videoForm = response.data
this.videoOpen = true;
})
@@ -501,4 +517,12 @@
.el-input-half-width {
width: calc(50% - 6px); /* 鍑忓幓涓�浜涢棿闅� */
}
+.table-row {
+ display: flex;
+ flex-direction: row;
+}
+.table-row-item {
+ width: 120px;
+ text-align: center;
+}
</style>
--
Gitblit v1.8.0