| | |
| | | <view class="tips f28 p20 radius12 friend" v-if="is_friend"><text class="iconfont icon-gantanhao mr10"></text>您正在帮朋友报名,以下信息请填写您朋友的信息</view> --> |
| | | <view class="common-form">报名信息</view> |
| | | <view class="item d-s-c"> |
| | | <view class="item-name">走访活动编号</view> |
| | | <input type="text" maxlength="30" class="flex-1 f28" placeholder="请输入走访活动编号" |
| | | v-model="formData.real_name" placeholder-class="placeholder" /> |
| | | <view class="item-name">活动编号</view> |
| | | <input type="text" maxlength="30" class="flex-1 f28" placeholder="请输入活动编号" |
| | | v-model="formData.activity_number" placeholder-class="placeholder" /> |
| | | </view> |
| | | <view class="item d-s-c"> |
| | | <view class="item-name">真实姓名</view> |
| | |
| | | province_id: 0, |
| | | city_id: 0, |
| | | region_id: 0, |
| | | activity_number:'' |
| | | }, |
| | | /*尺寸比例*/ |
| | | ratio: 1, |
| | |
| | | }, |
| | | getRegistrationInformation() { |
| | | let self = this; |
| | | self._get('branch.activity/getRegistrationInformation', {}, function(res) { |
| | | self._get('branch.activity/getRegistrationInformation', {activity_id:self.activityData.activity_id}, function(res) { |
| | | if (res.data.registrationInformation) { |
| | | let data=res.data.registrationInformation; |
| | | self.formData.province_id = data.province_id; |
| | |
| | | self.formData.mobile = data.mobile; |
| | | self.formData.branch_id = data.branch_id; |
| | | self.formData.company = data.company; |
| | | self.formData.activity_number = data.activity_number; |
| | | self.selectCity = res.data.registrationInformation.region; |
| | | if (res.data.registrationInformation.branch_name) { |
| | | self.branch_name = res.data.registrationInformation.branch_name; |