task#10584,司机app的driverId动态获取

This commit is contained in:
2024-01-31 10:51:49 +08:00
parent bc39d7b79a
commit e7acce0e11

View File

@ -99,7 +99,7 @@ export default {
pageSize:10, pageSize:10,
total: 0, total: 0,
isCheck:false, isCheck:false,
driverId: 78948, driverId: '',//78948
submitData:[], submitData:[],
noClick:true, noClick:true,
loading:false, loading:false,
@ -115,6 +115,8 @@ export default {
}, },
}, },
async mounted() { async mounted() {
const urlParams = new URLSearchParams(window.location.search);
this.driverId = urlParams.get('driverId');
await this.getMonth(); await this.getMonth();
await this.getList() await this.getList()
}, },