| | |
| | | </el-form> |
| | | |
| | | <el-row :gutter="10" class="mb8"> |
| | | <el-col :span="1.5"> |
| | | <!-- <el-col :span="1.5"> |
| | | <el-button |
| | | type="warning" |
| | | plain |
| | |
| | | @click="handleExport" |
| | | v-hasPermi="['system:monitor:export']" |
| | | >导出</el-button> |
| | | </el-col> |
| | | </el-col> --> |
| | | <right-toolbar :showSearch.sync="showSearch" @queryTable="getList" :columns="columns"></right-toolbar> |
| | | </el-row> |
| | | |
| | | <el-table v-loading="loading" :data="monitorList" @selection-change="handleSelectionChange"> |
| | | <el-table-column type="selection" align="center" /> |
| | | <el-table-column label="设备名称" align="center" prop="name" width="280" fixed show-overflow-tooltip/> |
| | | <el-table-column label="设备编码" align="center" prop="serialNumber" width="180"/> |
| | | <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" width="180" v-if="columns[0].visible"> |
| | | <template slot-scope="scope"> |
| | | <div>{{ scope.row.provinceTag == 0 ? "省厅" : "市局" }}</div> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="区域" align="center" prop="area" 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> |
| | | </el-table-column> |
| | | <el-table-column label="是否生成异常工单" align="center" prop="defaultOrder" width="180" v-if="columns[3].visible"> |
| | | <template slot-scope="scope"> |
| | | <dict-tag :options="dict.type.platform_yes_no" :value="scope.row.defaultOrder"/> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="数据时间" align="center" prop="installedTime" width="180" v-if="columns[4].visible"/> |
| | | <el-table-column label="管理单位" align="center" prop="managementUnit" width="180" v-if="columns[5].visible"/> |
| | | <el-table-column label="是否生成异常工单" align="center" prop="error" width="180" v-if="columns[3].visible" /> |
| | | <el-table-column label="数据时间" align="center" prop="mongoCreateTime" width="180" v-if="columns[4].visible"/> |
| | | <el-table-column label="管理单位" align="center" prop="unitName" width="180" v-if="columns[5].visible"/> |
| | | <el-table-column label="当日抓拍量" align="center" prop="dataCount" width="180" v-if="columns[6].visible"/> |
| | | <el-table-column label="时钟准确率" align="center" prop="a" width="180" v-if="columns[7].visible"/> |
| | | <el-table-column label="时钟准确率" align="center" prop="clockPercent" width="180" v-if="columns[7].visible"/> |
| | | <el-table-column label="大图可用率" align="center" prop="bigUsefulPercent" width="180" v-if="columns[8].visible"/> |
| | | <el-table-column label="主要属性一致率" align="center" prop="majorConPercent" width="180" v-if="columns[9].visible"/> |
| | | <el-table-column label="重要属性一致率" align="center" prop="importantConPercent" width="180" v-if="columns[10].visible"/> |