| | |
| | | <el-table-column type="selection" width="55" align="center"/> |
| | | <el-table-column label="设备类型" align="center" prop="monitorType"> |
| | | <template slot-scope="scope"> |
| | | <span v-show="scope.row['monitorType'] === '1'">人脸</span> |
| | | <span v-show="scope.row['monitorType'] === '2'">车辆</span> |
| | | <span v-show="scope.row['monitorType'] === '3'">视频</span> |
| | | <span v-show="scope.row['monitorType'] === 'face'">人脸</span> |
| | | <span v-show="scope.row['monitorType'] === 'car'">车辆</span> |
| | | <span v-show="scope.row['monitorType'] === 'video'">视频</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="超时天数" align="center" prop="timeout"/> |
| | |
| | | <el-form ref="form" :model="form" :rules="rules" label-width="150px"> |
| | | <el-form-item label="设备类型" prop="monitorType"> |
| | | <el-select v-model="form.monitorType" placeholder="请选择设备类型" @change="handleModeNameChange"> |
| | | <el-option label="人脸" value="1"/> |
| | | <el-option label="车辆" value="2"/> |
| | | <el-option label="视频" value="3"/> |
| | | <el-option label="人脸" value="face"/> |
| | | <el-option label="车辆" value="car"/> |
| | | <el-option label="视频" value="video"/> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="超时天数" prop="timeout" label-width="150px"> |
| | |
| | | value: null |
| | | } |
| | | ] |
| | | } else if (this.form.monitorType === '2') { |
| | | } else if (this.form.monitorType === 'car') { |
| | | this.indicators = [ |
| | | { |
| | | label: '过车数据量', |
| | |
| | | value: null |
| | | } |
| | | ] |
| | | } else if (this.form.monitorType === '3') { |
| | | } else if (this.form.monitorType === 'video') { |
| | | this.indicators = [ |
| | | { |
| | | label: '采集设备总数', |
| | | label: '录像质量', |
| | | value: null |
| | | }, |
| | | { |
| | | label: '监测正常设备数', |
| | | label: '标注准确率', |
| | | value: null |
| | | }, |
| | | { |
| | | label: '编码异常设备数', |
| | | label: '图像质量', |
| | | value: null |
| | | }, |
| | | { |
| | | label: '经纬度异常设备数', |
| | | value: null |
| | | } |
| | | ] |
| | | } |
| | | } |