| | |
| | | </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> |
| | |
| | | /** 修改按钮操作 */ |
| | | 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; |
| | | }) |
| | |
| | | .el-input-half-width { |
| | | width: calc(50% - 6px); /* 减去一些间隔 */ |
| | | } |
| | | .table-row { |
| | | display: flex; |
| | | flex-direction: row; |
| | | } |
| | | .table-row-item { |
| | | width: 120px; |
| | | text-align: center; |
| | | } |
| | | </style> |