123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298 |
- <form wx:if="{{type == 3 || type == 1}}" catchsubmit="next">
- <view class="item">
- <label>姓名</label>
- <input value="{{name}}" name='name' placeholder="请输入您的姓名"></input>
- </view>
- <view class="item">
- <label>性别</label>
- <picker name='sex' data-name='sex' bindchange="pickerChange" value="{{sex}}" range="{{sexArray}}">
- <view class="picker">
- {{sexArray[sex]}}
- </view>
- </picker>
- <image src="../../images/arrow-bottom.png" mode="widthFix"></image>
- </view>
- <view class="item">
- <label>身份证</label>
- <input value="{{idno}}" name='idno' type="idcard" placeholder="请输入您的身份证"></input>
- </view>
- <view class="item">
- <label>文化程度</label>
- <picker name='education' data-name='record' bindchange="pickerChange" value="{{record}}" range="{{recordArray}}">
- <view class="picker">
- <text wx:if="{{record<0}}">请选择</text>
- {{recordArray[record]}}
- </view>
- </picker>
- <image src="../../images/arrow-bottom.png" mode="widthFix"></image>
- </view>
- <view class="item">
- <label>手机号</label>
- <input value="{{phone}}" name='phone' type="number" placeholder="请输入您的手机号"></input>
- </view>
- <view class="item">
- <label>单位全称</label>
- <input placeholder-style="color:#358BFF" value="{{company}}" name='company' placeholder="单位全称(无单位可不填写)"></input>
- </view>
- <view class="item" wx:if="{{type != 3}}" style="margin-top:10px;">
- <label>作业类别</label>
- <picker data-name='category' bindchange="pickerChange" value="{{category}}" range="{{categoryArray}}" range-key="name">
- <view class="picker">
- <text wx:if="{{category<0}}">请选择</text>
- {{categoryArray[category].name}}
- </view>
- </picker>
- <image src="../../images/arrow-bottom.png" mode="widthFix"></image>
- <view wx:if="{{categoryArray[category].intro}}" class="intro">{{categoryArray[category].intro}}</view>
- </view>
- <view class="item" wx:if='{{dev!=""}}' bindtap="open">
- <label>设备种类</label> <text class="dev_text">{{dev}}</text>
- </view>
- <view class="item" wx:if="{{type != 3}}">
- <label wx:if="{{z_type == '特种作业人员'}}">准操项目</label>
- <label wx:if="{{z_type == '特种设备培训'}}">项目代码</label>
- <label wx:if="{{z_type !== '特种设备培训'&&z_type !== '特种作业人员'}}">资格类型</label>
- <picker data-name='subject' bindchange="pickerChange" value="{{subject}}" range="{{subjectArray}}" range-key="name">
- <view class="picker">
- <text wx:if="{{subject<0}}">请选择</text>
- {{subjectArray[subject].name}}
- </view>
- </picker>
- <image src="../../images/arrow-bottom.png" mode="widthFix"></image>
- <view wx:if="{{subjectArray[subject].intro}}" class="intro">{{subjectArray[subject].intro}}</view>
- </view>
- <view class="item">
- <label>培训类型</label>
- <picker name='train_type' data-name='train' bindchange="pickerChange" value="{{train}}" range="{{trainArray}}" range-key="name">
- <view class="picker">
- <text wx:if="{{train<0}}">请选择</text>
- {{trainArray[train].name}}
- </view>
- </picker>
- <image src="../../images/arrow-bottom.png" mode="widthFix"></image>
- <view wx:if="{{train>=0}}" class="intro">{{trainArray[train].intro}}</view>
- </view>
- <view class="item" wx:if="{{classList.length>0}}">
- <label>班级</label>
- <picker data-name='class_' bindchange="pickerChange" value="{{class_}}" range="{{classList}}" range-key="name">
- <view class="picker">
- <text wx:if="{{class_<0}}">请选择</text>
- {{classList[class_].name}}
- </view>
- </picker>
- <image src="../../images/arrow-bottom.png" mode="widthFix"></image>
- <view wx:if="{{class_>=0}}" class="intro">{{classList[class_].remark}}</view>
- </view>
- <!-- <view class="item">
- <label>培训时间</label>
- <picker name='time' data-name='time' value="{{time}}" mode="date" bindchange="pickerChange">
- <view class="picker">
- {{time}}
- </view>
- </picker>
- <image src="../../images/arrow-bottom.png" mode="widthFix"></image>
- </view> -->
- <!-- <view class="item">
- <label>领取方式</label>
- <picker name='receive_card' data-name='receive' bindchange="pickerChange" value="{{receive}}" range="{{receiveArray}}">
- <view class="picker">
- {{receiveArray[receive]}}
- </view>
- </picker>
- <image src="../../images/arrow-bottom.png" mode="widthFix"></image>
- </view> -->
- <view class="item" wx:if="{{receive==1}}">
- <label>所在地区</label>
- <picker name='area' data-name='area' value="{{area}}" mode="region" bindchange="pickerChange">
- <view class="picker">
- {{area[0]}}{{area[1]}}{{area[2]}}
- </view>
- </picker>
- <image src="../../images/arrow-bottom.png" mode="widthFix"></image>
- </view>
- <view class="item" wx:if="{{receive==1}}">
- <label>详细地址</label>
- <input name='address' placeholder="请输入您的详细地址"></input>
- </view>
- <view class="item">
- <label>备注</label>
- <input name='remark' placeholder="请输入您的备注"></input>
- </view>
- <view class="fee">
- <label>培训费用</label>¥{{price}}
- </view>
- <view class="fee">
- <label>审核后需支付费用</label>¥{{price}}
- </view>
- <view class="post"><button formType="submit">下一步,上传资料</button></view>
- </form>
- <form wx:if="{{type == 2}}" catchsubmit="next">
- <view class="item">
- <label>姓名</label>
- <input value="{{data.name}}" name='name' placeholder="请输入您的姓名"></input>
- </view>
- <view class="item">
- <label>性别</label>
- <picker name='sex' data-name='sex' bindchange="pickerChange" value="{{sex}}" range="{{sexArray}}">
- <view class="picker">
- {{sexArray[sex]}}
- </view>
- </picker>
- <image src="../../images/arrow-bottom.png" mode="widthFix"></image>
- </view>
- <view class="item">
- <label>身份证</label>
- <input name='idno' value="{{data.idno}}" type="idcard" placeholder="请输入您的身份证"></input>
- </view>
- <view class="item">
- <label>文化程度</label>
- <picker name='education' data-name='record' bindchange="pickerChange" value="{{record}}" range="{{recordArray}}">
- <view class="picker">
- {{recordArray[record]}}
- </view>
- </picker>
- <image src="../../images/arrow-bottom.png" mode="widthFix"></image>
- </view>
- <view class="item">
- <label>手机号</label>
- <input name='phone' value="{{data.phone}}" type="number" placeholder="请输入您的手机号"></input>
- </view>
- <view class="item">
- <label>单位全称</label>
- <input name='company' value="{{data.company}}" placeholder="请输入您的单位名称"></input>
- </view>
- <view class="item" wx:if="{{!class_id}}">
- <label>作业类别</label>
- <picker data-name='category' bindchange="pickerChange" value="{{category}}" range="{{categoryArray}}" range-key="name">
- <view class="picker">
- <text wx:if="{{category<0}}">请选择</text>
- {{categoryArray[category].name}}
- </view>
- </picker>
- <image src="../../images/arrow-bottom.png" mode="widthFix"></image>
- <view wx:if="{{categoryArray[category].intro}}" class="intro">{{categoryArray[category].intro}}</view>
- </view>
- <view class="item" wx:if='{{dev!=""}}' bindtap="open">
- <label>设备种类</label> <text class="dev_text">{{dev}}</text>
- </view>
- <view class="item" wx:if="{{!class_id}}">
- <label wx:if="{{z_type == '特种作业人员'}}">准操项目</label>
- <label wx:if="{{z_type == '特种设备培训'}}">项目代码</label>
- <label wx:if="{{z_type !== '特种设备培训'&&z_type !== '特种作业人员'}}">资格类型</label>
- <picker data-name='subject' bindchange="pickerChange" value="{{subject}}" range="{{subjectArray}}" range-key="name">
- <view class="picker">
- <text wx:if="{{subject<0}}">请选择</text>
- {{subjectArray[subject].name}}
- </view>
- </picker>
- <image src="../../images/arrow-bottom.png" mode="widthFix"></image>
- <view wx:if="{{subjectArray[subject].intro}}" class="intro">{{subjectArray[subject].intro}}</view>
- </view>
- <view class="item">
- <label>培训类型</label>
- <picker name='train_type' data-name='train' bindchange="pickerChange" value="{{train}}" range="{{trainArray}}" range-key="name">
- <view class="picker">
- <text wx:if="{{train<0}}">请选择</text>
- {{trainArray[train].name}}
- </view>
- </picker>
- <image src="../../images/arrow-bottom.png" mode="widthFix"></image>
- <view wx:if="{{train>=0}}" class="intro">{{trainArray[train].intro}}</view>
- </view>
- <view class="item" wx:if="{{classList.length>0}}">
- <label>班级</label>
- <picker data-name='class_' bindchange="pickerChange" value="{{class_}}" range="{{classList}}" range-key="name">
- <view class="picker">
- <text wx:if="{{class_<0}}">请选择</text>
- {{classList[class_].name}}
- </view>
- </picker>
- <image src="../../images/arrow-bottom.png" mode="widthFix"></image>
- <view wx:if="{{class_>=0}}" class="intro">{{classList[class_].remark}}</view>
- </view>
- <!-- <view class="item">
- <label>培训时间</label>
- <picker name='time' data-name='time' value="{{time}}" mode="date" bindchange="pickerChange">
- <view class="picker">
- {{time}}
- </view>
- </picker>
- <image src="../../images/arrow-bottom.png" mode="widthFix"></image>
- </view> -->
- <!-- <view class="item">
- <label>领取方式</label>
- <picker name='receive_card' data-name='receive' bindchange="pickerChange" value="{{receive}}" range="{{receiveArray}}">
- <view class="picker">
- {{receiveArray[receive]}}
- </view>
- </picker>
- <image src="../../images/arrow-bottom.png" mode="widthFix"></image>
- </view> -->
- <view class="item" wx:if="{{receive==1}}">
- <label>所在地区</label>
- <picker name='area' data-name='area' value="{{area}}" mode="region" bindchange="pickerChange">
- <view class="picker">
- {{area[0]}}{{area[1]}}{{area[2]}}
- </view>
- </picker>
- <image src="../../images/arrow-bottom.png" mode="widthFix"></image>
- </view>
- <view class="item" wx:if="{{receive==1}}">
- <label>详细地址</label>
- <input name='address' value="{{data.address}}" placeholder="请输入您的详细地址"></input>
- </view>
- <view class="item">
- <label>备注</label>
- <input name='remark' value="{{data.remark}}" placeholder="请输入您的备注"></input>
- </view>
- <view class="fee">
- <label>培训费用</label>¥{{data.price}}
- </view>
- <view class="fee">
- <label>审核后需支付费用</label>¥{{data.price}}
- </view>
- <view class="post"><button formType="submit">下一步,上传资料</button></view>
- </form>
- <view class="bg_dev" style="display:{{show_dev?'block':'none'}}">
- <view class="dev">
- <view>设备种类</view>
- <checkbox-group bindchange="checkboxChange">
- <label class="checkbox" wx:for="{{device_cats}}" wx:key='*this'>
- <checkbox value="{{item}}"/>{{item}}
- </label>
- </checkbox-group>
- <button bindtap="sure">确定</button>
- </view>
- </view>
|