移动端
25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.
 
 

5084 satır
172 KiB

  1. <template>
  2. <div class="app-container">
  3. <van-sticky style="position:relative;">
  4. <div class="bannerBg">
  5. <van-nav-bar
  6. style="background:transparent;border-bottom-width:0;height:2rem;margin-bottom:.5rem;"
  7. @click-left="goBack()"
  8. >
  9. <template #left>
  10. <van-icon name="arrow-left" size="18" color="#fff" />
  11. </template>
  12. <!-- <template #right>
  13. <van-icon name="map-marked" size="18" color="#fff" />
  14. </template>-->
  15. <template #title>
  16. <p style="color:#fff">{{item.zjddm?"":"新增"}}入户调查</p>
  17. </template>
  18. </van-nav-bar>
  19. </div>
  20. <div style=" width:90%; left:5%;position:absolute;background:#fff;border-radius:15px;box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.16);padding: .3rem;
  21. top:1.2rem">
  22. <van-row>
  23. <van-col span="4" :offset="1" style="text-align:center;" >
  24. <div @click="active=1">
  25. <van-icon :name="require('../../assets/images/housesteadSurvey/zjd'+(active==1?'A':'D')+'.png')" size="1rem" :message="form.message" @click="mapClickLoading" style="margin-top:0px;"/>
  26. <p :style="{color:(active==1?'rgb(34, 183, 242)':'#000')}">宅基地</p>
  27. </div>
  28. </van-col>
  29. <van-col span="2">
  30. <div style="height: 2px; border: 2px dashed #b5b4b4;margin-top: 40px;"></div>
  31. </van-col>
  32. <div @click="active=2,getSyqrList()">
  33. <van-col span="4" style="text-align:center;" >
  34. <van-icon :name="require('../../assets/images/housesteadSurvey/nhxx'+(active==2?'A':'D')+'.png')" size="1rem" style="margin-top:0px;"/>
  35. <p :style="{color:(active==2?'rgb(34, 183, 242)':'#000')}">农户</p>
  36. </van-col>
  37. </div>
  38. <van-col span="2">
  39. <div style=" height: 2px; border: 2px dashed #b5b4b4;margin-top: 40px;"></div>
  40. </van-col>
  41. <div @click="active=3,getZrzList()">
  42. <van-col span="4" style="text-align:center;" >
  43. <van-icon :name="require('../../assets/images/housesteadSurvey/fwxx'+(active==3?'A':'D')+'.png')" size="1rem" style="margin-top:0px;"/>
  44. <p :style="{color:(active==3?'rgb(34, 183, 242)':'#000')}">房屋</p>
  45. </van-col>
  46. </div>
  47. <van-col span="2">
  48. <div style=" height: 2px; border: 2px dashed #b5b4b4;margin-top: 40px;"></div>
  49. </van-col>
  50. <van-col span="4" style="text-align:center;" @click="active=4,getFsssList()">
  51. <van-icon :name="require('../../assets/images/housesteadSurvey/fsss'+(active==4?'A':'D')+'.png')" size="1rem" style="margin-top:0px;"/>
  52. <p :style="{color:(active==4?'rgb(34, 183, 242)':'#000')}">附属物</p>
  53. </van-col>
  54. </van-row>
  55. </div>
  56. </van-sticky>
  57. <div v-if="active==1">
  58. <div style="margin:20px;">
  59. <van-form @submit="onSubmitzjd">
  60. <p class="title" style="position:relative;padding-left:20px;line-height:32px;">宅基地信息</p>
  61. <!--<van-field
  62. v-model="form.deptId"
  63. name="行政区划名称"
  64. label="行政区划名称"
  65. placeholder="行政区划名称"
  66. :rules="[{ required: true, message: '' }]"
  67. />-->
  68. <van-field
  69. autocomplete="off"
  70. v-model="form.suyqrdm"
  71. name="所有权人代码"
  72. label="所有权人代码"
  73. placeholder="自动生成"
  74. input-align="right"
  75. disabled
  76. />
  77. <van-field
  78. autocomplete="off"
  79. v-model="form.zjddm"
  80. name="宅基地代码"
  81. label="宅基地代码"
  82. placeholder="自动生成"
  83. input-align="right"
  84. disabled
  85. />
  86. <van-field
  87. autocomplete="off"
  88. input-align="right"
  89. v-model="form.zddm"
  90. name="宗地代码"
  91. label="宗地代码"
  92. placeholder="自动生成"
  93. disabled
  94. />
  95. <van-field name="radio" label="是否发证" input-align="right" autocomplete="off">
  96. <template #input>
  97. <van-radio-group v-model="form.sffz" direction="horizontal">
  98. <van-radio name="Y">是</van-radio>
  99. <van-radio name="N">否</van-radio>
  100. </van-radio-group>
  101. </template>
  102. </van-field>
  103. <van-field
  104. autocomplete="off"
  105. input-align="right"
  106. v-model="form.ytmc"
  107. name="用途"
  108. label="用途"
  109. placeholder="用途"
  110. readonly
  111. @click="showyt = true"
  112. required
  113. :rules="[{ required: true, message: '用途不能为空' }]"
  114. />
  115. <van-field
  116. v-model="form.yt"
  117. style="display:none"
  118. autocomplete="off"
  119. />
  120. <van-field
  121. input-align="right"
  122. v-model="form.zjdzsh"
  123. name="宅基地证书号"
  124. label="宅基地证书号"
  125. placeholder="宅基地证书号"
  126. maxlength="50"
  127. autocomplete="off"
  128. />
  129. <van-field
  130. autocomplete="off"
  131. input-align="right"
  132. v-model="form.zjdpzmj"
  133. name="宅基地批准面积(㎡)"
  134. label="宅基地批准面积(㎡)"
  135. placeholder="单位:平方米"
  136. type="number"
  137. maxlength="15"
  138. />
  139. <van-field
  140. autocomplete="off"
  141. input-align="right"
  142. v-model="form.zdmj"
  143. type="number"
  144. name="宗地面积(㎡)"
  145. label="宗地面积(㎡)"
  146. placeholder="宗地面积(㎡)"
  147. maxlength="15"
  148. />
  149. <van-field
  150. autocomplete="off"
  151. input-align="right"
  152. v-model="form.zl"
  153. name="坐落"
  154. label="坐落"
  155. placeholder="坐落"
  156. required
  157. :rules="[{ required: true, message: '坐落不能为空' }]"
  158. />
  159. <van-field
  160. autocomplete="off"
  161. v-model="form.zldwdm"
  162. name="坐落单位代码"
  163. label="坐落单位代码"
  164. placeholder="自动生成"
  165. input-align="right"
  166. disabled
  167. />
  168. <van-field
  169. autocomplete="off"
  170. input-align="right"
  171. v-model="form.zdszd"
  172. name="宗地四至-东"
  173. label="宗地四至-东"
  174. placeholder="宗地四至-东"
  175. maxlength="150"
  176. required
  177. :rules="[{ required: true, message: '宗地四至-东不能为空' }]"
  178. />
  179. <van-field
  180. autocomplete="off"
  181. input-align="right"
  182. v-model="form.zdszn"
  183. name="宗地四至-南"
  184. label="宗地四至-南"
  185. placeholder="宗地四至-南"
  186. maxlength="150"
  187. required
  188. :rules="[{ required: true, message: '宗地四至-南不能为空' }]"
  189. />
  190. <van-field
  191. input-align="right"
  192. v-model="form.zdszx"
  193. name="宗地四至-西"
  194. label="宗地四至-西"
  195. placeholder="宗地四至-西"
  196. maxlength="150"
  197. required
  198. :rules="[{ required: true, message: '宗地四至-西不能为空' }]"
  199. />
  200. <van-field
  201. autocomplete="off"
  202. input-align="right"
  203. v-model="form.zdszb"
  204. name="宗地四至-北"
  205. label="宗地四至-北"
  206. placeholder="宗地四至-北"
  207. maxlength="150"
  208. required
  209. :rules="[{ required: true, message: '宗地四至-北不能为空' }]"
  210. />
  211. <van-field
  212. autocomplete="off"
  213. input-align="right"
  214. v-model="form.lyzkName"
  215. name="当前利用状况"
  216. label="当前利用状况"
  217. placeholder="当前利用状况"
  218. readonly
  219. @click="showlyzk = true"
  220. />
  221. <van-field
  222. v-model="form.lyzk"
  223. style="display:none"
  224. />
  225. <van-field
  226. autocomplete="off"
  227. input-align="right"
  228. v-model="form.zjdxzyy"
  229. name="宅基地闲置原因"
  230. label="宅基地闲置原因"
  231. placeholder="宅基地闲置原因"
  232. maxlength="200"
  233. />
  234. <van-field
  235. autocomplete="off"
  236. input-align="right"
  237. v-model="form.xzkssj"
  238. name="闲置开始时间"
  239. label="闲置开始时间"
  240. placeholder="闲置开始时间"
  241. readonly
  242. @click="showPickerxzkssj = true"
  243. />
  244. <van-popup v-model:show="showPickerxzkssj" position="bottom">
  245. <van-datetime-picker
  246. type="date"
  247. @confirm="onConfirmxzkssj"
  248. @cancel="showPickerxzkssj = false"
  249. />
  250. </van-popup>
  251. <van-field name="radio" label="流转意向" input-align="right" autocomplete="off">
  252. <template #input>
  253. <van-radio-group v-model="form.lzyx" direction="horizontal">
  254. <van-radio name="1">有</van-radio>
  255. <van-radio name="0">无</van-radio>
  256. </van-radio-group>
  257. </template>
  258. </van-field>
  259. <van-field name="radio" label="有偿退出意向" input-align="right" autocomplete="off">
  260. <template #input>
  261. <van-radio-group v-model="form.yctcyx" direction="horizontal">
  262. <van-radio name="1">有</van-radio>
  263. <van-radio name="0">无</van-radio>
  264. </van-radio-group>
  265. </template>
  266. </van-field>
  267. <van-field name="radio" label="被惩处经历" input-align="right" autocomplete="off">
  268. <template #input>
  269. <van-radio-group v-model="form.bccjl" direction="horizontal">
  270. <van-radio name="1">有</van-radio>
  271. <van-radio name="0">无</van-radio>
  272. </van-radio-group>
  273. </template>
  274. </van-field>
  275. <van-field
  276. autocomplete="off"
  277. v-if="form.bccjl==1"
  278. input-align="right"
  279. v-model="form.bccbz"
  280. name="被惩处备注"
  281. label="被惩处备注"
  282. placeholder="被惩处备注"
  283. maxlength="200"
  284. />
  285. <van-field name="radio" label="宅基地取得方式" input-align="right" autocomplete="off">
  286. <template #input>
  287. <van-radio-group v-model="form.zjdqdfs" direction="horizontal">
  288. <van-radio v-for="dict in zjdqdfsOptions" :key="dict.dictValue" :name="dict.dictValue">{{dict.dictLabel}}</van-radio>
  289. </van-radio-group>
  290. </template>
  291. </van-field>
  292. <van-field name="uploader" label="宅基地现场照片" autocomplete="off">
  293. <template #input>
  294. <van-uploader v-model="fileListzjd" :after-read="beforeReadzjd" multiple @delete="deleteFilezjd" :max-count="4"></van-uploader>
  295. </template>
  296. </van-field>
  297. <van-field
  298. autocomplete="off"
  299. input-align="right"
  300. v-model="form.djName"
  301. name="等级"
  302. label="等级"
  303. placeholder="等级"
  304. @click="showdj = true"
  305. />
  306. <van-field
  307. autocomplete="off"
  308. v-model="form.dj"
  309. style="display:none"
  310. />
  311. <van-field
  312. autocomplete="off"
  313. input-align="right"
  314. v-model="form.jg"
  315. name="价格(万元)"
  316. label="价格(万元)"
  317. placeholder="价格(万元)"
  318. maxlength="15"
  319. type="number"
  320. />
  321. <van-field
  322. autocomplete="off"
  323. input-align="right"
  324. v-model="form.qllxName"
  325. name="权利类型"
  326. label="权利类型"
  327. placeholder="权利类型"
  328. readonly
  329. @click="showqllx = true"
  330. />
  331. <van-field
  332. autocomplete="off"
  333. v-model="form.qllx"
  334. style="display:none"
  335. />
  336. <van-field
  337. autocomplete="off"
  338. input-align="right"
  339. v-model="form.qlxzName"
  340. name="权利性质"
  341. label="权利性质"
  342. placeholder="权利性质"
  343. readonly
  344. @click="showqlxz = true"
  345. />
  346. <van-field
  347. autocomplete="off"
  348. v-model="form.qlxz"
  349. style="display:none"
  350. />
  351. <van-field
  352. autocomplete="off"
  353. input-align="right"
  354. v-model="form.qlsdfsName"
  355. name="权利设定方式"
  356. label="权利设定方式"
  357. placeholder="权利设定方式"
  358. readonly
  359. @click="showqlsdfs = true"
  360. />
  361. <van-field
  362. autocomplete="off"
  363. v-model="form.qlsdfs"
  364. style="display:none"
  365. />
  366. <van-field
  367. autocomplete="off"
  368. input-align="right"
  369. v-model="form.rjl"
  370. name="容积率"
  371. label="容积率"
  372. placeholder="容积率"
  373. />
  374. <van-field
  375. input-align="right"
  376. v-model="form.jzmd"
  377. name="validator"
  378. label="建筑密度"
  379. placeholder="填写0~1小数"
  380. :rules="[{ validator, message: '请填写0~1小数,保留两位小数' }]"
  381. type="number"
  382. />
  383. <van-field
  384. autocomplete="off"
  385. input-align="right"
  386. v-model="form.jzxg"
  387. name="建筑限高(m)"
  388. label="建筑限高(m)"
  389. placeholder="填写000.00~999.99小数"
  390. :rules="[{ validator:validator1, message: '请填写000.00~999.99小数,保留两位小数' }]"
  391. type="number"
  392. />
  393. <van-field
  394. autocomplete="off"
  395. input-align="right"
  396. v-model="form.zdt"
  397. name="宗地图"
  398. label="宗地图"
  399. placeholder="宗地图"
  400. maxlength="200"
  401. />
  402. <van-field
  403. autocomplete="off"
  404. input-align="right"
  405. v-model="form.tfh"
  406. name="图幅号"
  407. label="图幅号"
  408. placeholder="图幅号"
  409. maxlength="50"
  410. />
  411. <van-field
  412. autocomplete="off"
  413. input-align="right"
  414. v-model="form.djh"
  415. name="地籍号"
  416. label="地籍号"
  417. placeholder="自动生成"
  418. disabled
  419. />
  420. <van-field
  421. autocomplete="off"
  422. v-model="form.sjlyName"
  423. name="数据来源"
  424. label="数据来源"
  425. placeholder="数据来源"
  426. input-align="right"
  427. readonly
  428. @click="showsjly = true"
  429. />
  430. <van-field
  431. autocomplete="off"
  432. v-model="form.sjly"
  433. style="display:none"
  434. />
  435. <van-field
  436. autocomplete="off"
  437. input-align="right"
  438. v-model="form.bz"
  439. name="备注"
  440. label="备注"
  441. placeholder="备注"
  442. maxlength="200"
  443. />
  444. <MapGisDrawing ref="drewingClickLoading" :message="form.theGeom" v-on:formSubmit="MapTag"></MapGisDrawing>
  445. <div style="margin: 16px;">
  446. <van-button round block color="#7AC943" native-type="submit">保存</van-button>
  447. </div>
  448. </van-form>
  449. </div>
  450. </div>
  451. <div v-if="active==2">
  452. <div style="margin:20px;">
  453. <p class="title" style="position:relative;padding-left:20px;line-height:32px;">使用权人</p>
  454. </div>
  455. <van-swipe-cell v-for="(item,index) in syqrlist" :key="'syqr'+index" style="border-radius: 16px;box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.16); width:calc( 100% - 40px);margin:20px auto;background:#fff;">
  456. <div style="padding:20px;">
  457. <p style="color:#22B7F2;font-size:20px;line-height:30px;"><van-icon name="manager" color="#22b7f2" size="20" style="margin-right:10px;"/>
  458. {{item.shyqrdbxm}}</p>
  459. <div style="display:flex;line-height:20px">
  460. <p style="flex:1;text-align:left;">证件号码</p>
  461. <p style="flex:1;text-align:right;">{{item.shyqrdbzjhm}}</p>
  462. </div>
  463. <div style="display:flex;line-height:20px">
  464. <p style="flex:1;text-align:left;">农户代码</p>
  465. <p style="flex:1;text-align:right;">{{item.nhdm}}</p>
  466. </div>
  467. <div style="text-align:center;overflow:auto;">
  468. <van-button plain round color="#7AC943" size="mini" style="margin:0 auto;" @click="showPopupsyqr(item)">查看使用权人信息</van-button>
  469. <van-button plain round color="#7AC943" size="mini" style="margin:0 auto;" @click="showPopuphncylist(item)">查看户内成员信息</van-button>
  470. </div>
  471. </div>
  472. <template #right>
  473. <van-button square text="删除" type="danger" class="delete-button" @click="deletesyqr(item.id,index)"/>
  474. </template>
  475. </van-swipe-cell>
  476. <div style="border-radius: 16px;box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.16); width:calc( 100% - 40px);margin:20px;background:#fff;padding:10px;">
  477. <div style="text-align:center;overflow:auto;">
  478. <van-button plain round color="#22B7F2" size="mini" style="margin:0 auto;padding:20px;" @click="showPopupsyqr('')">+添加使用权人</van-button>
  479. <van-button plain round color="#22B7F2" size="mini" style="margin:0 auto;padding:20px;" @click="showPopupnh('')">+添加农户信息</van-button>
  480. </div>
  481. </div>
  482. <!-- <div style="position:fixed;bottom:50px;left:25%;width:50%;text-align:center;">
  483. <van-button round size="small" color="#7AC943" style="width:40%" @click="changeActiveBack">上一项</van-button>
  484. <van-button round size="small" color="#7AC943" style="width:40%" @click="changeActive">下一项</van-button>
  485. </div>-->
  486. </div>
  487. <div v-if="active==3">
  488. <div style="margin:20px;">
  489. <p class="title" style="position:relative;padding-left:20px;line-height:32px;">自然幢</p>
  490. </div>
  491. <van-swipe-cell v-for="(item,index) in zrzlist" :key="'zrz'+index" style="border-radius: 16px;box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.16); width:calc( 100% - 40px);margin:20px auto;background:#fff;">
  492. <div style="padding:20px;">
  493. <p style="color:#22B7F2;font-size:20px;line-height:30px;"><van-icon name="wap-home" color="#22b7f2" size="20" style="margin-right:10px;"/>
  494. 第{{index+1}}号</p>
  495. <div style="display:flex;line-height:20px">
  496. <p style="flex:1;text-align:left;">自然幢号</p>
  497. <p style="flex:1;text-align:right;">{{item.zrzh}}</p>
  498. </div>
  499. <div style="display:flex;line-height:20px">
  500. <p style="flex:1;text-align:left;">总层数</p>
  501. <p style="flex:1;text-align:right;">{{item.zcs}}</p>
  502. </div>
  503. <div style="text-align:center;overflow:auto;">
  504. <van-button plain round color="#7AC943" size="mini" style="margin:0 auto;" @click="showPopupzrz(item)">查看自然幢信息</van-button>
  505. <van-button plain round color="#7AC943" size="mini" style="margin:0 auto;" @click="shownmfwlist(item)">查看房屋列表</van-button>
  506. </div>
  507. </div>
  508. <template #right>
  509. <van-button square text="删除" type="danger" class="delete-button" @click="deletezrz(item.id,index)"/>
  510. </template>
  511. </van-swipe-cell>
  512. <div style="border-radius: 16px;box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.16); width:calc( 100% - 40px);margin:20px;background:#fff;padding:20px;">
  513. <div style="text-align:center;" >
  514. <p style="color:#22B7F2;font-size:20px;line-height:30px;" @click="showPopupzrz('')"><van-icon name="plus" color="#22b7f2" size="20" style="margin-right:10px;"/>添加自然幢信息</p>
  515. </div>
  516. </div>
  517. <!--<div style="margin:20px;">
  518. <p class="title" style="position:relative;padding-left:20px;line-height:32px;">房屋信息</p>
  519. </div>
  520. <van-swipe-cell v-for="(item,index) in fwlist" :key="index" style="border-radius: 16px;box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.16); width:calc( 100% - 40px);margin:20px auto;background:#fff;">
  521. <div style="padding:20px;">
  522. <p style="color:#22B7F2;font-size:20px;line-height:30px;"><van-icon name="wap-home" color="#22b7f2" size="20" style="margin-right:10px;"/>第{{index+1}}号</p>
  523. <div style="display:flex;line-height:20px">
  524. <p style="flex:1;text-align:left;">农民房屋幢号</p>
  525. <p style="flex:1;text-align:right;">{{item.nmfwzh}}</p>
  526. </div>
  527. <div style="display:flex;line-height:20px">
  528. <p style="flex:1;text-align:left;">农民房屋面积(㎡)</p>
  529. <p style="flex:1;text-align:right;">{{item.nmfwmj}}</p>
  530. </div>
  531. <div style="text-align:center;overflow:auto;">
  532. <van-button plain round color="#7AC943" size="mini" style="margin:0 auto;" @click="showPopupfw(item)">查看房屋信息</van-button>
  533. </div>
  534. </div>
  535. <template #right>
  536. <van-button square text="删除" type="danger" class="delete-button" @click="deletefw(item.id,index)"/>
  537. </template>
  538. </van-swipe-cell>
  539. <div style="border-radius: 16px;box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.16); width:calc( 100% - 40px);margin:20px;background:#fff;padding:20px;margin-bottom:50px">
  540. <div style="text-align:center;" >
  541. <p style="color:#22B7F2;font-size:20px;line-height:30px;" @click="showPopupfw('')"><van-icon name="plus" color="#22b7f2" size="20" style="margin-right:10px;"/>添加房屋信息</p>
  542. </div>
  543. </div>-->
  544. <!--<div style="position:fixed;bottom:50px;left:25%;width:50%;text-align:center;">
  545. <van-button round size="small" color="#7AC943" style="width:40%" @click="changeActiveBack">上一项</van-button>
  546. <van-button round size="small" color="#7AC943" style="width:40%" @click="changeActive">下一项</van-button>
  547. </div>-->
  548. </div>
  549. <div v-if="active==4">
  550. <div style="margin:20px;">
  551. <p class="title" style="position:relative;padding-left:20px;line-height:32px;">附属设施</p>
  552. </div>
  553. <van-swipe-cell v-for="(item,index) in fssslist" :key="'fsss'+index" style="border-radius: 16px;box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.16); width:calc( 100% - 40px);margin:20px auto;background:#fff;">
  554. <div style="padding:20px;">
  555. <p style="color:#22B7F2;font-size:20px;line-height:30px;"><van-icon name="wap-home" color="#22b7f2" size="20" style="margin-right:10px;"/>{{fssslxfy(item.fssslx)}}</p>
  556. <div style="display:flex;line-height:20px">
  557. <p style="flex:1;text-align:left;">建筑面积(㎡)</p>
  558. <p style="flex:1;text-align:right;">{{item.jzmj}}</p>
  559. </div>
  560. <div style="display:flex;line-height:20px">
  561. <p style="flex:1;text-align:left;">建筑物情况</p>
  562. <p style="flex:1;text-align:right;">{{jzwqkfy(item.jzwqk)}}</p>
  563. </div>
  564. <div style="text-align:center;overflow:auto;">
  565. <van-button plain round color="#7AC943" size="mini" @click="showPopupfsss(item)" style="margin:0 auto;">查看附属设施信息</van-button>
  566. </div>
  567. </div>
  568. <template #right>
  569. <van-button square text="删除" type="danger" class="delete-button" @click="deletefsss(item.id,index)"/>
  570. </template>
  571. </van-swipe-cell>
  572. <div style="border-radius: 16px;box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.16); width:calc( 100% - 40px);margin:20px;background:#fff;padding:20px;">
  573. <div style="text-align:center;" >
  574. <p style="color:#22B7F2;font-size:20px;line-height:30px;" @click="showPopupfsss('')"><van-icon name="plus" color="#22b7f2" size="20" style="margin-right:10px;"/>添加附属设施信息</p>
  575. </div>
  576. </div>
  577. <div style="position:fixed;bottom:0;left:5%;width:90%;text-align:center;">
  578. <!-- <van-button round size="small" color="#7AC943" style="width:40%" @click="changeActiveBack">上一项</van-button>-->
  579. <van-button round color="#7AC943" style="width:100%" @click="searchCommit">签名确认</van-button>
  580. </div>
  581. </div>
  582. <van-popup v-model="showsyqr" style="height:100%;width:100%;">
  583. <div class="bannerBg">
  584. <van-nav-bar
  585. style="background:transparent;border-bottom-width:0;"
  586. @click-left="showsyqr=false"
  587. >
  588. <template #left>
  589. <van-icon name="arrow-left" size="18" color="#fff" />
  590. </template>
  591. <template #title>
  592. <p style="color:#fff">使用权利人</p>
  593. </template>
  594. </van-nav-bar>
  595. </div>
  596. <div style="margin:20px;">
  597. <van-form @submit="onSubmitsyqr">
  598. <p class="title" style="position:relative;padding-left:20px;line-height:32px;">使用权人</p>
  599. <van-field
  600. autocomplete="off"
  601. input-align="right"
  602. v-model="form1.nhdm"
  603. name="农户代码"
  604. label="农户代码"
  605. placeholder="农户代码"
  606. required
  607. :rules="[{ required: true, message: '农户代码不能为空' }]"
  608. @click="showsyqrnhdmlist = true"
  609. readonly
  610. />
  611. <van-field
  612. autocomplete="off"
  613. input-align="right"
  614. v-model="form1.zjddm"
  615. name="宅基地代码"
  616. label="宅基地代码"
  617. placeholder="宅基地代码"
  618. required
  619. :rules="[{ required: true, message: '宅基地代码不能为空' }]"
  620. />
  621. <!--<van-field
  622. autocomplete="off"
  623. input-align="right"
  624. v-model="form1.nmfwdm"
  625. name="农民房屋代码"
  626. label="农民房屋代码"
  627. placeholder="宅基地上有农民房屋时填写"
  628. readonly
  629. @click="showsyqrnmfwdm = true"
  630. />-->
  631. <van-field
  632. autocomplete="off"
  633. input-align="right"
  634. v-model="form1.shyqrdbxm"
  635. name="使用权人代表姓名"
  636. label="使用权人代表姓名"
  637. placeholder="使用权人代表姓名"
  638. maxlength="50"
  639. required
  640. :rules="[{ required: true, message: '使用权人代表姓名不能为空' }]"
  641. />
  642. <van-field
  643. autocomplete="off"
  644. input-align="right"
  645. v-model="form1.shyqrdbzjlxName"
  646. name="使用权人代表证件类型"
  647. label="使用权人代表证件类型"
  648. placeholder="使用权人代表证件类型"
  649. @click="showshyqrdbzjlx = true"
  650. required
  651. :rules="[{ required: true, message: '使用权人代表证件类型不能为空' }]"
  652. />
  653. <van-field
  654. v-model="form1.shyqrdbzjlx"
  655. style="display:none"
  656. />
  657. <van-field
  658. autocomplete="off"
  659. input-align="right"
  660. v-model="form1.shyqrdbzjhm"
  661. name="使用权人代表证件号码"
  662. label="使用权人代表证件号码"
  663. placeholder="使用权人代表证件号码"
  664. maxlength="30"
  665. required
  666. :rules="[{ required: true, message: '使用权人代表证件号码不能为空' }]"
  667. />
  668. <van-field
  669. autocomplete="off"
  670. input-align="right"
  671. v-model="form1.bdcdyh"
  672. name="不动产单元号"
  673. label="不动产单元号"
  674. placeholder="分配了不动产单元号时填写"
  675. maxlength="28"
  676. />
  677. <van-field
  678. autocomplete="off"
  679. input-align="right"
  680. v-model="form1.bdcqzh"
  681. name="不动产权证号"
  682. label="不动产权证号"
  683. placeholder="不动产权证号"
  684. maxlength="50"
  685. v-show="form1.bdcdyh!=null&&form1.bdcdyh!=''"
  686. />
  687. <van-field
  688. autocomplete="off"
  689. input-align="right"
  690. v-model="form1.qzysxlh"
  691. name="权证印刷序列号"
  692. label="权证印刷序列号"
  693. placeholder="权证印刷序列号"
  694. maxlength="100"
  695. />
  696. <van-field
  697. autocomplete="off"
  698. input-align="right"
  699. v-model="form1.fzjg"
  700. name="发证机关"
  701. label="发证机关"
  702. placeholder="发证机关"
  703. maxlength="100"
  704. />
  705. <van-field
  706. autocomplete="off"
  707. input-align="right"
  708. v-model="form1.sshyName"
  709. name="所属行业"
  710. label="所属行业"
  711. placeholder="所属行业"
  712. readonly
  713. @click="showsyqrsshy = true"
  714. />
  715. <van-field
  716. autocomplete="off"
  717. v-model="form1.sshy"
  718. style="display:none"
  719. />
  720. <van-field name="radio" label="国家/地区" input-align="right" autocomplete="off">
  721. <template #input>
  722. <van-radio-group v-model="form1.gj" direction="horizontal">
  723. <van-radio name="1">中国</van-radio>
  724. <van-radio name="2">其他</van-radio>
  725. </van-radio-group>
  726. </template>
  727. </van-field>
  728. <van-field
  729. autocomplete="off"
  730. input-align="right"
  731. v-model="form1.qlbl"
  732. name="权利比例"
  733. label="权利比例"
  734. placeholder="单独为1,共有时2位小数"
  735. type="number"
  736. maxlength="20"
  737. />
  738. <van-field
  739. autocomplete="off"
  740. input-align="right"
  741. v-model="form1.hjszssName"
  742. name="户籍所在省市"
  743. label="户籍所在省市"
  744. placeholder="户籍所在省市"
  745. readonly
  746. @click="showhjszss = true"
  747. />
  748. <van-field
  749. style="display:none"
  750. v-model="form1.hjszss"
  751. />
  752. <van-field name="radio" label="性别" input-align="right" autocomplete="off">
  753. <template #input>
  754. <van-radio-group v-model="form1.xb" direction="horizontal">
  755. <van-radio name="1">男</van-radio>
  756. <van-radio name="2">女</van-radio>
  757. </van-radio-group>
  758. </template>
  759. </van-field>
  760. <van-field
  761. autocomplete="off"
  762. input-align="right"
  763. v-model="form1.dh"
  764. name="电话"
  765. label="电话"
  766. placeholder="电话"
  767. type="number"
  768. />
  769. <van-field
  770. autocomplete="off"
  771. input-align="right"
  772. v-model="form1.dz"
  773. name="地址"
  774. label="地址"
  775. placeholder="地址"
  776. />
  777. <van-field autocomplete="off" name="radio" label="是否使用权人之间共有" input-align="right" required
  778. :rules="[{ required: true, message: '使用权人代表证件号码不能为空' }]">
  779. <template #input>
  780. <van-radio-group v-model="form1.sfsyqrzjgy" direction="horizontal">
  781. <van-radio name="Y">是</van-radio>
  782. <van-radio name="N">否</van-radio>
  783. </van-radio-group>
  784. </template>
  785. </van-field>
  786. <van-field
  787. autocomplete="off"
  788. v-if="form1.sfsyqrzjgy=='Y'"
  789. input-align="right"
  790. v-model="form1.ftzdmj"
  791. name="分摊宗地面积(㎡)"
  792. label="分摊宗地面积(㎡)"
  793. placeholder="单位:平方米"
  794. type="number"
  795. />
  796. <van-field
  797. autocomplete="off"
  798. input-align="right"
  799. v-model="form1.qlrlxName"
  800. name="权利人类型"
  801. label="权利人类型"
  802. placeholder="权利人类型"
  803. @click="showqlrlx = true"
  804. required
  805. :rules="[{ required: true, message: '权利人类型不能为空' }]"
  806. />
  807. <van-field
  808. autocomplete="off"
  809. v-model="form1.qlrlx"
  810. style="display:none"
  811. />
  812. <van-field
  813. autocomplete="off"
  814. input-align="right"
  815. v-model="form1.gyfsName"
  816. name="共有方式"
  817. label="共有方式"
  818. placeholder="共有方式"
  819. @click="showgyfs = true"
  820. />
  821. <van-field
  822. autocomplete="off"
  823. v-model="form1.gyfs"
  824. style="display:none"
  825. />
  826. <van-field autocomplete="off" name="radio" label="是否本农村集体经济组织成员" input-align="right" required
  827. :rules="[{ required: true, message: '是否本农村集体经济组织成员不能为空' }]">
  828. <template #input>
  829. <van-radio-group v-model="form1.sfbncjtjjzzcy" direction="horizontal">
  830. <van-radio name="Y">是</van-radio>
  831. <van-radio name="N">否</van-radio>
  832. </van-radio-group>
  833. </template>
  834. </van-field>
  835. <van-field
  836. autocomplete="off"
  837. input-align="right"
  838. v-model="form1.suyqrdm"
  839. name="所有权人代码"
  840. label="所有权人代码"
  841. placeholder="当使用权人是本村集体经济组织成员时必填"
  842. readonly
  843. />
  844. <van-field name="radio" label="户口类型" input-align="right" autocomplete="off">
  845. <template #input>
  846. <van-radio-group v-model="form1.hklx" direction="horizontal">
  847. <van-radio name="1">农业</van-radio>
  848. <van-radio name="2">非农业</van-radio>
  849. </van-radio-group>
  850. </template>
  851. </van-field>
  852. <van-field
  853. autocomplete="off"
  854. input-align="right"
  855. v-model="form1.bz"
  856. name="备注"
  857. label="备注"
  858. placeholder="备注"
  859. />
  860. <!-- <div style="text-align:center;overflow:auto;">
  861. <van-button plain round color="#7AC943" size="mini" style="margin:0 auto;" native-type="button" @click="showPopuphncylist(form1)">查看户内成员列表</van-button>
  862. </div>-->
  863. <div style="margin: 16px;">
  864. <van-button round block color="#7AC943" native-type="submit">保存</van-button>
  865. </div>
  866. </van-form>
  867. </div>
  868. </van-popup>
  869. <van-popup v-model="showzrz" style="height:100%;width:100%;">
  870. <div class="bannerBg">
  871. <van-nav-bar
  872. style="background:transparent;border-bottom-width:0;"
  873. @click-left="showzrz=false"
  874. >
  875. <template #left>
  876. <van-icon name="arrow-left" size="18" color="#fff" />
  877. </template>
  878. <template #title>
  879. <p style="color:#fff">自然幢信息</p>
  880. </template>
  881. </van-nav-bar>
  882. </div>
  883. <div style="margin:20px;">
  884. <van-form @submit="onSubmitzrz">
  885. <van-field
  886. autocomplete="off"
  887. input-align="right"
  888. v-model="form3.zjddm"
  889. name="宅基地代码"
  890. label="宅基地代码"
  891. placeholder="宅基地代码"
  892. readonly
  893. required
  894. :rules="[{ required: true, message: '宅基地代码不能为空' }]"
  895. />
  896. <!--<van-field
  897. autocomplete="off"
  898. input-align="right"
  899. v-model="form3.nmfwzh"
  900. name="农民房屋幢号"
  901. label="农民房屋幢号"
  902. placeholder="自动生成"
  903. disabled
  904. />-->
  905. <van-field
  906. autocomplete="off"
  907. input-align="right"
  908. v-model="form3.zrzh"
  909. name="自然幢号"
  910. label="自然幢号"
  911. placeholder="自动生成"
  912. disabled
  913. />
  914. <van-field
  915. autocomplete="off"
  916. input-align="right"
  917. v-model="form3.jgrq"
  918. name="竣工日期"
  919. label="竣工日期"
  920. placeholder="竣工日期"
  921. @click="showPickerjgrq=true"
  922. readonly
  923. />
  924. <van-field
  925. autocomplete="off"
  926. input-align="right"
  927. v-model="form3.jzwgd"
  928. name="建筑物高度"
  929. label="建筑物高度"
  930. placeholder="建筑物高度"
  931. type="number"
  932. />
  933. <van-field
  934. autocomplete="off"
  935. input-align="right"
  936. v-model="form3.zzdmj"
  937. name="幢占地面积(㎡)"
  938. label="幢占地面积(㎡)"
  939. placeholder="幢占地面积(㎡)"
  940. type="number"
  941. required
  942. :rules="[{ required: true, message: '幢占地面积(㎡)不能为空' }]"
  943. />
  944. <van-field
  945. autocomplete="off"
  946. input-align="right"
  947. v-model="form3.zydmj"
  948. name="幢用地面积(㎡)"
  949. label="幢用地面积(㎡)"
  950. placeholder="幢用地面积(㎡)"
  951. type="number"
  952. required
  953. :rules="[{ required: true, message: '幢用地面积(㎡)不能为空' }]"
  954. />
  955. <van-field
  956. autocomplete="off"
  957. input-align="right"
  958. v-model="form3.scjzmj"
  959. name="实测建筑面积(㎡)"
  960. label="实测建筑面积(㎡)"
  961. placeholder="实测建筑面积(㎡)"
  962. type="number"
  963. />
  964. <van-field
  965. autocomplete="off"
  966. input-align="right"
  967. v-model="form3.zcs"
  968. name="总层数"
  969. label="总层数"
  970. placeholder="总层数"
  971. type="number"
  972. required
  973. :rules="[{ required: true, message: '总层数不能为空' }]"
  974. />
  975. <van-field
  976. autocomplete="off"
  977. input-align="right"
  978. v-model="form3.dscs"
  979. name="地上层数"
  980. label="地上层数"
  981. placeholder="地上层数"
  982. type="number"
  983. />
  984. <van-field
  985. autocomplete="off"
  986. input-align="right"
  987. v-model="form3.dxcs"
  988. name="地下层数"
  989. label="地下层数"
  990. placeholder="地下层数"
  991. type="number"
  992. />
  993. <van-field
  994. autocomplete="off"
  995. input-align="right"
  996. v-model="form3.fwjgName"
  997. name="房屋结构"
  998. label="房屋结构"
  999. placeholder="房屋结构"
  1000. @click="showzrzfwjg = true"
  1001. readonly
  1002. required
  1003. :rules="[{ required: true, message: '房屋结构不能为空' }]"
  1004. />
  1005. <van-field
  1006. autocomplete="off"
  1007. v-model="form3.fwjg"
  1008. style="display:none"
  1009. />
  1010. <van-field
  1011. autocomplete="off"
  1012. input-align="right"
  1013. v-model="form3.sjlyName"
  1014. name="数据来源"
  1015. label="数据来源"
  1016. placeholder="数据来源"
  1017. readonly
  1018. required
  1019. :rules="[{ required: true, message: '数据来源不能为空' }]"
  1020. @click="showzrzsjly=true"
  1021. />
  1022. <van-field
  1023. autocomplete="off"
  1024. v-model="form3.sjly"
  1025. style="display:none"
  1026. />
  1027. <van-field
  1028. autocomplete="off"
  1029. input-align="right"
  1030. v-model="form3.bz"
  1031. name="备注"
  1032. label="备注"
  1033. placeholder="备注"
  1034. />
  1035. <MapGisDrawing ref="drewingClickLoading" :message="form3.theGeom" v-on:formSubmit="MapTag"></MapGisDrawing>
  1036. <div style="margin: 16px;">
  1037. <van-button round block color="#7AC943" native-type="submit">保存</van-button>
  1038. </div>
  1039. </van-form>
  1040. </div>
  1041. </van-popup>
  1042. <van-popup v-model="shownh" style="height:100%;width:100%;">
  1043. <div class="bannerBg">
  1044. <van-nav-bar
  1045. style="background:transparent;border-bottom-width:0;"
  1046. @click-left="shownh=false"
  1047. >
  1048. <template #left>
  1049. <van-icon name="arrow-left" size="18" color="#fff" />
  1050. </template>
  1051. <template #title>
  1052. <p style="color:#fff">{{nhform.id?"":"新增"}}户主信息</p>
  1053. </template>
  1054. </van-nav-bar>
  1055. </div>
  1056. <div style="margin:20px;">
  1057. <van-form @submit="onSubmitnh">
  1058. <van-field
  1059. autocomplete="off"
  1060. input-align="right"
  1061. v-model="nhform.suyqrdm"
  1062. name="所有权人代码"
  1063. label="所有权人代码"
  1064. placeholder="所有权人代码"
  1065. required
  1066. disabled
  1067. :rules="[{ required: true, message: '所有权人代码不能为空' }]"
  1068. />
  1069. <van-field
  1070. autocomplete="off"
  1071. input-align="right"
  1072. v-model="nhform.nhdm"
  1073. name="农户代码"
  1074. label="农户代码"
  1075. placeholder="自动生成"
  1076. disabled
  1077. />
  1078. <van-field
  1079. autocomplete="off"
  1080. input-align="right"
  1081. v-model="nhform.hzxm"
  1082. name="户主姓名"
  1083. label="户主姓名"
  1084. placeholder="户主姓名"
  1085. required
  1086. :rules="[{ required: true, message: '户主姓名不能为空' }]"
  1087. />
  1088. <van-field
  1089. autocomplete="off"
  1090. input-align="right"
  1091. v-model="nhform.hzzjlxName"
  1092. name="户主证件类型"
  1093. label="户主证件类型"
  1094. placeholder="户主证件类型"
  1095. required
  1096. readonly
  1097. :rules="[{ required: true, message: '户主证件类型不能为空' }]"
  1098. @click="showhzzjlx = true"
  1099. />
  1100. <van-field
  1101. autocomplete="off"
  1102. v-model="nhform.hzzjlx"
  1103. style="display:none"
  1104. />
  1105. <van-field
  1106. autocomplete="off"
  1107. v-model="nhform.hzzjhm"
  1108. input-align="right"
  1109. name="户主证件号码"
  1110. label="户主证件号码"
  1111. placeholder="户主证件号码"
  1112. required
  1113. :rules="[{ required: true, message: '户主证件号码不能为空' }]"
  1114. />
  1115. <van-field
  1116. autocomplete="off"
  1117. input-align="right"
  1118. v-model="nhform.txdz"
  1119. name="通讯地址"
  1120. label="通讯地址"
  1121. placeholder="通讯地址"
  1122. required
  1123. :rules="[{ required: true, message: '通讯地址不能为空' }]"
  1124. />
  1125. <van-field
  1126. autocomplete="off"
  1127. input-align="right"
  1128. v-model="nhform.hncysl"
  1129. name="户内成员数量"
  1130. label="户内成员数量"
  1131. placeholder="户内成员数量"
  1132. required
  1133. :rules="[{ required: true, message: '户内成员数量不能为空' }]"
  1134. />
  1135. <van-field name="radio" label="婚姻状况" input-align="right" autocomplete="off">
  1136. <template #input>
  1137. <van-radio-group v-model="nhform.hyzk" direction="horizontal">
  1138. <van-radio v-for="dict in hyzkOptions" :key="dict.dictValue" :name="dict.dictValue">{{dict.dictLabel}}</van-radio>
  1139. </van-radio-group>
  1140. </template>
  1141. </van-field>
  1142. <van-field
  1143. autocomplete="off"
  1144. input-align="right"
  1145. v-model="nhform.phone"
  1146. name="电话号码"
  1147. label="电话号码"
  1148. placeholder="电话号码"
  1149. />
  1150. <van-field
  1151. autocomplete="off"
  1152. input-align="right"
  1153. v-model="nhform.occupationName"
  1154. name="职业"
  1155. label="职业"
  1156. placeholder="职业"
  1157. required
  1158. readonly
  1159. :rules="[{ required: true, message: '职业不能为空' }]"
  1160. @click="showhzoccupation = true"
  1161. />
  1162. <van-field
  1163. autocomplete="off"
  1164. v-model="nhform.occupation"
  1165. style="display:none"
  1166. />
  1167. <van-field
  1168. autocomplete="off"
  1169. input-align="right"
  1170. v-model="nhform.jzqkName"
  1171. name="居住情况"
  1172. label="居住情况"
  1173. placeholder="居住情况"
  1174. required
  1175. readonly
  1176. :rules="[{ required: true, message: '居住情况不能为空' }]"
  1177. @click="showhzjzqk = true"
  1178. />
  1179. <van-field
  1180. autocomplete="off"
  1181. v-model="nhform.jzqk"
  1182. style="display:none"
  1183. />
  1184. <van-field
  1185. autocomplete="off"
  1186. input-align="right"
  1187. v-model="nhform.jzhcssfyzfName"
  1188. name="在集镇或城市是否有住房"
  1189. label="在集镇或城市是否有住房"
  1190. placeholder="在集镇或城市是否有住房"
  1191. required
  1192. readonly
  1193. :rules="[{ required: true, message: '在集镇或城市是否有住房不能为空' }]"
  1194. @click="showhzjzhcssfyzf = true"
  1195. />
  1196. <van-field
  1197. autocomplete="off"
  1198. v-model="nhform.jzhcssfyzf"
  1199. style="display:none"
  1200. />
  1201. <van-field name="radio" label="在其他村庄是否有住房" input-align="right" autocomplete="off">
  1202. <template #input>
  1203. <van-radio-group v-model="nhform.zqtczsfyzf" direction="horizontal">
  1204. <van-radio name="Y">是</van-radio>
  1205. <van-radio name="N">否</van-radio>
  1206. </van-radio-group>
  1207. </template>
  1208. </van-field>
  1209. <van-field name="radio" label="是否本村村民" input-align="right" autocomplete="off">
  1210. <template #input>
  1211. <van-radio-group v-model="nhform.sfbccm" direction="horizontal">
  1212. <van-radio name="Y">是</van-radio>
  1213. <van-radio name="N">否</van-radio>
  1214. </van-radio-group>
  1215. </template>
  1216. </van-field>
  1217. <van-field name="radio" label="是否贫困户" input-align="right" autocomplete="off">
  1218. <template #input>
  1219. <van-radio-group v-model="nhform.sfpkh" direction="horizontal">
  1220. <van-radio name="Y">是</van-radio>
  1221. <van-radio name="N">否</van-radio>
  1222. </van-radio-group>
  1223. </template>
  1224. </van-field>
  1225. <van-field name="radio" label="是否五保户" input-align="right" autocomplete="off">
  1226. <template #input>
  1227. <van-radio-group v-model="nhform.sfwbh" direction="horizontal">
  1228. <van-radio name="Y">是</van-radio>
  1229. <van-radio name="N">否</van-radio>
  1230. </van-radio-group>
  1231. </template>
  1232. </van-field>
  1233. <van-field
  1234. autocomplete="off"
  1235. input-align="right"
  1236. v-model="nhform.sjlyName"
  1237. name="数据来源"
  1238. label="数据来源"
  1239. placeholder="数据来源"
  1240. required
  1241. readonly
  1242. :rules="[{ required: true, message: '能为空' }]"
  1243. @click="showhzsjly = true"
  1244. />
  1245. <van-field
  1246. autocomplete="off"
  1247. v-model="nhform.sjly"
  1248. style="display:none"
  1249. />
  1250. <van-field
  1251. autocomplete="off"
  1252. input-align="right"
  1253. v-model="nhform.bz"
  1254. name="备注"
  1255. label="备注"
  1256. placeholder="备注"
  1257. />
  1258. <div style="margin: 16px;">
  1259. <van-button round block color="#7AC943" native-type="submit">保存</van-button>
  1260. </div>
  1261. </van-form>
  1262. </div>
  1263. </van-popup>
  1264. <van-popup v-model="showfw" style="height:100%;width:100%;">
  1265. <div class="bannerBg">
  1266. <van-nav-bar
  1267. style="background:transparent;border-bottom-width:0;"
  1268. @click-left="showfw=false"
  1269. >
  1270. <template #left>
  1271. <van-icon name="arrow-left" size="18" color="#fff" />
  1272. </template>
  1273. <template #title>
  1274. <p style="color:#fff">房屋信息</p>
  1275. </template>
  1276. </van-nav-bar>
  1277. </div>
  1278. <div style="margin:20px;">
  1279. <van-form @submit="onSubmitnmfw">
  1280. <!--<van-field
  1281. v-model="nmfwform.ysdm"
  1282. name="要素代码"
  1283. label="要素代码"
  1284. placeholder="要素代码"
  1285. :rules="[{ required: true, message: '' }]"
  1286. />-->
  1287. <van-field
  1288. autocomplete="off"
  1289. v-model="nmfwform.deptId"
  1290. name="组织机构代码"
  1291. label="组织机构代码"
  1292. placeholder="组织机构代码"
  1293. :rules="[{ required: true, message: '' }]"
  1294. style="display:none"
  1295. />
  1296. <van-field
  1297. autocomplete="off"
  1298. input-align="right"
  1299. v-model="nmfwform.zjddm"
  1300. name="宅基地代码"
  1301. label="宅基地代码"
  1302. placeholder="宅基地代码"
  1303. disabled
  1304. required
  1305. :rules="[{ required: true, message: '宅基地代码不能为空' }]"
  1306. />
  1307. <van-field
  1308. autocomplete="off"
  1309. input-align="right"
  1310. v-model="nmfwform.nmfwdm"
  1311. name="农民房屋代码"
  1312. label="农民房屋代码"
  1313. placeholder="自动生成"
  1314. disabled
  1315. />
  1316. <van-field
  1317. autocomplete="off"
  1318. input-align="right"
  1319. v-model="nmfwform.nhdm"
  1320. name="农户代码"
  1321. label="农户代码"
  1322. placeholder="选择农户代码"
  1323. @click="shownmfwnhdm = true"
  1324. readonly
  1325. required
  1326. :rules="[{ required: true, message: '农户代码不能为空' }]"
  1327. />
  1328. <van-field
  1329. autocomplete="off"
  1330. input-align="right"
  1331. v-model="nmfwform.bdcdyh"
  1332. name="不动产单元号"
  1333. label="不动产单元号"
  1334. placeholder="不动产单元号"
  1335. />
  1336. <van-field
  1337. autocomplete="off"
  1338. input-align="right"
  1339. v-model="nmfwform.nmfwmj"
  1340. name="农民房屋面积(㎡)"
  1341. label="农民房屋面积(㎡)"
  1342. placeholder="农民房屋面积(㎡)"
  1343. type="number"
  1344. required
  1345. :rules="[{ required: true, message: '农民房屋面积(㎡)不能为空' }]"
  1346. />
  1347. <van-field
  1348. autocomplete="off"
  1349. input-align="right"
  1350. v-model="nmfwform.fwbm"
  1351. name="房屋编码"
  1352. label="房屋编码"
  1353. placeholder="房屋编码"
  1354. required
  1355. :rules="[{ required: true, message: '房屋编码不能为空' }]"
  1356. />
  1357. <van-field
  1358. autocomplete="off"
  1359. input-align="right"
  1360. v-model="nmfwform.zrzh"
  1361. name="自然幢号"
  1362. label="自然幢号"
  1363. placeholder="自然幢号"
  1364. readonly
  1365. @click="showzrzh = true"
  1366. />
  1367. <van-field
  1368. autocomplete="off"
  1369. input-align="right"
  1370. v-model="nmfwform.nmfwzh"
  1371. name="农民房屋幢号"
  1372. label="农民房屋幢号"
  1373. placeholder="自动生成"
  1374. disabled
  1375. />
  1376. <van-field
  1377. autocomplete="off"
  1378. input-align="right"
  1379. v-model="nmfwform.ch"
  1380. name="层号"
  1381. label="层号"
  1382. placeholder="层号"
  1383. />
  1384. <van-field
  1385. autocomplete="off"
  1386. input-align="right"
  1387. v-model="nmfwform.sjc"
  1388. name="实际层"
  1389. label="实际层"
  1390. placeholder="实际层"
  1391. />
  1392. <van-field
  1393. autocomplete="off"
  1394. input-align="right"
  1395. v-model="nmfwform.myc"
  1396. name="名义层"
  1397. label="名义层"
  1398. placeholder="名义层"
  1399. />
  1400. <van-field
  1401. autocomplete="off"
  1402. input-align="right"
  1403. v-model="nmfwform.zl"
  1404. name="坐落"
  1405. label="坐落"
  1406. placeholder="坐落"required
  1407. :rules="[{ required: true, message: '坐落不能为空' }]"
  1408. />
  1409. <van-field
  1410. autocomplete="off"
  1411. input-align="right"
  1412. v-model="nmfwform.sjcs"
  1413. name="实际层数"
  1414. label="实际层数"
  1415. placeholder="实际层数"
  1416. />
  1417. <van-field
  1418. autocomplete="off"
  1419. input-align="right"
  1420. v-model="nmfwform.hh"
  1421. name="户号"
  1422. label="户号"
  1423. placeholder="户号"
  1424. />
  1425. <van-field
  1426. autocomplete="off"
  1427. input-align="right"
  1428. v-model="nmfwform.hxName"
  1429. name="户型"
  1430. label="户型"
  1431. placeholder="户型"
  1432. @click="showhx=true"
  1433. readonly
  1434. />
  1435. <van-field
  1436. autocomplete="off"
  1437. v-model="nmfwform.hx"
  1438. style="display:none"
  1439. />
  1440. <van-field
  1441. autocomplete="off"
  1442. input-align="right"
  1443. v-model="nmfwform.hxjgName"
  1444. name="户型结构"
  1445. label="户型结构"
  1446. placeholder="户型结构"
  1447. @click="showhxjg=true"
  1448. readonly
  1449. />
  1450. <van-field
  1451. autocomplete="off"
  1452. v-model="nmfwform.hxjg"
  1453. style="display:none"
  1454. />
  1455. <van-field
  1456. autocomplete="off"
  1457. input-align="right"
  1458. v-model="nmfwform.fwjgName"
  1459. name="房屋结构"
  1460. label="房屋结构"
  1461. placeholder="房屋结构"
  1462. @click="showfwjg=true"
  1463. readonly
  1464. />
  1465. <van-field
  1466. autocomplete="off"
  1467. v-model="nmfwform.fwjg"
  1468. style="display:none"
  1469. />
  1470. <van-field
  1471. input-align="right"
  1472. v-model="nmfwform.fwytName"
  1473. name="房屋用途"
  1474. label="房屋用途"
  1475. placeholder="房屋用途"
  1476. @click="showfwyt=true"
  1477. readonly
  1478. />
  1479. <van-field
  1480. autocomplete="off"
  1481. v-model="nmfwform.fwyt"
  1482. style="display:none"
  1483. />
  1484. <van-field
  1485. autocomplete="off"
  1486. input-align="right"
  1487. v-model="nmfwform.fjzdmj"
  1488. name="房屋占地面积(㎡)"
  1489. label="房屋占地面积(㎡)"
  1490. placeholder="房屋占地面积(㎡)"
  1491. />
  1492. <van-field
  1493. autocomplete="off"
  1494. input-align="right"
  1495. v-model="nmfwform.jzmj"
  1496. name="建筑面积(㎡)"
  1497. label="建筑面积(㎡)"
  1498. placeholder="建筑面积(㎡)"
  1499. type="number"
  1500. />
  1501. <van-field
  1502. autocomplete="off"
  1503. input-align="right"
  1504. v-model="nmfwform.zsh"
  1505. name="证书号"
  1506. label="证书号"
  1507. placeholder="证书号"
  1508. />
  1509. <van-field
  1510. autocomplete="off"
  1511. input-align="right"
  1512. v-model="nmfwform.djjg"
  1513. name="登记机构"
  1514. label="登记机构"
  1515. placeholder="登记机构"
  1516. />
  1517. <van-field
  1518. autocomplete="off"
  1519. input-align="right"
  1520. v-model="nmfwform.djsj"
  1521. name="登记时间"
  1522. label="登记时间"
  1523. placeholder="登记时间"
  1524. @click="showPickerdjsj=true"
  1525. readonly
  1526. />
  1527. <van-field name="radio" label="是否纠纷" input-align="right" autocomplete="off">
  1528. <template #input>
  1529. <van-radio-group v-model="nmfwform.sfjf" direction="horizontal">
  1530. <van-radio name="Y">是</van-radio>
  1531. <van-radio name="N">否</van-radio>
  1532. </van-radio-group>
  1533. </template>
  1534. </van-field>
  1535. <van-field name="radio" label="是否查封" input-align="right" autocomplete="off">
  1536. <template #input>
  1537. <van-radio-group v-model="nmfwform.sfcf" direction="horizontal">
  1538. <van-radio name="Y">是</van-radio>
  1539. <van-radio name="N">否</van-radio>
  1540. </van-radio-group>
  1541. </template>
  1542. </van-field>
  1543. <van-field
  1544. autocomplete="off"
  1545. input-align="right"
  1546. v-model="nmfwform.cfqssj"
  1547. name="查封起始时间"
  1548. label="查封起始时间"
  1549. placeholder="查封起始时间"
  1550. readonly
  1551. @click="showPickercfqssj=true"
  1552. />
  1553. <van-field
  1554. autocomplete="off"
  1555. input-align="right"
  1556. v-model="nmfwform.cfjssj"
  1557. name="查封结束时间"
  1558. label="查封结束时间"
  1559. placeholder="查封结束时间"
  1560. readonly
  1561. @click="showPickercfjssj=true"
  1562. />
  1563. <van-field
  1564. autocomplete="off"
  1565. input-align="right"
  1566. v-model="nmfwform.fwlxName"
  1567. name="房屋类型"
  1568. label="房屋类型"
  1569. placeholder="房屋类型"
  1570. readonly
  1571. @click="showfwlx=true"
  1572. />
  1573. <van-field
  1574. autocomplete="off"
  1575. v-model="nmfwform.fwlx"
  1576. style="display:none"
  1577. />
  1578. <van-field
  1579. autocomplete="off"
  1580. input-align="right"
  1581. v-model="nmfwform.sjlyName"
  1582. name="数据来源"
  1583. label="数据来源"
  1584. placeholder="数据来源"
  1585. readonly
  1586. @click="shownmfwsjly=true"
  1587. />
  1588. <van-field
  1589. autocomplete="off"
  1590. v-model="nmfwform.sjly"
  1591. style="display:none"
  1592. />
  1593. <van-field
  1594. autocomplete="off"
  1595. input-align="right"
  1596. v-model="nmfwform.qxdm"
  1597. name="区县代码"
  1598. label="区县代码"
  1599. placeholder="区县代码"
  1600. />
  1601. <van-field
  1602. autocomplete="off"
  1603. input-align="right"
  1604. v-model="nmfwform.lyzkName"
  1605. name="利用状况"
  1606. label="利用状况"
  1607. placeholder="利用状况"
  1608. readonly
  1609. @click="shownmfwlyzk=true"
  1610. />
  1611. <van-field
  1612. autocomplete="off"
  1613. v-model="nmfwform.lyzk"
  1614. style="display:none"
  1615. />
  1616. <van-field
  1617. autocomplete="off"
  1618. input-align="right"
  1619. v-model="nmfwform.xzyy"
  1620. name="闲置原因"
  1621. label="闲置原因"
  1622. placeholder="闲置原因"
  1623. />
  1624. <van-field
  1625. autocomplete="off"
  1626. input-align="right"
  1627. v-model="nmfwform.phlymsName"
  1628. name="盘活利用模式"
  1629. label="盘活利用模式"
  1630. placeholder="盘活利用模式"
  1631. readonly
  1632. @click="showphlyms=true"
  1633. />
  1634. <van-field
  1635. autocomplete="off"
  1636. v-model="nmfwform.phlyms"
  1637. style="display:none"
  1638. />
  1639. <van-field
  1640. autocomplete="off"
  1641. input-align="right"
  1642. v-model="nmfwform.jznd"
  1643. name="建筑年代"
  1644. label="建筑年代"
  1645. placeholder="建筑年代"
  1646. />
  1647. <van-field name="radio" label="是否发证" input-align="right" autocomplete="off">
  1648. <template #input>
  1649. <van-radio-group v-model="nmfwform.sffz" direction="horizontal">
  1650. <van-radio name="Y">是</van-radio>
  1651. <van-radio name="N">否</van-radio>
  1652. </van-radio-group>
  1653. </template>
  1654. </van-field>
  1655. <van-field name="radio" label="是否与其他人共有" input-align="right" autocomplete="off">
  1656. <template #input>
  1657. <van-radio-group v-model="nmfwform.isCommon" direction="horizontal">
  1658. <van-radio name="Y">是</van-radio>
  1659. <van-radio name="N">否</van-radio>
  1660. </van-radio-group>
  1661. </template>
  1662. </van-field>
  1663. <van-field
  1664. autocomplete="off"
  1665. input-align="right"
  1666. v-model="nmfwform.fwztName"
  1667. name="房屋状态"
  1668. label="房屋状态"
  1669. placeholder="房屋状态"
  1670. @click="shownmfwfwzt = true"
  1671. />
  1672. <van-field
  1673. autocomplete="off"
  1674. v-model="nmfwform.fwzt"
  1675. style="display:none"
  1676. />
  1677. <van-field name="radio" label="是否抵押" input-align="right" autocomplete="off">
  1678. <template #input>
  1679. <van-radio-group v-model="nmfwform.isMortgage" direction="horizontal">
  1680. <van-radio name="Y">是</van-radio>
  1681. <van-radio name="N">否</van-radio>
  1682. </van-radio-group>
  1683. </template>
  1684. </van-field>
  1685. <van-field
  1686. autocomplete="off"
  1687. v-if="nmfwform.isMortgage=='Y'"
  1688. input-align="right"
  1689. v-model="nmfwform.mortgageMan"
  1690. name="抵押权利人"
  1691. label="抵押权利人"
  1692. placeholder="抵押权利人"
  1693. />
  1694. <van-field
  1695. autocomplete="off"
  1696. v-if="nmfwform.isMortgage=='Y'"
  1697. input-align="right"
  1698. v-model="nmfwform.mortgageMoney"
  1699. name="抵押金额"
  1700. label="抵押金额( 元)"
  1701. placeholder="抵押金额"
  1702. type="number"
  1703. />
  1704. <van-field
  1705. autocomplete="off"
  1706. input-align="right"
  1707. v-model="nmfwform.zwlxsj1"
  1708. name="债务履行开始时间"
  1709. label="债务履行开始时间"
  1710. placeholder="债务履行开始时间"
  1711. @click="showPickerzwlxsj1=true"
  1712. />
  1713. <van-field
  1714. autocomplete="off"
  1715. input-align="right"
  1716. v-model="nmfwform.zwlxsj2"
  1717. name="债务履行结束时间"
  1718. label="债务履行结束时间"
  1719. placeholder="债务履行结束时间"
  1720. @click="showPickerzwlxsj2=true"
  1721. />
  1722. <van-field
  1723. autocomplete="off"
  1724. input-align="right"
  1725. v-model="nmfwform.eay"
  1726. name="年收益"
  1727. label="年收益"
  1728. placeholder="年收益"
  1729. />
  1730. <van-field name="radio" label="流转意向" input-align="right" autocomplete="off">
  1731. <template #input>
  1732. <van-radio-group v-model="nmfwform.lzyx" direction="horizontal">
  1733. <van-radio name="1">有</van-radio>
  1734. <van-radio name="0">无</van-radio>
  1735. </van-radio-group>
  1736. </template>
  1737. </van-field>
  1738. <van-field name="radio" label="有偿退出意向" input-align="right" autocomplete="off">
  1739. <template #input>
  1740. <van-radio-group v-model="nmfwform.yctcyx" direction="horizontal">
  1741. <van-radio name="1">有</van-radio>
  1742. <van-radio name="0">无</van-radio>
  1743. </van-radio-group>
  1744. </template>
  1745. </van-field>
  1746. <van-field
  1747. autocomplete="off"
  1748. input-align="right"
  1749. v-model="nmfwform.bccjl"
  1750. name="被惩处经历"
  1751. label="被惩处经历"
  1752. placeholder="被惩处经历"
  1753. />
  1754. <van-field
  1755. autocomplete="off"
  1756. input-align="right"
  1757. v-model="nmfwform.bccbz"
  1758. name="被惩处备注"
  1759. label="被惩处备注"
  1760. placeholder="被惩处备注"
  1761. />
  1762. <van-field
  1763. autocomplete="off"
  1764. input-align="right"
  1765. v-model="nmfwform.qslyName"
  1766. name="权属来源"
  1767. label="权属来源"
  1768. placeholder="权属来源"
  1769. @click="shownmfwqsly=true"
  1770. />
  1771. <van-field
  1772. autocomplete="off"
  1773. v-model="nmfwform.qsly"
  1774. style="display:none"
  1775. />
  1776. <van-field name="radio" label="是否扩建改建" input-align="right" autocomplete="off">
  1777. <template #input>
  1778. <van-radio-group v-model="nmfwform.sfkjgj" direction="horizontal">
  1779. <van-radio name="Y">是</van-radio>
  1780. <van-radio name="N">否</van-radio>
  1781. </van-radio-group>
  1782. </template>
  1783. </van-field>
  1784. <van-field
  1785. autocomplete="off"
  1786. input-align="right"
  1787. v-model="nmfwform.pzsjName"
  1788. name="批准时间"
  1789. label="批准时间"
  1790. placeholder="批准时间"
  1791. @click="showPickerpzsj=true"
  1792. />
  1793. <van-field
  1794. autocomplete="off"
  1795. v-model="nmfwform.pzsj"
  1796. style="display:none"
  1797. />
  1798. <van-field name="radio" label="批准单位" input-align="right" autocomplete="off">
  1799. <template #input>
  1800. <van-radio-group v-model="nmfwform.pzdw" direction="horizontal">
  1801. <van-radio :name="'1'">县政府</van-radio>
  1802. <van-radio :name="'2'">乡政府</van-radio>
  1803. </van-radio-group>
  1804. </template>
  1805. </van-field>
  1806. <van-field
  1807. autocomplete="off"
  1808. input-align="right"
  1809. v-model="nmfwform.tdzkName"
  1810. name="审批或建设前土地状况"
  1811. label="审批或建设前土地状况"
  1812. placeholder="审批或建设前土地状况"
  1813. @click="shownmfwtdzk=true"
  1814. />
  1815. <van-field
  1816. autocomplete="off"
  1817. v-model="nmfwform.tdzk"
  1818. style="display:none"
  1819. />
  1820. <van-field
  1821. autocomplete="off"
  1822. input-align="right"
  1823. v-model="nmfwform.bz"
  1824. name="备注"
  1825. label="备注"
  1826. placeholder="备注"
  1827. />
  1828. <van-field
  1829. autocomplete="off"
  1830. input-align="right"
  1831. v-model="nmfwform.zjdxctp"
  1832. name="宅基地现场照片"
  1833. label="宅基地现场照片"
  1834. placeholder="宅基地现场照片"
  1835. style="display:none"
  1836. />
  1837. <van-field name="uploader" label="房屋现场照片" autocomplete="off">
  1838. <template #input>
  1839. <van-uploader v-model="fileListfw" :after-read="beforeReadfw" multiple @delete="deleteFilefw" :max-count="4"></van-uploader>
  1840. </template>
  1841. </van-field>
  1842. <div style="margin: 16px;">
  1843. <van-button round block color="#7AC943" native-type="submit">保存</van-button>
  1844. </div>
  1845. </van-form>
  1846. </div>
  1847. </van-popup>
  1848. <van-popup v-model="showhjszss" position="bottom">
  1849. <van-picker
  1850. show-toolbar
  1851. :columns="hjszssOptions"
  1852. value-key="dictLabel"
  1853. @confirm="onConfirmhjszss"
  1854. @cancel="showhjszss = false"
  1855. />
  1856. </van-popup>
  1857. <van-popup v-model="showsjly" position="bottom">
  1858. <van-picker
  1859. show-toolbar
  1860. :columns="sjlyOptions"
  1861. value-key="dictLabel"
  1862. @confirm="onConfirmsjly"
  1863. @cancel="showsjly = false"
  1864. />
  1865. </van-popup>
  1866. <van-popup v-model="showzrzh" position="bottom">
  1867. <van-picker
  1868. show-toolbar
  1869. :columns="zrzlist"
  1870. value-key="zrzh"
  1871. @confirm="onConfirmzrzh"
  1872. @cancel="showzrzh = false"
  1873. />
  1874. </van-popup>
  1875. <van-popup v-model="showyt" position="bottom">
  1876. <van-picker
  1877. show-toolbar
  1878. :columns="ytOptions"
  1879. value-key="dictLabel"
  1880. @confirm="onConfirmyt"
  1881. @cancel="showyt = false"
  1882. />
  1883. </van-popup>
  1884. <van-popup v-model="showdj" position="bottom">
  1885. <van-picker
  1886. show-toolbar
  1887. :columns="tddjOptions"
  1888. value-key="dictLabel"
  1889. @confirm="onConfirmdj"
  1890. @cancel="showdj = false"
  1891. />
  1892. </van-popup>
  1893. <van-popup v-model="showlyzk" position="bottom">
  1894. <van-picker
  1895. show-toolbar
  1896. :columns="lyzkOptions"
  1897. value-key="dictLabel"
  1898. @confirm="onConfirmlyzk"
  1899. @cancel="showlyzk = false"
  1900. />
  1901. </van-popup>
  1902. <van-popup v-model="showqllx" position="bottom">
  1903. <van-picker
  1904. show-toolbar
  1905. :columns="qllxOptions"
  1906. value-key="dictLabel"
  1907. @confirm="onConfirmqllx"
  1908. @cancel="showqllx = false"
  1909. />
  1910. </van-popup>
  1911. <van-popup v-model="showqlxz" position="bottom">
  1912. <van-picker
  1913. show-toolbar
  1914. :columns="qlxzOptions"
  1915. value-key="dictLabel"
  1916. @confirm="onConfirmqlxz"
  1917. @cancel="showqlxz = false"
  1918. />
  1919. </van-popup>
  1920. <van-popup v-model="showqlsdfs" position="bottom">
  1921. <van-picker
  1922. show-toolbar
  1923. :columns="qlsdfsOptions"
  1924. value-key="dictLabel"
  1925. @confirm="onConfirmqlsdfs"
  1926. @cancel="showqlsdfs = false"
  1927. />
  1928. </van-popup>
  1929. <van-popup v-model="showshyqrdbzjlx" position="bottom">
  1930. <van-picker
  1931. show-toolbar
  1932. :columns="zjlxOptions"
  1933. value-key="dictLabel"
  1934. @confirm="onConfirmshyqrdbzjlx"
  1935. @cancel="showshyqrdbzjlx = false"
  1936. />
  1937. </van-popup>
  1938. <van-popup v-model="showgyfs" position="bottom">
  1939. <van-picker
  1940. show-toolbar
  1941. :columns="gyfsOptions"
  1942. value-key="dictLabel"
  1943. @confirm="onConfirmgyfs"
  1944. @cancel="showgyfs = false"
  1945. />
  1946. </van-popup>
  1947. <van-popup v-model="showhncyzjlx" position="bottom">
  1948. <van-picker
  1949. show-toolbar
  1950. :columns="zjlxOptions"
  1951. value-key="dictLabel"
  1952. @confirm="onConfirmhncyzjlx"
  1953. @cancel="showhncyzjlx = false"
  1954. />
  1955. </van-popup>
  1956. <van-popup v-model="showyhzgx" position="bottom">
  1957. <van-picker
  1958. show-toolbar
  1959. :columns="yhzgxOptions"
  1960. value-key="dictLabel"
  1961. @confirm="onConfirmyhzgx"
  1962. @cancel="showyhzgx = false"
  1963. />
  1964. </van-popup>
  1965. <van-popup v-model="showqlrlx" position="bottom">
  1966. <van-picker
  1967. show-toolbar
  1968. :columns="qlrlxOptions"
  1969. value-key="dictLabel"
  1970. @confirm="onConfirmqlrlx"
  1971. @cancel="showqlrlx = false"
  1972. />
  1973. </van-popup>
  1974. <div class="nmfw">
  1975. <van-popup v-model:show="showPickerdjsj" position="bottom">
  1976. <van-datetime-picker
  1977. type="date"
  1978. @confirm="onConfirmdjsj"
  1979. @cancel="showPickerdjsj = false"
  1980. />
  1981. </van-popup>
  1982. <van-popup v-model:show="showPickerdjsj" position="bottom">
  1983. <van-datetime-picker
  1984. type="date"
  1985. @confirm="onConfirmdjsj"
  1986. @cancel="showPickerdjsj = false"
  1987. />
  1988. </van-popup>
  1989. <van-popup v-model:show="showPickercfqssj" position="bottom">
  1990. <van-datetime-picker
  1991. type="date"
  1992. @confirm="onConfirmcfqssj"
  1993. @cancel="showPickercfqssj = false"
  1994. />
  1995. </van-popup>
  1996. <van-popup v-model:show="showPickercfjssj" position="bottom">
  1997. <van-datetime-picker
  1998. type="date"
  1999. @confirm="onConfirmcfjssj"
  2000. @cancel="showPickercfjssj = false"
  2001. />
  2002. </van-popup>
  2003. <van-popup v-model:show="showPickerzwlxsj1" position="bottom">
  2004. <van-datetime-picker
  2005. type="date"
  2006. @confirm="onConfirmzwlxsj1"
  2007. @cancel="showPickerzwlxsj1 = false"
  2008. />
  2009. </van-popup>
  2010. <van-popup v-model:show="showPickerzwlxsj2" position="bottom">
  2011. <van-datetime-picker
  2012. type="date"
  2013. @confirm="onConfirmzwlxsj2"
  2014. @cancel="showPickerzwlxsj2 = false"
  2015. />
  2016. </van-popup>
  2017. <van-popup v-model="showhx" position="bottom">
  2018. <van-picker
  2019. show-toolbar
  2020. :columns="hxOptions"
  2021. value-key="dictLabel"
  2022. @confirm="onConfirmhx"
  2023. @cancel="showhx = false"
  2024. />
  2025. </van-popup>
  2026. <van-popup v-model="showhxjg" position="bottom">
  2027. <van-picker
  2028. show-toolbar
  2029. :columns="hxjgOptions"
  2030. value-key="dictLabel"
  2031. @confirm="onConfirmhxjg"
  2032. @cancel="showhxjg = false"
  2033. />
  2034. </van-popup>
  2035. <van-popup v-model="showzrzfwjg" position="bottom">
  2036. <van-picker
  2037. show-toolbar
  2038. :columns="fwjgOptions"
  2039. value-key="dictLabel"
  2040. @confirm="onConfirmzrzfwjg"
  2041. @cancel="showzrzfwjg = false"
  2042. />
  2043. </van-popup>
  2044. <van-popup v-model="showfwjg" position="bottom">
  2045. <van-picker
  2046. show-toolbar
  2047. :columns="fwjgOptions"
  2048. value-key="dictLabel"
  2049. @confirm="onConfirmfwjg"
  2050. @cancel="showfwjg = false"
  2051. />
  2052. </van-popup>
  2053. <van-popup v-model="showfwyt" position="bottom">
  2054. <van-picker
  2055. show-toolbar
  2056. :columns="fwytOptions"
  2057. value-key="dictLabel"
  2058. @confirm="onConfirmfwyt"
  2059. @cancel="showfwyt = false"
  2060. />
  2061. </van-popup>
  2062. <van-popup v-model="showfwlx" position="bottom">
  2063. <van-picker
  2064. show-toolbar
  2065. :columns="fwlxOptions"
  2066. value-key="dictLabel"
  2067. @confirm="onConfirmfwlx"
  2068. @cancel="showfwlx = false"
  2069. />
  2070. </van-popup>
  2071. <van-popup v-model="showfwxz" position="bottom">
  2072. <van-picker
  2073. show-toolbar
  2074. :columns="fwxzOptions"
  2075. value-key="dictLabel"
  2076. @confirm="onConfirmfwxz"
  2077. @cancel="showfwxz = false"
  2078. />
  2079. </van-popup>
  2080. <van-popup v-model="shownmfwsjly" position="bottom">
  2081. <van-picker
  2082. show-toolbar
  2083. :columns="sjlyOptions"
  2084. value-key="dictLabel"
  2085. @confirm="onConfirmnmfwsjly"
  2086. @cancel="shownmfwsjly = false"
  2087. />
  2088. </van-popup>
  2089. <van-popup v-model="shownmfwlyzk" position="bottom">
  2090. <van-picker
  2091. show-toolbar
  2092. :columns="lyzkOptions"
  2093. value-key="dictLabel"
  2094. @confirm="onConfirmnmfwlyzk"
  2095. @cancel="shownmfwlyzk = false"
  2096. />
  2097. </van-popup>
  2098. <van-popup v-model="showphlyms" position="bottom">
  2099. <van-picker
  2100. show-toolbar
  2101. :columns="phlymsOptions"
  2102. value-key="dictLabel"
  2103. @confirm="onConfirmphlyms"
  2104. @cancel="showphlyms = false"
  2105. />
  2106. </van-popup>
  2107. <van-popup v-model="shownmfwfwzt" position="bottom">
  2108. <van-picker
  2109. show-toolbar
  2110. :columns="fwztOptions"
  2111. value-key="dictLabel"
  2112. @confirm="onConfirmnmfwfwzt"
  2113. @cancel="shownmfwfwzt = false"
  2114. />
  2115. </van-popup>
  2116. <van-popup v-model="shownmfwqsly" position="bottom">
  2117. <van-picker
  2118. show-toolbar
  2119. :columns="qslyOptions"
  2120. value-key="dictLabel"
  2121. @confirm="onConfirmnmfwqsly"
  2122. @cancel="shownmfwqsly = false"
  2123. />
  2124. </van-popup>
  2125. <van-popup v-model="showPickerjgrq" position="bottom">
  2126. <van-datetime-picker
  2127. type="date"
  2128. @confirm="onConfirmzrzjgrq"
  2129. @cancel="showPickerjgrq = false"
  2130. :min-date="minDate"
  2131. :max-date="maxDate"
  2132. />
  2133. </van-popup>
  2134. <van-popup v-model="showPickerpzsj" position="bottom">
  2135. <van-picker
  2136. show-toolbar
  2137. :columns="pzsjOptions"
  2138. value-key="dictLabel"
  2139. @confirm="onConfirmpzsj"
  2140. @cancel="showPickerpzsj = false"
  2141. />
  2142. </van-popup>
  2143. <van-popup v-model="shownmfwtdzk" position="bottom">
  2144. <van-picker
  2145. show-toolbar
  2146. :columns="tdzkOptions"
  2147. value-key="dictLabel"
  2148. @confirm="onConfirmnmfwtdzk"
  2149. @cancel="shownmfwtdzk = false"
  2150. />
  2151. </van-popup>
  2152. </div>
  2153. <van-popup v-model="showfssslx" position="bottom">
  2154. <van-picker
  2155. show-toolbar
  2156. :columns="fssslxOptions"
  2157. value-key="dictLabel"
  2158. @confirm="onConfirmfssslx"
  2159. @cancel="showfssslx = false"
  2160. />
  2161. </van-popup>
  2162. <van-popup v-model="showzrzsjly" position="bottom">
  2163. <van-picker
  2164. show-toolbar
  2165. :columns="sjlyOptions"
  2166. value-key="dictLabel"
  2167. @confirm="onConfirmzrzsjly"
  2168. @cancel="showzrzsjly = false"
  2169. />
  2170. </van-popup>
  2171. <van-popup v-model="showqsly" position="bottom">
  2172. <van-picker
  2173. show-toolbar
  2174. :columns="qslyOptions"
  2175. value-key="dictLabel"
  2176. @confirm="onConfirmqsly"
  2177. @cancel="showqsly = false"
  2178. />
  2179. </van-popup>
  2180. <van-popup v-model="showfwzt" position="bottom">
  2181. <van-picker
  2182. show-toolbar
  2183. :columns="fwztOptions"
  2184. value-key="dictLabel"
  2185. @confirm="onConfirmfwzt"
  2186. @cancel="showfwzt = false"
  2187. />
  2188. </van-popup>
  2189. <van-popup v-model="showsyqrnhdmlist" position="bottom">
  2190. <van-search v-model="nhdmValue" placeholder="请输入搜索关键词" @input="getnhdmlist"/>
  2191. <van-picker
  2192. show-toolbar
  2193. :columns="syqrnhdmlist"
  2194. value-key="hzxm"
  2195. @confirm="onConfirmsyqrnhdmlist"
  2196. @cancel="showsyqrnhdmlist = false"
  2197. />
  2198. </van-popup>
  2199. <van-popup v-model="showjzwqk" position="bottom">
  2200. <van-picker
  2201. show-toolbar
  2202. :columns="jzwqkOptions"
  2203. value-key="dictLabel"
  2204. @confirm="onConfirmjzwqk"
  2205. @cancel="showjzwqk = false"
  2206. />
  2207. </van-popup>
  2208. <van-popup v-model="showjglx" position="bottom">
  2209. <van-picker
  2210. show-toolbar
  2211. :columns="jglxOptions"
  2212. value-key="dictLabel"
  2213. @confirm="onConfirmjglx"
  2214. @cancel="showjglx = false"
  2215. />
  2216. </van-popup>
  2217. <van-popup v-model="showtdzk" position="bottom">
  2218. <van-picker
  2219. show-toolbar
  2220. :columns="tdzkOptions"
  2221. value-key="dictLabel"
  2222. @confirm="onConfirmtdzk"
  2223. @cancel="showtdzk = false"
  2224. />
  2225. </van-popup>
  2226. <van-popup v-model="showfsss" style="height:100%;width:100%;">
  2227. <div class="bannerBg">
  2228. <van-nav-bar
  2229. style="background:transparent;border-bottom-width:0;"
  2230. @click-left="showfsss=false"
  2231. >
  2232. <template #left>
  2233. <van-icon name="arrow-left" size="18" color="#fff" />
  2234. </template>
  2235. <template #title>
  2236. <p style="color:#fff">附属设施</p>
  2237. </template>
  2238. </van-nav-bar>
  2239. </div>
  2240. <div style="margin:20px;">
  2241. <van-form @submit="onSubmitfsss">
  2242. <van-field
  2243. autocomplete="off"
  2244. v-model="form4.deptId"
  2245. style="display:none"
  2246. />
  2247. <van-field
  2248. autocomplete="off"
  2249. input-align="right"
  2250. v-model="form4.zjddm"
  2251. name="宅基地代码"
  2252. label="宅基地代码"
  2253. placeholder="宅基地代码"
  2254. required
  2255. :rules="[{ required: true, message: '宅基地代码不能为空' }]"
  2256. />
  2257. <van-field
  2258. autocomplete="off"
  2259. input-align="right"
  2260. v-model="form4.fssslxName"
  2261. name="附属设施类型"
  2262. label="附属设施类型"
  2263. placeholder="附属设施类型"
  2264. required
  2265. :rules="[{ required: true, message: '附属设施类型不能为空' }]"
  2266. @click="showfssslx = true"
  2267. />
  2268. <van-field
  2269. autocomplete="off"
  2270. v-model="form4.fssslx"
  2271. style="display:none"
  2272. />
  2273. <van-field
  2274. autocomplete="off"
  2275. input-align="right"
  2276. v-model="form4.jzmj"
  2277. name="建筑面积(㎡)"
  2278. label="建筑面积(㎡)"
  2279. placeholder="建筑面积(㎡)"
  2280. type="number"
  2281. required
  2282. :rules="[{ required: true, message: '建筑面积(㎡)不能为空' }]"
  2283. />
  2284. <van-field
  2285. autocomplete="off"
  2286. input-align="right"
  2287. v-model="form4.qslyName"
  2288. name="权属来源"
  2289. label="权属来源"
  2290. placeholder="权属来源"
  2291. required
  2292. :rules="[{ required: true, message: '权属来源不能为空' }]"
  2293. @click="showqsly = true"
  2294. />
  2295. <van-field
  2296. autocomplete="off"
  2297. v-model="form4.qsly"
  2298. style="display:none"
  2299. />
  2300. <van-field
  2301. autocomplete="off"
  2302. input-align="right"
  2303. v-model="form4.fwztName"
  2304. name="房屋状态"
  2305. label="房屋状态"
  2306. placeholder="房屋状态"
  2307. required
  2308. :rules="[{ required: true, message: '房屋状态不能为空' }]"
  2309. @click="showfwzt = true"
  2310. />
  2311. <van-field
  2312. autocomplete="off"
  2313. v-model="form4.fwzt"
  2314. style="display:none"
  2315. />
  2316. <van-field name="radio" label="是否审批" input-align="right" autocomplete="off">
  2317. <template #input>
  2318. <van-radio-group v-model="form4.sfsp" direction="horizontal">
  2319. <van-radio name="Y">是</van-radio>
  2320. <van-radio name="N">否</van-radio>
  2321. </van-radio-group>
  2322. </template>
  2323. </van-field>
  2324. <van-field name="radio" label="是否发证" input-align="right" autocomplete="off">
  2325. <template #input>
  2326. <van-radio-group v-model="form4.sffz" direction="horizontal">
  2327. <van-radio name="Y">是</van-radio>
  2328. <van-radio name="N">否</van-radio>
  2329. </van-radio-group>
  2330. </template>
  2331. </van-field>
  2332. <van-field
  2333. autocomplete="off"
  2334. input-align="right"
  2335. v-model="form4.jglxName"
  2336. name="结构类型"
  2337. label="结构类型"
  2338. placeholder="结构类型"
  2339. required
  2340. :rules="[{ required: true, message: '结构类型不能为空' }]"
  2341. @click="showjglx = true"
  2342. />
  2343. <van-field
  2344. autocomplete="off"
  2345. v-model="form4.jglx"
  2346. style="display:none"
  2347. />
  2348. <van-field name="radio" label="是否正在使用" input-align="right" autocomplete="off">
  2349. <template #input>
  2350. <van-radio-group v-model="form4.sfzzsy" direction="horizontal">
  2351. <van-radio name="Y">是</van-radio>
  2352. <van-radio name="N">否</van-radio>
  2353. </van-radio-group>
  2354. </template>
  2355. </van-field>
  2356. <van-field
  2357. autocomplete="off"
  2358. input-align="right"
  2359. v-model="form4.jzwqkName"
  2360. name="建筑物情况"
  2361. label="建筑物情况"
  2362. placeholder="建筑物情况"
  2363. required
  2364. :rules="[{ required: true, message: '建筑物情况不能为空' }]"
  2365. @click="showjzwqk = true"
  2366. />
  2367. <van-field
  2368. autocomplete="off"
  2369. v-model="form4.jzwqk"
  2370. style="display:none"
  2371. />
  2372. <van-field
  2373. autocomplete="off"
  2374. input-align="right"
  2375. v-model="form4.tdzkName"
  2376. name="审批或建设前土地状况"
  2377. label="审批或建设前土地状况"
  2378. placeholder="审批或建设前土地状况"
  2379. required
  2380. :rules="[{ required: true, message: '审批或建设前土地状况不能为空' }]"
  2381. @click="showtdzk = true"
  2382. />
  2383. <van-field
  2384. autocomplete="off"
  2385. v-model="form4.tdzk"
  2386. style="display:none"
  2387. />
  2388. <van-field name="radio" label="是否受过处罚" input-align="right" autocomplete="off">
  2389. <template #input>
  2390. <van-radio-group v-model="form4.sfsgcf" direction="horizontal">
  2391. <van-radio name="Y">是</van-radio>
  2392. <van-radio name="N">否</van-radio>
  2393. </van-radio-group>
  2394. </template>
  2395. </van-field>
  2396. <van-field
  2397. autocomplete="off"
  2398. input-align="right"
  2399. v-model="form4.remark"
  2400. name="备注"
  2401. label="备注"
  2402. placeholder="备注"
  2403. />
  2404. <MapGisDrawing ref="drewingClickLoading" :message="form4.theGeom" v-on:formSubmit="MapTag"></MapGisDrawing>
  2405. <div style="margin: 16px;">
  2406. <van-button round block color="#7AC943" native-type="submit">保存</van-button>
  2407. </div>
  2408. </van-form>
  2409. </div>
  2410. </van-popup>
  2411. <van-popup v-model="showhncy" style="height:100%;width:100%;">
  2412. <div class="bannerBg">
  2413. <van-nav-bar
  2414. style="background:transparent;border-bottom-width:0;"
  2415. @click-left="showhncy=false"
  2416. >
  2417. <template #left>
  2418. <van-icon name="arrow-left" size="18" color="#fff" />
  2419. </template>
  2420. <template #title>
  2421. <p style="color:#fff">户内成员</p>
  2422. </template>
  2423. </van-nav-bar>
  2424. </div>
  2425. <div style="margin:20px;">
  2426. <van-form @submit="onSubmithncy">
  2427. <van-field
  2428. autocomplete="off"
  2429. input-align="right"
  2430. v-model="form5.nhdm"
  2431. name="农户代码"
  2432. label="农户代码"
  2433. placeholder="农户代码"
  2434. disabled
  2435. required
  2436. :rules="[{ required: true, message: '农户代码不能为空' }]"
  2437. />
  2438. <van-field
  2439. autocomplete="off"
  2440. input-align="right"
  2441. v-model="form5.xm"
  2442. name="姓名"
  2443. label="姓名"
  2444. placeholder="姓名"
  2445. required
  2446. :rules="[{ required: true, message: '姓名不能为空' }]"
  2447. />
  2448. <van-field
  2449. autocomplete="off"
  2450. input-align="right"
  2451. v-model="form5.zjlxName"
  2452. name="证件类型"
  2453. label="证件类型"
  2454. placeholder="证件类型"
  2455. required
  2456. :rules="[{ required: true, message: '证件类型不能为空' }]"
  2457. readonly
  2458. @click="showhncyzjlx = true"
  2459. />
  2460. <van-field
  2461. autocomplete="off"
  2462. v-model="form5.zjlx"
  2463. style="display:none"
  2464. />
  2465. <van-field
  2466. autocomplete="off"
  2467. input-align="right"
  2468. v-model="form5.yhzgxName"
  2469. name="与户主关系"
  2470. label="与户主关系"
  2471. placeholder="与户主关系"
  2472. required
  2473. readonly
  2474. :rules="[{ required: true, message: '与户主关系不能为空' }]"
  2475. @click="showyhzgx = true"
  2476. />
  2477. <van-field
  2478. autocomplete="off"
  2479. v-model="form5.yhzgx"
  2480. style="display:none"
  2481. />
  2482. <van-field
  2483. autocomplete="off"
  2484. input-align="right"
  2485. v-model="form5.zjhm"
  2486. name="证件号码"
  2487. label="证件号码"
  2488. placeholder="证件号码"
  2489. required
  2490. :rules="[{ required: true, message: '证件号码不能为空' }]"
  2491. />
  2492. <van-field autocomplete="off" name="radio" label="性别" input-align="right" required
  2493. :rules="[{ required: true, message: '性别不能为空' }]">
  2494. <template #input>
  2495. <van-radio-group v-model="form5.xb" direction="horizontal">
  2496. <van-radio name="1">男</van-radio>
  2497. <van-radio name="0">女</van-radio>
  2498. <van-radio name="2">未知</van-radio>
  2499. </van-radio-group>
  2500. </template>
  2501. </van-field>
  2502. <van-field
  2503. autocomplete="off"
  2504. input-align="right"
  2505. v-model="form5.lxdh"
  2506. name="联系电话"
  2507. label="联系电话"
  2508. placeholder="联系电话"
  2509. />
  2510. <van-field name="radio" label="户口类型" input-align="right" autocomplete="off">
  2511. <template #input>
  2512. <van-radio-group v-model="form5.hklx" direction="horizontal">
  2513. <van-radio name="1">农业</van-radio>
  2514. <van-radio name="0">非农业</van-radio>
  2515. </van-radio-group>
  2516. </template>
  2517. </van-field>
  2518. <van-field name="radio" label="婚姻状况" input-align="right" autocomplete="off">
  2519. <template #input>
  2520. <van-radio-group v-model="form5.hyzk" direction="horizontal">
  2521. <van-radio v-for="dict in hyzkOptions" :key="dict.dictValue" :name="dict.dictValue">{{dict.dictLabel}}</van-radio>
  2522. </van-radio-group>
  2523. </template>
  2524. </van-field>
  2525. <van-field name="radio" label="是否本集体经济组织成员" input-align="right" autocomplete="off">
  2526. <template #input>
  2527. <van-radio-group v-model="form5.sfbjtjjzzcy" direction="horizontal">
  2528. <van-radio name="Y">是</van-radio>
  2529. <van-radio name="N">否</van-radio>
  2530. </van-radio-group>
  2531. </template>
  2532. </van-field>
  2533. <van-field
  2534. autocomplete="off"
  2535. input-align="right"
  2536. v-model="form5.cybzName"
  2537. name="成员备注"
  2538. label="成员备注"
  2539. placeholder="成员备注"
  2540. @click="showhncycybz = true"
  2541. />
  2542. <van-field
  2543. autocomplete="off"
  2544. v-model="form5.cybz"
  2545. style="display:none"
  2546. />
  2547. <van-field
  2548. autocomplete="off"
  2549. input-align="right"
  2550. v-model="form5.cybzsm"
  2551. name="成员备注说明"
  2552. label="成员备注说明"
  2553. placeholder="成员备注说明"
  2554. />
  2555. <van-field
  2556. autocomplete="off"
  2557. input-align="right"
  2558. v-model="form5.occupationName"
  2559. name="职业"
  2560. label="职业"
  2561. placeholder="职业"
  2562. required
  2563. :rules="[{ required: true, message: '' }]"
  2564. @click="showhncyoccupation = true"
  2565. />
  2566. <van-field
  2567. autocomplete="off"
  2568. v-model="form5.occupation"
  2569. style="display:none"
  2570. />
  2571. <van-field
  2572. autocomplete="off"
  2573. input-align="right"
  2574. v-model="form5.jzqkName"
  2575. name="居住情况"
  2576. label="居住情况"
  2577. placeholder="居住情况"
  2578. required
  2579. :rules="[{ required: true, message: '' }]"
  2580. @click="showhncyjzqk = true"
  2581. />
  2582. <van-field
  2583. autocomplete="off"
  2584. v-model="form5.jzqk"
  2585. style="display:none"
  2586. />
  2587. <van-field name="radio" label="是否贫困户" input-align="right" autocomplete="off">
  2588. <template #input>
  2589. <van-radio-group v-model="form5.sfpkh" direction="horizontal">
  2590. <van-radio name="Y">是</van-radio>
  2591. <van-radio name="N">否</van-radio>
  2592. </van-radio-group>
  2593. </template>
  2594. </van-field>
  2595. <van-field name="radio" label="是否五保户" input-align="right" autocomplete="off">
  2596. <template #input>
  2597. <van-radio-group v-model="form5.sfwbh" direction="horizontal">
  2598. <van-radio name="Y">是</van-radio>
  2599. <van-radio name="N">否</van-radio>
  2600. </van-radio-group>
  2601. </template>
  2602. </van-field>
  2603. <van-field
  2604. autocomplete="off"
  2605. input-align="right"
  2606. v-model="form5.sjlyName"
  2607. name="数据来源"
  2608. label="数据来源"
  2609. placeholder="数据来源"
  2610. required
  2611. :rules="[{ required: true, message: '' }]"
  2612. @click="showhncysjly = true"
  2613. />
  2614. <van-field
  2615. autocomplete="off"
  2616. v-model="form5.sjly"
  2617. style="display:none"
  2618. />
  2619. <div style="margin: 16px;">
  2620. <van-button round block color="#7AC943" native-type="submit">保存</van-button>
  2621. </div>
  2622. </van-form>
  2623. </div>
  2624. </van-popup>
  2625. <van-popup v-model="showhncylist" style="height:100%;width:100%;">
  2626. <div class="bannerBg">
  2627. <van-nav-bar
  2628. style="background:transparent;border-bottom-width:0;"
  2629. @click-left="showhncylist=false"
  2630. >
  2631. <template #left>
  2632. <van-icon name="arrow-left" size="18" color="#fff" />
  2633. </template>
  2634. <template #title>
  2635. <p style="color:#fff">户内成员信息</p>
  2636. </template>
  2637. </van-nav-bar>
  2638. </div>
  2639. <van-swipe-cell v-for="(item,index) in hncylist" :key="index" @click.native="showPopuphncy(item)" style="border-radius: 16px;box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.16); width:calc( 100% - 40px);margin:20px auto;background:#fff;">
  2640. <div style="padding:20px;">
  2641. <p style="color:#22B7F2;font-size:20px;line-height:30px;"><van-icon name="wap-home" color="#22b7f2" size="20" style="margin-right:10px;"/>
  2642. {{item.xm}}</p>
  2643. <div style="display:flex;line-height:20px">
  2644. <p style="flex:1;text-align:left;">证件号码</p>
  2645. <p style="flex:1;text-align:right;">{{item.zjhm}}</p>
  2646. </div>
  2647. <div style="display:flex;line-height:20px">
  2648. <p style="flex:1;text-align:left;">与户主关系</p>
  2649. <p style="flex:1;text-align:right;">{{yhzgxfy(item.yhzgx)}}</p>
  2650. </div>
  2651. </div>
  2652. <template #right>
  2653. <van-button square text="删除" type="danger" class="delete-button" @click="deletehncy(item.id,index)" />
  2654. </template>
  2655. </van-swipe-cell>
  2656. <div style="border-radius: 16px;box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.16); width:calc( 100% - 40px);margin:20px;background:#fff;padding:20px;">
  2657. <div style="text-align:center;" >
  2658. <p style="color:#22B7F2;font-size:20px;line-height:30px;" @click="showPopuphncy('')"><van-icon name="plus" color="#22b7f2" size="20" style="margin-right:10px;"/>添加户内成员信息</p>
  2659. </div>
  2660. </div>
  2661. </van-popup>
  2662. <van-popup v-model="shownmfw" style="height:100%;width:100%;">
  2663. <div class="bannerBg">
  2664. <van-nav-bar
  2665. style="background:transparent;border-bottom-width:0;"
  2666. @click-left="shownmfw=false"
  2667. >
  2668. <template #left>
  2669. <van-icon name="arrow-left" size="18" color="#fff" />
  2670. </template>
  2671. <template #title>
  2672. <p style="color:#fff">房屋信息列表</p>
  2673. </template>
  2674. </van-nav-bar>
  2675. </div>
  2676. <div style="margin:20px;">
  2677. <p class="title" style="position:relative;padding-left:20px;line-height:32px;">房屋信息</p>
  2678. </div>
  2679. <van-swipe-cell v-for="(item,index) in fwlist" :key="index" style="border-radius: 16px;box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.16); width:calc( 100% - 40px);margin:20px auto;background:#fff;">
  2680. <div style="padding:20px;">
  2681. <p style="color:#22B7F2;font-size:20px;line-height:30px;"><van-icon name="wap-home" color="#22b7f2" size="20" style="margin-right:10px;"/>第{{index+1}}号</p>
  2682. <div style="display:flex;line-height:20px">
  2683. <p style="flex:1;text-align:left;">农民房屋幢号</p>
  2684. <p style="flex:1;text-align:right;">{{item.nmfwzh}}</p>
  2685. </div>
  2686. <div style="display:flex;line-height:20px">
  2687. <p style="flex:1;text-align:left;">农民房屋面积(㎡)</p>
  2688. <p style="flex:1;text-align:right;">{{item.nmfwmj}}</p>
  2689. </div>
  2690. <div style="text-align:center;overflow:auto;">
  2691. <van-button plain round color="#7AC943" size="mini" style="margin:0 auto;" @click="showPopupfw(item)">查看房屋信息</van-button>
  2692. </div>
  2693. </div>
  2694. <template #right>
  2695. <van-button square text="删除" type="danger" class="delete-button" @click="deletefw(item.id,index)"/>
  2696. </template>
  2697. </van-swipe-cell>
  2698. <div style="border-radius: 16px;box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.16); width:calc( 100% - 40px);margin:20px;background:#fff;padding:20px;margin-bottom:50px">
  2699. <div style="text-align:center;" >
  2700. <p style="color:#22B7F2;font-size:20px;line-height:30px;" @click="showPopupfw('')"><van-icon name="plus" color="#22b7f2" size="20" style="margin-right:10px;"/>添加房屋信息</p>
  2701. </div>
  2702. </div>
  2703. </van-popup>
  2704. <van-popup v-model="showesign" position="bottom" closeable
  2705. close-icon="close">
  2706. <van-row style="margin:0 10%">
  2707. <p class="title" style="margin:20px 0;position:relative;padding-left:20px;font-size:0.5rem">电子签名</p>
  2708. </van-row>
  2709. <van-row style="margin: 0 5% 5% 5%;border:1px solid #BFBFBF">
  2710. <vue-esign
  2711. ref="esign"
  2712. class="mySign"
  2713. :width="800"
  2714. :height="500"
  2715. :isCrop="isCrop"
  2716. :lineWidth="lineWidth"
  2717. :lineColor="lineColor"
  2718. :bgColor.sync="bgColor"
  2719. v-if="!resultImg"
  2720. />
  2721. <img :src="resultImg" alt="" width="100%" height="100%" v-if="resultImg"/>
  2722. </van-row>
  2723. <van-row type="flex" justify="center" style="margin-bottom:20px;">
  2724. <van-col span="6" style="text-align:center;"><van-button type="primary" round size="small" @click="handleReset">清空画板</van-button></van-col>
  2725. <van-col span="6" style="text-align:center;"><van-button type="primary" round size="small" @click="handleGenerate">保存签名</van-button></van-col>
  2726. </van-row>
  2727. </van-popup>
  2728. <!--户内成员职业-->
  2729. <van-popup v-model="showhncyoccupation" position="bottom">
  2730. <van-picker
  2731. show-toolbar
  2732. :columns="occupationOptions"
  2733. value-key="dictLabel"
  2734. @confirm="onConfirmhncyoccupation"
  2735. @cancel="showhncyoccupation = false"
  2736. />
  2737. </van-popup>
  2738. <!--户内成员成员备注-->
  2739. <van-popup v-model="showhncycybz" position="bottom">
  2740. <van-picker
  2741. show-toolbar
  2742. :columns="cybzOptions"
  2743. value-key="dictLabel"
  2744. @confirm="onConfirmhncycybz"
  2745. @cancel="showhncycybz = false"
  2746. />
  2747. </van-popup>
  2748. <!--户内成员居住情况-->
  2749. <van-popup v-model="showhncyjzqk" position="bottom">
  2750. <van-picker
  2751. show-toolbar
  2752. :columns="jzqkOptions"
  2753. value-key="dictLabel"
  2754. @confirm="onConfirmhncyjzqk"
  2755. @cancel="showhncyjzqk = false"
  2756. />
  2757. </van-popup>
  2758. <!--户主数据来源-->
  2759. <van-popup v-model="showhzsjly" position="bottom">
  2760. <van-picker
  2761. show-toolbar
  2762. :columns="sjlyOptions"
  2763. value-key="dictLabel"
  2764. @confirm="onConfirmhzsjly"
  2765. @cancel="showhzsjly = false"
  2766. />
  2767. </van-popup>
  2768. <!--户内成员数据来源-->
  2769. <van-popup v-model="showhncysjly" position="bottom">
  2770. <van-picker
  2771. show-toolbar
  2772. :columns="sjlyOptions"
  2773. value-key="dictLabel"
  2774. @confirm="onConfirmhncysjly"
  2775. @cancel="showhncysjly = false"
  2776. />
  2777. </van-popup>
  2778. <!--使用权人农民房屋代码列表-->
  2779. <van-popup v-model="showsyqrnmfwdm" position="bottom">
  2780. <van-picker
  2781. show-toolbar
  2782. :columns="fwlist"
  2783. value-key="nmfwdm"
  2784. @confirm="onConfirmsyqrnmfwdm"
  2785. @cancel="showsyqrnmfwdm = false"
  2786. />
  2787. </van-popup>
  2788. <!--农民房屋农户代码列表-->
  2789. <van-popup v-model="shownmfwnhdm" position="bottom">
  2790. <van-search v-model="nhdmValue" placeholder="请输入搜索关键词" @input="getnhdmlist"/>
  2791. <van-picker
  2792. show-toolbar
  2793. :columns="syqrnhdmlist"
  2794. value-key="hzxm"
  2795. @confirm="onConfirmnmfwnhdm"
  2796. @cancel="shownmfwnhdm = false"
  2797. />
  2798. </van-popup>
  2799. <!--使用权人所属行业列表-->
  2800. <van-popup v-model="showsyqrsshy" position="bottom">
  2801. <van-picker
  2802. show-toolbar
  2803. :columns="industryOptions"
  2804. value-key="dictLabel"
  2805. @confirm="onConfirmsyqrsshy"
  2806. @cancel="showsyqrsshy = false"
  2807. />
  2808. </van-popup>
  2809. <!--户主证件类型-->
  2810. <van-popup v-model="showhzzjlx" position="bottom">
  2811. <van-picker
  2812. show-toolbar
  2813. :columns="zjlxOptions"
  2814. value-key="dictLabel"
  2815. @confirm="onConfirmhzzjlx"
  2816. @cancel="showhzzjlx = false"
  2817. />
  2818. </van-popup>
  2819. <!--户主数据来源-->
  2820. <van-popup v-model="showhzsjly" position="bottom">
  2821. <van-picker
  2822. show-toolbar
  2823. :columns="sjlyOptions"
  2824. value-key="dictLabel"
  2825. @confirm="onConfirmhzsjly"
  2826. @cancel="showhzsjly = false"
  2827. />
  2828. </van-popup>
  2829. <!--户主职业-->
  2830. <van-popup v-model="showhzoccupation" position="bottom">
  2831. <van-picker
  2832. show-toolbar
  2833. :columns="occupationOptions"
  2834. value-key="dictLabel"
  2835. @confirm="onConfirmhzoccupation"
  2836. @cancel="showhzoccupation = false"
  2837. />
  2838. </van-popup>
  2839. <!--户主居住情况-->
  2840. <van-popup v-model="showhzjzqk" position="bottom">
  2841. <van-picker
  2842. show-toolbar
  2843. :columns="jzqkOptions"
  2844. value-key="dictLabel"
  2845. @confirm="onConfirmhzjzqk"
  2846. @cancel="showhzjzqk = false"
  2847. />
  2848. </van-popup>
  2849. <!--集市或城市是否有住房-->
  2850. <van-popup v-model="showhzjzhcssfyzf" position="bottom">
  2851. <van-picker
  2852. show-toolbar
  2853. :columns="jzhcssfyzfOptions"
  2854. value-key="dictLabel"
  2855. @confirm="onConfirmhzjzhcssfyzf"
  2856. @cancel="showhzjzhcssfyzf = false"
  2857. />
  2858. </van-popup>
  2859. </div>
  2860. </template>
  2861. <script>
  2862. import {listShyqr,addShyqr,updateShyqr,delShyqr} from "@/api/homesteadSurvey/shyqr";
  2863. import {listZjdzd,getZjdzd,updateZjdzd,addZjdzd,uploadFile,getQueryLand} from "@/api/homesteadSurvey/zjdzd";
  2864. import MapGisDrawing from "@/components/Map/MapGisDrawing";
  2865. import {listZrz,addZrz,updateZrz,getZrzZjdDmList,delZrz,updateZrzZt} from "@/api/homesteadSurvey/zrz";
  2866. import {listNmfw,addNmfw,updateNmfw,delNmfw} from "@/api/homesteadSurvey/nmfw";
  2867. import {listSuyqr,addSuyqr,updateSuyqr} from "@/api/homesteadSurvey/suyqr";
  2868. import {listNhhncy,addNhhncy,updateNhhncy,delNhhncy} from "@/api/homesteadSurvey/nhhncy";
  2869. import {addNh, delNh, exportNh, getNh, listNh, updateNh} from "@/api/homesteadSurvey/nh";
  2870. import {listFsss,addFsss,updateFsss,delFsss,getFsssZjdDmList,updateFsssZt} from "@/api/homesteadSurvey/fsss";
  2871. import { listTown, getTown } from "@/api/homesteadSurvey/town";
  2872. import { listVillage} from "@/api/homesteadSurvey/village";
  2873. import { sysConfig} from "@/api/homesteadSurvey/index";
  2874. import { Notify, Dialog, Toast } from 'vant';
  2875. export default {
  2876. name: "homesteadAdd",
  2877. components: { MapGisDrawing,},
  2878. data() {
  2879. return {
  2880. shownh:false,
  2881. showhzzjlx:false,
  2882. showhzoccupation:false,
  2883. showhzjzqk:false,
  2884. showhzjzhcssfyzf:false,
  2885. showhzsjly:false,
  2886. minDate:new Date(1950,1,1),
  2887. maxDate:new Date(2030,1,1),
  2888. nhdmValue:null,
  2889. active:1,
  2890. // 电子签名
  2891. lineWidth: 6, // 画笔的线条粗细
  2892. lineColor: "#000000", // 画笔的颜色
  2893. bgColor: "", // 画布的背景颜色
  2894. resultImg: "", // 最终画布生成的base64图片
  2895. isCrop: false, // 是否裁剪,在画布设定尺寸基础上裁掉四周空白部分
  2896. showhjszss:false,
  2897. showdj:false,
  2898. shownmfw:false,
  2899. showsyqrsshy:false,
  2900. shownmfwnhdm:false,
  2901. showsyqrnmfwdm:false,
  2902. showhncysjly:false,
  2903. showhzsjly:false,
  2904. showesign:false,
  2905. showsyqrnhdmlist:false,
  2906. showzrzfwjg:false,
  2907. showzrzh:false,
  2908. showyt:false,
  2909. showqllx:false,
  2910. showqlxz:false,
  2911. showqlsdfs:false,
  2912. showhzjzhcssfyzf:false,
  2913. showhncycybz:false,
  2914. showhncyoccupation:false,
  2915. showhncyjzqk:false,
  2916. showhzoccupation:false,
  2917. showhzjzqk:false,
  2918. showhncyzjlx:false,
  2919. showyhzgx:false,
  2920. showqlrlx:false,
  2921. showshyqrdbzjlx:false,
  2922. showgyfs:false,
  2923. showPickerjgrq:false,
  2924. showPickerdjsj:false,
  2925. showPickerpzsj:false,
  2926. showPickercfqssj:false,
  2927. showPickercfjssj:false,
  2928. showPickerzwlxsj1:false,
  2929. showPickerzwlxsj2:false,
  2930. showhx:false,
  2931. showhxjg:false,
  2932. showfwjg:false,
  2933. showfwyt:false,
  2934. showfwlx:false,
  2935. showfwxz:false,
  2936. shownmfwsjly:false,
  2937. shownmfwlyzk:false,
  2938. shownmfwtdzk:false,
  2939. shownmfwqsly:false,
  2940. shownmfwfwzt:false,
  2941. showphlyms:false,
  2942. showfssslx:false,
  2943. showqsly:false,
  2944. showfwzt:false,
  2945. showjglx:false,
  2946. showjzwqk:false,
  2947. showtdzk:false,
  2948. showsjly:false,
  2949. showzrzsjly:false,
  2950. showPickerxzkssj:false,
  2951. showlyzk:false,
  2952. showsyqr: false,
  2953. showhncylist:false,
  2954. showhncy:false,
  2955. show1: false,
  2956. showzrz: false,
  2957. showfw:false,
  2958. showfsss:false,
  2959. show3: false,
  2960. username: '',
  2961. password: '',
  2962. // 路由数据
  2963. item:{},
  2964. //宅基地表单
  2965. form:{},
  2966. //使用权人表单
  2967. form1:{},
  2968. //自然幢表单
  2969. form3:{},
  2970. //农民房屋表单
  2971. nmfwform:{},
  2972. //附属设施表单
  2973. form4:{},
  2974. //成员信息表单
  2975. form5:{},
  2976. // 农户信息表单
  2977. nhform:{},
  2978. // 使用权人列表
  2979. syqrlist:[],
  2980. // 使用权人农户代码列表
  2981. syqrnhdmlist:[],
  2982. // 户内成员列表
  2983. hncylist:[],
  2984. // 自然幢列表
  2985. zrzlist:[],
  2986. // 房屋列表
  2987. fwlist:[],
  2988. // 附属设施列表
  2989. fssslist:[],
  2990. // 当前利用状况字典
  2991. lyzkOptions: [],
  2992. // 数据来源字典
  2993. sjlyOptions:[],
  2994. // 宅基地取得方式字典
  2995. zjdqdfsOptions:[],
  2996. // 附属设施类型字典
  2997. fssslxOptions:[],
  2998. // 权属来源字典
  2999. qslyOptions:[],
  3000. // 房屋状态字典
  3001. fwztOptions:[],
  3002. // 结构类型字典
  3003. jglxOptions:[],
  3004. // 建筑物情况字典
  3005. jzwqkOptions:[],
  3006. // 土地状况字典
  3007. tdzkOptions:[],
  3008. // 宅基地图片
  3009. fileListzjd:[],
  3010. // 房屋图片
  3011. fileListfw:[],
  3012. // 户型字典
  3013. hxOptions: [],
  3014. // 户型结构字典
  3015. hxjgOptions: [],
  3016. // 房屋结构字典
  3017. fwjgOptions: [],
  3018. // 房屋用途字典
  3019. fwytOptions: [],
  3020. // 房屋类型字典
  3021. fwlxOptions: [],
  3022. // 房屋性质字典
  3023. fwxzOptions: [],
  3024. // 盘活利用模式字典
  3025. phlymsOptions: [],
  3026. // 流转意向字典
  3027. lzyxOptions: [],
  3028. // 有偿退出意向字典
  3029. yctcyxOptions: [],
  3030. // 被惩处经历字典
  3031. bccjlOptions: [],
  3032. // 审批或建设前土地状况字典
  3033. tdzkOptions: [],
  3034. // 批准时间字典
  3035. pzsjOptions: [],
  3036. // 共有方式字典
  3037. gyfsOptions: [],
  3038. // 权利人类型字典
  3039. qlrlxOptions: [],
  3040. // 证件类型字典
  3041. zjlxOptions:[],
  3042. // 与户主关系字典
  3043. yhzgxOptions:[],
  3044. // 权利类型字典
  3045. qllxOptions:[],
  3046. // 权利性质字典
  3047. qlxzOptions:[],
  3048. // 权利设定方式字典
  3049. qlsdfsOptions:[],
  3050. // 用途字典
  3051. ytOptions:[],
  3052. // 职业字典
  3053. occupationOptions:[],
  3054. // 集镇或城市是否有住房
  3055. jzhcssfyzfOptions:[],
  3056. // 婚姻状况
  3057. hyzkOptions:[],
  3058. // 成员备注字典
  3059. cybzOptions:[],
  3060. // 居住情况字典
  3061. jzqkOptions:[],
  3062. // 土地等级字典
  3063. tddjOptions:[],
  3064. // 所属行业
  3065. industryOptions:[],
  3066. // 户籍所在省市
  3067. hjszssOptions:[],
  3068. // 图片上传路径
  3069. baseUrl:"",
  3070. // 自然幢号
  3071. zrzh:null,
  3072. //返回地图页
  3073. backMap:{
  3074. activeBtn:"",
  3075. backMapZjdAData:"",
  3076. },
  3077. //记录是否从地图进入
  3078. enterMap: "",
  3079. };
  3080. },
  3081. created(){
  3082. this.getDicts("zjdlyzk").then(response => {
  3083. this.lyzkOptions = response.data;
  3084. });
  3085. this.getDicts("acquisition_method").then(response => {
  3086. this.zjdqdfsOptions = response.data;
  3087. });
  3088. this.getDicts("sjly").then(response => {
  3089. this.sjlyOptions = response.data;
  3090. });
  3091. this.getDicts("fsss_type").then(response => {
  3092. this.fssslxOptions = response.data;
  3093. });
  3094. this.getDicts("acquisition_method").then(response => {
  3095. this.qslyOptions = response.data;
  3096. });
  3097. this.getDicts("fwzt").then(response => {
  3098. this.fwztOptions = response.data;
  3099. });
  3100. this.getDicts("house_jglx").then(response => {
  3101. this.jglxOptions = response.data;
  3102. });
  3103. this.getDicts("fwzt").then(response => {
  3104. this.jzwqkOptions = response.data;
  3105. });
  3106. this.getDicts("land_state").then(response => {
  3107. this.tdzkOptions = response.data;
  3108. });
  3109. this.getDicts("approve_time").then(response => {
  3110. this.pzsjOptions = response.data;
  3111. });
  3112. this.getDicts("phlyms").then(response => {
  3113. this.phlymsOptions = response.data;
  3114. });
  3115. this.getDicts("fwlx").then(response => {
  3116. this.fwlxOptions = response.data;
  3117. });
  3118. this.getDicts("fwxz").then(response => {
  3119. this.fwxzOptions = response.data;
  3120. });
  3121. this.getDicts("nmfwhx").then(response => {
  3122. this.hxOptions = response.data;
  3123. });
  3124. this.getDicts("nmfwhxjg").then(response => {
  3125. this.hxjgOptions = response.data;
  3126. });
  3127. this.getDicts("housing_structure").then(response => {
  3128. this.fwjgOptions = response.data;
  3129. });
  3130. this.getDicts("fwyt").then(response => {
  3131. this.fwytOptions = response.data;
  3132. });
  3133. this.getDicts("common_mode").then(response => {
  3134. this.gyfsOptions = response.data;
  3135. });
  3136. this.getDicts("obligee_type").then(response => {
  3137. this.qlrlxOptions = response.data;
  3138. });
  3139. this.getDicts("zjlx").then(response => {
  3140. this.zjlxOptions = response.data;
  3141. });
  3142. this.getDicts("hjszss").then(response => {
  3143. this.hjszssOptions = response.data;
  3144. });
  3145. this.getDicts("family_status").then(response => {
  3146. var arr = [];response.data.forEach(function (item) {
  3147. if (item.dictLabel !== '户主') {
  3148. arr.push(item)
  3149. }
  3150. });
  3151. this.yhzgxOptions = arr;
  3152. /*this.yhzgxOptions = response.data;*/
  3153. });
  3154. this.getDicts("rights_nature").then(response => {
  3155. this.qlxzOptions = response.data;
  3156. });
  3157. this.getDicts("rights_type").then(response => {
  3158. this.qllxOptions = response.data;
  3159. });
  3160. this.getDicts("right_setting_mode").then(response => {
  3161. this.qlsdfsOptions = response.data;
  3162. });
  3163. this.getDicts("land_use").then(response => {
  3164. this.ytOptions = response.data;
  3165. });
  3166. this.getDicts("jzhcssfyzf").then(response => {
  3167. this.jzhcssfyzfOptions = response.data;
  3168. });
  3169. this.getDicts("occupation").then(response => {
  3170. this.occupationOptions = response.data;
  3171. });
  3172. this.getDicts("hyzk").then(response => {
  3173. this.hyzkOptions = response.data;
  3174. });
  3175. this.getDicts("cybz").then(response => {
  3176. this.cybzOptions = response.data;
  3177. });
  3178. this.getDicts("living_condition").then(response => {
  3179. this.jzqkOptions = response.data;
  3180. });
  3181. this.getDicts("tddj").then(response => {
  3182. this.tddjOptions = response.data;
  3183. });
  3184. this.getDicts("Industry").then(response => {
  3185. this.industryOptions = response.data;
  3186. });
  3187. if(this.$cookies.get("search")){
  3188. if(this.$cookies.get("search").active!=null){
  3189. //返回地图值记录----start
  3190. this.backMap.activeBtn = 4;
  3191. this.enterMap =1;
  3192. this.backMap.backMapZjdAData =this.$cookies.get("search").mapZjdAData;
  3193. //返回地图值记录----end
  3194. this.active = this.$cookies.get("search").active
  3195. this.item = this.$cookies.get("search").mapZjdAData
  3196. let zrz = this.$cookies.get("search").mapZrzAData
  3197. let fsss = this.$cookies.get("search").mapFsssAData
  3198. this.getnhdmlist();
  3199. this.getBaseUrl();
  3200. this.getZjd();
  3201. if(this.$cookies.get("search").active=="3"){
  3202. this.showzrz= true
  3203. this.getZrzList()
  3204. setTimeout(() => {
  3205. this.showPopupzrz(zrz)
  3206. }, 500);
  3207. }else if(this.$cookies.get("search").active=="4"){
  3208. this.showfsss= true
  3209. this.getFsssList()
  3210. setTimeout(() => {
  3211. this.showPopupfsss(fsss)
  3212. }, 500);
  3213. }
  3214. }else{
  3215. this.item = this.$cookies.get("search")
  3216. this.getBaseUrl();
  3217. this.getnhdmlist();
  3218. this.getZjd();
  3219. }
  3220. }else{
  3221. this.$set(this.item,"deptId",this.$cookies.get("item").deptId)
  3222. this.getBaseUrl();
  3223. this.getnhdmlist();
  3224. this.getZjd();
  3225. }
  3226. },
  3227. mounted(){
  3228. if(this.active ==1){
  3229. this.form.theGeom = this.item.theGeom;
  3230. this.mapClickLoading();
  3231. }
  3232. },
  3233. methods: {
  3234. shownmfwlist(item){
  3235. this.zrzh = item.zrzh
  3236. this.shownmfw = true
  3237. this.fwlist=[]
  3238. if(this.item.zjddm!=null||this.form.zjddm!=null) {
  3239. let params = {
  3240. "zjddm":this.item.zjddm?this.item.zjddm:this.form.zjddm,
  3241. deptId:this.item.deptId,
  3242. zrzh:this.zrzh
  3243. }
  3244. listNmfw(params).then(r => {
  3245. this.fwlist = r.rows
  3246. })
  3247. }
  3248. },
  3249. getBaseUrl(){
  3250. let params={
  3251. configKey: "system.attachment.url"}
  3252. sysConfig(params).then(response => {
  3253. this.baseUrl = response.rows[0].configValue
  3254. })
  3255. },
  3256. // 验证
  3257. validator(val){
  3258. console.log(val.length)
  3259. if(val>1||val<0||val.length>4){
  3260. return false
  3261. }else{
  3262. return true
  3263. }
  3264. },
  3265. validator1(val){
  3266. console.log(val)
  3267. if(val>=1000||val<0||val.length>6){
  3268. return false
  3269. }else{
  3270. return true
  3271. }
  3272. },
  3273. // 所有权人农户代码列表
  3274. getnhdmlist(){
  3275. let params = {
  3276. "deptId" : this.item.deptId,
  3277. "nhValue":this.nhdmValue
  3278. }
  3279. listNh(params).then((response) => {
  3280. this.syqrnhdmlist = response.rows
  3281. });
  3282. },
  3283. //删除户内成员
  3284. deletehncy(id,index){
  3285. Dialog.confirm({
  3286. title: '警告',
  3287. message: '删除后无法恢复,确认删除么?',
  3288. })
  3289. .then(() => {
  3290. // on confirm
  3291. delNhhncy(id).then(res => {
  3292. if(res.code=="200"){
  3293. this.hncylist.splice(index,1);
  3294. }
  3295. })
  3296. })
  3297. .catch(() => {
  3298. // on cancel
  3299. });
  3300. },
  3301. // 删除附属设施
  3302. deletefsss(id,index){
  3303. Dialog.confirm({
  3304. title: '警告',
  3305. message: '删除后无法恢复,确认删除么?',
  3306. })
  3307. .then(() => {
  3308. // on confirm
  3309. delFsss(id).then(res => {
  3310. if(res.code=="200"){
  3311. this.fssslist.splice(index,1);
  3312. }
  3313. })
  3314. })
  3315. .catch(() => {
  3316. // on cancel
  3317. });
  3318. },// 删除自然幢
  3319. deletezrz(id,index){
  3320. Dialog.confirm({
  3321. title: '警告',
  3322. message: '删除后无法恢复,确认删除么?',
  3323. })
  3324. .then(() => {
  3325. // on confirm
  3326. delZrz(id).then(res => {
  3327. if(res.code=="200"){
  3328. this.zrzlist.splice(index,1);
  3329. }
  3330. })
  3331. })
  3332. .catch(() => {
  3333. // on cancel
  3334. });
  3335. },
  3336. // 删除使用权人
  3337. deletesyqr(id,index){
  3338. Dialog.confirm({
  3339. title: '警告',
  3340. message: '删除后无法恢复,确认删除么?',
  3341. })
  3342. .then(() => {
  3343. // on confirm
  3344. delShyqr(id).then(res => {
  3345. if(res.code=="200"){
  3346. this.syqrlist.splice(index,1);
  3347. }
  3348. })
  3349. })
  3350. .catch(() => {
  3351. // on cancel
  3352. });
  3353. },
  3354. // 与户主关系翻译
  3355. yhzgxfy(value){
  3356. let label
  3357. this.yhzgxOptions.map(res => {
  3358. if(res.dictValue ==value){
  3359. label = res.dictLabel
  3360. }
  3361. })
  3362. return label
  3363. },
  3364. // 附属设施类型翻译
  3365. fssslxfy(value){
  3366. let label
  3367. this.fssslxOptions.map(res => {
  3368. if(res.dictValue ==value){
  3369. label = res.dictLabel
  3370. }
  3371. })
  3372. return label
  3373. },
  3374. // 建筑物情况翻译
  3375. jzwqkfy(value){
  3376. let label
  3377. this.jzwqkOptions.map(res => {
  3378. if(res.dictValue ==value){
  3379. label = res.dictLabel
  3380. }
  3381. })
  3382. return label
  3383. },
  3384. // 图片上传前
  3385. beforeReadzjd(file){
  3386. // 创建Canvas对象(画布)
  3387. let canvas = document.createElement('canvas')
  3388. // 获取对应的CanvasRenderingContext2D对象(画笔)
  3389. let context = canvas.getContext('2d')
  3390. // 创建新的图片对象
  3391. let img = new Image()
  3392. // 指定图片的DataURL(图片的base64编码数据)
  3393. img.src = file.content
  3394. // 监听浏览器加载图片完成,然后进行进行绘制
  3395. const height = 166
  3396. const width = 316
  3397. img.onload = () => {
  3398. const h = img.height
  3399. const w = img.width
  3400. let ch = img.height/2
  3401. let cw = img.width/2
  3402. let canvas = document.createElement('canvas')
  3403. let ctx = canvas.getContext('2d')
  3404. canvas.height = ch
  3405. canvas.width = cw
  3406. ctx.clearRect(0,0,cw,ch)
  3407. ctx.drawImage(img,0,0,cw,ch)
  3408. let base_img = canvas.toDataURL('image/jpeg')
  3409. const blobBin = atob(base_img.split(',')[1])
  3410. let d = []
  3411. for (let i=0;i<blobBin.length;i++){
  3412. d.push(blobBin.charCodeAt(i))
  3413. }
  3414. const data2 = new FormData();
  3415. data2.append("file", new Blob([new Uint8Array(d)],{type:'image/jpeg'}));
  3416. uploadFile(data2).then(res => {
  3417. console.log(res)
  3418. if(this.form.zjdxctp!=null&&this.form.zjdxctp!=""){
  3419. this.form.zjdxctp = this.form.zjdxctp + "," + res.fileName
  3420. }else{
  3421. this.form.zjdxctp = res.fileName
  3422. }
  3423. })
  3424. }
  3425. },
  3426. // 图片删除
  3427. deleteFilezjd(file){
  3428. console.log(this.form.zjdxctp,file.baseUrl)
  3429. let url = ","+file.baseUrl
  3430. let url1 = file.baseUrl+","
  3431. this.form.zjdxctp = this.form.zjdxctp.replaceAll(url,"")
  3432. this.form.zjdxctp = this.form.zjdxctp.replaceAll(url1,"")
  3433. },
  3434. // 图片上传前
  3435. beforeReadfw(file){
  3436. // 创建Canvas对象(画布)
  3437. let canvas = document.createElement('canvas')
  3438. // 获取对应的CanvasRenderingContext2D对象(画笔)
  3439. let context = canvas.getContext('2d')
  3440. // 创建新的图片对象
  3441. let img = new Image()
  3442. // 指定图片的DataURL(图片的base64编码数据)
  3443. img.src = file.content
  3444. // 监听浏览器加载图片完成,然后进行进行绘制
  3445. const height = 166
  3446. const width = 316
  3447. img.onload = () => {
  3448. const h = img.height
  3449. const w = img.width
  3450. let ch = img.height/2
  3451. let cw = img.width/2
  3452. let canvas = document.createElement('canvas')
  3453. let ctx = canvas.getContext('2d')
  3454. canvas.height = ch
  3455. canvas.width = cw
  3456. ctx.clearRect(0,0,cw,ch)
  3457. ctx.drawImage(img,0,0,cw,ch)
  3458. let base_img = canvas.toDataURL('image/jpeg')
  3459. const blobBin = atob(base_img.split(',')[1])
  3460. let d = []
  3461. for (let i=0;i<blobBin.length;i++){
  3462. d.push(blobBin.charCodeAt(i))
  3463. }
  3464. const data2 = new FormData();
  3465. data2.append("file", new Blob([new Uint8Array(d)],{type:'image/jpeg'}));
  3466. uploadFile(data2).then(res => {
  3467. if(this.form5.zjdxctp!=null&&this.form5.zjdxctp!=""){
  3468. this.form5.zjdxctp = this.form5.zjdxctp + "," + res.fileName
  3469. }else{
  3470. this.form5.zjdxctp = res.fileName
  3471. }
  3472. })
  3473. }
  3474. },
  3475. // 图片删除
  3476. deleteFilefw(file){
  3477. let url = ","+file.baseUrl
  3478. let url1 = file.baseUrl+","
  3479. this.form5.zjdxctp = this.form5.zjdxctp.replaceAll(url,"")
  3480. this.form5.zjdxctp = this.form5.zjdxctp.replaceAll(url1,"")
  3481. },
  3482. onConfirmhzsjly(value){
  3483. this.nhform.sjlyName = value.dictLabel
  3484. this.nhform.sjly = value.dictValue
  3485. this.showhzsjly= false
  3486. },
  3487. onConfirmhzjzqk(value){
  3488. this.nhform.jzqkName = value.dictLabel
  3489. this.nhform.jzqk = value.dictValue
  3490. this.showhzjzqk = false
  3491. },
  3492. onConfirmhzoccupation(value){
  3493. this.nhform.occupationName = value.dictLabel
  3494. this.nhform.occupation = value.dictValue
  3495. this.showhzoccupation = false
  3496. },
  3497. onConfirmhzzjlx(value){
  3498. this.nhform.hzzjlxName = value.dictLabel
  3499. this.nhform.hzzjlx = value.dictValue
  3500. this.showhzzjlx = false
  3501. },
  3502. onConfirmhzjzhcssfyzf(value){
  3503. this.nhform.jzhcssfyzfName = value.dictLabel
  3504. this.nhform.jzhcssfyzf = value.dictValue
  3505. this.showhzjzhcssfyzf= false
  3506. },
  3507. // 使用权人农民房屋代码弹出框
  3508. onConfirmsyqrnmfwdm(value){
  3509. this.form1.nmfwdm = value.nmfwdm
  3510. this.showsyqrnmfwdm = false
  3511. },
  3512. // 使用权人农户代码弹出框
  3513. onConfirmsyqrnhdmlist(value){
  3514. this.nhdmValue = null
  3515. this.form1.nhdm = value.nhdm
  3516. this.form1.shyqrdbxm = value.hzxm
  3517. this.form1.shyqrdbzjhm = value.hzzjhm
  3518. this.form1.shyqrdbzjlx = value.hzzjlx
  3519. this.zjlxOptions.map(res => {
  3520. if(res.dictValue == this.form1.shyqrdbzjlx){
  3521. this.form1.shyqrdbzjlxName = res.dictLabel
  3522. }
  3523. })
  3524. this.showsyqrnhdmlist = false
  3525. },
  3526. // 农名房屋农户代码弹出框
  3527. onConfirmnmfwnhdm(value){
  3528. this.nhdmValue = null
  3529. this.nmfwform.nhdm = value.nhdm
  3530. this.shownmfwnhdm = false
  3531. },
  3532. // 使用权人所属行业弹出框
  3533. onConfirmsyqrsshy(value){
  3534. this.form1.sshyName = value.dictLabel
  3535. this.form1.sshy = value.dictValue
  3536. this.showsyqrsshy= false
  3537. },
  3538. // 户内成员数据来源弹出框
  3539. onConfirmhncysjly(value){
  3540. this.form5.sjlyName = value.dictLabel
  3541. this.form5.sjly = value.dictValue
  3542. this.showhncysjly= false
  3543. },
  3544. // 户主数据来源弹出框
  3545. onConfirmhzsjly(value){
  3546. this.nhform.sjlyName = value.dictLabel
  3547. this.nhform.sjly = value.dictValue
  3548. this.showhzsjly= false
  3549. },
  3550. // 宅基地等级弹出框
  3551. onConfirmdj(value){
  3552. this.form.djName = value.dictLabel
  3553. this.form.dj = value.dictValue
  3554. this.showdj= false
  3555. },
  3556. // 户内成员职业弹出框
  3557. onConfirmhncyoccupation(value){
  3558. this.form5.occupationName = value.dictLabel
  3559. this.form5.occupation = value.dictValue
  3560. this.showhncyoccupation = false
  3561. },
  3562. // 户内成员成员备注弹出框
  3563. onConfirmhncycybz(value){
  3564. this.form5.cybzName = value.dictLabel
  3565. this.form5.cybz = value.dictValue
  3566. this.showhncycybz= false
  3567. },
  3568. // 户内成员居住情况弹出框
  3569. onConfirmhncyjzqk(value){
  3570. this.form5.jzqkName = value.dictLabel
  3571. this.form5.jzqk = value.dictValue
  3572. this.showhncyjzqk = false
  3573. },
  3574. // 自然幢房屋结构弹出框
  3575. onConfirmzrzfwjg(value){
  3576. this.form3.fwjgName = value.dictLabel
  3577. this.form3.fwjg = value.dictValue
  3578. this.showzrzfwjg = false
  3579. },
  3580. // 户内成员自然幢号弹出框
  3581. onConfirmzrzh(value){
  3582. this.nmfwform.zrzh = value.zrzh
  3583. this.showzrzh = false
  3584. },
  3585. // 户内成员证件类型弹出框
  3586. onConfirmhncyzjlx(value){
  3587. this.form5.zjlxName = value.dictLabel
  3588. this.form5.zjlx = value.dictValue
  3589. this.showhncyzjlx = false
  3590. },
  3591. // 宅基地用途弹出框
  3592. onConfirmyt(value){
  3593. this.form.ytmc = value.dictLabel
  3594. this.form.yt = value.dictValue
  3595. this.showyt = false
  3596. },
  3597. // 宅基地权利类型弹出框
  3598. onConfirmqllx(value){
  3599. this.form.qllxName = value.dictLabel
  3600. this.form.qllx = value.dictValue
  3601. this.showqllx = false
  3602. },
  3603. // 宅基地权利性质弹出框
  3604. onConfirmqlxz(value){
  3605. this.form.qlxzName = value.dictLabel
  3606. this.form.qlxz = value.dictValue
  3607. this.showqlxz = false
  3608. },
  3609. // 宅基地权利设定方式弹出框
  3610. onConfirmqlsdfs(value){
  3611. this.form.qlsdfsName = value.dictLabel
  3612. this.form.qlsdfs = value.dictValue
  3613. this.showqlsdfs = false
  3614. },
  3615. // 户内成员与户主关系弹出框
  3616. onConfirmyhzgx(value){
  3617. console.log(value)
  3618. this.form5.yhzgxName = value.dictLabel
  3619. this.form5.yhzgx = value.dictValue
  3620. this.showyhzgx = false
  3621. },
  3622. // 使用权人权利人类型弹出框
  3623. onConfirmqlrlx(value){
  3624. this.form1.qlrlxName = value.dictLabel
  3625. this.form1.qlrlx = value.dictValue
  3626. this.showqlrlx = false
  3627. },
  3628. // 使用权人证件类型弹出框
  3629. onConfirmshyqrdbzjlx(value){
  3630. this.form1.shyqrdbzjlxName = value.dictLabel
  3631. this.form1.shyqrdbzjlx = value.dictValue
  3632. this.showshyqrdbzjlx = false
  3633. },
  3634. // 使用权人共有方式弹出框
  3635. onConfirmgyfs(value){
  3636. this.form1.gyfsName = value.dictLabel
  3637. this.form1.gyfs = value.dictValue
  3638. this.showgyfs = false
  3639. },
  3640. // 使用权人户籍所在省市弹出框
  3641. onConfirmhjszss(value){
  3642. this.form1.hjszssName = value.dictLabel
  3643. this.form1.hjszss = value.dictValue
  3644. this.showhjszss = false
  3645. },
  3646. // 农民房屋户型弹出框
  3647. onConfirmhx(value){
  3648. this.nmfwform.hxName = value.dictLabel
  3649. this.nmfwform.hx = value.dictValue
  3650. this.showhx = false
  3651. },
  3652. // 农民房屋户型结构弹出框
  3653. onConfirmhxjg(value){
  3654. this.nmfwform.hxjgName = value.dictLabel
  3655. this.nmfwform.hxjg = value.dictValue
  3656. this.showhxjg = false
  3657. },
  3658. // 农民房屋房屋结构弹出框
  3659. onConfirmfwjg(value){
  3660. this.nmfwform.fwjgName = value.dictLabel
  3661. this.nmfwform.fwjg = value.dictValue
  3662. this.showfwjg = false
  3663. },
  3664. // 农民房屋房屋用途弹出框
  3665. onConfirmfwyt(value){
  3666. this.nmfwform.fwytName = value.dictLabel
  3667. this.nmfwform.fwyt = value.dictValue
  3668. this.showfwyt = false
  3669. },
  3670. // 农民房屋房屋类型弹出框
  3671. onConfirmfwlx(value){
  3672. this.nmfwform.fwlxName = value.dictLabel
  3673. this.nmfwform.fwlx = value.dictValue
  3674. this.showfwlx = false
  3675. },
  3676. // 农民房屋房屋性质弹出框
  3677. onConfirmfwxz(value){
  3678. this.nmfwform.fwxzName = value.dictLabel
  3679. this.nmfwform.fwxz = value.dictValue
  3680. this.showfwxz = false
  3681. },
  3682. // 农民房屋数据来源弹出框
  3683. onConfirmnmfwsjly(value){
  3684. this.nmfwform.sjlyName = value.dictLabel
  3685. this.nmfwform.sjly = value.dictValue
  3686. this.shownmfwsjly = false
  3687. },
  3688. // 农民房屋房屋状态弹出框
  3689. onConfirmnmfwfwzt(value){
  3690. this.nmfwform.fwztName = value.dictLabel
  3691. this.nmfwform.fwzt = value.dictValue
  3692. this.shownmfwfwzt = false
  3693. },
  3694. // 农民房屋利用状况弹出框
  3695. onConfirmnmfwlyzk(value){
  3696. this.nmfwform.lyzkName = value.dictLabel
  3697. this.nmfwform.lyzk = value.dictValue
  3698. this.shownmfwlyzk = false
  3699. },
  3700. // 农民房屋盘活利用模式弹出框
  3701. onConfirmphlyms(value){
  3702. this.nmfwform.phlymsName = value.dictLabel
  3703. this.nmfwform.phlyms = value.dictValue
  3704. this.showphlyms = false
  3705. },
  3706. // 农民房屋权属来源弹出框
  3707. onConfirmnmfwqsly(value){
  3708. this.nmfwform.qslyName = value.dictLabel
  3709. this.nmfwform.qsly = value.dictValue
  3710. this.shownmfwqsly = false
  3711. },
  3712. // 农民房屋审批或建设前土地状况弹出框
  3713. onConfirmnmfwtdzk(value){
  3714. this.nmfwform.tdzkName = value.dictLabel
  3715. this.nmfwform.tdzk = value.dictValue
  3716. this.shownmfwtdzk = false
  3717. },
  3718. // 农民房屋登记时间弹出框
  3719. onConfirmdjsj(val){
  3720. let year = val.getFullYear()
  3721. let month = val.getMonth() + 1
  3722. let day = val.getDate()
  3723. if (month >= 1 && month <= 9) { month = `0${month}` }
  3724. if (day >= 1 && day <= 9) { day = `0${day}` }
  3725. this.nmfwform.djsj = year+"-"+month+"-"+day
  3726. this.showPickerdjsj= false
  3727. },
  3728. // 农民房屋查封起始时间弹出框
  3729. onConfirmcfqssj(val){
  3730. let year = val.getFullYear()
  3731. let month = val.getMonth() + 1
  3732. let day = val.getDate()
  3733. if (month >= 1 && month <= 9) { month = `0${month}` }
  3734. if (day >= 1 && day <= 9) { day = `0${day}` }
  3735. this.nmfwform.cfqssj = year+"-"+month+"-"+day
  3736. this.showPickercfqssj= false
  3737. },
  3738. // 农民房屋查封结束时间弹出框
  3739. onConfirmcfjssj(val){
  3740. let year = val.getFullYear()
  3741. let month = val.getMonth() + 1
  3742. let day = val.getDate()
  3743. if (month >= 1 && month <= 9) { month = `0${month}` }
  3744. if (day >= 1 && day <= 9) { day = `0${day}` }
  3745. this.nmfwform.cfjssj = year+"-"+month+"-"+day
  3746. this.showPickercfjssj= false
  3747. },
  3748. // 农民房屋债务履行开始时间弹出框
  3749. onConfirmzwlxsj1(val){
  3750. let year = val.getFullYear()
  3751. let month = val.getMonth() + 1
  3752. let day = val.getDate()
  3753. if (month >= 1 && month <= 9) { month = `0${month}` }
  3754. if (day >= 1 && day <= 9) { day = `0${day}` }
  3755. this.nmfwform.zwlxsj1 = year+"-"+month+"-"+day
  3756. this.showPickerzwlxsj1= false
  3757. },
  3758. // 自然幢竣工日期弹出框
  3759. onConfirmzrzjgrq(val){
  3760. let year = val.getFullYear()
  3761. let month = val.getMonth() + 1
  3762. let day = val.getDate()
  3763. if (month >= 1 && month <= 9) { month = `0${month}` }
  3764. if (day >= 1 && day <= 9) { day = `0${day}` }
  3765. this.form3.jgrq = year+"-"+month+"-"+day
  3766. this.showPickerjgrq= false
  3767. },
  3768. // 农民房屋债务履行结束时间弹出框
  3769. onConfirmzwlxsj2(val){
  3770. let year = val.getFullYear()
  3771. let month = val.getMonth() + 1
  3772. let day = val.getDate()
  3773. if (month >= 1 && month <= 9) { month = `0${month}` }
  3774. if (day >= 1 && day <= 9) { day = `0${day}` }
  3775. this.nmfwform.zwlxsj2 = year+"-"+month+"-"+day
  3776. this.showPickerzwlxsj2= false
  3777. },
  3778. // 农民房屋批准时间弹出框
  3779. onConfirmpzsj(value){
  3780. this.nmfwform.pzsjName = value.dictLabel
  3781. this.nmfwform.pzsj = value.dictValue
  3782. this.showPickerpzsj= false
  3783. },
  3784. // 附属设施类型弹出框
  3785. onConfirmfssslx(value){
  3786. this.form4.fssslxName = value.dictLabel
  3787. this.form4.fssslx = value.dictValue
  3788. this.showfssslx = false
  3789. },
  3790. // 权属来源弹出框
  3791. onConfirmqsly(value){
  3792. this.form4.qslyName = value.dictLabel
  3793. this.form4.qsly = value.dictValue
  3794. this.showqsly = false
  3795. },
  3796. // 房屋状态弹出框
  3797. onConfirmfwzt(value){
  3798. this.form4.fwztName = value.dictLabel
  3799. this.form4.fwzt = value.dictValue
  3800. this.showfwzt = false
  3801. },
  3802. // 结构类型弹出框
  3803. onConfirmjglx(value){
  3804. this.form4.jglxName = value.dictLabel
  3805. this.form4.jglx = value.dictValue
  3806. this.showjglx = false
  3807. },
  3808. // 建筑物情况弹出框
  3809. onConfirmjzwqk(value){
  3810. this.form4.jzwqkName = value.dictLabel
  3811. this.form4.jzwqk = value.dictValue
  3812. this.showjzwqk = false
  3813. },
  3814. // 土地状况弹出框
  3815. onConfirmtdzk(value){
  3816. this.form4.tdzkName = value.dictLabel
  3817. this.form4.tdzk = value.dictValue
  3818. this.showtdzk = false
  3819. },
  3820. // 当前利用状况弹出框
  3821. onConfirmlyzk(value){
  3822. this.form.lyzkName = value.dictLabel
  3823. this.form.lyzk = value.dictValue
  3824. this.showlyzk = false
  3825. },
  3826. // 数据来源弹出框
  3827. onConfirmsjly(value){
  3828. this.form.sjlyName = value.dictLabel
  3829. this.form.sjly = value.dictValue
  3830. this.showsjly = false
  3831. },
  3832. // 自然幢数据里来源弹出框
  3833. onConfirmzrzsjly(value){
  3834. this.form3.sjlyName = value.dictLabel
  3835. this.form3.sjly = value.dictValue
  3836. this.showzrzsjly = false
  3837. },
  3838. // 闲置开始时间弹出框
  3839. onConfirmxzkssj(val){
  3840. let year = val.getFullYear()
  3841. let month = val.getMonth() + 1
  3842. let day = val.getDate()
  3843. if (month >= 1 && month <= 9) { month = `0${month}` }
  3844. if (day >= 1 && day <= 9) { day = `0${day}` }
  3845. this.form.xzkssj = year+"-"+month+"-"+day
  3846. this.showPickerxzkssj= false
  3847. },
  3848. goBack(){
  3849. if(this.enterMap ==1){
  3850. this.$cookies.set("item",this.backMap);
  3851. this.$router.push({name:'homesteadList'});
  3852. } else {
  3853. this.$router.push({name:'homesteadList'});
  3854. }
  3855. },
  3856. showPopupnh(){
  3857. this.shownh = true;
  3858. let params = {
  3859. "deptId" : this.item.deptId
  3860. }
  3861. this.nhform={
  3862. "suyqrdm":null,
  3863. "deptId":this.item.deptId,
  3864. "hzzjlx":'01',
  3865. "hzzjlxName":"身份证",
  3866. "hyzk":'02',
  3867. "occupation":'1',
  3868. "occupationName":'务农',
  3869. "jzqk":'3',
  3870. "jzqkName":'常年居住',
  3871. "jzhcssfyzf":'1',
  3872. "jzhcssfyzfName":'无住房',
  3873. "zqtczsfyzf":'Y',
  3874. "sfbccm":'Y',
  3875. "sfpkh":'N',
  3876. "sfwbh":'N',
  3877. "sjly":'07',
  3878. "sjlyName":'农村集体产权制度改革',
  3879. }
  3880. listSuyqr(params).then((response) => {
  3881. if(response.rows.length>0){
  3882. this.nhform.suyqrdm = response.rows[0].suyqrdm
  3883. }else{
  3884. this.nhform.suyqrdm = this.form.suyqrdm
  3885. }
  3886. });
  3887. },
  3888. getZjd() {
  3889. let _this = this
  3890. if(this.item.zjddm){
  3891. let params = {
  3892. "zjddm":this.item.zjddm,
  3893. deptId:this.item.deptId
  3894. }
  3895. listZjdzd(params).then(response => {
  3896. this.form = response.rows[0];
  3897. console.log(this.form)
  3898. if(this.form.sffz==null||this.form.sffz==""){
  3899. this.form.sffz = "Y"
  3900. }
  3901. if(this.form.yt==null||this.form.yt==""){
  3902. this.form.yt = "072"
  3903. this.form.ytmc="农村宅基地"
  3904. }
  3905. if(this.form.lyzk==null||this.form.lyzk==""){
  3906. this.form.lyzk = "1"
  3907. this.form.lyzkName="正常使用"
  3908. }
  3909. if(this.form.lzyx==null||this.form.lzyx==""){
  3910. this.form.lzyx = "0"
  3911. }
  3912. if(this.form.yctcyx==null||this.form.yctcyx==""){
  3913. this.form.yctcyx = "0"
  3914. }
  3915. if(this.form.bccjl==null||this.form.bccjl==""){
  3916. this.form.bccjl = "0"
  3917. }
  3918. if(this.form.zjdqdfs==null||this.form.zjdqdfs==""){
  3919. this.form.zjdqdfs = "01"
  3920. }
  3921. if(this.form.dj==null||this.form.dj==""){
  3922. this.form.dj = "1"
  3923. this.form.djName = "一类"
  3924. }
  3925. if(this.form.qllx==null||this.form.qllx==""){
  3926. this.form.qllx = "1"
  3927. this.form.qllxName = "集体土地所有权"
  3928. }
  3929. if(this.form.qlxz==null||this.form.qlxz==""){
  3930. this.form.qlxz = "200"
  3931. this.form.qlxzName = "集体土地"
  3932. }
  3933. if(this.form.qlsdfs==null||this.form.qlsdfs==""){
  3934. this.form.qlsdfs = "1"
  3935. this.form.qlsdfsName = "地上"
  3936. }
  3937. if(this.form.sjly==null||this.form.sjly==""){
  3938. this.form.sjly = "04"
  3939. this.form.sjlyName = "农村宅基地使用权确权登记发证"
  3940. }else{
  3941. console.log(this.form.sjly)
  3942. this.sjlyOptions.map(res => {
  3943. if(res.dictValue == this.form.sjly){
  3944. this.form.sjlyName = res.dictLabel
  3945. }
  3946. })
  3947. }
  3948. this.fileListzjd = []
  3949. if(this.form.zjdxctp!=null&&this.form.zjdxctp!=""&&this.form.zjdxctp.length>0){
  3950. let li = this.form.zjdxctp.split(",");
  3951. li.map(res => {
  3952. this.fileListzjd.push({"url":this.baseUrl+res,"baseUrl":res})
  3953. })
  3954. }
  3955. this.lyzkOptions.map(res => {
  3956. if(res.dictValue == this.form.lyzk){
  3957. this.form.lyzkName = res.dictLabel
  3958. }
  3959. })
  3960. this.qllxOptions.map(res => {
  3961. if(res.dictValue == this.form.qllx){
  3962. this.form.qllxName = res.dictLabel
  3963. }
  3964. })
  3965. this.qlxzOptions.map(res => {
  3966. if(res.dictValue == this.form.qlxz){
  3967. this.form.qlxzName = res.dictLabel
  3968. }
  3969. })
  3970. this.qlsdfsOptions.map(res => {
  3971. if(res.dictValue == this.form.qlsdfs){
  3972. this.form.qlsdfsName = res.dictLabel
  3973. }
  3974. })
  3975. this.ytOptions.map(res => {
  3976. if(res.dictValue == this.form.yt){
  3977. this.form.ytmc = res.dictLabel
  3978. }
  3979. })
  3980. this.tddjOptions.map(res => {
  3981. if(res.dictValue == this.form.dj){
  3982. this.form.djName = res.dictLabel
  3983. }
  3984. })
  3985. });
  3986. }else{
  3987. let params = {
  3988. "deptId" : this.item.deptId
  3989. }
  3990. listSuyqr(params).then((response) => {
  3991. this.form = {
  3992. deptId :this.item.deptId,
  3993. sffz:"Y",
  3994. yt:"072",
  3995. ytName:"农村宅基地",
  3996. lyzk:"1",
  3997. lyzkName:"正常使用",
  3998. lzyx:'0',
  3999. yctcyx:'0',
  4000. bccjl:'0',
  4001. zjdqdfs:'01',
  4002. dj:'1',
  4003. djName:'一类',
  4004. qllx:'1',
  4005. qllxName:'集体土地所有权',
  4006. qlxz:'200',
  4007. qlxzName:'集体土地',
  4008. qlsdfs:'1',
  4009. qlsdfsName:'地上',
  4010. sjly:'04',
  4011. sjlyName:'农村宅基地使用权确权登记发证'
  4012. }
  4013. if(response.rows.length>0){
  4014. this.form.suyqrdm = response.rows[0].suyqrdm
  4015. }
  4016. });
  4017. }
  4018. },
  4019. getSyqrList() {
  4020. if(this.item.zjddm!=null||this.form.zjddm!=null) {
  4021. let params = {
  4022. "zjddm":this.item.zjddm?this.item.zjddm:this.form.zjddm,
  4023. deptId:this.item.deptId
  4024. }
  4025. listShyqr(params).then(response => {
  4026. this.syqrlist = response.rows;
  4027. });
  4028. }
  4029. },
  4030. getZrzList() {
  4031. if(this.item.zjddm!=null||this.form.zjddm!=null) {
  4032. let params = {
  4033. "zjddm":this.item.zjddm?this.item.zjddm:this.form.zjddm,
  4034. deptId:this.item.deptId
  4035. }
  4036. listZrz(params).then(response => {
  4037. this.zrzlist = response.rows;
  4038. });
  4039. /*listNmfw(params).then(r => {
  4040. this.fwlist = r.rows
  4041. })*/
  4042. }
  4043. },
  4044. getFsssList() {
  4045. if(this.item.zjddm!=null||this.form.zjddm!=null) {
  4046. let params = {
  4047. "zjddm":this.item.zjddm?this.item.zjddm:this.form.zjddm,
  4048. deptId:this.item.deptId
  4049. }
  4050. listFsss(params).then(response => {
  4051. this.fssslist = response.rows;
  4052. });
  4053. }
  4054. },
  4055. onSubmithncy(){
  4056. if (this.form5.id != null) {
  4057. updateNhhncy(this.form5).then(response => {
  4058. let _this =this
  4059. this.$toast({
  4060. icon: 'success', // 找到自己需要的图标
  4061. message: '修改成功',
  4062. duration:"1000",
  4063. onClose:function(){
  4064. _this.showhncy = false
  4065. let params = {
  4066. "nhdm":_this.form5.nhdm,
  4067. deptId:this.item.deptId
  4068. }
  4069. listNhhncy(params).then((response) => {
  4070. _this.hncylist = response.rows
  4071. })
  4072. }
  4073. })
  4074. });
  4075. } else {
  4076. addNhhncy(this.form5).then(response => {
  4077. let _this =this
  4078. this.$toast({
  4079. icon: 'success', // 找到自己需要的图标
  4080. message: '保存成功',
  4081. duration:"1000",
  4082. onClose:function(){
  4083. _this.showhncy = false
  4084. let params = {
  4085. "nhdm":_this.form5.nhdm,
  4086. deptId:this.item.deptId
  4087. }
  4088. listNhhncy(params).then((response) => {
  4089. _this.hncylist = response.rows
  4090. })
  4091. }
  4092. })
  4093. });
  4094. }
  4095. },
  4096. onSubmitsyqr(){
  4097. if(this.form.id==null||this.form.id==""){
  4098. Notify({ type: 'danger', message: '请先保存宅基地信息' });
  4099. }else{
  4100. if (this.form1.id != null) {
  4101. updateShyqr(this.form1).then(response => {
  4102. let _this =this
  4103. this.$toast({
  4104. icon: 'success', // 找到自己需要的图标
  4105. message: '修改成功',
  4106. duration:"1000",
  4107. onClose:function(){
  4108. _this.showsyqr = false
  4109. _this.active = 2
  4110. _this.getSyqrList()
  4111. }
  4112. })
  4113. });
  4114. } else {
  4115. addShyqr(this.form1).then(response => {
  4116. let _this =this
  4117. this.$toast({
  4118. icon: 'success', // 找到自己需要的图标
  4119. message: '保存成功',
  4120. duration:"1000",
  4121. onClose:function(){
  4122. _this.showsyqr = false
  4123. _this.active = 2
  4124. _this.getSyqrList()
  4125. }
  4126. })
  4127. });
  4128. }
  4129. }
  4130. },
  4131. onSubmitnmfw(){
  4132. if (this.nmfwform.id != null) {
  4133. updateNmfw(this.nmfwform).then(response => {
  4134. let _this =this
  4135. this.$toast({
  4136. icon: 'success', // 找到自己需要的图标
  4137. message: '修改成功',
  4138. duration:"1000",
  4139. onClose:function(){
  4140. _this.showfw = false
  4141. }
  4142. })
  4143. });
  4144. } else {
  4145. addNmfw(this.nmfwform).then(response => {
  4146. console.log(this.nmfwform)
  4147. let _this =this
  4148. this.$toast({
  4149. icon: 'success', // 找到自己需要的图标
  4150. message: '保存成功',
  4151. duration:"1000",
  4152. onClose:function(){
  4153. _this.showfw = false
  4154. _this.shownmfwlist(_this.nmfwform);
  4155. }
  4156. })
  4157. });
  4158. }
  4159. },
  4160. // 户主保存
  4161. onSubmitnh(){
  4162. this.nhform.deptId = this.item.deptId
  4163. addNh(this.nhform).then(
  4164. response => {
  4165. let _this =this
  4166. this.$toast({
  4167. icon: 'success', // 找到自己需要的图标
  4168. message: '保存成功',
  4169. duration:"1000",
  4170. onClose:function(){
  4171. _this.shownh = false
  4172. }
  4173. })
  4174. }
  4175. );
  4176. },
  4177. // 自然幢保存
  4178. onSubmitzrz(){
  4179. if (this.form3.id != null) {
  4180. updateZrz(this.form3).then(response => {
  4181. let _this =this
  4182. this.$toast({
  4183. icon: 'success', // 找到自己需要的图标
  4184. message: '修改成功',
  4185. duration:"1000",
  4186. onClose:function(){
  4187. _this.showzrz = false
  4188. _this.active = 3
  4189. _this.getZrzList()
  4190. }
  4191. })
  4192. });
  4193. } else {
  4194. addZrz(this.form3).then(response => {
  4195. let _this =this
  4196. this.$toast({
  4197. icon: 'success', // 找到自己需要的图标
  4198. message: '保存成功',
  4199. duration:"1000",
  4200. onClose:function(){
  4201. _this.showzrz = false
  4202. _this.active = 3
  4203. _this.getZrzList()
  4204. }
  4205. })
  4206. });
  4207. }
  4208. },
  4209. // 附属设施保存
  4210. onSubmitfsss(){
  4211. if (this.form4.id != null) {
  4212. updateFsss(this.form4).then(response => {
  4213. let _this =this
  4214. this.$toast({
  4215. icon: 'success', // 找到自己需要的图标
  4216. message: '修改成功',
  4217. duration:"1000",
  4218. onClose:function(){
  4219. _this.showfsss = false;
  4220. _this.getFsssList()
  4221. }
  4222. })
  4223. });
  4224. } else {
  4225. addFsss(this.form4).then(response => {
  4226. let _this =this
  4227. this.$toast({
  4228. icon: 'success', // 找到自己需要的图标
  4229. message: '保存成功',
  4230. duration:"1000",
  4231. onClose:function(){
  4232. _this.showfsss = false;
  4233. _this.getFsssList()
  4234. }
  4235. })
  4236. });
  4237. }
  4238. },
  4239. onSubmitzjd(){
  4240. if (this.form.id != null) {
  4241. updateZjdzd(this.form).then(response => {
  4242. this.$cookies.set("search",this.form);
  4243. let _this =this
  4244. this.$toast({
  4245. icon: 'success', // 找到自己需要的图标
  4246. message: '修改成功',
  4247. duration:"1000",
  4248. onClose:function(){
  4249. _this.active = 2
  4250. }
  4251. })
  4252. });
  4253. } else {
  4254. addZjdzd(this.form).then(response => {
  4255. this.$cookies.set("search",this.form);
  4256. this.form = response.data
  4257. let _this =this
  4258. this.$toast({
  4259. icon: 'success', // 找到自己需要的图标
  4260. message: '保存成功',
  4261. duration:"1000",
  4262. onClose:function(){
  4263. _this.active = 2
  4264. }
  4265. })
  4266. });
  4267. }
  4268. },
  4269. showPopupsyqr(item) {
  4270. if(this.form.id==null||this.form.id==""){
  4271. Notify({ type: 'danger', message: '请先保存宅基地信息' });
  4272. }else{
  4273. if(item==""){
  4274. this.form1={
  4275. zjddm:this.form.zjddm,
  4276. suyqrdm:this.form.suyqrdm,
  4277. deptId:this.item.deptId,
  4278. gj:'1',
  4279. hklx:'1',
  4280. xb:'1',
  4281. sfbncjtjjzzcy:'Y',
  4282. sfsyqrzjgy:'Y',
  4283. qlrlx:'10',
  4284. qlrlxName:'个人',
  4285. gyfs:'1',
  4286. gyfsName:'单独所有',
  4287. qlbl:'1',
  4288. hjszss:"150000",
  4289. hjszssName:"内蒙古自治区",
  4290. }
  4291. }else{
  4292. this.form1 = item
  4293. if(this.form1.gj==null||this.form1.gj==""){
  4294. this.form1.gj = '1'
  4295. }
  4296. if(this.form1.hklx==null||this.form1.hklx==""){
  4297. this.form1.hklx = '1'
  4298. }
  4299. if(this.form1.xb==null||this.form1.xb==""){
  4300. this.form1.xb = '1'
  4301. }
  4302. if(this.form1.sfbncjtjjzzcy==null||this.form1.sfbncjtjjzzcy==""){
  4303. this.form1.sfbncjtjjzzcy = 'Y'
  4304. }
  4305. if(this.form1.sfsyqrzjgy==null||this.form1.sfsyqrzjgy==""){
  4306. this.form1.sfsyqrzjgy = 'Y'
  4307. }
  4308. if(this.form1.qlrlx==null||this.form1.qlrlx==""){
  4309. this.form1.qlrlx = 'Y'
  4310. this.form1.qlrlxName = '个人'
  4311. }
  4312. if(this.form1.gyfs==null||this.form1.gyfs==""){
  4313. this.form1.gyfs = '1'
  4314. this.form1.gyfsName = '单独所有'
  4315. }
  4316. if(this.form1.qlbl==null||this.form1.qlbl==""){
  4317. this.form1.qlbl = '1'
  4318. }
  4319. if(this.form1.hjszss==null||this.form1.hjszss==""){
  4320. this.form1.hjszss = '150000'
  4321. this.form1.hjszssName = '内蒙古自治区'
  4322. }
  4323. this.industryOptions.map(res => {
  4324. if(res.dictValue == this.form1.sshy){
  4325. this.form1.sshyName = res.dictLabel
  4326. }
  4327. })
  4328. this.sjlyOptions.map(res => {
  4329. if(res.dictValue == this.form1.sjly){
  4330. this.form1.sjlyName = res.dictLabel
  4331. }
  4332. })
  4333. this.zjlxOptions.map(res => {
  4334. if(res.dictValue == this.form1.shyqrdbzjlx){
  4335. this.form1.shyqrdbzjlxName = res.dictLabel
  4336. }
  4337. })
  4338. this.qlrlxOptions.map(res => {
  4339. if(res.dictValue == this.form1.qlrlx){
  4340. this.form1.qlrlxName = res.dictLabel
  4341. }
  4342. })
  4343. this.gyfsOptions.map(res => {
  4344. if(res.dictValue == this.form1.gyfs){
  4345. this.form1.gyfsName = res.dictLabel
  4346. }
  4347. })
  4348. }
  4349. this.showsyqr = true;
  4350. }
  4351. },
  4352. showPopuphncy(item){
  4353. if(item==""){
  4354. this.form5 = {
  4355. "nhdm":this.form1.nhdm,
  4356. "deptId":this.form1.deptId,
  4357. "zjlx":'01',
  4358. "zjlxName":"身份证",
  4359. "yhzgx":"14",
  4360. "yhzgxName":"妻",
  4361. "hyzk":'02',
  4362. "hklx":'1',
  4363. "occupation":'1',
  4364. "occupationName":'务农',
  4365. "jzqk":'3',
  4366. "jzqkName":'常年居住',
  4367. "sfbjtjjzzcy":'Y',
  4368. "xb":'0',
  4369. "sfbccm":'Y',
  4370. "sfpkh":'N',
  4371. "sfwbh":'N',
  4372. "sjly":'07',
  4373. "sjlyName":'农村集体产权制度改革',
  4374. }
  4375. }else{
  4376. this.form5 = item
  4377. if(this.form5.nhdm==null||this.form5.nhdm==""){
  4378. this.form5.nhdm = this.nhform.nhdm
  4379. }
  4380. if(this.form5.deptId==null||this.form5.deptId==""){
  4381. this.form5.deptId = this.nhform.deptId
  4382. }
  4383. if(this.form5.zjlx==null||this.form5.zjlx==""){
  4384. this.form5.zjlx = "01"
  4385. this.form5.zjlxName = "身份证"
  4386. }
  4387. if(this.form5.yhzgx==null||this.form5.yhzgx==""){
  4388. this.form5.yhzgx = "14"
  4389. this.form5.yhzgxName = "妻"
  4390. }
  4391. if(this.form5.hyzk==null||this.form5.hyzk==""){
  4392. this.form5.hyzk = "02"
  4393. }
  4394. if(this.form5.hklx==null||this.form5.hklx==""){
  4395. this.form5.hklx = "1"
  4396. }
  4397. if(this.form5.occupation==null||this.form5.occupation==""){
  4398. this.form5.occupation = "1"
  4399. this.form5.occupationName = "务农"
  4400. }
  4401. if(this.form5.jzqk==null||this.form5.jzqk==""){
  4402. this.form5.jzqk = "3"
  4403. this.form5.jzqkName = "常年居住"
  4404. }
  4405. if(this.form5.sfbjtjjzzcy==null||this.form5.sfbjtjjzzcy==""){
  4406. this.form5.sfbjtjjzzcy = "Y"
  4407. }
  4408. if(this.form5.xb==null||this.form5.xb==""){
  4409. this.form5.xb = "0"
  4410. }
  4411. if(this.form5.sfbccm==null||this.form5.sfbccm==""){
  4412. this.form5.sfbccm = "Y"
  4413. }
  4414. if(this.form5.sfpkh==null||this.form5.sfpkh==""){
  4415. this.form5.sfpkh = "N"
  4416. }
  4417. if(this.form5.sfwbh==null||this.form5.sfwbh==""){
  4418. this.form5.sfwbh = "N"
  4419. }
  4420. if(this.form5.sjly==null||this.form5.sjly==""){
  4421. this.form5.sjly = "07"
  4422. this.form5.sjlyName = "农村集体产权制度改革"
  4423. }
  4424. this.jzhcssfyzfOptions.map(res => {
  4425. if(res.dictValue == item.jzhcssfyzf){
  4426. this.form5.jzhcssfyzfName = res.dictLabel
  4427. }
  4428. })
  4429. this.zjlxOptions.map(res => {
  4430. if(res.dictValue == item.zjlx){
  4431. this.form5.zjlxName = res.dictLabel
  4432. }
  4433. })
  4434. this.occupationOptions.map(res => {
  4435. if(res.dictValue == item.occupation){
  4436. this.form5.occupationName = res.dictLabel
  4437. }
  4438. })
  4439. this.jzqkOptions.map(res => {
  4440. if(res.dictValue == item.jzqk){
  4441. this.form5.jzqkName = res.dictLabel
  4442. }
  4443. })
  4444. this.yhzgxOptions.map(res => {
  4445. if(res.dictValue == item.yhzgx){
  4446. this.form5.yhzgxName = res.dictLabel
  4447. }
  4448. })
  4449. this.cybzOptions.map(res => {
  4450. if(res.dictValue == item.cybz){
  4451. this.form5.cybzName = res.dictLabel
  4452. }
  4453. })
  4454. this.sjlyOptions.map(res => {
  4455. if(res.dictValue == item.sjly){
  4456. this.form5.sjlyName = res.dictLabel
  4457. }
  4458. })
  4459. }
  4460. this.showhncy = true
  4461. },
  4462. showPopupzrz(item) {
  4463. console.log(item)
  4464. if(this.form.id==null||this.form.id==""){
  4465. Notify({ type: 'danger', message: '请先保存宅基地信息' });
  4466. }else{
  4467. if(item==""){
  4468. this.form3={
  4469. zjddm:this.item.zjddm?this.item.zjddm:this.form.zjddm,
  4470. deptId:this.item.deptId?this.item.deptId:this.form.deptId,
  4471. zcs:"1",
  4472. dscs:"1",
  4473. dxcs:"0",
  4474. fwjg:'02',
  4475. fwjgName:'钢和钢筋混凝土结构',
  4476. sjly:'04',
  4477. sjlyName:'农村宅基地使用权确权登记发证',
  4478. theGeom:this.form3.theGeom,
  4479. }
  4480. }else{
  4481. this.form3 = item
  4482. if(this.form3.zcs==null||this.form3.zcs==""){
  4483. this.form3.zcs = "1"
  4484. }
  4485. if(this.form3.dscs==null||this.form3.dscs==""){
  4486. this.form3.dscs = "1"
  4487. }
  4488. if(this.form3.dscs==null||this.form3.dscs==""){
  4489. this.form3.dscs = "0"
  4490. }
  4491. if(this.form3.fwjg==null||this.form3.fwjg==""){
  4492. this.form3.fwjg = "02"
  4493. this.form3.fwjgName = "钢和钢筋混凝土结构"
  4494. }
  4495. if(this.form3.sjly==null||this.form3.sjly==""){
  4496. this.form3.sjly = "04"
  4497. this.form3.sjlyName = "农村宅基地使用权确权登记发证"
  4498. }
  4499. if(this.form3.sjly!=null){
  4500. this.sjlyOptions.map(res => {
  4501. if(res.dictValue == this.form3.sjly){
  4502. this.form3.sjlyName = res.dictLabel
  4503. }
  4504. })
  4505. }
  4506. if(this.form3.fwjg!=null){
  4507. this.fwjgOptions.map(res => {
  4508. if(res.dictValue == this.form3.fwjg){
  4509. this.form3.fwjgName = res.dictLabel
  4510. }
  4511. })
  4512. }
  4513. }
  4514. this.showzrz = true;
  4515. this.active = 3;
  4516. this.mapClickLoading();
  4517. }
  4518. },
  4519. showPopupfw(item) {
  4520. if(this.form.id==null||this.form.id==""){
  4521. Notify({ type: 'danger', message: '请先保存宅基地信息' });
  4522. }else{
  4523. this.showfw = true;
  4524. if(item==""){
  4525. this.nmfwform={
  4526. zrzh: this.zrzh,
  4527. deptId : this.item.deptId?this.item.deptId:this.form.deptId,
  4528. zjddm : this.item.zjddm?this.item.zjddm:this.form.zjddm,
  4529. nmfwzh : null,
  4530. ch:"1",
  4531. sjc:"1",
  4532. myc:"1",
  4533. sjcs:"1",
  4534. hx:'03',
  4535. hxName:'三居室',
  4536. hxjg:'01',
  4537. hxjgName:'平层',
  4538. fwjg:'02',
  4539. fwjgName:'钢和钢筋混凝土结构',
  4540. fwyt:'10',
  4541. fwytName:'住宅',
  4542. sfjf:'N',
  4543. sfcf:'N',
  4544. sffz:'Y',
  4545. isCommon:'N',
  4546. fwzt:'01',
  4547. fwztName:'正常',
  4548. isMortgage:'Y',
  4549. sjly:'04',
  4550. sjlyName:'农村宅基地使用权确权登记发证',
  4551. fwlx:'01',
  4552. fwlxName:'住宅',
  4553. lyzk:'1',
  4554. lyzkName:'正常使用',
  4555. lzyx:'0',
  4556. yctcyx:'0',
  4557. qsly:'01',
  4558. qslyName:'申请',
  4559. sfkjgj:'N',
  4560. pzdw:'1',
  4561. }
  4562. }else{
  4563. this.nmfwform = item
  4564. if(this.nmfwform.sfkjgj==null||this.nmfwform.sfkjgj==""){
  4565. this.nmfwform.sfkjgj = "N"
  4566. }
  4567. if(this.nmfwform.qsly==null||this.nmfwform.qsly==""){
  4568. this.nmfwform.qsly = "01"
  4569. this.nmfwform.qslyName = "申请"
  4570. }
  4571. if(this.nmfwform.yctcyx==null||this.nmfwform.yctcyx==""){
  4572. this.nmfwform.yctcyx = "0"
  4573. }
  4574. if(this.nmfwform.lzyx==null||this.nmfwform.lzyx==""){
  4575. this.nmfwform.lzyx = "0"
  4576. }
  4577. if(this.nmfwform.lyzk==null||this.nmfwform.lyzk==""){
  4578. this.nmfwform.lyzk = "1"
  4579. this.nmfwform.lyzkName = "正常使用"
  4580. }
  4581. if(this.nmfwform.fwlx==null||this.nmfwform.fwlx==""){
  4582. this.nmfwform.fwlx = "01"
  4583. this.nmfwform.fwlxName = "住宅"
  4584. }
  4585. if(this.nmfwform.sjly==null||this.nmfwform.sjly==""){
  4586. this.nmfwform.sjly = "04"
  4587. this.nmfwform.sjlyName = "农村宅基地使用权确权登记发证"
  4588. }
  4589. if(this.nmfwform.isMortgage==null||this.nmfwform.isMortgage==""){
  4590. this.nmfwform.isMortgage = "Y"
  4591. }
  4592. if(this.nmfwform.fwzt==null||this.nmfwform.fwzt==""){
  4593. this.nmfwform.fwzt = "01"
  4594. this.nmfwform.fwztName = "正常"
  4595. }
  4596. if(this.nmfwform.pzdw==null||this.nmfwform.pzdw==""){
  4597. this.nmfwform.pzdw = "1"
  4598. }
  4599. if(this.nmfwform.sfkjgj==null||this.nmfwform.sfkjgj==""){
  4600. this.nmfwform.sfkjgj = "N"
  4601. }
  4602. if(this.nmfwform.zrzh==null||this.nmfwform.zrzh==""){
  4603. this.nmfwform.zrzh = this.item.zrzh
  4604. }
  4605. if(this.nmfwform.deptId==null||this.nmfwform.deptId==""){
  4606. this.nmfwform.deptId = this.item.deptId
  4607. }
  4608. if(this.nmfwform.zjddm==null||this.nmfwform.zjddm==""){
  4609. this.nmfwform.zjddm = this.item.zjddm
  4610. }
  4611. if(this.nmfwform.nmfwzh==null||this.nmfwform.nmfwzh==""){
  4612. this.nmfwform.nmfwzh = this.item.nmfwzh
  4613. }
  4614. if(this.nmfwform.ch==null||this.nmfwform.ch==""){
  4615. this.nmfwform.ch = "1"
  4616. }
  4617. if(this.nmfwform.sjc==null||this.nmfwform.sjc==""){
  4618. this.nmfwform.sjc = "1"
  4619. }
  4620. if(this.nmfwform.myc==null||this.nmfwform.myc==""){
  4621. this.nmfwform.myc = "1"
  4622. }
  4623. if(this.nmfwform.sjcs==null||this.nmfwform.sjcs==""){
  4624. this.nmfwform.sjcs = "1"
  4625. }
  4626. if(this.nmfwform.hx==null||this.nmfwform.hx==""){
  4627. this.nmfwform.hx = "03"
  4628. this.nmfwform.hxName = "三居室"
  4629. }
  4630. if(this.nmfwform.hxjg==null||this.nmfwform.hxjg==""){
  4631. this.nmfwform.hxjg = "01"
  4632. this.nmfwform.hxjgName = "平层"
  4633. }
  4634. if(this.nmfwform.fwjg==null||this.nmfwform.fwjg==""){
  4635. this.nmfwform.fwjg = "02"
  4636. this.nmfwform.fwjgName = "钢和钢筋混凝土结构"
  4637. }
  4638. if(this.nmfwform.fwyt==null||this.nmfwform.fwyt==""){
  4639. this.nmfwform.fwyt = "10"
  4640. this.nmfwform.fwytName = "住宅"
  4641. }
  4642. if(this.nmfwform.sfjf==null||this.nmfwform.sfjf==""){
  4643. this.nmfwform.sfjf = "N"
  4644. }
  4645. if(this.nmfwform.sfcf==null||this.nmfwform.sfcf==""){
  4646. this.nmfwform.sfcf = "N"
  4647. }
  4648. if(this.nmfwform.sffz==null||this.nmfwform.sffz==""){
  4649. this.nmfwform.sffz = "Y"
  4650. }
  4651. if(this.nmfwform.isCommon==null||this.nmfwform.isCommon==""){
  4652. this.nmfwform.isCommon = "N"
  4653. }
  4654. this.sjlyOptions.map(res => {
  4655. if(res.dictValue == item.sjly){
  4656. this.nmfwform.sjlyName = res.dictLabel
  4657. }
  4658. })
  4659. this.hxjgOptions.map(res => {
  4660. if(res.dictValue == item.hxjg){
  4661. this.nmfwform.hxjgName = res.dictLabel
  4662. }
  4663. })
  4664. this.hxOptions.map(res => {
  4665. if(res.dictValue == item.hx){
  4666. this.nmfwform.hxName = res.dictLabel
  4667. }
  4668. })
  4669. this.fwjgOptions.map(res => {
  4670. if(res.dictValue == item.fwjg){
  4671. this.nmfwform.fwjgName = res.dictLabel
  4672. }
  4673. })
  4674. this.fwytOptions.map(res => {
  4675. if(res.dictValue == item.fwyt){
  4676. this.nmfwform.fwytName = res.dictLabel
  4677. }
  4678. })
  4679. this.tdzkOptions.map(res => {
  4680. if(res.dictValue == item.tdzk){
  4681. this.nmfwform.tdzkName = res.dictLabel
  4682. }
  4683. })
  4684. this.pzsjOptions.map(res => {
  4685. if(res.dictValue == item.pzsj){
  4686. this.nmfwform.pzsjName = res.dictLabel
  4687. }
  4688. })
  4689. this.phlymsOptions.map(res => {
  4690. if(res.dictValue == item.phlyms){
  4691. this.nmfwform.phlymsName = res.dictLabel
  4692. }
  4693. })
  4694. this.fwlxOptions.map(res => {
  4695. if(res.dictValue == item.fwlx){
  4696. this.nmfwform.fwlxName = res.dictLabel
  4697. }
  4698. })
  4699. this.lyzkOptions.map(res => {
  4700. if(res.dictValue == item.lyzk){
  4701. this.nmfwform.lyzkName = res.dictLabel
  4702. }
  4703. })
  4704. this.fwztOptions.map(res => {
  4705. if(res.dictValue == item.fwzt){
  4706. this.nmfwform.fwztName = res.dictLabel
  4707. }
  4708. })
  4709. this.qslyOptions.map(res => {
  4710. if(res.dictValue == item.qsly){
  4711. this.nmfwform.qslyName = res.dictLabel
  4712. }
  4713. })
  4714. }}
  4715. },
  4716. showPopuphncylist(item){
  4717. if(item.nhdm==null||item.nhdm==""){
  4718. Notify({ type: 'danger', message: '使用权人农户代码不能为空' });
  4719. }else{
  4720. this.showhncylist = true;
  4721. if(item==""){
  4722. this.hncylist=[]
  4723. }else{
  4724. this.hncylist=[]
  4725. let params = {
  4726. "nhdm":item.nhdm,
  4727. deptId:this.item.deptId
  4728. }
  4729. listNhhncy(params).then((response) => {
  4730. this.hncylist = response.rows
  4731. })
  4732. }
  4733. }
  4734. },
  4735. showPopupfsss(item) {if(this.form.id==null||this.form.id==""){
  4736. Notify({ type: 'danger', message: '请先保存宅基地信息' });
  4737. }else{
  4738. if(item==""){
  4739. this.form4={
  4740. deptId:this.item.deptId?this.item.deptId:this.form.deptId,
  4741. zjddm:this.item.zjddm?this.item.zjddm:this.form.zjddm,
  4742. fssslx:'11',
  4743. fssslxName:'畜厩',
  4744. qsly:'99',
  4745. qslyName:'其他',
  4746. fwzt:'01',
  4747. fwztName:'正常',
  4748. sfsp:'N',
  4749. sffz:'N',
  4750. jglx:'2',
  4751. jglxName:'砖混',
  4752. sfzzsy:'Y',
  4753. jzwqk:'01',
  4754. jzwqkName:'正常',
  4755. tdzk:'3',
  4756. tdzkName:'其他',
  4757. sfsgcf:'N',
  4758. theGeom:this.form4.theGeom,
  4759. }
  4760. }else{
  4761. this.form4=item
  4762. if(this.form4.fssslx==null||this.form4.fssslx==""){
  4763. this.form4.fssslx = "11"
  4764. this.form4.fssslxName = "畜厩"
  4765. }
  4766. if(this.form4.qsly==null||this.form4.qsly==""){
  4767. this.form4.qsly = "99"
  4768. this.form4.qslyName = "其他"
  4769. }
  4770. if(this.form4.fwzt==null||this.form4.fwzt==""){
  4771. this.form4.fwzt = "01"
  4772. this.form4.fwztName = "正常"
  4773. }
  4774. if(this.form4.sfsp==null||this.form4.sfsp==""){
  4775. this.form4.sfsp = "N"
  4776. }
  4777. if(this.form4.sffz==null||this.form4.sffz==""){
  4778. this.form4.sffz = "N"
  4779. }
  4780. if(this.form4.jglx==null||this.form4.jglx==""){
  4781. this.form4.jglx = "2"
  4782. this.form4.jglxName = "砖混"
  4783. }
  4784. if(this.form4.sfzzsy==null||this.form4.sfzzsy==""){
  4785. this.form4.sfzzsy = "Y"
  4786. }
  4787. if(this.form4.jzwqk==null||this.form4.jzwqk==""){
  4788. this.form4.jzwqk = "01"
  4789. this.form4.jzwqkName = "正常"
  4790. }
  4791. if(this.form4.tdzk==null||this.form4.tdzk==""){
  4792. this.form4.tdzk = "3"
  4793. this.form4.tdzkName = "其他"
  4794. }
  4795. if(this.form4.sfsgcf==null||this.form4.sfsgcf==""){
  4796. this.form4.sfsgcf = "N"
  4797. }
  4798. if(this.form4.theGeom==null||this.form4.theGeom==""){
  4799. this.form4.theGeom = this.form4.theGeom
  4800. }
  4801. this.fssslxOptions.map(res => {
  4802. if(res.dictValue == item.fssslx){
  4803. this.form4.fssslxName = res.dictLabel
  4804. }
  4805. })
  4806. this.qslyOptions.map(res => {
  4807. if(res.dictValue == item.qsly){
  4808. this.form4.qslyName = res.dictLabel
  4809. }
  4810. })
  4811. this.fwztOptions.map(res => {
  4812. if(res.dictValue == item.fwzt){
  4813. this.form4.fwztName = res.dictLabel
  4814. }
  4815. })
  4816. this.jglxOptions.map(res => {
  4817. if(res.dictValue == item.jglx){
  4818. this.form4.jglxName = res.dictLabel
  4819. }
  4820. })
  4821. this.jzwqkOptions.map(res => {
  4822. if(res.dictValue == item.jzwqk){
  4823. this.form4.jzwqkName = res.dictLabel
  4824. }
  4825. })
  4826. this.tdzkOptions.map(res => {
  4827. if(res.dictValue == item.tdzk){
  4828. this.form4.tdzkName = res.dictLabel
  4829. }
  4830. })
  4831. }
  4832. this.showfsss = true;
  4833. this.active = 4;
  4834. this.mapClickLoading();
  4835. }
  4836. },
  4837. showPopup3() {
  4838. this.show3 = true;
  4839. this.mapClickLoading();
  4840. },
  4841. onSubmit(values) {
  4842. console.log('submit', values);
  4843. },
  4844. changeActive(){
  4845. if(this.active<4){
  4846. this.active+=1
  4847. }else{
  4848. this.active=1
  4849. }
  4850. },
  4851. changeActiveBack(){
  4852. if(this.active>1){
  4853. this.active-=1
  4854. if(this.active ==1){
  4855. this.mapClickLoading();
  4856. }
  4857. }else{
  4858. this.active=1
  4859. this.mapClickLoading();
  4860. }
  4861. },
  4862. // 清空画板
  4863. handleReset() {
  4864. this.resultImg = null
  4865. if(this.$refs.esign){
  4866. this.$refs.esign.reset();
  4867. }
  4868. },
  4869. // 图片上传前
  4870. beforeRead(file){
  4871. // 创建Canvas对象(画布)
  4872. let canvas = document.createElement('canvas')
  4873. // 获取对应的CanvasRenderingContext2D对象(画笔)
  4874. let context = canvas.getContext('2d')
  4875. // 创建新的图片对象
  4876. let img = new Image()
  4877. // 指定图片的DataURL(图片的base64编码数据)
  4878. img.src = file.content
  4879. // 监听浏览器加载图片完成,然后进行进行绘制
  4880. const height = 166
  4881. const width = 316
  4882. img.onload = () => {
  4883. const h = img.height
  4884. const w = img.width
  4885. let ch = img.height/2
  4886. let cw = img.width/2
  4887. let canvas = document.createElement('canvas')
  4888. let ctx = canvas.getContext('2d')
  4889. canvas.height = ch
  4890. canvas.width = cw
  4891. ctx.clearRect(0,0,cw,ch)
  4892. ctx.drawImage(img,0,0,cw,ch)
  4893. let base_img = canvas.toDataURL('image/jpeg')
  4894. const blobBin = atob(base_img.split(',')[1])
  4895. let d = []
  4896. for (let i=0;i<blobBin.length;i++){
  4897. d.push(blobBin.charCodeAt(i))
  4898. }
  4899. const data2 = new FormData();
  4900. data2.append("file", new Blob([new Uint8Array(d)],{type:'image/jpeg'}));
  4901. uploadFile(data2).then(res => {
  4902. if(this.form.zjdxctp!=null&&this.form.zjdxctp!=""){
  4903. this.form.zjdxctp = this.form.zjdxctp + "," + res.fileName
  4904. }else{
  4905. this.form.zjdxctp = res.fileName
  4906. }
  4907. })
  4908. }
  4909. },
  4910. // 生成签字图
  4911. handleGenerate() {
  4912. this.$refs.esign
  4913. .generate() // 使用生成器调用把签字的图片转换成为base64图片格式
  4914. .then((res) => {
  4915. this.resultImg = res;
  4916. if(this.$cookies.get("search").zjddm !="" && this.$cookies.get("search").zjddm !=undefined && this.$cookies.get("search").zjddm !=null){
  4917. updateZrzZt(this.$cookies.get("search").zjddm).then(response => {});
  4918. updateFsssZt(this.$cookies.get("search").zjddm).then(response => {});
  4919. }
  4920. })
  4921. .catch((err) => {
  4922. // 画布没有签字时会执行这里提示一下
  4923. this.$message({
  4924. type: "warning",
  4925. message: "请签名后再生成签字图片",
  4926. });
  4927. });
  4928. // 在这里向后端发请求把转换后的base64文件传给后端,后端接收以后再转换成图片做静态图片存储
  4929. // 当然也可以把base64转成流文件blob格式的,类似上传给后端这样,具体哪种方式看后端要求
  4930. setTimeout(() => {
  4931. // 这里要使用定时器稍微延后以后就能取到base64数据了,当然也可以再加一个确认按钮,如:确认使用这张base64签名图片
  4932. // 点击确认以后,在其回调函数中,再把base64的签名图片传给后端用于存储
  4933. const blobBin = atob(this.resultImg.split(',')[1])
  4934. let d = []
  4935. for (let i=0;i<blobBin.length;i++){
  4936. d.push(blobBin.charCodeAt(i))
  4937. }
  4938. const data2 = new FormData();
  4939. data2.append("file", new Blob([new Uint8Array(d)],{type:'image/jpeg'}));
  4940. uploadFile(data2).then(res => {
  4941. this.form.dzqm = res.fileName
  4942. this.form.houseDataConfirmStatus = "CONFIRMED"
  4943. if (this.form.id != null) {
  4944. updateZjdzd(this.form).then(response => {
  4945. let _this =this
  4946. this.$toast({
  4947. icon: 'success', // 找到自己需要的图标
  4948. message: '修改成功',
  4949. duration:"1000",
  4950. onClose:function(){
  4951. _this.goBack();
  4952. }
  4953. })
  4954. });
  4955. } else {
  4956. addZjdzd(this.form).then(response => {
  4957. let _this =this
  4958. this.$toast({
  4959. icon: 'success', // 找到自己需要的图标
  4960. message: '保存成功',
  4961. duration:"1000",
  4962. onClose:function(){
  4963. _this.goBack();
  4964. }
  4965. })
  4966. });
  4967. }
  4968. })
  4969. }, 200);
  4970. /*this.showesign = false;*/
  4971. },
  4972. searchCommit(){
  4973. this.showesign = true
  4974. if(this.form.dzqm!=null&&this.form.dzqm!=""){
  4975. this.resultImg = this.baseUrl+this.form.dzqm
  4976. }
  4977. },
  4978. searchCommit1(){
  4979. this.form.houseDataConfirmStatus = "CONFIRMED"
  4980. if (this.form.id != null) {
  4981. updateZjdzd(this.form).then(response => {
  4982. let _this =this
  4983. this.$toast({
  4984. icon: 'success', // 找到自己需要的图标
  4985. message: '修改成功',
  4986. duration:"1000",
  4987. onClose:function(){
  4988. _this.goBack();
  4989. }
  4990. })
  4991. });
  4992. } else {
  4993. addZjdzd(this.form).then(response => {
  4994. let _this =this
  4995. this.$toast({
  4996. icon: 'success', // 找到自己需要的图标
  4997. message: '保存成功',
  4998. duration:"1000",
  4999. onClose:function(){
  5000. _this.goBack();
  5001. }
  5002. })
  5003. });
  5004. }
  5005. },
  5006. //地图加载js------start
  5007. mapClickLoading(){
  5008. console.log(1)
  5009. console.log(this.form);
  5010. setTimeout(() => {
  5011. this.$refs.drewingClickLoading.drawingPaceCountryDarw();
  5012. }, 500);
  5013. },
  5014. /** 查找地图中定位点 */
  5015. MapTag: function (data) {
  5016. if(this.active =="1"){
  5017. this.form.theGeom = data;
  5018. }else if(this.active=="3"){
  5019. this.form3.theGeom = data;
  5020. }else if(this.active=="4"){
  5021. this.form4.theGeom = data;
  5022. } else {
  5023. }
  5024. },
  5025. //地图加载js------end
  5026. }
  5027. }
  5028. </script>
  5029. <style scoped>
  5030. >>> .bannerBg{
  5031. width: 100%;
  5032. color:#fff;
  5033. padding:10px;
  5034. background: linear-gradient(134deg,#7ac943 1%, #22b7f2);
  5035. }
  5036. >>> .van-hairline--bottom::after {
  5037. border-bottom-width: 0;
  5038. }
  5039. >>> .title:before
  5040. {
  5041. content:"";
  5042. width: 6px;
  5043. height: 32px;
  5044. background: #7ac943;
  5045. border-radius: 3px;
  5046. position:absolute;
  5047. left:0;
  5048. bottom:0;
  5049. }
  5050. >>> .delete-button {
  5051. height: 100%;
  5052. }
  5053. >>> .van-swipe-cell__wrapper{
  5054. margin-right:-1px;
  5055. }
  5056. </style>