task#11020,token获取
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
<div class="wrap">
|
||||
<div class="navBar">
|
||||
<van-nav-bar
|
||||
title="司机app报销"
|
||||
title="路桥费报销"
|
||||
left-arrow
|
||||
left-arrow-color="#FFFFFF"
|
||||
:border="false"
|
||||
@ -62,6 +62,7 @@ import { waitReimburseList ,submitReimburseBatch,reimbursedList,waitReimburseMon
|
||||
export default {
|
||||
name: "driverCaseList",
|
||||
mixins: [myMixins],
|
||||
|
||||
data(){
|
||||
return{
|
||||
tabArr: [{name: '待报销', status: 1}, {name: '已报销', status: 2},{name: '报销失败', status: 3},],
|
||||
@ -87,9 +88,11 @@ export default {
|
||||
},
|
||||
},
|
||||
async mounted() {
|
||||
const urlParams = new URLSearchParams(window.location.search);
|
||||
this.driverId = urlParams.get('driverId');
|
||||
// this.driverId = 78948;
|
||||
let token = localStorage.getItem('token');
|
||||
this.$notify(token);
|
||||
/* const urlParams = new URLSearchParams(window.location.search);
|
||||
this.driverId = urlParams.get('driverId');*/
|
||||
this.driverId = 78948;
|
||||
await this.getMonth();
|
||||
await this.getList()
|
||||
},
|
||||
@ -121,6 +124,8 @@ export default {
|
||||
})
|
||||
if(res.code === 200){
|
||||
this.$toast(res.msg)
|
||||
}else{
|
||||
this.$toast("请勾选要报销的订单")
|
||||
}
|
||||
await this.getList()
|
||||
},
|
||||
@ -250,13 +255,13 @@ export default {
|
||||
align-items: center;
|
||||
span{
|
||||
display: inline-block;
|
||||
@include wh(82px,25px);
|
||||
@include wh(102px,25px);
|
||||
box-shadow: 0px 1px 2px 0px rgba(236,236,236,0.5);
|
||||
border-radius: 14px;
|
||||
margin-right: 8px;
|
||||
line-height: 25px;
|
||||
text-align: center;
|
||||
@include fontWeightSize(14px,600);
|
||||
@include fontWeightSize(600,14px);
|
||||
background: #FFFFFF;
|
||||
}
|
||||
.active{
|
||||
|
Reference in New Issue
Block a user