| | |
| | | <el-tooltip class="item" effect="dark" content="刷新" placement="top"> |
| | | <el-button size="mini" circle icon="el-icon-refresh" @click="refresh()" /> |
| | | </el-tooltip> |
| | | <el-tooltip class="item" effect="dark" content="自定义列" placement="top"> |
| | | <el-tooltip v-show="$route.path.includes('equipment')" class="item" effect="dark" content="自定义列" placement="top"> |
| | | <el-button size="mini" circle icon="el-icon-collection-tag" @click="addDynamicColumn()" /> |
| | | </el-tooltip> |
| | | <el-tooltip class="item" effect="dark" content="显隐列" placement="top" v-if="columns"> |
| | |
| | | } |
| | | }, |
| | | created() { |
| | | if (this.$route.path.concat("equipment")) { |
| | | if (this.$route.path.includes("equipment")) { |
| | | this.getDyColumn() |
| | | } |
| | | if (this.showColumnsType == 'transfer') { |
| | |
| | | |
| | | <div v-if="tableData.list && tableData.list.length >0"> |
| | | <el-table v-loading="loading" :data="tableData.list"> |
| | | <el-table-column :prop="item.prop" :label="item.label" v-for="(item, index) in tableHead" :key="index" v-if="item"/> |
| | | <el-table-column :prop="item.prop" :label="item.label" :width="item.width" v-for="(item, index) in tableHead" :key="index" v-if="item"/> |
| | | </el-table> |
| | | </div> |
| | | <el-empty v-else description="暂无数据"></el-empty> |
| | |
| | | { |
| | | "label": "行政区划编码", |
| | | "align": "center", |
| | | "prop": "arealayerPath" |
| | | }, |
| | | { |
| | | "label": "行政区划编码", |
| | | "align": "center", |
| | | "prop": "arealayerno" |
| | | }, |
| | | { |
| | | "label": "行政区划名称", |
| | | "align": "center", |
| | | "prop": "arealayerName" |
| | | "prop": "arealayerPath", |
| | | "width": 250 |
| | | }, |
| | | { |
| | | "label": "解码状态码", |
| | |
| | | { |
| | | "label": "设备id", |
| | | "align": "center", |
| | | "prop": "deviceId" |
| | | "prop": "deviceId", |
| | | "width": 250 |
| | | }, |
| | | { |
| | | "label": "设备名称", |
| | | "align": "center", |
| | | "prop": "deviceName" |
| | | "prop": "deviceName", |
| | | "width": 250 |
| | | }, |
| | | { |
| | | "label": "icmp延迟", |
| | |
| | | "label": "最近icmp时间", |
| | | "align": "center", |
| | | "prop": "icmpTime", |
| | | "format": "yyyy-MM-dd HH:mm:ss" |
| | | "format": "yyyy-MM-dd HH:mm:ss", |
| | | "width": 200 |
| | | }, |
| | | { |
| | | "label": "关键帧时延", |
| | |
| | | { |
| | | "label": "ip地址", |
| | | "align": "center", |
| | | "prop": "ipAddr" |
| | | "prop": "ipAddr", |
| | | "width": 150 |
| | | }, |
| | | { |
| | | "label": "最近持续离线故障次数", |
| | |
| | | "label": "最近持续离线故障时间", |
| | | "align": "center", |
| | | "prop": "olErrEverduringFirstTime", |
| | | "format": "yyyy-MM-dd HH:mm:ss" |
| | | "format": "yyyy-MM-dd HH:mm:ss", |
| | | "width": 200 |
| | | }, |
| | | { |
| | | "label": "累计离线故障次数", |
| | |
| | | { |
| | | "label": "累计离线故障率", |
| | | "align": "center", |
| | | "prop": "olErrTotalRate" |
| | | "prop": "olErrTotalRate", |
| | | "width": 80 |
| | | }, |
| | | { |
| | | "label": "巡检次数", |
| | |
| | | { |
| | | "label": "省厅标签", |
| | | "align": "center", |
| | | "prop": "tagStr" |
| | | "prop": "tagStr", |
| | | "width": 200 |
| | | }, |
| | | { |
| | | "label": "省厅标签列表", |
| | | "align": "center", |
| | | "prop": "tags" |
| | | }, |
| | | { |
| | | "label": "租户id", |
| | | "align": "center", |
| | | "prop": "tenantId" |
| | | "prop": "tags", |
| | | "width": 200 |
| | | }, |
| | | { |
| | | "label": "视频流时延", |
| | |
| | | "label": "视频质量检测时间", |
| | | "align": "center", |
| | | "prop": "vqdTime", |
| | | "format": "yyyy-MM-dd HH:mm:ss" |
| | | "format": "yyyy-MM-dd HH:mm:ss", |
| | | "width": 200 |
| | | } |
| | | ], |
| | | card: [ |