| | |
| | | @click="handleExport" |
| | | >导出</el-button> |
| | | </el-col> |
| | | <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar> |
| | | <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/> |
| | | <el-table-column label="设备编码" align="center" prop="serialNumber" width="180"/> |
| | | <el-table-column label="标签" align="center" prop="tag" width="180"/> |
| | | <el-table-column label="区域" align="center" prop="region" width="180"/> |
| | | <el-table-column label="设备状态" align="center" prop="onState"> |
| | | <el-table-column label="标签" align="center" prop="tag" width="180" v-if="columns[0].visible"/> |
| | | <el-table-column label="区域" align="center" prop="region" 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"> |
| | | <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"/> |
| | | <el-table-column label="管理单位" align="center" prop="managementUnit" width="180"/> |
| | | <el-table-column label="信令时延(ms)" align="center" prop="sipDelay" width="180"/> |
| | | <el-table-column label="视频时延(ms)" align="center" prop="videoDelay" width="180"/> |
| | | <el-table-column label="关键帧时延(ms)" align="center" prop="iframeDelay" width="180"/> |
| | | <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="信令时延(ms)" align="center" prop="sipDelay" width="180" v-if="columns[6].visible"/> |
| | | <el-table-column label="视频时延(ms)" align="center" prop="videoDelay" width="180" v-if="columns[7].visible"/> |
| | | <el-table-column label="关键帧时延(ms)" align="center" prop="iframeDelay" width="180" v-if="columns[8].visible"/> |
| | | <el-table-column label="操作" align="center" class-name="small-padding fixed-width" fixed="right"> |
| | | <template slot-scope="scope"> |
| | | <el-button |
| | |
| | | dicts: ['sys_normal_disable', 'platform_yes_no','camera_state'], |
| | | data() { |
| | | return { |
| | | // 列信息 |
| | | columns: [ |
| | | { key: 0, label: `标签`, visible: true }, |
| | | { key: 1, label: `区域`, visible: true }, |
| | | { key: 2, label: `设备状态`, visible: true }, |
| | | { key: 3, label: `是否生成异常工单`, visible: true }, |
| | | { key: 4, label: `数据时间`, visible: true }, |
| | | { key: 5, label: `管理单位`, visible: true }, |
| | | { key: 6, label: `信令时延`, visible: true }, |
| | | { key: 7, label: `视频时延`, visible: true }, |
| | | { key: 8, label: `关键帧时延`, visible: true } |
| | | ], |
| | | totalPosts: 6250, |
| | | totalMembers: 6008, |
| | | postsPercentage: 51, |