|
@@ -156,6 +156,9 @@ export default class BuyReport extends Vue {
|
|
|
'购买、售后等问题,请联系剑鱼标讯客服电话:400-108-6670'
|
|
|
]
|
|
|
|
|
|
+ // 分享码
|
|
|
+ disWord: any = ''
|
|
|
+
|
|
|
// 订单金额等数据
|
|
|
orderInfo = {
|
|
|
reportId: '',
|
|
@@ -266,6 +269,8 @@ export default class BuyReport extends Vue {
|
|
|
this.orderInfo.reportId = this.$route.params.id
|
|
|
this.orderInfo.price = reportInfo.price
|
|
|
this.orderInfo.before_price = reportInfo.before_price
|
|
|
+
|
|
|
+ this.disWord = this.$route.query.disWord
|
|
|
}
|
|
|
|
|
|
mounted () {
|
|
@@ -393,12 +398,15 @@ export default class BuyReport extends Vue {
|
|
|
}
|
|
|
|
|
|
onSubmit () {
|
|
|
- const data = {
|
|
|
+ const data: any = {
|
|
|
email: this.userInfo.email,
|
|
|
phone: this.userInfo.phone,
|
|
|
company: this.userInfo.company,
|
|
|
reportId: this.orderInfo.reportId
|
|
|
}
|
|
|
+ if (this.disWord) {
|
|
|
+ data.disWord = this.disWord
|
|
|
+ }
|
|
|
this.$toast.loading({
|
|
|
message: '加载中...',
|
|
|
forbidClick: true,
|