task#10584,司机app的driverId动态获取
This commit is contained in:
@ -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()
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user