combiOrder.vue 1.22 KB
Newer Older
潘永坪's avatar
潘永坪 committed
1 2 3 4 5 6 7
<template>
	<view>
		<web-view :src="outUrl"></web-view>
	</view>
</template>

<script>
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
export default {
  data() {
    return {
      enterUrl:'',//进入页面路由
      outUrl:'',//跳出页面路由
    }
  },
  onLoad(option){
    let groupId=option.groupId||''
    let groupChannelId=option.groupChannelId||''
    let companyId=option.companyId||''
    let productIdList=option.productIdList||''
    let orderSource=option.orderSource||''
    let ifyukuaiCode=option.ifyukuaiCode||''//是否是渝快码跳入,渝快码跳入需要在H5端另外走流程
    let pdOpenid=uni.getStorageSync('openid')//胖丁小程序openid,临时用,当公众号授权做好之后可以删除
    let pdToken=uni.getStorageSync('token')
    let pdCreateUserId=uni.getStorageSync('createUserId')
    let pdUserId=uni.getStorageSync('userId')
    let baseUrl='https://wx.pangdly.com/#/combiOrder?pdOpenid='+pdOpenid+'&pdToken='+pdToken+'&pdCreateUserId='+pdCreateUserId+'&pdUserId='+pdUserId
    let url='&groupId='+groupId+'&groupChannelId='+groupChannelId+'&productIdList='+productIdList+'&orderSource='+orderSource+'&companyId='+companyId+'&ifyukuaiCode='+ifyukuaiCode
    this.outUrl=baseUrl+url
  },
  methods: {
潘永坪's avatar
潘永坪 committed
31
			
32 33
  }
}
潘永坪's avatar
潘永坪 committed
34 35 36 37 38
</script>

<style>

</style>