Commit 3e565cd8 authored by zhengke's avatar zhengke

修改

parent 19408671
...@@ -269,18 +269,24 @@ ...@@ -269,18 +269,24 @@
<q-timeline color="secondary"> <q-timeline color="secondary">
<q-timeline-entry v-for="(tItem,tIndex) in data.tripDataList" :key="tIndex"> <q-timeline-entry v-for="(tItem,tIndex) in data.tripDataList" :key="tIndex">
<template v-slot:title> <template v-slot:title>
{{tItem.Remark}} <div style="font-size:14px;">{{tItem.Description}}</div>
</template> </template>
<template v-slot:subtitle> <template v-slot:subtitle>
{{tItem.UpdateTime}} <div class="customUpdateTime">
<div>{{tItem.UpdateTime}}</div>
<div>{{tItem.UpdateByName}}</div>
</div>
</template> </template>
<div> <div>
{{tItem.Description}} {{tItem.Remark}}
</div> </div>
</q-timeline-entry> </q-timeline-entry>
</q-timeline> </q-timeline>
</div> </div>
</div> </div>
<!-- <q-pagination v-model="current" :max="5" direction-links/> -->
<q-pagination class="full-width justify-end" v-model="customTripMsg.pageIndex" color="primary" :max="data.TripPageCount"
:input="true" @update:model-value ="changePage" />
</div> </div>
</div> </div>
<div class="dialog-out-close" @click="closeCutomer"> <div class="dialog-out-close" @click="closeCutomer">
...@@ -351,7 +357,8 @@ ...@@ -351,7 +357,8 @@
ckedTab:'1', ckedTab:'1',
First:1, First:1,
tripTypeArr:[], tripTypeArr:[],
tripDataList:[] tripDataList:[],
TripPageCount:0
}) })
//获取详情数据 //获取详情数据
const getCustomInfo = (param: msgParam) => { const getCustomInfo = (param: msgParam) => {
...@@ -488,8 +495,13 @@ ...@@ -488,8 +495,13 @@
customer2.getCustomerTripPage(customTripMsg).then(res=>{ customer2.getCustomerTripPage(customTripMsg).then(res=>{
console.log(res,'旅程分页数据'); console.log(res,'旅程分页数据');
data.tripDataList = res.data.Data.PageData; data.tripDataList = res.data.Data.PageData;
data.TripPageCount = res.data.Data.PageCount;
}) })
} }
const changePage = (e) => {
customTripMsg.pageIndex = e;
getCustomerPage();
}
onMounted(() => { onMounted(() => {
getCustomInfo(msg); getCustomInfo(msg);
getCustomStage({}); getCustomStage({});
...@@ -512,7 +524,8 @@ ...@@ -512,7 +524,8 @@
getlabel, getlabel,
getCustomerTripType, getCustomerTripType,
customTripMsg, customTripMsg,
getckedType getckedType,
changePage
} }
} }
} }
...@@ -731,5 +744,19 @@ ...@@ -731,5 +744,19 @@
margin-top:20px; margin-top:20px;
overflow: auto; overflow: auto;
height:620px; height:620px;
padding-right:20px;
}
.q-timeline__title{
margin-bottom:5px;
}
.customUpdateTime{
display: flex;
justify-content: space-between;
font-size:14px;
color:#9696a6;
}
.q-timeline__subtitle{
opacity: 1;
font-weight: normal;
} }
</style> </style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment