|
@@ -606,6 +606,8 @@
|
|
|
phone: '',
|
|
phone: '',
|
|
|
province: '',
|
|
province: '',
|
|
|
city: '',
|
|
city: '',
|
|
|
|
|
+ area: '',
|
|
|
|
|
+ store: '',
|
|
|
intenModel: '',
|
|
intenModel: '',
|
|
|
car: '',
|
|
car: '',
|
|
|
},
|
|
},
|
|
@@ -920,6 +922,8 @@
|
|
|
this.getInfoForm.phone = ''
|
|
this.getInfoForm.phone = ''
|
|
|
this.getInfoForm.province = ''
|
|
this.getInfoForm.province = ''
|
|
|
this.getInfoForm.city = ''
|
|
this.getInfoForm.city = ''
|
|
|
|
|
+ this.getInfoForm.area = ''
|
|
|
|
|
+ this.getInfoForm.store = ''
|
|
|
this.getInfoForm.intenModel = ''
|
|
this.getInfoForm.intenModel = ''
|
|
|
}
|
|
}
|
|
|
fetch(this.httpUrl + '/scrm/v1/wxcp-raffle/p/submitPreForm', {
|
|
fetch(this.httpUrl + '/scrm/v1/wxcp-raffle/p/submitPreForm', {
|
|
@@ -931,6 +935,8 @@
|
|
|
phone: this.getInfoForm.phone,
|
|
phone: this.getInfoForm.phone,
|
|
|
province: this.getInfoForm.province,
|
|
province: this.getInfoForm.province,
|
|
|
city: this.getInfoForm.city,
|
|
city: this.getInfoForm.city,
|
|
|
|
|
+ area: this.getInfoForm.area,
|
|
|
|
|
+ store: this.getInfoForm.store,
|
|
|
intenModel: this.getInfoForm.intenModel,
|
|
intenModel: this.getInfoForm.intenModel,
|
|
|
mpOpenId: this.getQueryParam('openId') || this.localStorage.getItem('openId'),
|
|
mpOpenId: this.getQueryParam('openId') || this.localStorage.getItem('openId'),
|
|
|
}),
|
|
}),
|
|
@@ -952,11 +958,14 @@
|
|
|
},
|
|
},
|
|
|
// 获取城市数据
|
|
// 获取城市数据
|
|
|
getCityLevel() {
|
|
getCityLevel() {
|
|
|
- fetch('https://wl-1306604067.cos.ap-guangzhou.myqcloud.com/production/ct/1000/1720161853377/pc-code.json')
|
|
|
|
|
|
|
+ fetch(this.httpUrl + `//scrm/v1/tenancy-prov-city-area/p/lotteryArea?bid=${this.bId}`)
|
|
|
.then(res => {
|
|
.then(res => {
|
|
|
return res.json()
|
|
return res.json()
|
|
|
}).then(result => {
|
|
}).then(result => {
|
|
|
- this.transformedData = this.transformData(result)
|
|
|
|
|
|
|
+ let { data, code, msg } = result
|
|
|
|
|
+ if (code === 1) {
|
|
|
|
|
+ this.transformedData = this.transformData(data)
|
|
|
|
|
+ }
|
|
|
})
|
|
})
|
|
|
},
|
|
},
|
|
|
// 获取全部车型
|
|
// 获取全部车型
|
|
@@ -978,6 +987,8 @@
|
|
|
handleInfoCity(value) {
|
|
handleInfoCity(value) {
|
|
|
this.getInfoForm.province = value[0]
|
|
this.getInfoForm.province = value[0]
|
|
|
this.getInfoForm.city = value[1]
|
|
this.getInfoForm.city = value[1]
|
|
|
|
|
+ this.getInfoForm.area = value[2] || ''
|
|
|
|
|
+ this.getInfoForm.store = value[3] || ''
|
|
|
},
|
|
},
|
|
|
// 点击抽奖
|
|
// 点击抽奖
|
|
|
handleLottery() {
|
|
handleLottery() {
|