task#11035,调度app路桥费报销

This commit is contained in:
2024-02-20 16:17:46 +08:00
parent 503b21e441
commit 8a938e9071
3 changed files with 24 additions and 13 deletions

View File

@ -8,7 +8,7 @@
:border="false" :border="false"
:fixed="true" :fixed="true"
:safe-area-inset-top="true" :safe-area-inset-top="true"
@click-left="h5GoBack" @click-left="goPrePage"
/> />
</div> </div>
<div class="tab_wrap"> <div class="tab_wrap">
@ -68,12 +68,16 @@ export default {
}, },
async mounted() { async mounted() {
// console.log("this.$route.params.batchCode",this.$route.params.batchCode)
this.id = this.$route.params.id || this.$route.params.batchCode; this.id = this.$route.params.id || this.$route.params.batchCode;
// this.activeIndex=this.$route.params?.activeIndex || 0 this.activeIndex=this.$route.params?.activeIndex || 0
await this.batchOrderCount(); await this.batchOrderCount();
await this.getList() await this.getList()
}, },
methods:{ methods:{
goPrePage(){
this.$router.push({ name: 'caseList', });
},
onRefresh() { onRefresh() {
this.getList() this.getList()
setTimeout(() => { setTimeout(() => {
@ -115,7 +119,7 @@ export default {
name: 'caseDetail', // 目标路由的名称 name: 'caseDetail', // 目标路由的名称
params: { params: {
id:id, id:id,
// index:this.activeIndex, index:this.activeIndex,
batchCode:this.id, batchCode:this.id,
} }
}); });
@ -181,7 +185,7 @@ export default {
@include fontWeightSize(500, 14px); @include fontWeightSize(500, 14px);
@include flexColAround(); @include flexColAround();
padding: 2px 0 10px 0; padding: 2px 0 10px 0;
background: #354683; background: #2C395F;
div { div {
padding-top: 8px; padding-top: 8px;
color: #FFFFFF; color: #FFFFFF;
@ -217,9 +221,13 @@ export default {
transform: translateX(-50%); transform: translateX(-50%);
} }
} }
::v-deep .van-pull-refresh{
height: calc(100% - 86px) ;
}
.listWrap{ .listWrap{
width: 100%; width: 100%;
height: calc(100% - 86px); //height: calc(100% - 86px);
height: 100%;
overflow-y: auto; overflow-y: auto;
.listItem{ .listItem{

View File

@ -148,9 +148,9 @@ export default {
}, },
created() { created() {
this.id = this.$route.params.id; this.id = this.$route.params.id;
// this.activeIndex=this.$route.params.index; this.activeIndex=this.$route.params.index;
this.batchCode=this.$route.params.batchCode this.batchCode=this.$route.params.batchCode
console.log(" this.batchCode", this.batchCode) console.log(" this.batchCode", this.batchCode,this.activeIndex)
}, },
async mounted(){ async mounted(){
await this.getOrderDetail() await this.getOrderDetail()
@ -159,12 +159,11 @@ export default {
}); });
}, },
methods:{ methods:{
goPrePage(){ goPrePage(){
this.$router.push({ this.$router.push({
name: 'caseAuditList', // 目标路由的名称 name: 'caseAuditList', // 目标路由的名称
params: { params: {
// activeIndex:this.activeIndex, activeIndex:this.activeIndex,
batchCode:this.batchCode, batchCode:this.batchCode,
} }
}); });

View File

@ -57,10 +57,10 @@ export default {
} }
}, },
async mounted() { async mounted() {
let token = localStorage.getItem('token'); /*let token = localStorage.getItem('token');
this.$dialog.alert({ this.$dialog.alert({
message: token message: token
}); });*/
await this.getCount(); await this.getCount();
await this.getList() await this.getList()
}, },
@ -134,11 +134,14 @@ export default {
/*::v-deep .van-nav-bar__content{ /*::v-deep .van-nav-bar__content{
background-color: #354683 !important; background-color: #354683 !important;
}*/ }*/
::v-deep .van-pull-refresh{
height: calc(100% - 86px) ;
}
.tab_wrap { .tab_wrap {
@include fontWeightSize(500, 14px); @include fontWeightSize(500, 14px);
@include flexColAround(); @include flexColAround();
padding: 2px 0 10px 0; padding: 2px 0 10px 0;
background: #354683; background: #2C395F;
div { div {
padding-top: 8px; padding-top: 8px;
color: #FFFFFF; color: #FFFFFF;
@ -176,7 +179,8 @@ export default {
} }
.listWrap{ .listWrap{
width: 100%; width: 100%;
height: calc(100% - 86px); //height: calc(100% - 86px);
height: 100%;
overflow-y: auto; overflow-y: auto;
background-color: #F4F5F7; background-color: #F4F5F7;
.listItem{ .listItem{