write.wxml 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454
  1. <form bindsubmit='formData'>
  2. <view class='tab'>
  3. <view class='top'>
  4. <view class="{{index==0?'select':''}}" catchtap='tab' data-index='0'>申报条件</view>
  5. <view class="{{index==1?'select':''}}" catchtap='tab' data-index='1'>基本表单</view>
  6. <view class="{{index==2?'select':''}}" catchtap='tab' data-index='2'>材料上传</view>
  7. <view class="{{index==3?'select':''}}" catchtap='tab' data-index='3'>申报确认</view>
  8. </view>
  9. </view>
  10. <swiper current='{{current_index}}' style="height: {{clientHeight?clientHeight+'px':'auto'}}" bindchange='change'>
  11. <swiper-item>
  12. <scroll-view scroll-y="{{true}}" style="height: {{clientHeight?clientHeight+'px':'auto'}}">
  13. <view class='top2'>
  14. <view class='msg1'>
  15. <view class='triangle1'></view>
  16. <view class='msg_content1'>
  17. <text>注:办理该项业务,需满足以下受理条件,才能进行业务的申报,请自检是否满足</text>
  18. <!-- <text>注:您本次网上申报的办件,工作人员受理后将与您联系</text> -->
  19. </view>
  20. </view>
  21. </view>
  22. <view style='background-color:#fff;margin-top:20rpx;'>
  23. <view class='content'>
  24. <view class='sp-title'>
  25. 审批条件
  26. </view>
  27. <view class='sp-content_text'>
  28. <view>{{server.preService.applyConditionDesc?server.preService.applyConditionDesc:'无'}}</view>
  29. </view>
  30. </view>
  31. <view class='content' style='margin-top:30rpx;'>
  32. <view class='title'>
  33. 收取材料
  34. </view>
  35. <view class='sp-content_text'>
  36. <block wx:for='{{server.preService.preServiceMaterialList}}' wx:key='{{item.unid}}'>
  37. <view>
  38. <text>{{index+1}}.{{item.name}}<text wx:if='{{item.importLevel==3||item.importLevel==1}}' style='margin-left:20rpx;'>{{item.importLevel==1?'[非必要]':item.importLevel==3?'[容缺后补]':''}}</text>
  39. <text style='margin-left:20rpx;color:red'>{{item.importLevel==2?'[必要]':''}}</text></text>
  40. </view>
  41. </block>
  42. <view>{{server.preService.preServiceMaterialList.length==0?'无':''}}</view>
  43. </view>
  44. <view class='ps'>注:本人对办理该事项提交的申报材料实质内容真实性负责</view>
  45. </view>
  46. </view>
  47. <!-- <view class='btn'>
  48. <button catchtap='next'>下一步</button>
  49. </view> -->
  50. </scroll-view>
  51. </swiper-item>
  52. <swiper-item>
  53. <scroll-view scroll-y="{{true}}" style="height: {{clientHeight?clientHeight+'px':'auto'}}">
  54. <view>
  55. <!-- <view class='top1'>
  56. <view class='msg'>
  57. <view class='triangle_view'>
  58. <view class='triangle'></view>
  59. </view>
  60. <view class='msg_content'>
  61. <text>注:</text>
  62. <text>1. 带 * 号为必填项,请根据实际情况进行填写;
  63. 2. 为必要资料,您必须提交才能申报, 为容缺后
  64. 补资料,您可以在网上预受理后在窗口提交, 为非
  65. 必要材料,根据您实际情况提交;
  66. 3.附件大小不能超过50M。
  67. </text>
  68. </view>
  69. </view>
  70. </view> -->
  71. <view style='background-color:#fff;margin-top:20rpx;'>
  72. <!-- <view style='padding:30rpx;font-size:26rpx;' wx:if='{{search||radio}}'>
  73. <radio-group class="radio-group" bindchange="radioChange">
  74. <label class="radio">
  75. <radio value="1" checked="checked"/>个人办事
  76. <radio value="2"/>法人办事
  77. </label>
  78. </radio-group>
  79. </view> -->
  80. <view class='content'>
  81. <view class='title'>
  82. 申请者信息
  83. </view>
  84. <view class='content_text'>
  85. <view class='form'>
  86. <view class='xing'>*</view>
  87. <view class='form_title'>审报事项名称</view>
  88. <view class='input no1'>
  89. <text>{{server.preService.serviceName}}</text>
  90. </view>
  91. </view>
  92. <view class='form'>
  93. <view class='xing'>*</view>
  94. <view class='form_title'>申报人</view>
  95. <view class='input'>
  96. <input name='applyname' bindinput="applyname" value='{{identity==0?user.userName:user.lInstitutionName}}' placeholder-class='place'></input>
  97. </view>
  98. </view>
  99. <view class='form'>
  100. <view class='xing'>*</view>
  101. <view class='form_title'>证件类型</view>
  102. <view style='width:62%;'>
  103. <picker style='width:100%;display:flex;' name='applyCardtype' range="{{code}}" range-key='dictValueName' bindchange="bindSbCodeChange">
  104. <view class='picker'>
  105. <text>{{code[codeIndex].dictValueName}}</text>
  106. <image style='width:18rpx;height:18rpx;' src='../../../images/bottom.png'></image>
  107. </view>
  108. </picker>
  109. </view>
  110. </view>
  111. <view class='form'>
  112. <view class='xing'>*</view>
  113. <view class='form_title'>证件号码</view>
  114. <view class='input'>
  115. <input name='applyCardnumber' bindinput="applyCardnumber" value='{{identity==0?user.pDocumentNum:user.lInstitutionNum}}' placeholder-class='place'></input>
  116. </view>
  117. </view>
  118. <view class='form'>
  119. <view class='xing'>*</view>
  120. <view class='form_title'>联系人姓名</view>
  121. <view class='input'>
  122. <input name='contactman' bindblur='contactman' placeholder='请输入联系人姓名' placeholder-class='place'></input>
  123. </view>
  124. </view>
  125. <view class='form'>
  126. <view class='xing'>*</view>
  127. <view class='form_title'>证件类型</view>
  128. <view style='width:62%;'>
  129. <picker style='width:100%;display:flex;' name='contactmanCardtype' range="{{code}}" range-key='dictValueName' bindchange="bindLxCodeChange">
  130. <view class='picker'>
  131. <text>{{code[lxCodeIndex].dictValueName}}</text>
  132. <image style='width:18rpx;height:18rpx;' src='../../../images/bottom.png'></image>
  133. </view>
  134. </picker>
  135. </view>
  136. </view>
  137. <view class='form'>
  138. <view class='xing'>*</view>
  139. <view class='form_title'>联系人证件</view>
  140. <view class='input'>
  141. <input bindblur='contactmanCardnumber' name='contactmanCardnumber' maxlength="18" placeholder='请输入联系人证件号码' placeholder-class='place'></input>
  142. </view>
  143. </view>
  144. <view class='form'>
  145. <view class='xing'>*</view>
  146. <view class='form_title'>联系人电话</view>
  147. <view class='input'>
  148. <input bindblur='telphone' type="number" maxlength="11" name='telphone' placeholder='请输入联系人电话' placeholder-class='place'></input>
  149. </view>
  150. </view>
  151. <view class='form'>
  152. <view class='xing'></view>
  153. <view class='form_title'>邮编</view>
  154. <view class='input'>
  155. <input name='postcode' type='number' maxlength='6' placeholder='请输入邮编' bindblur="postcode" placeholder-class='place'></input>
  156. </view>
  157. </view>
  158. <view class='form'>
  159. <view class='xing'></view>
  160. <view class='form_title'>通讯地址</view>
  161. <view class='input'>
  162. <input bindblur="address" name='address' placeholder='请输入通讯地址' placeholder-class='place'></input>
  163. </view>
  164. </view>
  165. <view class='form'>
  166. <view class='xing'></view>
  167. <view class='form_title'>备注</view>
  168. <view class='input'>
  169. <input bindblur="remark" name='remark' placeholder='请输入备注' placeholder-class='place'></input>
  170. </view>
  171. </view>
  172. </view>
  173. </view>
  174. </view>
  175. <!-- <view class='submit'>
  176. <view catchtap='up'>上一步</view>
  177. <view catchtap='next'>下一步</view>
  178. </view> -->
  179. </view>
  180. </scroll-view>
  181. </swiper-item>
  182. <swiper-item>
  183. <scroll-view scroll-y="{{true}}" style="height: {{clientHeight?clientHeight+'px':'auto'}}">
  184. <view style='background-color:#fff;margin-top:20rpx;padding-bottom:60rpx;'>
  185. <view style='width:690rpx;margin:0 auto;'>
  186. <view class='content'>
  187. <view class='title'>
  188. <text>申报材料</text>
  189. <text style='font-size:24rpx;'>(共{{server.preService.preServiceMaterialList.length}}项)</text>
  190. </view>
  191. </view>
  192. <block wx:for='{{server.preService.preServiceMaterialList}}' wx:for-item='item' wx:key='{{item.unid}}' wx:if='{{item.importLevel==2}}'>
  193. <view class='img'>
  194. <view class='img_title'>
  195. <text>{{index+1}}.{{item.name}}<text wx:if='{{item.importLevel==3||item.importLevel==1}}' style='margin-left:20rpx;'>{{item.importLevel==1?'[非必要]':item.importLevel==3?'[容缺后补]':''}}</text>
  196. <text style='margin-left:20rpx;color:red'>{{item.importLevel==2?'[必要]':''}}</text></text>
  197. <!-- <image src='../../../images/wode_guanzhu.png'></image> -->
  198. </view>
  199. <view class='img-content'>
  200. <view class='bdimg' wx:for='{{image}}' wx:for-item='i' wx:for-index='ind' wx:key='{{index}}' wx:if='{{index==i.index}}'>
  201. <image catchtap='preview' data-i='{{ind}}' data-url='{{image}}' data-index='{{index}}' data-http='{{i.http}}' mode='aspectFill' src='{{i.http+i.url}}'></image>
  202. <image class='delete-img' data-index='{{index}}' catchtap='deleteImg' style='width:50rpx;height:50rpx;' src='../../../images/delete_img.png' data-id='{{i.time}}'></image>
  203. </view>
  204. <view class='image'>
  205. <image catchtap='image' data-index='{{index}}' src='../../../images/upload.png'></image>
  206. <!-- // catchtap='image' -->
  207. </view>
  208. </view>
  209. </view>
  210. </block>
  211. <!-- <view class='img'>
  212. <view class='img_title'>
  213. <text>2.社保关系转移表</text>
  214. <image src='../../../images/wode_guanzhu.png'></image>
  215. </view>
  216. <view class='img-content'>
  217. <view class='bdimg' wx:for='{{image}}' wx:key='{{index}}' wx:if='{{item.index==1}}'>
  218. <image mode='aspectFill' src='{{item.url}}'></image>
  219. <image class='delete-img' catchtap='deleteImg' style='width:50rpx;height:50rpx;' src='../../../images/delete_img.png' data-id='{{item.time}}'></image>
  220. </view>
  221. <view class='image'>
  222. <image catchtap='image' data-index='1' src='../../../images/upload.png'></image>
  223. </view>
  224. </view>
  225. </view> -->
  226. </view>
  227. </view>
  228. <!-- <view class='submit'>
  229. <view catchtap='up'>上一步</view>
  230. <view catchtap='next'>下一步</view>
  231. </view> -->
  232. </scroll-view>
  233. </swiper-item>
  234. <swiper-item>
  235. <scroll-view scroll-y="{{true}}" style="height: {{clientHeight?clientHeight+'px':'auto'}}">
  236. <view style='background-color:#fff;margin-top:30rpx;'>
  237. <view class='basis kind-list-item-hd-show' data-value='basis' bindtap="kindToggle">
  238. <view class='result-left'>
  239. <image mode='aspectFill' src="{{setInput?'../../../images/result.png':'../../../images/delete_img.png'}}"></image>
  240. <view>申报信息确认</view>
  241. </view>
  242. <image src='../../../images/icon_show.png'></image>
  243. </view>
  244. </view>
  245. <block>
  246. <view class="basis-content kind-list-item-bd {{expand=='basis'&dis?'kind-list-item-bd-show':''}}">
  247. <view class="navigator-box {{expand=='basis'&dis?'navigator-box-show':''}}">
  248. <view class='content'>
  249. <view class='title'>
  250. 申请者信息
  251. </view>
  252. <view class='content_text'>
  253. <view class='form'>
  254. <!-- <view class='xing'>*</view> -->
  255. <view class='form_title'>审报事项名称</view>
  256. <view class='input'>
  257. {{server.preService.serviceName}}
  258. </view>
  259. </view>
  260. <view class='form'>
  261. <!-- <view class='xing'>*</view> -->
  262. <view class='form_title'>申报人</view>
  263. <view wx:if='{{applyname}}'>
  264. {{applyname}}
  265. </view>
  266. <view wx:else class='input'>
  267. {{identity==0?user.userName:user.lInstitutionName}}
  268. </view>
  269. </view>
  270. <view class='form'>
  271. <!-- <view class='xing'>*</view> -->
  272. <view class='form_title'>证件类型</view>
  273. <view style='width:62%;'>
  274. <picker disabled style='width:100%;display:flex;' range="{{code}}" range-key='dictValueName' bindchange="bindSbCodeChange">
  275. <view class='picker'>
  276. <text>{{code[codeIndex].dictValueName}}</text>
  277. <!-- <image style='width:18rpx;height:18rpx;' src='../../../images/bottom.png'></image> -->
  278. </view>
  279. </picker>
  280. </view>
  281. </view>
  282. <view class='form'>
  283. <!-- <view class='xing'>*</view> -->
  284. <view class='form_title'>证件号码</view>
  285. <view class='input' wx:if='{{applyCardnumber}}'>
  286. {{applyCardnumber}}
  287. </view>
  288. <view class='input' wx:else>
  289. {{identity==0?user.pDocumentNum:user.lInstitutionNum}}
  290. </view>
  291. </view>
  292. <view class='form'>
  293. <!-- <view class='xing'>*</view> -->
  294. <view class='form_title'>联系人姓名</view>
  295. <view class='input'>
  296. {{contactman}}
  297. </view>
  298. </view>
  299. <view class='form'>
  300. <!-- <view class='xing'>*</view> -->
  301. <view class='form_title'>证件类型</view>
  302. <view style='width:62%;'>
  303. <picker disabled style='width:100%;display:flex;' range="{{code}}" range-key='dictValueName' bindchange="bindLxCodeChange">
  304. <view class='picker'>
  305. <text>{{code[lxCodeIndex].dictValueName}}</text>
  306. <!-- <image style='width:18rpx;height:18rpx;' src='../../../images/bottom.png'></image> -->
  307. </view>
  308. </picker>
  309. </view>
  310. </view>
  311. <view class='form'>
  312. <!-- <view class='xing'>*</view> -->
  313. <view class='form_title'>联系人证件</view>
  314. <view class='input'>
  315. {{contactmanCardnumber}}
  316. </view>
  317. </view>
  318. <view class='form'>
  319. <!-- <view class='xing'>*</view> -->
  320. <view class='form_title'>联系人电话</view>
  321. <view class='input'>
  322. {{telphone}}
  323. </view>
  324. </view>
  325. <view class='form'>
  326. <!-- <view class='xing'></view> -->
  327. <view class='form_title'>邮编</view>
  328. <view class='input'>
  329. {{postcode}}
  330. </view>
  331. </view>
  332. <view class='form'>
  333. <!-- <view class='xing'></view> -->
  334. <view class='form_title'>通讯地址</view>
  335. <view class='input'>
  336. {{address}}
  337. </view>
  338. </view>
  339. <view class='form'>
  340. <!-- <view class='xing'></view> -->
  341. <view class='form_title'>备注</view>
  342. <view class='input'>
  343. {{remark}}
  344. </view>
  345. </view>
  346. <!-- <view class='form'>
  347. <view class='xing'></view>
  348. <view class='form_title'>备注</view>
  349. <view class='input'>
  350. <input placeholder='请输入备注' placeholder-class='place'></input>
  351. </view>
  352. </view> -->
  353. </view>
  354. </view>
  355. </view>
  356. </view>
  357. </block>
  358. <view style="padding-bottom:100rpx;">
  359. <block wx:for='{{server.preService.preServiceMaterialList}}' wx:for-item='item' wx:key='{{item.unid}}'>
  360. <!-- <view class='result' bindtap="kindToggle" data-value='{{index}}'>
  361. <view class='result-left'>
  362. <image mode='aspectFill' src="{{item.isSet==1?'../../../images/result.png':'../../../images/delete_img.png'}}"></image>
  363. <view>{{item.name}}</view>
  364. </view>
  365. <image class='result-show' src='../../../images/icon_show.png'></image>
  366. </view> -->
  367. <view style='background-color:#fff;' wx:if='{{item.importLevel==2}}'>
  368. <view class='basis kind-list-item-hd-show' data-value='{{index}}' bindtap="kindToggle">
  369. <view class='result-left'>
  370. <image mode='aspectFill' src="{{item.isSet==1?'../../../images/result.png':'../../../images/delete_img.png'}}"></image>
  371. <view>{{item.name}}</view>
  372. </view>
  373. <image src='../../../images/icon_show.png'></image>
  374. </view>
  375. </view>
  376. <block>
  377. <view class="basis-content kind-list-item-bd {{expand==index&dis?'kind-list-item-bd-show':''}}">
  378. <view class="navigator-box {{expand==index&dis?'navigator-box-show':''}}">
  379. <block wx:for='{{image}}' wx:for-item='items' wx:for-index='ind' wx:key='{{ind}}'>
  380. <block wx:if='{{index==items.index}}'>
  381. <image catchtap="preview" data-i='{{ind}}' data-url="{{image}}" style="width:150rpx;height:150rpx;padding:8rpx;" src="{{items.http+items.url}}"></image>
  382. </block>
  383. </block>
  384. <view style="margin-left:56rpx;" wx:if='{{image.length==0}}'>无</view>
  385. </view>
  386. </view>
  387. </block>
  388. </block>
  389. </view>
  390. </scroll-view>
  391. <!-- <view class='submit'>
  392. <button catchtap='up'>上一步</button>
  393. <button form-type='submit'>确认申报</button>
  394. </view> -->
  395. </swiper-item>
  396. </swiper>
  397. <!-- 遮罩层 -->
  398. <view class='mask' wx:if='{{mask}}'>
  399. <view>
  400. <view class='mask_content'>
  401. <text>请输入材料名称</text>
  402. <view class='mask-input'>
  403. <input bindblur='dataName' adjust-position='true'></input>
  404. </view>
  405. <view class='mask-btn'>
  406. <view class='mask-clear' catchtap='clear'>取消</view>
  407. <view class='mask-true' catchtap='maskSubmit'>确认</view>
  408. </view>
  409. </view>
  410. <!-- <view class='clear'>
  411. <image catchtap='clear' src='../../../images/clear.png'></image>
  412. </view> -->
  413. </view>
  414. </view>
  415. <view class='{{index==3?"flxed-bottom1":"flxed-bottom"}}'>
  416. <block wx:if='{{index==3}}'>
  417. <view class="mode-view">
  418. <view class="mode">
  419. <view>取件方式:</view>
  420. <view>
  421. <radio-group class="radio-group" bindchange="radioChange">
  422. <label class="radio" wx:for="{{items}}">
  423. <radio value="{{item.name}}" checked="{{item.checked}}" />{{item.value}}
  424. </label>
  425. </radio-group>
  426. </view>
  427. </view>
  428. <!-- <input wx:if='{{modeInput}}' value="{{identity==0?user.userName+' '+user.pPhone+' '+(user.pAddress?user.pAddress:''):user.lInstitutionName+' '+user.lPhone+' '+(user.lAddress?user.lAddress:'')}}" name='postalAddress' placeholder="请输入邮寄地址"></input> -->
  429. <scroll-view scroll-x="true" style=" width: 600rpx;margin:0 auto;" class="scroll_display">
  430. <text catchtap="addresstext" wx:if='{{modeInput&&textaddress}}' class="test_display">{{!youjiaddress?(identity==0?user.userName+' '+user.pPhone+' '+(user.pAddress?user.pAddress:''):user.lInstitutionName+' '+user.lPhone+' '+(user.lAddress?user.lAddress:'')):youjiaaddress}}</text>
  431. <input wx:if='{{modeInput&&!textaddress&&!youjiaddress}}' name='postalAddress' placeholder="请输入邮寄地址" bindblur='blur' focus class="test_display" value="{{identity==0?user.userName+' '+user.pPhone+' '+(user.pAddress?user.pAddress:''):user.lInstitutionName+' '+user.lPhone+' '+(user.lAddress?user.lAddress:'')}}"></input>
  432. <input wx:if='{{youjiaddress}}' name='postalAddress' placeholder="请输入邮寄地址" bindblur='blur' focus class="test_display" value="{{youjiaddress}}"></input>
  433. <text wx:if='{{!modeInput}}' class="test_display">洛龙区行政中心{{server.preService.deptName}}
  434. </text>
  435. </scroll-view>
  436. </view>
  437. </block>
  438. <view style="height:20rpx;background-color:#efefef;"></view>
  439. <view class="sub">
  440. <view catchtap='up' wx:if='{{index!=0}}'>上一步</view>
  441. <view catchtap='next' wx:if='{{index!=3}}'>下一步</view>
  442. <view wx:if='{{index==3}}' class="sub">
  443. <button form-type='submit'>确认申报</button>
  444. <!-- <button wx:if='{{!disabled}}' disabled form-type='submit'>确认申报</button> -->
  445. </view>
  446. </view>
  447. </view>
  448. </form>