Commit e5b9854d by jack

修复bug

1 parent 44761235
......@@ -23,6 +23,7 @@
<a href="javascript:void(0)" @click="goDetail(item.prop,row)">{{row[item.prop]}}</a>
</template>
</el-table-column>
<el-table-column label="总计" prop="summation"></el-table-column>
</el-table>
<div class="pagination_list">
<el-pagination background layout="total,prev, pager, next, jumper" hide-on-single-page :total="totalElements" :page-size="pageSize" :current-page.sync="pageNumber" @current-change="getTableList" />
......@@ -115,12 +116,12 @@ export default {
label: `${i}日`,
prop: `dayNum${i}`,
});
if (i == 31) {
this.dayList.push({
label: "总计",
prop: "summation",
});
}
// if (i == 31) {
// this.dayList.push({
// label: "总计",
// prop: "summation",
// });
// }
}
this.getTableList();
......@@ -191,12 +192,10 @@ export default {
let n = id.replace("dayNum", "");
console.log(n);
console.log(row);
if (n != "summation") {
this.$router.push({
name: "driverDetail",
query: { day: `${row.statDate}-${n}`, vin: row.vin },
});
}
this.$router.push({
name: "driverDetail",
query: { day: `${row.statDate}-${n}`, vin: row.vin },
});
},
},
};
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!