Commit fcc49f85 authored by youjie's avatar youjie

no message

parent 8fd4d870
......@@ -11,6 +11,9 @@ class scheduledTripService {
static async Getrecentorder(param:any):Promise<HttpResponse>{
return requestJava('/api/b2b/user/getrecentorder',param)
}
static async GetTravelOrderB2BList(param:any):Promise<HttpResponse>{
return request('sellorder_post_GetTravelOrderB2BList',param)
}
// 待处理跟团订单列表
static async GetWaitDealOrderPageList(param:any):Promise<HttpResponse>{
return request('b2b_get_GetWaitDealOrderPageList',param)
......
......@@ -87,7 +87,7 @@
:key="i"
>
<q-img
:src="x.newCoverImg"
:src="x.newCoverImg?x.newCoverImg:'http://imgfile.oytour.com/Upload/DMC/yEiRE8pRWE5ZF8cPNRnAiQST8WbyaGQc.jpg'"
:ratio="16/9"
spinner-color="grey"
spinner-size="20px"
......
......@@ -24,7 +24,7 @@
<div class="q-pt-sm" :class="{'row justify-between':$q.platform.is.desktop,'col':$q.platform.is.mobile}">
<div :class="{'row col':$q.platform.is.desktop,'col-12':$q.platform.is.mobile}">
<div :style="{'width':$q.platform.is.desktop?'150px':'100%'}">
<q-img class="rounded-borders" :style="{'width':$q.platform.is.desktop?'150px':'100%'}" style="height: 100%;" :ratio="16 / 9" src="http://imgfile.oytour.com/Upload/DMC/yEiRE8pRWE5ZF8cPNRnAiQST8WbyaGQc.jpg" spinner-color="grey" spinner-size="50px" fit="cover"/>
<q-img class="rounded-borders" :style="{'width':$q.platform.is.desktop?'150px':'100%'}" style="height: 100%;" :ratio="16 / 9" :src="x.imgCover?x.imgCover:'http://imgfile.oytour.com/Upload/DMC/yEiRE8pRWE5ZF8cPNRnAiQST8WbyaGQc.jpg'" spinner-color="grey" spinner-size="50px" fit="cover"/>
</div>
<div class="column col" :class="{'q-pl-lg':$q.platform.is.desktop,'q-pt-sm':$q.platform.is.mobile}">
<div class="ellipsis" style="overflow: hidden;width: 100%;">
......@@ -132,7 +132,7 @@ export default defineComponent({
methods.cancellations(obj)
})
},
// 取消用车
// 取消跟团
cancellations(obj) {
scheduledTripService.B2BRemoveOrder({ID:obj.orderId})
.then(r => {
......@@ -154,7 +154,7 @@ export default defineComponent({
initOrders() {
data.loading = true
let param = Object.assign(data.pages, search)
scheduledTripService.Getrecentorder(param)
scheduledTripService.GetTravelOrderB2BList(param)
.then(r => {
data.loading = false
if (r.data.resultCode == ApiResult.SUCCESS) {
......
......@@ -38,7 +38,7 @@
<div class="text-h6 q-mb-md">{{$t('v103.scheduledTrip.passenger')}}</div>
<div class="row">
<q-img
:src="detailsObj&&detailsObj.imgCover&&detailsObj.imgCover[0].Url"
:src="detailsObj&&detailsObj.imgCover&&detailsObj.imgCover[0].Url?detailsObj.imgCover[0].Url:'http://imgfile.oytour.com/Upload/DMC/yEiRE8pRWE5ZF8cPNRnAiQST8WbyaGQc.jpg'"
class="rounded-borders"
spinner-color="grey-3"
style="width: 80px"
......@@ -98,7 +98,7 @@
<div class=" q-mb-lg" :class="{'q-mt-md':$q.platform.is.desktop}">
<div class="row q-mt-md" v-if="$q.platform.is.desktop">
<q-img
:src="detailsObj&&detailsObj.imgCover&&detailsObj.imgCover[0].Url"
:src="detailsObj&&detailsObj.imgCover&&detailsObj.imgCover[0].Url?detailsObj.imgCover[0].Url:'http://imgfile.oytour.com/Upload/DMC/yEiRE8pRWE5ZF8cPNRnAiQST8WbyaGQc.jpg'"
class="rounded-borders"
spinner-color="grey-3"
style="width: 80px"
......
......@@ -50,7 +50,7 @@
autoplay
transition-prev="slide-right"
transition-next="slide-left">
<q-carousel-slide v-for="(item, i) in dataList.imgCover" :name="i" :key="i" :img-src="item.Url" />
<q-carousel-slide v-for="(item, i) in dataList.imgCover" :name="i" :key="i" :img-src="item.Url?item.Url:'http://imgfile.oytour.com/Upload/DMC/yEiRE8pRWE5ZF8cPNRnAiQST8WbyaGQc.jpg'" />
</q-carousel>
</div>
</div>
......
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