|
@@ -52,7 +52,7 @@
|
|
|
style="width: 100%;margin-bottom: 63px;"
|
|
|
@row-click="showEquipmentStatus"
|
|
|
>
|
|
|
- <el-table-column label="序号" type="index" width="60" :index="indexMethod"></el-table-column>
|
|
|
+ <el-table-column label="序号" prop="index" width="60"></el-table-column>
|
|
|
<el-table-column prop="sbjc" label="设备名称" width="600"></el-table-column>
|
|
|
<el-table-column prop="assetnum" label="设备内码"></el-table-column>
|
|
|
<el-table-column prop="is_exception" label="状态">
|
|
@@ -368,6 +368,9 @@ export default {
|
|
|
if (result === "success") {
|
|
|
this.tatol = count;
|
|
|
this.tableData = data;
|
|
|
+ _.forEach(this.tableData, (item, index) => {
|
|
|
+ item.index = ((this.curPage - 1) * this.pageSize )+ index + 1;
|
|
|
+ })
|
|
|
}
|
|
|
});
|
|
|
},
|