|
|
@@ -762,7 +762,7 @@
|
|
|
insOrderRightsInfoDto: this.insOrderRightsInfoDto,
|
|
|
});
|
|
|
if (underwriting.code == '200') {
|
|
|
- let res = await this.$http.get('/supplementOrder/getOrderDetail?ordersNo=' + this.id);
|
|
|
+ let res = await this.$http.get('/supplementOrder/getOrderDetail?ordersNo=' + this.ordersNo);
|
|
|
if (res.code == '200') {
|
|
|
this.orderStatus = res.data.order.orderStatus; //订单状态
|
|
|
// 状态为人工处理跳转页面
|
|
|
@@ -782,6 +782,7 @@
|
|
|
this.loadingShow = false;
|
|
|
uni.showToast({
|
|
|
icon: 'none',
|
|
|
+ duration: 10000,
|
|
|
title: underwriting.msg
|
|
|
})
|
|
|
}
|
|
|
@@ -809,11 +810,14 @@
|
|
|
},
|
|
|
//分享微信
|
|
|
weixin() {
|
|
|
+ // #ifdef APP-PLUS
|
|
|
+
|
|
|
uni.share({
|
|
|
provider: "weixin",
|
|
|
scene: "WXSceneSession",
|
|
|
type: 0,
|
|
|
- href: this.$base.h5BaseUrl + `/#/pages/quote/quoteRecordDetail?orderno=${this.ordersNo}`,
|
|
|
+ href: this.$base.h5BaseUrl +
|
|
|
+ `/#/pages/quote/quoteRecordDetail?ordersNo=${this.ordersNo}&from=share`,
|
|
|
title: `${this.companyName}${this.quoteYear}年的车险报价`,
|
|
|
summary: `${this.companyName}报价完成,保费:${this.costs.sumPremium}元,点击查看详情`,
|
|
|
imageUrl: "/static/image/zgcx.png",
|
|
|
@@ -824,20 +828,35 @@
|
|
|
console.log("fail:" + JSON.stringify(err));
|
|
|
}
|
|
|
});
|
|
|
+ // #endif
|
|
|
+ // #ifdef H5
|
|
|
+ uni.showToast({
|
|
|
+ icon: 'none',
|
|
|
+ title: "请到App中操作"
|
|
|
+ })
|
|
|
+ // #endif
|
|
|
},
|
|
|
//短信分享
|
|
|
userSmsShare() {
|
|
|
+ // #ifdef APP-PLUS
|
|
|
var msg = plus.messaging.createMessage(plus.messaging.TYPE_SMS);
|
|
|
msg.to = [this.policyHolderInfo.name]; //投保人手机号
|
|
|
msg.body =
|
|
|
- `【${this.salesmanInfo.systemShortName}】尊敬的【${this.carInfoVo.licenseNo}】车主,${this.companyName}${this.quoteYear}年车险报价:${this.costs.sumPremium}元;联系人:${this.salesmanInfo.name} ${this.salesmanInfo.mobile},点击链接查看详情或电话咨询联系人${this.$base.h5BaseUrl + `/#/pages/quote/quoteRecordDetail?orderno=${this.ordersNo}`}`;
|
|
|
+ `【${this.salesmanInfo.systemShortName}】尊敬的【${this.carInfoVo.licenseNo}】车主,${this.companyName}${this.quoteYear}年车险报价:${this.costs.sumPremium}元;联系人:${this.salesmanInfo.name} ${this.salesmanInfo.mobile},点击链接查看详情或电话咨询联系人${this.$base.h5BaseUrl + `/#/pages/quote/quoteRecordDetail?ordersNo=${this.ordersNo}&from=share`}`;
|
|
|
plus.messaging.sendMessage(msg);
|
|
|
+ // #endif
|
|
|
+ // #ifdef H5
|
|
|
+ uni.showToast({
|
|
|
+ icon: 'none',
|
|
|
+ title: "请到App中操作"
|
|
|
+ })
|
|
|
+ // #endif
|
|
|
},
|
|
|
//复制链接
|
|
|
copyLink() {
|
|
|
uni.setClipboardData({
|
|
|
data: this.$base.h5BaseUrl +
|
|
|
- `/#/pages/quote/quoteRecordDetail?orderno=${this.ordersNo}`, //要被复制的内容
|
|
|
+ `/#/pages/quote/quoteRecordDetail?ordersNo=${this.ordersNo}&from=share`, //要被复制的内容
|
|
|
success: () => { //复制成功的回调函数
|
|
|
uni.showToast({ //提示
|
|
|
icon: 'none',
|