国际研讨会的报名
This commit is contained in:
@@ -13,7 +13,9 @@ Page({
|
|||||||
|
|
||||||
},
|
},
|
||||||
// 数据
|
// 数据
|
||||||
dataSource:[]
|
dataSource:[],
|
||||||
|
// 是否国际研讨会过来的
|
||||||
|
page:""
|
||||||
},
|
},
|
||||||
// 输入查询条件
|
// 输入查询条件
|
||||||
bindInputCompanyName(e){
|
bindInputCompanyName(e){
|
||||||
@@ -59,6 +61,7 @@ Page({
|
|||||||
},
|
},
|
||||||
// 选中的企业
|
// 选中的企业
|
||||||
selectedItem(e){
|
selectedItem(e){
|
||||||
|
const that = this
|
||||||
// 带过去的信息
|
// 带过去的信息
|
||||||
let selectedCompany = JSON.stringify(e.currentTarget.dataset.company)
|
let selectedCompany = JSON.stringify(e.currentTarget.dataset.company)
|
||||||
wx.showModal({
|
wx.showModal({
|
||||||
@@ -67,9 +70,16 @@ Page({
|
|||||||
success: function (res) {
|
success: function (res) {
|
||||||
if (res.confirm) {
|
if (res.confirm) {
|
||||||
//这里是点击了确定以后
|
//这里是点击了确定以后
|
||||||
wx.navigateTo({
|
if(that.data.page === 'guoji'){
|
||||||
url: `../signUpPage/signUpPage?company=${selectedCompany}`,
|
wx.navigateTo({
|
||||||
})
|
url: `../signUpPageGuoji/signUpPageGuoji?company=${selectedCompany}`,
|
||||||
|
})
|
||||||
|
console.log('that.data.page',that.data.page);
|
||||||
|
}else{
|
||||||
|
wx.navigateTo({
|
||||||
|
url: `../signUpPage/signUpPage?company=${selectedCompany}`,
|
||||||
|
})
|
||||||
|
}
|
||||||
// 在选中企业后 将选中的企业信息存入缓存中 保证新建企业联系人的时候的回显 与参数传id
|
// 在选中企业后 将选中的企业信息存入缓存中 保证新建企业联系人的时候的回显 与参数传id
|
||||||
wx.setStorage({
|
wx.setStorage({
|
||||||
key:'selectedCompany',
|
key:'selectedCompany',
|
||||||
@@ -85,6 +95,12 @@ Page({
|
|||||||
* 生命周期函数--监听页面加载
|
* 生命周期函数--监听页面加载
|
||||||
*/
|
*/
|
||||||
onLoad: function (options) {
|
onLoad: function (options) {
|
||||||
|
console.log(options);
|
||||||
|
if(options.page){
|
||||||
|
this.setData({
|
||||||
|
page:options.page
|
||||||
|
})
|
||||||
|
}
|
||||||
this.loadData()
|
this.loadData()
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
@@ -15,7 +15,9 @@ Page({
|
|||||||
// 数据
|
// 数据
|
||||||
dataSource: [],
|
dataSource: [],
|
||||||
// 选择参会人 还是 选择邮寄联系人 1 是参会人 2 是邮寄联系人
|
// 选择参会人 还是 选择邮寄联系人 1 是参会人 2 是邮寄联系人
|
||||||
selectType:""
|
selectType:"",
|
||||||
|
// 是否是从国际研讨会跳过来的
|
||||||
|
page:''
|
||||||
},
|
},
|
||||||
// 输入查询条件
|
// 输入查询条件
|
||||||
bindInputName(e) {
|
bindInputName(e) {
|
||||||
@@ -55,19 +57,22 @@ Page({
|
|||||||
content: '是否选中该联系人',
|
content: '是否选中该联系人',
|
||||||
success: function (res) {
|
success: function (res) {
|
||||||
if (res.confirm) {
|
if (res.confirm) {
|
||||||
|
|
||||||
debugger
|
|
||||||
//这里是点击了确定以后
|
//这里是点击了确定以后
|
||||||
// 将选中的参会人存入缓存中
|
// 将选中的参会人存入缓存中
|
||||||
if(that.data.selectType === '1'){
|
if(that.data.selectType === '1'){
|
||||||
debugger
|
|
||||||
wx.setStorage({
|
wx.setStorage({
|
||||||
key:'selectedPerson',
|
key:'selectedPerson',
|
||||||
data:selectedPerson,
|
data:selectedPerson,
|
||||||
success() {
|
success() {
|
||||||
wx.navigateTo({
|
if(that.data.page === 'guoji'){
|
||||||
url: `../signUpPage/signUpPage`,
|
wx.navigateTo({
|
||||||
})
|
url: `../signUpPageGuoji/signUpPageGuoji`,
|
||||||
|
})
|
||||||
|
}else{
|
||||||
|
wx.navigateTo({
|
||||||
|
url: `../signUpPage/signUpPage`,
|
||||||
|
})
|
||||||
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}else if(that.data.selectType === '2' ){
|
}else if(that.data.selectType === '2' ){
|
||||||
@@ -76,9 +81,15 @@ Page({
|
|||||||
key:'selectedPostPerson',
|
key:'selectedPostPerson',
|
||||||
data:selectedPerson,
|
data:selectedPerson,
|
||||||
success() {
|
success() {
|
||||||
wx.navigateTo({
|
if(that.data.page === 'guoji'){
|
||||||
url: `../signUpPage/signUpPage`,
|
wx.navigateTo({
|
||||||
})
|
url: `../signUpPageGuoji/signUpPageGuoji`,
|
||||||
|
})
|
||||||
|
}else{
|
||||||
|
wx.navigateTo({
|
||||||
|
url: `../signUpPage/signUpPage`,
|
||||||
|
})
|
||||||
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}else{
|
}else{
|
||||||
@@ -115,7 +126,8 @@ Page({
|
|||||||
console.log(options);
|
console.log(options);
|
||||||
this.setData({
|
this.setData({
|
||||||
'queryParam.companyId':options.companyId,
|
'queryParam.companyId':options.companyId,
|
||||||
selectType:options.selectType
|
selectType:options.selectType,
|
||||||
|
page:options.page
|
||||||
})
|
})
|
||||||
this.loadData(this.data.queryParam)
|
this.loadData(this.data.queryParam)
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -42,7 +42,6 @@ Page({
|
|||||||
selectedPostPerson:{},
|
selectedPostPerson:{},
|
||||||
// 选中的会议
|
// 选中的会议
|
||||||
selectedMeeting:{}
|
selectedMeeting:{}
|
||||||
|
|
||||||
},
|
},
|
||||||
// 是否需要发票的选择
|
// 是否需要发票的选择
|
||||||
needInvoiceChange(e){
|
needInvoiceChange(e){
|
||||||
@@ -70,8 +69,8 @@ Page({
|
|||||||
formData.meetingId = this.data.selectedMeeting.id
|
formData.meetingId = this.data.selectedMeeting.id
|
||||||
// 参会人id
|
// 参会人id
|
||||||
formData.companyContactId = this.data.selectedPerson.id
|
formData.companyContactId = this.data.selectedPerson.id
|
||||||
// 邮寄联系人id 暂时写一样的 测试用
|
// 邮寄联系人id
|
||||||
formData.postContactId = this.data.selectedPerson.id
|
formData.postContactId = this.data.selectedPostPerson.id
|
||||||
// 参会企业id
|
// 参会企业id
|
||||||
formData.companyId = this.data.selectedCompany.id
|
formData.companyId = this.data.selectedCompany.id
|
||||||
// 会议类型
|
// 会议类型
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
// pages/signUpPageGuoji/signUpPageGuoji.js
|
// pages/signUpPageGuoji/signUpPageGuoji.js
|
||||||
import MeetingApi from "../../assets/js/http/meetingApi"
|
import MeetingApi from "../../assets/js/http/meetingApi"
|
||||||
|
import signUpApi from "../../assets/js/http/signUp"
|
||||||
Page({
|
Page({
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -26,6 +27,8 @@ Page({
|
|||||||
inviteCodeArr: [],
|
inviteCodeArr: [],
|
||||||
// 是否出现输入邀请码 参会身份选择嘉宾才出现
|
// 是否出现输入邀请码 参会身份选择嘉宾才出现
|
||||||
inviteCodeShowBool: false,
|
inviteCodeShowBool: false,
|
||||||
|
// 校验邀请码的按钮控制
|
||||||
|
validateBtnBool: false,
|
||||||
// 表单的邀请码值
|
// 表单的邀请码值
|
||||||
inviteCode: "",
|
inviteCode: "",
|
||||||
// vip的表单显示
|
// vip的表单显示
|
||||||
@@ -35,8 +38,114 @@ Page({
|
|||||||
// 合作伙伴的表单显示
|
// 合作伙伴的表单显示
|
||||||
cooperatieBool: false,
|
cooperatieBool: false,
|
||||||
// 特邀嘉宾的显示
|
// 特邀嘉宾的显示
|
||||||
guestBool: false
|
guestBool: false,
|
||||||
|
// 选中的参会单位
|
||||||
|
selectedCompany: {},
|
||||||
|
// 选中的联系人
|
||||||
|
selectedPerson: {},
|
||||||
|
// 选中的邮寄联系人
|
||||||
|
selectedPostPerson: {},
|
||||||
|
// 抵达时间
|
||||||
|
arrivalTime: '请选择抵达时间',
|
||||||
|
// 入住酒店时间
|
||||||
|
inHotelTime:'请选择入住酒店时间',
|
||||||
|
// 离店时间
|
||||||
|
outHotelTime:'请选择离店时间',
|
||||||
|
// 离开时间
|
||||||
|
departureTime: '请选择离开时间',
|
||||||
|
// 是否选择发票的选中的索引
|
||||||
|
index: -1,
|
||||||
|
// 嘉宾身份
|
||||||
|
guestType:-1,
|
||||||
|
// 缴费方式
|
||||||
|
paymentMethodList: [{
|
||||||
|
value: '1',
|
||||||
|
name: '汇款'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
value: '2',
|
||||||
|
name: '线上缴费'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
value: '3',
|
||||||
|
name: '打包'
|
||||||
|
},
|
||||||
|
],
|
||||||
|
needInvoiceList: [{
|
||||||
|
value: '0',
|
||||||
|
name: '不需要'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
value: '1',
|
||||||
|
name: '增值税普通发票'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
value: '2',
|
||||||
|
name: '增值税专用发票'
|
||||||
|
},
|
||||||
|
],
|
||||||
|
// 是否
|
||||||
|
need: [{
|
||||||
|
value: '1',
|
||||||
|
name: '是'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
value: '0',
|
||||||
|
name: '否'
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
// 抵达时间选择
|
||||||
|
bindDateChangeArriveTime(e) {
|
||||||
|
this.setData({
|
||||||
|
arrivalTime: e.detail.value
|
||||||
|
})
|
||||||
|
},
|
||||||
|
// 离开时间选择
|
||||||
|
bindDateChangeLeaveTime(e) {
|
||||||
|
this.setData({
|
||||||
|
departureTime: e.detail.value
|
||||||
|
})
|
||||||
|
},
|
||||||
|
// 入住酒店时间
|
||||||
|
bindDateChangeInHotelTime(e){
|
||||||
|
this.setData({
|
||||||
|
inHotelTime: e.detail.value
|
||||||
|
})
|
||||||
|
},
|
||||||
|
// 离店时间选择
|
||||||
|
bindDateChangeOutHotelTime(e){
|
||||||
|
this.setData({
|
||||||
|
outHotelTime: e.detail.value
|
||||||
|
})
|
||||||
|
},
|
||||||
|
|
||||||
|
|
||||||
|
// 是否需要发票的选择
|
||||||
|
needInvoiceChange(e) {
|
||||||
|
this.setData({
|
||||||
|
index: e.detail.value
|
||||||
|
})
|
||||||
|
},
|
||||||
|
// 选择参会单位
|
||||||
|
selectCompany(e) {
|
||||||
|
wx.navigateTo({
|
||||||
|
url: `../companyList/companyList?page=${e.currentTarget.dataset.page}`,
|
||||||
|
})
|
||||||
|
},
|
||||||
|
// 选择参会人
|
||||||
|
selectPerson(e) {
|
||||||
|
if (!!this.data.selectedCompany.id) {
|
||||||
|
wx.navigateTo({
|
||||||
|
url: `../personList/personList?companyId=${this.data.selectedCompany.id}&selectType=${e.currentTarget.dataset.selecttype}&page=${e.currentTarget.dataset.page}`,
|
||||||
|
})
|
||||||
|
} else {
|
||||||
|
wx.showToast({
|
||||||
|
title: '请先选择参会单位',
|
||||||
|
icon: "none",
|
||||||
|
duration: 800,
|
||||||
|
});
|
||||||
|
}
|
||||||
},
|
},
|
||||||
// 改变参会身份
|
// 改变参会身份
|
||||||
changeIdentify(e) {
|
changeIdentify(e) {
|
||||||
@@ -44,13 +153,23 @@ Page({
|
|||||||
if (value === '1') {
|
if (value === '1') {
|
||||||
this.setData({
|
this.setData({
|
||||||
inviteCodeShowBool: true,
|
inviteCodeShowBool: true,
|
||||||
inviteCode:''
|
validateBtnBool: true,
|
||||||
|
inviteCode: ''
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
this.setData({
|
this.setData({
|
||||||
inviteCodeShowBool: false
|
inviteCodeShowBool: false,
|
||||||
|
validateBtnBool: false
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 切换身份显示的 bug
|
||||||
|
this.setData({
|
||||||
|
vipBool: false,
|
||||||
|
speakerBool: false,
|
||||||
|
cooperatieBool: false,
|
||||||
|
guestBool: false,
|
||||||
|
})
|
||||||
},
|
},
|
||||||
// 设置邀请码的值
|
// 设置邀请码的值
|
||||||
bindInputInviteCode(e) {
|
bindInputInviteCode(e) {
|
||||||
@@ -90,29 +209,32 @@ Page({
|
|||||||
duration: 800,
|
duration: 800,
|
||||||
});
|
});
|
||||||
console.log(validateArr[0].type);
|
console.log(validateArr[0].type);
|
||||||
|
this.setData({
|
||||||
|
guestType:validateArr[0].type
|
||||||
|
})
|
||||||
switch (validateArr[0].type) {
|
switch (validateArr[0].type) {
|
||||||
case '1':
|
case '1':
|
||||||
this.setData({
|
this.setData({
|
||||||
vipBool: true,
|
vipBool: true,
|
||||||
inviteCodeShowBool:false
|
validateBtnBool: false
|
||||||
})
|
})
|
||||||
break
|
break
|
||||||
case '2':
|
case '2':
|
||||||
this.setData({
|
this.setData({
|
||||||
speakerBool: true,
|
speakerBool: true,
|
||||||
inviteCodeShowBool:false
|
validateBtnBool: false
|
||||||
})
|
})
|
||||||
break
|
break
|
||||||
case '3':
|
case '3':
|
||||||
this.setData({
|
this.setData({
|
||||||
guestBool: true,
|
guestBool: true,
|
||||||
inviteCodeShowBool:false
|
validateBtnBool: false
|
||||||
})
|
})
|
||||||
break
|
break
|
||||||
case '4':
|
case '4':
|
||||||
this.setData({
|
this.setData({
|
||||||
cooperatieBool: true,
|
cooperatieBool: true,
|
||||||
inviteCodeShowBool:false
|
validateBtnBool: false
|
||||||
})
|
})
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
@@ -160,12 +282,96 @@ Page({
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
// 确定
|
||||||
|
formSubmit(e){
|
||||||
|
|
||||||
|
const formData = Object.assign({},e.detail.value)
|
||||||
|
// 会议id
|
||||||
|
formData.meetingId = '1449638073563172866'
|
||||||
|
// 参会人id
|
||||||
|
formData.companyContactId = this.data.selectedPerson.id
|
||||||
|
// 邮寄联系人id
|
||||||
|
formData.postContactId = this.data.selectedPostPerson.id
|
||||||
|
// 参会企业id
|
||||||
|
formData.companyId = this.data.selectedCompany.id
|
||||||
|
// 嘉宾身份类型
|
||||||
|
formData.guestType = this.data.guestType
|
||||||
|
// 会议类型
|
||||||
|
// formData.meetingType = this.data.selectedMeeting.meetingType
|
||||||
|
console.log(formData);
|
||||||
|
|
||||||
|
signUpApi.signUpMeeting(formData).then(res => {
|
||||||
|
if(res.success){
|
||||||
|
// 成功 清除缓存 跳转报名成功页面
|
||||||
|
wx.removeStorage({
|
||||||
|
key: 'selectedCompany',
|
||||||
|
})
|
||||||
|
wx.removeStorage({
|
||||||
|
key: 'selectedPerson',
|
||||||
|
})
|
||||||
|
wx.removeStorage({
|
||||||
|
key: 'selectedPostPerson',
|
||||||
|
})
|
||||||
|
wx.removeStorage({
|
||||||
|
key: 'currentMeetingInfo',
|
||||||
|
success(){
|
||||||
|
// 跳转报名成功页面
|
||||||
|
wx.navigateTo({
|
||||||
|
url: '../signUpSuccess/signUpSuccess',
|
||||||
|
})
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},
|
||||||
/**
|
/**
|
||||||
* 生命周期函数--监听页面加载
|
* 生命周期函数--监听页面加载
|
||||||
*/
|
*/
|
||||||
onLoad: function (options) {
|
onLoad: function (options) {
|
||||||
|
|
||||||
|
|
||||||
|
// 从缓存中拿选中的企业
|
||||||
|
const that = this
|
||||||
// 这个id 可能是是会议活动进来的 或者消息 或者扫码的
|
// 这个id 可能是是会议活动进来的 或者消息 或者扫码的
|
||||||
this.queryMeetingDetail('1448107789464113154')
|
this.queryMeetingDetail('1449638073563172866')
|
||||||
|
wx.getStorage({
|
||||||
|
key: 'selectedCompany',
|
||||||
|
success(res) {
|
||||||
|
that.setData({
|
||||||
|
selectedCompany: JSON.parse(res.data)
|
||||||
|
})
|
||||||
|
}
|
||||||
|
})
|
||||||
|
// 从缓存中拿选中的联系人
|
||||||
|
wx.getStorage({
|
||||||
|
key: 'selectedPerson',
|
||||||
|
success(res) {
|
||||||
|
that.setData({
|
||||||
|
selectedPerson: res.data
|
||||||
|
})
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
// 从缓存中拿选中的邮寄联系人
|
||||||
|
wx.getStorage({
|
||||||
|
key: 'selectedPostPerson',
|
||||||
|
success(res) {
|
||||||
|
that.setData({
|
||||||
|
selectedPostPerson: res.data
|
||||||
|
})
|
||||||
|
}
|
||||||
|
})
|
||||||
|
// 从缓存中拿选中的会议的信息
|
||||||
|
|
||||||
|
wx.getStorage({
|
||||||
|
key: 'currentMeetingInfo',
|
||||||
|
success(res) {
|
||||||
|
console.log(res, 'meetingInfo');
|
||||||
|
that.setData({
|
||||||
|
selectedMeeting: res.data
|
||||||
|
})
|
||||||
|
}
|
||||||
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -5,13 +5,13 @@
|
|||||||
<!-- 如果是小程序消息进入的报名页面 需要回显企业与参会人 参会企业不可更改 -->
|
<!-- 如果是小程序消息进入的报名页面 需要回显企业与参会人 参会企业不可更改 -->
|
||||||
<view class="form-item">
|
<view class="form-item">
|
||||||
<text class="item-label flex-1">参会单位:</text>
|
<text class="item-label flex-1">参会单位:</text>
|
||||||
<input placeholder-class="text-right" bindtap="selectCompany" name="selectedCompany.companyName"
|
<input placeholder-class="text-right" data-page='guoji' bindtap="selectCompany" name="selectedCompany.companyName"
|
||||||
bindinput="bindInputPhone" value="{{selectedCompany.companyName}}" placeholder="请选择参会单位" />
|
bindinput="bindInputPhone" value="{{selectedCompany.companyName}}" placeholder="请选择参会单位" />
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<view class="form-item">
|
<view class="form-item">
|
||||||
<text class="item-label flex-1">参会人:</text>
|
<text class="item-label flex-1">参会人:</text>
|
||||||
<input placeholder-class="text-right" bindtap="selectPerson" data-selectType='1' bindinput="bindInputPhone"
|
<input placeholder-class="text-right" data-page='guoji' bindtap="selectPerson" data-selectType='1' bindinput="bindInputPhone"
|
||||||
value="{{selectedPerson.name}}" placeholder="请选择参会人" />
|
value="{{selectedPerson.name}}" placeholder="请选择参会人" />
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
@@ -34,18 +34,17 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<!-- 当身份选择嘉宾才出现 -->
|
<!-- 当身份选择嘉宾才出现 -->
|
||||||
<view class="form-item" wx:if="{{inviteCodeShowBool}}">
|
<view class="form-item" wx:if="{{inviteCodeShowBool}}" style="margin-bottom:10rpx">
|
||||||
<text class="item-label flex-1 validate">邀请码:</text>
|
<text class="item-label flex-1 validate">邀请码:</text>
|
||||||
<input placeholder-class="text-right" name="inviteCode" bindblur="bindInputInviteCode" value="{{inviteCode}}"
|
<input placeholder-class="text-right" name="inviteCode" bindblur="bindInputInviteCode" value="{{inviteCode}}"
|
||||||
placeholder="请输入邀请码" />
|
placeholder="请输入邀请码" />
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<view class="form-item" wx:if="{{inviteCodeShowBool}}">
|
<view class="form-item" wx:if="{{validateBtnBool}}">
|
||||||
<button class="validate-btn" bindtap="validateCode">校验邀请码</button>
|
<button class="validate-btn" bindtap="validateCode">校验邀请码</button>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- 选择身份是参会人和内部企业的时候显示 -->
|
<!-- 选择身份是参会人和内部企业的时候显示 -->
|
||||||
<view wx:if="{{!inviteCodeShowBool}}">
|
<view wx:if="{{!inviteCodeShowBool}}">
|
||||||
<view class="form-item-radio">
|
<view class="form-item-radio">
|
||||||
@@ -74,7 +73,7 @@
|
|||||||
|
|
||||||
<view class="form-item">
|
<view class="form-item">
|
||||||
<text class="item-label flex-1 validate">邮寄联系人:</text>
|
<text class="item-label flex-1 validate">邮寄联系人:</text>
|
||||||
<input placeholder-class="text-right" data-selectType='2' name="phone" bindtap="selectPerson"
|
<input placeholder-class="text-right" data-page='guoji' data-selectType='2' name="phone" bindtap="selectPerson"
|
||||||
value="{{selectedPostPerson.name}}" placeholder="请选择邮寄联系人" />
|
value="{{selectedPostPerson.name}}" placeholder="请选择邮寄联系人" />
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
@@ -95,7 +94,7 @@
|
|||||||
</view>
|
</view>
|
||||||
<view>
|
<view>
|
||||||
<radio-group name='checkInHotel' bindchange="paymentMethodRadioChange">
|
<radio-group name='checkInHotel' bindchange="paymentMethodRadioChange">
|
||||||
<label class="radio radio-item" wx:for="{{needCheckInHotel}}" wx:key="item">
|
<label class="radio radio-item" wx:for="{{need}}" wx:key="item">
|
||||||
<radio class="radio-scale" value="{{item.value}}" />{{item.name}}
|
<radio class="radio-scale" value="{{item.value}}" />{{item.name}}
|
||||||
</label>
|
</label>
|
||||||
</radio-group>
|
</radio-group>
|
||||||
@@ -133,19 +132,450 @@
|
|||||||
|
|
||||||
<!-- vip显示 -->
|
<!-- vip显示 -->
|
||||||
<view wx:if="{{vipBool}}">
|
<view wx:if="{{vipBool}}">
|
||||||
vip显示
|
|
||||||
|
|
||||||
|
<view class="form-item">
|
||||||
|
<text class="item-label flex-1 validate">演讲题目:</text>
|
||||||
|
<input placeholder-class="text-right" name="speechTopic" placeholder="请输入演讲题目" />
|
||||||
|
</view>
|
||||||
|
|
||||||
|
<view class="form-item">
|
||||||
|
<text class="item-label flex-1 validate">演讲PPT:</text>
|
||||||
|
<input placeholder-class="text-right" name="postContactAddress" bindinput="bindInputPhone"
|
||||||
|
placeholder="请上传文件" />
|
||||||
|
</view>
|
||||||
|
|
||||||
|
|
||||||
|
<view class="form-item">
|
||||||
|
<text class="item-label flex-1 validate">照片:</text>
|
||||||
|
<input placeholder-class="text-right" name="postContactAddress" bindinput="bindInputPhone"
|
||||||
|
placeholder="请上传" />
|
||||||
|
</view>
|
||||||
|
|
||||||
|
|
||||||
|
<view class="form-item-radio">
|
||||||
|
<text class="item-label flex-1 validate">个人简介:</text>
|
||||||
|
<textarea name="profile" placeholder="请输入个人简介" name="remark" />
|
||||||
|
</view>
|
||||||
|
|
||||||
|
<view class="form-item-radio">
|
||||||
|
<view class="radio-label">
|
||||||
|
<text class="item-label flex-1 validate">是否用餐:</text>
|
||||||
|
</view>
|
||||||
|
<view>
|
||||||
|
<radio-group name='haveMeals' bindchange="paymentMethodRadioChange">
|
||||||
|
<label class="radio radio-item" wx:for="{{need}}" wx:key="item">
|
||||||
|
<radio class="radio-scale" value="{{item.value}}" />{{item.name}}
|
||||||
|
</label>
|
||||||
|
</radio-group>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
|
||||||
|
<view class="form-item-radio">
|
||||||
|
<view class="radio-label">
|
||||||
|
<text class="item-label flex-1 validate">是否回民:</text>
|
||||||
|
</view>
|
||||||
|
<view>
|
||||||
|
<radio-group name='huiPeople' bindchange="paymentMethodRadioChange">
|
||||||
|
<label class="radio radio-item" wx:for="{{need}}" wx:key="item">
|
||||||
|
<radio class="radio-scale" value="{{item.value}}" />{{item.name}}
|
||||||
|
</label>
|
||||||
|
</radio-group>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
|
||||||
|
|
||||||
|
<view class="form-item-radio">
|
||||||
|
<view class="radio-label">
|
||||||
|
<text class="item-label flex-1 validate">是否住酒店:</text>
|
||||||
|
</view>
|
||||||
|
<view>
|
||||||
|
<radio-group name='checkInHotel' bindchange="paymentMethodRadioChange">
|
||||||
|
<label class="radio radio-item" wx:for="{{need}}" wx:key="item">
|
||||||
|
<radio class="radio-scale" value="{{item.value}}" />{{item.name}}
|
||||||
|
</label>
|
||||||
|
</radio-group>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
|
||||||
|
<view class="form-item">
|
||||||
|
<text class="item-label flex-1">入住酒店时间:</text>
|
||||||
|
<picker name='inHotelTime' mode="date" bindchange="bindDateChangeInHotelTime">
|
||||||
|
<view class="picker">
|
||||||
|
{{inHotelTime}}
|
||||||
|
</view>
|
||||||
|
</picker>
|
||||||
|
</view>
|
||||||
|
|
||||||
|
<view class="form-item">
|
||||||
|
<text class="item-label flex-1">离店时间:</text>
|
||||||
|
<picker name='outHotelTime' placeholder="请选择离店时间" mode="date" bindchange="bindDateChangeOutHotelTime">
|
||||||
|
<view class="picker">
|
||||||
|
{{outHotelTime}}
|
||||||
|
</view>
|
||||||
|
</picker>
|
||||||
|
</view>
|
||||||
|
|
||||||
|
<view class="form-item">
|
||||||
|
<text class="item-label flex-1 validate">房型:</text>
|
||||||
|
<input placeholder-class="text-right" name="roomLayout" bindinput="bindInputPhone"
|
||||||
|
placeholder="请输入房型" />
|
||||||
|
</view>
|
||||||
|
|
||||||
|
<view class="form-item-radio">
|
||||||
|
<view class="radio-label">
|
||||||
|
<text class="item-label flex-1 validate">是否需要接站:</text>
|
||||||
|
</view>
|
||||||
|
<view>
|
||||||
|
<radio-group name='pickUp' bindchange="paymentMethodRadioChange">
|
||||||
|
<label class="radio radio-item" wx:for="{{need}}" wx:key="item">
|
||||||
|
<radio class="radio-scale" value="{{item.value}}" />{{item.name}}
|
||||||
|
</label>
|
||||||
|
</radio-group>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
|
||||||
|
<view class="form-item">
|
||||||
|
<text class="item-label flex-1">抵达时间:</text>
|
||||||
|
<picker name='arrivalTime' mode="date" value="{{date}}" bindchange="bindDateChangeArriveTime">
|
||||||
|
<view class="picker">
|
||||||
|
{{arrivalTime}}
|
||||||
|
</view>
|
||||||
|
</picker>
|
||||||
|
</view>
|
||||||
|
|
||||||
|
<view class="form-item">
|
||||||
|
<text class="item-label flex-1 validate">到达站:</text>
|
||||||
|
<input placeholder-class="text-right" name="destination" bindinput="bindInputPhone"
|
||||||
|
placeholder="请输入到达站" />
|
||||||
|
</view>
|
||||||
|
|
||||||
|
<view class="form-item">
|
||||||
|
<text class="item-label flex-1 validate">到达班次:</text>
|
||||||
|
<input placeholder-class="text-right" name="arrivalShift" bindinput="bindInputPhone"
|
||||||
|
placeholder="请输入到达班次" />
|
||||||
|
</view>
|
||||||
|
|
||||||
|
|
||||||
|
<view class="form-item-radio">
|
||||||
|
<view class="radio-label">
|
||||||
|
<text class="item-label flex-1 validate">是否需要送站:</text>
|
||||||
|
</view>
|
||||||
|
<view>
|
||||||
|
<radio-group name='deliveryStation' bindchange="paymentMethodRadioChange">
|
||||||
|
<label class="radio radio-item" wx:for="{{need}}" wx:key="item">
|
||||||
|
<radio class="radio-scale" value="{{item.value}}" />{{item.name}}
|
||||||
|
</label>
|
||||||
|
</radio-group>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
|
||||||
|
<view class="form-item">
|
||||||
|
<text class="item-label flex-1">离开时间:</text>
|
||||||
|
<picker name='departureTime' mode="date" value="{{date}}" bindchange="bindDateChangeLeaveTime">
|
||||||
|
<view class="picker">
|
||||||
|
{{departureTime}}
|
||||||
|
</view>
|
||||||
|
</picker>
|
||||||
|
</view>
|
||||||
|
|
||||||
|
<view class="form-item">
|
||||||
|
<text class="item-label flex-1 validate">离开站:</text>
|
||||||
|
<input placeholder-class="text-right" name="departureStation" bindinput="bindInputPhone"
|
||||||
|
placeholder="请输入离开站" />
|
||||||
|
</view>
|
||||||
|
|
||||||
|
<view class="form-item">
|
||||||
|
<text class="item-label flex-1 validate">离开班次:</text>
|
||||||
|
<input placeholder-class="text-right" name="departureShift" bindinput="bindInputPhone"
|
||||||
|
placeholder="请输入离开班次" />
|
||||||
|
</view>
|
||||||
|
|
||||||
|
<view class="form-item">
|
||||||
|
<text class="item-label flex-1">同行人:</text>
|
||||||
|
<input placeholder-class="text-right" name="peer" bindinput="bindInputPhone"
|
||||||
|
placeholder="请输入同行人" />
|
||||||
|
</view>
|
||||||
|
|
||||||
|
<view class="form-item-radio">
|
||||||
|
<text class="item-label flex-1">备注:</text>
|
||||||
|
<textarea name="remark" placeholder="请输入备注" name="remark" />
|
||||||
|
</view>
|
||||||
|
|
||||||
|
<view class="btn-wrap">
|
||||||
|
<button class="btn-ok" formType="submit">确定</button>
|
||||||
|
</view>
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
<!-- 演讲嘉宾显示 -->
|
<!-- 演讲嘉宾显示 -->
|
||||||
<view wx:if="{{speakerBool}}">
|
<view wx:if="{{speakerBool}}">
|
||||||
演讲嘉宾显示
|
|
||||||
|
|
||||||
|
<view class="form-item">
|
||||||
|
<text class="item-label flex-1 validate">演讲题目:</text>
|
||||||
|
<input placeholder-class="text-right" name="speechTopic" placeholder="请输入演讲题目" />
|
||||||
|
</view>
|
||||||
|
|
||||||
|
<view class="form-item">
|
||||||
|
<text class="item-label flex-1 validate">演讲PPT:</text>
|
||||||
|
<input placeholder-class="text-right" name="postContactAddress"
|
||||||
|
placeholder="请上传文件" />
|
||||||
|
</view>
|
||||||
|
|
||||||
|
|
||||||
|
<view class="form-item">
|
||||||
|
<text class="item-label flex-1 validate">照片:</text>
|
||||||
|
<input placeholder-class="text-right" name="postContactAddress" bindinput="bindInputPhone"
|
||||||
|
placeholder="请上传" />
|
||||||
|
</view>
|
||||||
|
|
||||||
|
|
||||||
|
<view class="form-item-radio">
|
||||||
|
<text class="item-label flex-1 validate">个人简介:</text>
|
||||||
|
<textarea name="profile" placeholder="请输入个人简介" name="remark" />
|
||||||
|
</view>
|
||||||
|
|
||||||
|
<view class="form-item-radio">
|
||||||
|
<view class="radio-label">
|
||||||
|
<text class="item-label flex-1 validate">是否用餐:</text>
|
||||||
|
</view>
|
||||||
|
<view>
|
||||||
|
<radio-group name='haveMeals' bindchange="paymentMethodRadioChange">
|
||||||
|
<label class="radio radio-item" wx:for="{{need}}" wx:key="item">
|
||||||
|
<radio class="radio-scale" value="{{item.value}}" />{{item.name}}
|
||||||
|
</label>
|
||||||
|
</radio-group>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
|
||||||
|
<view class="form-item-radio">
|
||||||
|
<view class="radio-label">
|
||||||
|
<text class="item-label flex-1 validate">是否回民:</text>
|
||||||
|
</view>
|
||||||
|
<view>
|
||||||
|
<radio-group name='huiPeople'>
|
||||||
|
<label class="radio radio-item" wx:for="{{need}}" wx:key="item">
|
||||||
|
<radio class="radio-scale" value="{{item.value}}" />{{item.name}}
|
||||||
|
</label>
|
||||||
|
</radio-group>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
|
||||||
|
<view class="form-item-radio">
|
||||||
|
<view class="radio-label">
|
||||||
|
<text class="item-label flex-1 validate">是否需要接站:</text>
|
||||||
|
</view>
|
||||||
|
<view>
|
||||||
|
<radio-group name='pickUp' bindchange="paymentMethodRadioChange">
|
||||||
|
<label class="radio radio-item" wx:for="{{need}}" wx:key="item">
|
||||||
|
<radio class="radio-scale" value="{{item.value}}" />{{item.name}}
|
||||||
|
</label>
|
||||||
|
</radio-group>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
|
||||||
|
<view class="form-item">
|
||||||
|
<text class="item-label flex-1">抵达时间:</text>
|
||||||
|
<picker name='arrivalTime' mode="date" value="{{date}}" bindchange="bindDateChangeArriveTime">
|
||||||
|
<view class="picker">
|
||||||
|
{{arrivalTime}}
|
||||||
|
</view>
|
||||||
|
</picker>
|
||||||
|
</view>
|
||||||
|
|
||||||
|
<view class="form-item">
|
||||||
|
<text class="item-label flex-1 validate">到达站:</text>
|
||||||
|
<input placeholder-class="text-right" name="destination" placeholder="请输入到达站" />
|
||||||
|
</view>
|
||||||
|
|
||||||
|
<view class="form-item">
|
||||||
|
<text class="item-label flex-1 validate">到达班次:</text>
|
||||||
|
<input placeholder-class="text-right" name="arrivalShift" bindinput="bindInputPhone"
|
||||||
|
placeholder="请输入到达班次" />
|
||||||
|
</view>
|
||||||
|
|
||||||
|
|
||||||
|
<view class="form-item-radio">
|
||||||
|
<view class="radio-label">
|
||||||
|
<text class="item-label flex-1 validate">是否需要送站:</text>
|
||||||
|
</view>
|
||||||
|
<view>
|
||||||
|
<radio-group name='deliveryStation' bindchange="paymentMethodRadioChange">
|
||||||
|
<label class="radio radio-item" wx:for="{{need}}" wx:key="item">
|
||||||
|
<radio class="radio-scale" value="{{item.value}}" />{{item.name}}
|
||||||
|
</label>
|
||||||
|
</radio-group>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
|
||||||
|
<view class="form-item">
|
||||||
|
<text class="item-label flex-1">离开时间:</text>
|
||||||
|
<picker name='departureTime' mode="date" value="{{date}}" bindchange="bindDateChangeLeaveTime">
|
||||||
|
<view class="picker">
|
||||||
|
{{departureTime}}
|
||||||
|
</view>
|
||||||
|
</picker>
|
||||||
|
</view>
|
||||||
|
|
||||||
|
<view class="form-item">
|
||||||
|
<text class="item-label flex-1 validate">离开站:</text>
|
||||||
|
<input placeholder-class="text-right" name="departureStation" placeholder="请输入离开站" />
|
||||||
|
</view>
|
||||||
|
|
||||||
|
<view class="form-item">
|
||||||
|
<text class="item-label flex-1 validate">离开班次:</text>
|
||||||
|
<input placeholder-class="text-right" name="departureShift" placeholder="请输入离开班次" />
|
||||||
|
</view>
|
||||||
|
|
||||||
|
<view class="form-item">
|
||||||
|
<text class="item-label flex-1 validate">同行人:</text>
|
||||||
|
<input placeholder-class="text-right" name="peer" placeholder="请输入同行人" />
|
||||||
|
</view>
|
||||||
|
|
||||||
|
<view class="form-item-radio">
|
||||||
|
<text class="item-label flex-1">备注:</text>
|
||||||
|
<textarea name="remark" placeholder="请输入备注" name="remark" />
|
||||||
|
</view>
|
||||||
|
|
||||||
|
<view class="btn-wrap">
|
||||||
|
<button class="btn-ok" formType="submit">确定</button>
|
||||||
|
</view>
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
<!-- 特邀嘉宾显示 -->
|
<!-- 特邀嘉宾显示 -->
|
||||||
<view wx:if="{{guestBool}}">
|
<view wx:if="{{guestBool}}">
|
||||||
特邀嘉宾显示
|
|
||||||
|
<view class="form-item-radio">
|
||||||
|
<view class="radio-label">
|
||||||
|
<text class="item-label flex-1 validate">是否用餐:</text>
|
||||||
|
</view>
|
||||||
|
<view>
|
||||||
|
<radio-group name='haveMeals' bindchange="paymentMethodRadioChange">
|
||||||
|
<label class="radio radio-item" wx:for="{{need}}" wx:key="item">
|
||||||
|
<radio class="radio-scale" value="{{item.value}}" />{{item.name}}
|
||||||
|
</label>
|
||||||
|
</radio-group>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
|
||||||
|
<view class="form-item-radio">
|
||||||
|
<view class="radio-label">
|
||||||
|
<text class="item-label flex-1 validate">是否回民:</text>
|
||||||
|
</view>
|
||||||
|
<view>
|
||||||
|
<radio-group name='huiPeople' bindchange="paymentMethodRadioChange">
|
||||||
|
<label class="radio radio-item" wx:for="{{need}}" wx:key="item">
|
||||||
|
<radio class="radio-scale" value="{{item.value}}" />{{item.name}}
|
||||||
|
</label>
|
||||||
|
</radio-group>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
|
||||||
|
<view class="form-item-radio">
|
||||||
|
<view class="radio-label">
|
||||||
|
<text class="item-label flex-1 validate">是否需要接站:</text>
|
||||||
|
</view>
|
||||||
|
<view>
|
||||||
|
<radio-group name='pickUp' bindchange="paymentMethodRadioChange">
|
||||||
|
<label class="radio radio-item" wx:for="{{need}}" wx:key="item">
|
||||||
|
<radio class="radio-scale" value="{{item.value}}" />{{item.name}}
|
||||||
|
</label>
|
||||||
|
</radio-group>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
|
||||||
|
<view class="form-item">
|
||||||
|
<text class="item-label flex-1">抵达时间:</text>
|
||||||
|
<picker name='arrivalTime' mode="date" value="{{date}}" bindchange="bindDateChangeArriveTime">
|
||||||
|
<view class="picker">
|
||||||
|
{{arrivalTime}}
|
||||||
|
</view>
|
||||||
|
</picker>
|
||||||
|
</view>
|
||||||
|
|
||||||
|
<view class="form-item">
|
||||||
|
<text class="item-label flex-1 validate">到达站:</text>
|
||||||
|
<input placeholder-class="text-right" name="destination" bindinput="bindInputPhone"
|
||||||
|
placeholder="请输入到达站" />
|
||||||
|
</view>
|
||||||
|
|
||||||
|
<view class="form-item">
|
||||||
|
<text class="item-label flex-1 validate">到达班次:</text>
|
||||||
|
<input placeholder-class="text-right" name="arrivalShift" bindinput="bindInputPhone"
|
||||||
|
placeholder="请输入到达班次" />
|
||||||
|
</view>
|
||||||
|
|
||||||
|
|
||||||
|
<view class="form-item-radio">
|
||||||
|
<view class="radio-label">
|
||||||
|
<text class="item-label flex-1 validate">是否需要送站:</text>
|
||||||
|
</view>
|
||||||
|
<view>
|
||||||
|
<radio-group name='deliveryStation' bindchange="paymentMethodRadioChange">
|
||||||
|
<label class="radio radio-item" wx:for="{{need}}" wx:key="item">
|
||||||
|
<radio class="radio-scale" value="{{item.value}}" />{{item.name}}
|
||||||
|
</label>
|
||||||
|
</radio-group>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
|
||||||
|
<view class="form-item">
|
||||||
|
<text class="item-label flex-1">离开时间:</text>
|
||||||
|
<picker name='departureTime' mode="date" bindchange="bindDateChangeLeaveTime">
|
||||||
|
<view class="picker">
|
||||||
|
{{departureTime}}
|
||||||
|
</view>
|
||||||
|
</picker>
|
||||||
|
</view>
|
||||||
|
|
||||||
|
<view class="form-item">
|
||||||
|
<text class="item-label flex-1 validate">离开站:</text>
|
||||||
|
<input placeholder-class="text-right" name="departureStation" bindinput="bindInputPhone"
|
||||||
|
placeholder="请输入离开站" />
|
||||||
|
</view>
|
||||||
|
|
||||||
|
<view class="form-item">
|
||||||
|
<text class="item-label flex-1 validate">离开班次:</text>
|
||||||
|
<input placeholder-class="text-right" name="departureShift" bindinput="bindInputPhone"
|
||||||
|
placeholder="请输入离开班次" />
|
||||||
|
</view>
|
||||||
|
|
||||||
|
<view class="form-item">
|
||||||
|
<text class="item-label flex-1 validate">同行人:</text>
|
||||||
|
<input placeholder-class="text-right" name="peer" placeholder="请输入同行人" />
|
||||||
|
</view>
|
||||||
|
|
||||||
|
<view class="btn-wrap">
|
||||||
|
<button class="btn-ok" formType="submit">确定</button>
|
||||||
|
</view>
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
<!-- 合作伙伴显示 -->
|
<!-- 合作伙伴显示 -->
|
||||||
<view wx:if="{{cooperatieBool}}">
|
<view wx:if="{{cooperatieBool}}">
|
||||||
合作伙伴显示
|
|
||||||
|
<view class="form-item">
|
||||||
|
<text class="item-label flex-1">抵达时间:</text>
|
||||||
|
<picker name='arrivalTime' mode="date" bindchange="bindDateChangeArriveTime">
|
||||||
|
<view class="picker">
|
||||||
|
{{arrivalTime}}
|
||||||
|
</view>
|
||||||
|
</picker>
|
||||||
|
</view>
|
||||||
|
|
||||||
|
|
||||||
|
<view class="form-item">
|
||||||
|
<text class="item-label flex-1">离开时间:</text>
|
||||||
|
<picker name='departureTime' mode="date" bindchange="bindDateChangeLeaveTime">
|
||||||
|
<view class="picker">
|
||||||
|
{{departureTime}}
|
||||||
|
</view>
|
||||||
|
</picker>
|
||||||
|
</view>
|
||||||
|
|
||||||
|
<view class="btn-wrap">
|
||||||
|
<button class="btn-ok" formType="submit">确定</button>
|
||||||
|
</view>
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
|
|||||||
@@ -18,6 +18,15 @@
|
|||||||
.form-item input {
|
.form-item input {
|
||||||
text-align: right;
|
text-align: right;
|
||||||
}
|
}
|
||||||
|
.form-item-radio textarea{
|
||||||
|
margin-top: 15rpx;
|
||||||
|
width: 100%;
|
||||||
|
border: 1px solid #eee;
|
||||||
|
padding-left: 10px;
|
||||||
|
box-sizing: border-box;
|
||||||
|
height: 80px;
|
||||||
|
border-radius: 4px;
|
||||||
|
}
|
||||||
.form-item-radio {
|
.form-item-radio {
|
||||||
margin-top: 20px;
|
margin-top: 20px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|||||||
Reference in New Issue
Block a user