if(type=="17"){ | if(type=="17"){ | ||||
uni.navigateTo({ | uni.navigateTo({ | ||||
url:`plugin://issuer-plugin/login?redirectUrl=/pages/index/index&type=1` | |||||
url:`plugin://issuer-plugin/login?redirectUrl=/pages/index/index&type=1&mobile=${getItem("mobile")}` | |||||
}) | }) | ||||
}else if(type=="16"){ | }else if(type=="16"){ | ||||
uni.navigateTo({ | uni.navigateTo({ | ||||
url:`plugin://issuer-plugin/login?redirectUrl=/pages/index/index&wechatSignNo=${item}` | |||||
url:`plugin://issuer-plugin/login?redirectUrl=/pages/index/index&wechatSignNo=${item}&mobile=${getItem("mobile")}` | |||||
}) | }) | ||||
}else{ | }else{ | ||||
let data=""//传递过来的数据 | let data=""//传递过来的数据 | ||||
} | } | ||||
console.log("data.promoteId",data.promoteId) | console.log("data.promoteId",data.promoteId) | ||||
uni.navigateTo({ | uni.navigateTo({ | ||||
url:`plugin://issuer-plugin/login?redirectUrl=${redirectUrl}&plateNum=${data.vehicleId?data.vehicleId:""}&handleType=${handleType}&orderNo=${(handleType!='continuation' && data.orderId)?data.orderId:""}&orderType=${orderType}&afterType=${afterType}&accountType=${accountType}&carType=${carType}&etcProductId=${data.promoteId?data.promoteId:data.productId}` | |||||
url:`plugin://issuer-plugin/login?redirectUrl=${redirectUrl}&plateNum=${data.vehicleId?data.vehicleId:""}&handleType=${handleType}&orderNo=${(handleType!='continuation' && data.orderId)?data.orderId:""}&orderType=${orderType}&afterType=${afterType}&accountType=${accountType}&carType=${carType}&etcProductId=${data.promoteId?data.promoteId:data.productId}&mobile=${getItem("mobile")}` | |||||
}) | }) | ||||
} | } | ||||
} | } |
"root": "subpackage/carPark", | "root": "subpackage/carPark", | ||||
"plugins": { | "plugins": { | ||||
"issuer-plugin": { | "issuer-plugin": { | ||||
"version": "dev-c968a95bd8b2e12ed880d15141e81dcd", | |||||
// "version": "1.0.1", | |||||
// "version": "dev-c968a95bd8b2e12ed880d15141e81dcd", | |||||
"version": "1.0.2", | |||||
"provider": "wxa2d9acdd1054e69b" | "provider": "wxa2d9acdd1054e69b" | ||||
} | } | ||||
}, | }, |
<view class="btns" v-else-if="item.orderStep == OrderStatus.待激活"> | <view class="btns" v-else-if="item.orderStep == OrderStatus.待激活"> | ||||
<view class="btn btn-normal" @click.stop="gotoReturnOrder(item)" v-if="item.applyReturn">申请退货</view> | <view class="btn btn-normal" @click.stop="gotoReturnOrder(item)" v-if="item.applyReturn">申请退货</view> | ||||
<view class="btn btn-normal" @click.stop="gotoExchangeOrder(item)">申请换货</view> | <view class="btn btn-normal" @click.stop="gotoExchangeOrder(item)">申请换货</view> | ||||
<view class="btn btn-primary" @click.stop="gotoReplenishmentOrder(item)" v-if="item.deviceType == deviceType">申请补货</view> | |||||
<view class="btn btn-normal" @click.stop="gotoReplenishmentOrder(item)" v-if="item.deviceType == deviceType">申请补货</view> | |||||
<view class="btn btn-primary" @click.stop="gotoActiveOrder(item)">去激活</view> | <view class="btn btn-primary" @click.stop="gotoActiveOrder(item)">去激活</view> | ||||
<view class="btn btn-primary" @click.stop="closeOrder(item)" v-if="item.finishOrder">结束订单</view> | <view class="btn btn-primary" @click.stop="closeOrder(item)" v-if="item.finishOrder">结束订单</view> | ||||
</view> | </view> |
data: { | data: { | ||||
obuId: num, | obuId: num, | ||||
encryptedInfo: data, | encryptedInfo: data, | ||||
wxOpenId:state.openid | |||||
wxOpenId:getItem("mobile") | |||||
}, | }, | ||||
method: "POST", | method: "POST", | ||||
showLoading: true, | showLoading: true, |
showLoading: true, | showLoading: true, | ||||
}; | }; | ||||
if(state.deviceType==deviceType){ | if(state.deviceType==deviceType){ | ||||
options.data['wxOpenId'] =getItem("QYorder").openid | |||||
options.data['wxOpenId'] =getItem("mobile") | |||||
} | } | ||||
// #ifdef MP-WEIXIN | // #ifdef MP-WEIXIN | ||||
options.data['source'] = 'WECHAT' | options.data['source'] = 'WECHAT' |
import popupBottom from "./components/popup-bottom.vue"; | import popupBottom from "./components/popup-bottom.vue"; | ||||
import { msg, getOrderTypeName, getCarTypeName, getOrderStatusName, getOrderTime } from "@/utils/utils"; | import { msg, getOrderTypeName, getCarTypeName, getOrderStatusName, getOrderTime } from "@/utils/utils"; | ||||
import { onLoad } from "@dcloudio/uni-app"; | import { onLoad } from "@dcloudio/uni-app"; | ||||
import {getCodeName} from "@/datas/queryKey.js"; | |||||
const state = reactive({ | const state = reactive({ | ||||
orderInfo: "", | orderInfo: "", | ||||
//是否显示更多订单信息 | //是否显示更多订单信息 | ||||
state.orderShowInfo[6].value = getOrderTime(state.orderInfo['insertTime']) | state.orderShowInfo[6].value = getOrderTime(state.orderInfo['insertTime']) | ||||
state.orderShowInfo[7].value = state.orderInfo['trackingNumber'] | state.orderShowInfo[7].value = state.orderInfo['trackingNumber'] | ||||
state.orderShowInfo[8].value = state.orderInfo['courierCompany'] | |||||
state.orderShowInfo[8].value = getCodeName('快递物流公司',state.orderInfo.courierCompany) | |||||
}) | }) | ||||
</script> | </script> | ||||
<view class="d-row"> | <view class="d-row"> | ||||
<text class="d-label">物流公司:</text> | <text class="d-label">物流公司:</text> | ||||
<text | <text | ||||
class="d-value">{{state.orderInfo.courierCompany ?state.orderInfo.courierCompany: ''}}</text> | |||||
class="d-value">{{getCodeName('快递物流公司',state.orderInfo.courierCompany) ?getCodeName('快递物流公司',state.orderInfo.courierCompany): ''}}</text> | |||||
</view> | </view> | ||||
</view> | </view> | ||||
<!-- 订单已完成 --> | <!-- 订单已完成 --> | ||||
<view class="d-row"> | <view class="d-row"> | ||||
<text class="d-label">物流公司:</text> | <text class="d-label">物流公司:</text> | ||||
<text | <text | ||||
class="d-value">{{state.orderInfo.courierCompany ?state.orderInfo.courierCompany: ''}}</text> | |||||
class="d-value">{{getCodeName('快递物流公司',state.orderInfo.courierCompany) ?getCodeName('快递物流公司',state.orderInfo.courierCompany): ''}}</text> | |||||
</view> | </view> | ||||
</view> | </view> | ||||
</view> | </view> | ||||
import { getETCStatusName, getOBUStatusName, msg, getOrderTypeName, getCarTypeName, getOrderTime, isBlank, timesDiff } from "@/utils/utils"; | import { getETCStatusName, getOBUStatusName, msg, getOrderTypeName, getCarTypeName, getOrderTime, isBlank, timesDiff } from "@/utils/utils"; | ||||
import { OrderStatus } from "@/datas/enum"; | import { OrderStatus } from "@/datas/enum"; | ||||
import {deviceType} from "@/utils/network/difference"; | import {deviceType} from "@/utils/network/difference"; | ||||
import { | |||||
getCodeName | |||||
} from "@/datas/queryKey.js"; | |||||
const state = reactive({ | const state = reactive({ | ||||
orderInfo: { | orderInfo: { | ||||
orderInfoExt: {} | orderInfoExt: {} |
} | } | ||||
// options.url = envs[process.env.NODE_ENV].baseUrl + '/api/interfaceMidGroundIn' | |||||
options.url = envs[process.env.NODE_ENV].baseUrl + '/dev/api/interfaceMidGroundIn' | |||||
options.url = envs[process.env.NODE_ENV].baseUrl + '/api/interfaceMidGroundIn' | |||||
// options.url = envs[process.env.NODE_ENV].baseUrl + '/dev/api/interfaceMidGroundIn' | |||||
//默认json数据格式提交` | //默认json数据格式提交` | ||||
let contentType = 'application/x-www-form-urlencoded' | let contentType = 'application/x-www-form-urlencoded' | ||||