Commit c1fe7649 authored by 潘永坪's avatar 潘永坪

Merge branch 'develop' of http://git.tbd.yanzuoguang.com/panyongping/uni-pdtravel into develop

parents 37032289 48e19a0c
This diff is collapsed.
...@@ -163,11 +163,11 @@ ...@@ -163,11 +163,11 @@
</template> </template>
<script> <script>
import uPicker from "@/uview-ui/components/u-picker/u-picker.vue"; import uPicker from '@/uview-ui/components/u-picker/u-picker.vue'
import uPopup from "@/uview-ui/components/u-popup/u-popup.vue"; import uPopup from '@/uview-ui/components/u-popup/u-popup.vue'
import uToast from "@/uview-ui/components/u-toast/u-toast.vue"; import uToast from '@/uview-ui/components/u-toast/u-toast.vue'
import uModal from "@/uview-ui/components/u-modal/u-modal.vue"; import uModal from '@/uview-ui/components/u-modal/u-modal.vue'
export default { export default {
filters:{ filters:{
orderType(i){//订单类型 orderType(i){//订单类型
switch(i){ switch(i){
...@@ -229,6 +229,9 @@ ...@@ -229,6 +229,9 @@
case 11: case 11:
return '已过期 ' return '已过期 '
break break
case 12:
return '退票审核中 '
break
} }
}, },
orderStatus2(i){//酒店订单状态 orderStatus2(i){//酒店订单状态
...@@ -394,8 +397,8 @@ ...@@ -394,8 +397,8 @@
} }
}, },
onLoad(option) { onLoad(option) {
//this.openId = uni.getStorageSync("openid") this.openId = uni.getStorageSync('openid')
this.openId = "oh2UV1lyYABHMZ1rMlgjhVHyyYDQ" //this.openId = 'oh2UV1lyYABHMZ1rMlgjhVHyyYDQ'
this.ifyukuaiCode = option.ifyukuaiCode||'' this.ifyukuaiCode = option.ifyukuaiCode||''
this.getData(1) this.getData(1)
}, },
...@@ -493,7 +496,7 @@ ...@@ -493,7 +496,7 @@
if(flag==1){//第一次加载 if(flag==1){//第一次加载
this.lists = [] this.lists = []
} }
if(ret.data.length>0){ if(ret.data.list.length>0){
this.dataLengthType = true this.dataLengthType = true
}else{ }else{
this.dataLengthType = false this.dataLengthType = false
...@@ -569,7 +572,7 @@ ...@@ -569,7 +572,7 @@
var ret = res var ret = res
if(ret.code=='00'){ if(ret.code=='00'){
this.$refs.uToast.show({ this.$refs.uToast.show({
title: "订单取消成功", title: '订单取消成功',
type: 'success', type: 'success',
}) })
//this.$store.commit('showLoading') //this.$store.commit('showLoading')
...@@ -596,7 +599,7 @@ ...@@ -596,7 +599,7 @@
var ret = res var ret = res
if(ret.code=='00'){ if(ret.code=='00'){
this.$refs.uToast.show({ this.$refs.uToast.show({
title: "订单删除成功", title: '订单删除成功',
type: 'success', type: 'success',
}) })
//this.$store.commit('showLoading') //this.$store.commit('showLoading')
...@@ -631,10 +634,10 @@ ...@@ -631,10 +634,10 @@
}, },
}, },
onReachBottom(){//上拉加载 onReachBottom(){//上拉加载
this.pageIndex++; this.pageIndex++
this.getData(2); this.getData(2)
}, },
} }
</script> </script>
<style scoped lang="scss"> <style scoped lang="scss">
......
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