perfectWorkerInfo.wxml 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317
  1. <view class="container">
  2. <view>
  3. <!-- 手机号验证 -->
  4. <view class="add-address" wx:if="{{!hasLogin}}">
  5. <view class="add-form">
  6. <view class="form-item">
  7. <view class="label">手机号</view>
  8. <view class="content">
  9. <input class="input" value="{{workerTel}}" style="width: unset;" bindinput="bindWorkerTel" placeholder="请输入个人联系方式" maxlength="11" type="number" />
  10. <view bindtap="goValid" style="width: 140rpx;">点击验证</view>
  11. </view>
  12. </view>
  13. </view>
  14. </view>
  15. <block wx:if="{{isExist}}">
  16. <!-- 身份证识别 -->
  17. <view style="display: flex; justify-content: space-around;height:220rpx;">
  18. <view class="weui-uploader">
  19. <view class="weui-uploader__hd">
  20. <view class="weui-uploader__title">身份证【正面】照片</view>
  21. </view>
  22. <view class="weui-uploader__bd">
  23. <view class="weui-uploader__files" id="uploaderFrontFiles">
  24. <block>
  25. <view class="weui-uploader__file" bindtap="previewImage" id="{{idFront}}">
  26. <image class="weui-uploader__img" src="{{idFront}}" mode="aspectFill" />
  27. </view>
  28. </block>
  29. <view wx:if="{{showOcr}}" class="weui-uploader__input-box">
  30. <view class="weui-uploader__input" data-type='front' bindtap="chooseImage"></view>
  31. </view>
  32. </view>
  33. </view>
  34. </view>
  35. <view class="weui-uploader">
  36. <view class="weui-uploader__hd">
  37. <view class="weui-uploader__title">身份证【反面】照片</view>
  38. </view>
  39. <view class="weui-uploader__bd">
  40. <view class="weui-uploader__files" id="uploaderBackFiles">
  41. <block >
  42. <view class="weui-uploader__file" bindtap="previewImage" id="{{idBack}}">
  43. <image class="weui-uploader__img" src="{{idBack}}" mode="aspectFill" />
  44. </view>
  45. </block>
  46. <view wx:if="{{showOcr}}"class="weui-uploader__input-box">
  47. <view class="weui-uploader__input" data-type='back' bindtap="chooseImage"></view>
  48. </view>
  49. </view>
  50. </view>
  51. </view>
  52. </view>
  53. <view class="ocr-btn" wx:if="{{showOcr&&showSubmit&&worker.ocrState!=1}}" bindtap="uploadIdFrontImage">确认上传</view>
  54. <view class="add-address">
  55. <view class="add-form">
  56. <view class="form-item">
  57. <view class="label">姓名*</view>
  58. <view class="content">
  59. <input class="input" value="{{worker.workerName}}" placeholder="自动识别:姓名" disabled="true" />
  60. </view>
  61. </view>
  62. <view class="form-item">
  63. <view class="label">性别</view>
  64. <view class="content">
  65. <input class="input" value="{{worker.gender}}" placeholder="自动识别:性别" disabled="true" />
  66. </view>
  67. </view>
  68. <view class="form-item">
  69. <view class="label">民族</view>
  70. <view class="content">
  71. <input class="input" value="{{worker.nation}}" placeholder="自动识别:民族" disabled="true" />
  72. </view>
  73. </view>
  74. <view class="form-item">
  75. <view class="label">籍贯</view>
  76. <view class="content">
  77. <input class="input" value="{{worker.nativePlace}}" placeholder="自动识别:籍贯" disabled="true" />
  78. </view>
  79. </view>
  80. <view class="form-item">
  81. <view class="label">身份证*</view>
  82. <view class="content">
  83. <input class="input" type="idcard" value="{{worker.workerIdcard}}" placeholder="自动识别:身份证号" disabled="true" />
  84. </view>
  85. </view>
  86. <view class="form-item">
  87. <view class="label label-m">身份证地址</view>
  88. <view class="content">
  89. <input class="input" value="{{worker.idcardAddress}}" placeholder="自动识别:身份证地址" disabled="true" />
  90. </view>
  91. </view>
  92. <view class="form-item">
  93. <view class="label label-s">身份证有效期</view>
  94. <view class="content">
  95. <input class="input" value="{{worker.idcardStartdate}}{{worker.break}}{{worker.idcardEnddate}}" placeholder="自动识别:身份证有效期" disabled="true" />
  96. </view>
  97. </view>
  98. <view class="ocr-info-warning">以上信息 身份证自动识别带出</view>
  99. <!-- <view class="form-item">
  100. <view class="label">工作类型</view>
  101. <view class="content">
  102. <input class="input" bindtap="showServiceItem" disabled="true" value="{{worker.workType}}"
  103. placeholder="请选择个人工作类型或技能" />
  104. </view>
  105. </view>
  106. <view class="form-item">
  107. <view class="label">工作经验</view>
  108. <view class="content">
  109. <input class="input" bindtap="showExperience" disabled="true" value="{{worker.experience}}"
  110. placeholder="请选择个人工作经验" />
  111. </view>
  112. </view> -->
  113. <!-- <view class="form-item">
  114. <view class="label">工作城市</view>
  115. <view class="content">
  116. <input class="input" value="{{worker.city}}" bindtap="showCity" disabled="true" placeholder="请选择应聘的城市" />
  117. </view>
  118. </view> -->
  119. <view class="form-item">
  120. <view class="label-m label">户口</view>
  121. <view class="content">
  122. <input class="input" bindtap="showHukou" disabled="true" value="{{worker.residenceTypeName}}"
  123. placeholder="请选择户口" />
  124. </view>
  125. </view>
  126. <view class="form-item">
  127. <view class="label-m label">社保</view>
  128. <view class="content">
  129. <input class="input" bindtap="showShebao" disabled="true" value="{{worker.socialSecurityName}}"
  130. placeholder="请选择社保" />
  131. </view>
  132. </view>
  133. <view class="form-item">
  134. <view class="label-m label">学历</view>
  135. <view class="content">
  136. <input class="input" bindtap="showEducation" disabled="true" value="{{worker.education}}"
  137. placeholder="请选择个人学历" />
  138. </view>
  139. </view>
  140. <view class="form-item">
  141. <view class="label label-m">身高</view>
  142. <view class="content">
  143. <input class="input" bindinput="bindHeight" value="{{worker.height}}" type="number"
  144. placeholder="请填写身高" />
  145. </view>
  146. </view>
  147. <view class="form-item">
  148. <view class="label label-m">体重</view>
  149. <view class="content">
  150. <input class="input" bindinput="bindWeight" value="{{worker.weight}}" type="number"
  151. placeholder="请填写体重" />
  152. </view>
  153. </view>
  154. <view class="form-item">
  155. <view class="label label-m">开户行</view>
  156. <view class="content">
  157. <input class="input" bindinput="bindBankOfDeposit" value="{{worker.bankOfDeposit}}"
  158. placeholder="请填写开户行" />
  159. </view>
  160. </view>
  161. <view class="form-item">
  162. <view class="label label-m">银行卡号</view>
  163. <view class="content">
  164. <input class="input" bindinput="bindBankNo" value="{{worker.bankNo}}" type="number" maxlength="19"
  165. placeholder="请填写银行卡号" />
  166. </view>
  167. </view>
  168. <!-- <view class="form-item">
  169. <view class="label">联系地址</view>
  170. <view class="content">
  171. <input class="input" value="{{worker.contactAddr}}" bindinput="bindContactAddr" placeholder="请填写目前所住地址" maxlength="30" />
  172. </view>
  173. </view> -->
  174. <!-- <view class="form-item">
  175. <view class="label label-m">紧急联系人*</view>
  176. <view class="content">
  177. <input class="input" bindinput="bindEmergencyContact" value="{{worker.emergencyContact}}" placeholder="请填写紧急联系人" maxlength="10" />
  178. </view>
  179. </view> -->
  180. <view class="form-item">
  181. <view class="label label-m">备用电话</view>
  182. <view class="content">
  183. <input class="input" bindinput="bindWorkerTel1" value="{{worker.workerTel1}}" type="number"
  184. placeholder="请填写备用号码" maxlength="11" />
  185. </view>
  186. </view>
  187. <view class="form-item">
  188. <view class="label label-m">健康证编号</view>
  189. <view class="content">
  190. <input class="input" value="{{worker.certificateNo}}" bindinput="bindHealthCert" placeholder="请填写健康证编号" maxlength="32"/>
  191. </view>
  192. </view>
  193. <view class="form-item">
  194. <view class="label label-m">发证时间</view>
  195. <view class="content">
  196. <input class="input" type="date" disabled="true" bindtap="showIssuanceDate" value="{{worker.issuanceDate}}" placeholder="请选择发证时间" />
  197. </view>
  198. </view>
  199. <view class="form-item">
  200. <view class="label label-s">健康证开始时间</view>
  201. <view class="content">
  202. <input class="input" type="date" disabled="true" bindtap="showHealthStart" value="{{worker.expirationDateStart}}" placeholder="请选择健康证开始时间" />
  203. </view>
  204. </view>
  205. <view class="form-item">
  206. <view class="label label-s">健康证结束时间</view>
  207. <view class="content">
  208. <input class="input" disabled="true" bindtap="showHealthEnd" value="{{worker.expirationDateEnd}}" placeholder="请选择健康证结束时间" />
  209. </view>
  210. </view>
  211. </view>
  212. </view>
  213. <view style="display: flex; height:220rpx; padding:10px;background:#fff;">
  214. <view class="weui-uploader">
  215. <view class="weui-uploader__hd">
  216. <view class="weui-uploader__title">上传健康证</view>
  217. </view>
  218. <view class="weui-uploader__bd">
  219. <view class="weui-uploader__files" style="justify-content: flex-start;" id="uploaderFrontFiles">
  220. <block>
  221. <view class="weui-uploader__file" bindtap="previewImage" id="{{item}}">
  222. <image class="weui-uploader__img" src="{{item}}" mode="aspectFill" wx:for="{{certificateFileUrl}}"/>
  223. </view>
  224. </block>
  225. <!-- wx:if="{{showOcr}}" wx-if="{{certificateFileUrl.length==0}}"-->
  226. <view class="weui-uploader__input-box" >
  227. <view class="weui-uploader__input" data-type='front' bindtap="uploadHealth"></view>
  228. </view>
  229. </view>
  230. </view>
  231. </view>
  232. </view>
  233. <view style="display: flex; height:220rpx; padding:10px;background:#fff;">
  234. <view class="weui-uploader">
  235. <view class="weui-uploader__hd">
  236. <view class="weui-uploader__title">上传头像</view>
  237. </view>
  238. <view class="weui-uploader__bd">
  239. <view class="weui-uploader__files" style="justify-content: flex-start;" id="headPic">
  240. <block>
  241. <view class="weui-uploader__file" bindtap="previewImage" id="{{headPic}}">
  242. <image class="weui-uploader__img" src="{{headPic}}" mode="aspectFill" />
  243. </view>
  244. </block>
  245. <view class="weui-uploader__input-box">
  246. <view class="weui-uploader__input" data-type='front' bindtap="uploadHeadPic"></view>
  247. </view>
  248. </view>
  249. </view>
  250. </view>
  251. </view>
  252. <view class="fb-btn" wx:if="{{showSubmit}}" bindtap="submitFeedback">完善信息</view>
  253. </block>
  254. </view>
  255. <van-popup show="{{showExperience}}" position="bottom">
  256. <van-picker show-toolbar columns="{{experience}}" bind:cancel="onExperienceCancel"
  257. bind:confirm="onExperienceConfirm" />
  258. </van-popup>
  259. <van-popup show="{{showEducation}}" position="bottom">
  260. <van-picker show-toolbar columns="{{education}}" bind:cancel="onEducationCancel"
  261. bind:confirm="onEducationConfirm" />
  262. </van-popup>
  263. <van-popup show="{{showServiceItem}}" position="bottom">
  264. <van-picker show-toolbar columns="{{serviceItem}}" bind:cancel="onServiceItemCancel"
  265. bind:confirm="onServiceItemConfirm" />
  266. </van-popup>
  267. <van-popup show="{{showCity}}" position="bottom">
  268. <van-picker show-toolbar columns="{{citys}}" bind:cancel="onCityCancel"
  269. bind:confirm="onCityConfirm" />
  270. </van-popup>
  271. <van-popup show="{{showHealthStart}}" position="bottom">
  272. <van-datetime-picker type='date' bind:cancel="onHealthStartCancel"
  273. bind:confirm="onHealthStartConfirm" min-date="{{minDate}}"/>
  274. </van-popup>
  275. <van-popup show="{{showIssuanceDate}}" position="bottom">
  276. <van-datetime-picker type='date' bind:cancel="onIssuanceDateCancel"
  277. bind:confirm="onIssuanceDateConfirm" min-date="{{minDate}}"/>
  278. </van-popup>
  279. <van-popup show="{{showHealthEnd}}" position="bottom">
  280. <van-datetime-picker type='date' bind:cancel="onHealthEndCancel"
  281. bind:confirm="onHealthEndConfirm" min-date="{{minDate}}"/>
  282. </van-popup>
  283. <van-popup show="{{showHukou}}" position="bottom">
  284. <van-picker show-toolbar columns="{{residenceTypeList}}" value-key="value" bind:cancel="onHukouCancel" bind:confirm="onHukouConfirm" />
  285. </van-popup>
  286. <van-popup show="{{showShebao}}" position="bottom">
  287. <van-picker show-toolbar columns="{{socialSecurityList}}" value-key="value" bind:cancel="onShebaoCancel" bind:confirm="onShebaoConfirm" />
  288. </van-popup>
  289. </view>