|
@@ -15,14 +15,12 @@
|
|
<el-table ref="multipleTable" :data="tableData" v-loading='loading' stripe height="100%" @selection-change="handleSelectionChange" :header-cell-style="headerStyle">
|
|
<el-table ref="multipleTable" :data="tableData" v-loading='loading' stripe height="100%" @selection-change="handleSelectionChange" :header-cell-style="headerStyle">
|
|
<el-table-column type="selection" width="55"></el-table-column>
|
|
<el-table-column type="selection" width="55"></el-table-column>
|
|
<el-table-column label="所属建筑楼层" width="200">
|
|
<el-table-column label="所属建筑楼层" width="200">
|
|
- <template slot-scope="scope">{{ scope.row.EquipLocalName?scope.row.EquipLocalName:scope.row.EquipName }}</template>
|
|
|
|
|
|
+ <template slot-scope="scope">{{ scope.row.build }}-{{ scope.row.floor }}</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column label="资产本地名称" show-overflow-tooltip>
|
|
|
|
- <template slot-scope="scope">{{ scope.row.EquipLocalID?scope.row.EquipLocalID:scope.row.EquipID }}</template>
|
|
|
|
- </el-table-column>
|
|
|
|
- <el-table-column prop="EquipCategory.EquipName" label="资产本地编码" show-overflow-tooltip width="200"></el-table-column>
|
|
|
|
- <el-table-column prop="Building.BuildLocalName" label="设备族"></el-table-column>
|
|
|
|
- <el-table-column prop="Floor.FloorLocalName" label="安装位置"></el-table-column>
|
|
|
|
|
|
+ <el-table-column prop="EquipLocalName" label="资产本地名称" show-overflow-tooltip></el-table-column>
|
|
|
|
+ <el-table-column prop="EquipLocalId" label="资产本地编码" show-overflow-tooltip width="200"></el-table-column>
|
|
|
|
+ <el-table-column prop="EquipName" label="设备族"></el-table-column>
|
|
|
|
+ <el-table-column prop="installation" label="安装位置"></el-table-column>
|
|
<template slot="empty">
|
|
<template slot="empty">
|
|
<div style="height: 60%;transform: translateY(50%);">
|
|
<div style="height: 60%;transform: translateY(50%);">
|
|
<i class="icon-wushuju iconfont"></i>
|
|
<i class="icon-wushuju iconfont"></i>
|
|
@@ -66,7 +64,39 @@ export default {
|
|
pageNumber: 1,
|
|
pageNumber: 1,
|
|
total: 0
|
|
total: 0
|
|
},
|
|
},
|
|
- tableData: [],
|
|
|
|
|
|
+ tableData: [{
|
|
|
|
+ build: 'A栋',
|
|
|
|
+ floor: '12F',
|
|
|
|
+ EquipLocalName: 'XXXXXXXXXXX',
|
|
|
|
+ EquipLocalId: '5484161891',
|
|
|
|
+ EquipName: '低压开关柜',
|
|
|
|
+ installation: '王小虎夫妻店',
|
|
|
|
+ type: '1'
|
|
|
|
+ }, {
|
|
|
|
+ build: 'A栋',
|
|
|
|
+ floor: '12F',
|
|
|
|
+ EquipLocalName: 'XXXXXXXXXXX',
|
|
|
|
+ EquipLocalId: '5484161891',
|
|
|
|
+ EquipName: '低压开关柜',
|
|
|
|
+ installation: '王小虎夫妻店',
|
|
|
|
+ type: '1'
|
|
|
|
+ }, {
|
|
|
|
+ build: 'A栋',
|
|
|
|
+ floor: '12F',
|
|
|
|
+ EquipLocalName: 'XXXXXXXXXXX',
|
|
|
|
+ EquipLocalId: '5484161891',
|
|
|
|
+ EquipName: '低压开关柜',
|
|
|
|
+ installation: '王小虎夫妻店',
|
|
|
|
+ type: '1'
|
|
|
|
+ }, {
|
|
|
|
+ build: 'A栋',
|
|
|
|
+ floor: '12F',
|
|
|
|
+ EquipLocalName: 'XXXXXXXXXXX',
|
|
|
|
+ EquipLocalId: '5484161891',
|
|
|
|
+ EquipName: '低压开关柜',
|
|
|
|
+ installation: '王小虎夫妻店',
|
|
|
|
+ type: '1'
|
|
|
|
+ }],
|
|
multipleSelection:[],
|
|
multipleSelection:[],
|
|
headerStyle: {
|
|
headerStyle: {
|
|
backgroundColor: '#e1e4e5',
|
|
backgroundColor: '#e1e4e5',
|