perfectWorkerInfo.wxml 13 KB

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