移动端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

5987 lines
205 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.theGeom" @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(),showPic()">
  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. :min-date="minDate"
  250. :max-date="maxDate"
  251. />
  252. </van-popup>
  253. <van-field name="radio" label="流转意向" input-align="right" autocomplete="off">
  254. <template #input>
  255. <van-radio-group v-model="form.lzyx" direction="horizontal">
  256. <van-radio name="1">有</van-radio>
  257. <van-radio name="0">无</van-radio>
  258. </van-radio-group>
  259. </template>
  260. </van-field>
  261. <van-field name="radio" label="有偿退出意向" input-align="right" autocomplete="off">
  262. <template #input>
  263. <van-radio-group v-model="form.yctcyx" direction="horizontal">
  264. <van-radio name="1">有</van-radio>
  265. <van-radio name="0">无</van-radio>
  266. </van-radio-group>
  267. </template>
  268. </van-field>
  269. <van-field name="radio" label="被惩处经历" input-align="right" autocomplete="off">
  270. <template #input>
  271. <van-radio-group v-model="form.bccjl" direction="horizontal">
  272. <van-radio name="1">有</van-radio>
  273. <van-radio name="0">无</van-radio>
  274. </van-radio-group>
  275. </template>
  276. </van-field>
  277. <van-field
  278. autocomplete="off"
  279. v-if="form.bccjl==1"
  280. input-align="right"
  281. v-model="form.bccbz"
  282. name="被惩处备注"
  283. label="被惩处备注"
  284. placeholder="被惩处备注"
  285. maxlength="200"
  286. />
  287. <van-field name="radio" label="宅基地取得方式" input-align="right" autocomplete="off">
  288. <template #input>
  289. <van-radio-group v-model="form.zjdqdfs" direction="horizontal">
  290. <van-radio v-for="dict in zjdqdfsOptions" :key="dict.dictValue" :name="dict.dictValue">{{dict.dictLabel}}</van-radio>
  291. </van-radio-group>
  292. </template>
  293. </van-field>
  294. <van-field name="uploader" label="宅基地现场照片" autocomplete="off">
  295. <template #input>
  296. <van-uploader v-model="fileListzjd" :after-read="beforeReadzjd" multiple @delete="deleteFilezjd" :max-count="8"></van-uploader>
  297. </template>
  298. </van-field>
  299. <van-field
  300. autocomplete="off"
  301. input-align="right"
  302. v-model="form.djName"
  303. name="等级"
  304. label="等级"
  305. placeholder="等级"
  306. @click="showdj = true"
  307. />
  308. <van-field
  309. autocomplete="off"
  310. v-model="form.dj"
  311. style="display:none"
  312. />
  313. <van-field
  314. autocomplete="off"
  315. input-align="right"
  316. v-model="form.jg"
  317. name="价格(万元)"
  318. label="价格(万元)"
  319. placeholder="价格(万元)"
  320. maxlength="15"
  321. type="number"
  322. />
  323. <van-field
  324. autocomplete="off"
  325. input-align="right"
  326. v-model="form.qllxName"
  327. name="权利类型"
  328. label="权利类型"
  329. placeholder="权利类型"
  330. readonly
  331. @click="showqllx = true"
  332. />
  333. <van-field
  334. autocomplete="off"
  335. v-model="form.qllx"
  336. style="display:none"
  337. />
  338. <van-field
  339. autocomplete="off"
  340. input-align="right"
  341. v-model="form.qlxzName"
  342. name="权利性质"
  343. label="权利性质"
  344. placeholder="权利性质"
  345. readonly
  346. @click="showqlxz = true"
  347. />
  348. <van-field
  349. autocomplete="off"
  350. v-model="form.qlxz"
  351. style="display:none"
  352. />
  353. <van-field
  354. autocomplete="off"
  355. input-align="right"
  356. v-model="form.qlsdfsName"
  357. name="权利设定方式"
  358. label="权利设定方式"
  359. placeholder="权利设定方式"
  360. readonly
  361. @click="showqlsdfs = true"
  362. />
  363. <van-field
  364. autocomplete="off"
  365. v-model="form.qlsdfs"
  366. style="display:none"
  367. />
  368. <van-field
  369. autocomplete="off"
  370. input-align="right"
  371. v-model="form.rjl"
  372. name="容积率"
  373. label="容积率"
  374. placeholder="容积率"
  375. />
  376. <van-field
  377. input-align="right"
  378. v-model="form.jzmd"
  379. name="validator"
  380. label="建筑密度"
  381. placeholder="填写0~1小数"
  382. :rules="[{ validator, message: '请填写0~1小数,保留两位小数' }]"
  383. type="number"
  384. />
  385. <van-field
  386. autocomplete="off"
  387. input-align="right"
  388. v-model="form.jzxg"
  389. name="建筑限高(m)"
  390. label="建筑限高(m)"
  391. placeholder="填写000.00~999.99小数"
  392. :rules="[{ validator:validator1, message: '请填写000.00~999.99小数,保留两位小数' }]"
  393. type="number"
  394. />
  395. <van-field
  396. autocomplete="off"
  397. input-align="right"
  398. v-model="form.zdt"
  399. name="宗地图"
  400. label="宗地图"
  401. placeholder="宗地图"
  402. maxlength="200"
  403. />
  404. <van-field
  405. autocomplete="off"
  406. input-align="right"
  407. v-model="form.tfh"
  408. name="图幅号"
  409. label="图幅号"
  410. placeholder="图幅号"
  411. maxlength="50"
  412. />
  413. <van-field
  414. autocomplete="off"
  415. input-align="right"
  416. v-model="form.djh"
  417. name="地籍号"
  418. label="地籍号"
  419. placeholder="自动生成"
  420. disabled
  421. />
  422. <van-field
  423. autocomplete="off"
  424. v-model="form.sjlyName"
  425. name="数据来源"
  426. label="数据来源"
  427. placeholder="数据来源"
  428. input-align="right"
  429. readonly
  430. @click="showsjly = true"
  431. />
  432. <van-field
  433. autocomplete="off"
  434. v-model="form.sjly"
  435. style="display:none"
  436. />
  437. <van-field
  438. autocomplete="off"
  439. input-align="right"
  440. v-model="form.bz"
  441. name="备注"
  442. label="备注"
  443. placeholder="备注"
  444. maxlength="200"
  445. />
  446. <MapGisDrawing ref="drewingClickLoading" :message="form.theGeom" v-on:formSubmit="MapTag"></MapGisDrawing>
  447. <div style="margin: 16px;">
  448. <van-button v-if="isFinished" round color="#7AC943" style="width:100%" native-type="submit">保存</van-button>
  449. </div>
  450. </van-form>
  451. </div>
  452. </div>
  453. <div v-if="active==2">
  454. <div style="margin:20px;">
  455. <p class="title" style="position:relative;padding-left:20px;line-height:32px;">使用权人</p>
  456. </div>
  457. <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;">
  458. <div style="padding:20px;">
  459. <p style="color:#22B7F2;font-size:20px;line-height:30px;"><van-icon name="manager" color="#22b7f2" size="20" style="margin-right:10px;"/>
  460. {{item.shyqrdbxm}}</p>
  461. <div style="display:flex;line-height:20px">
  462. <p style="flex:1;text-align:left;">证件号码</p>
  463. <p style="flex:1;text-align:right;">{{item.shyqrdbzjhm}}</p>
  464. </div>
  465. <div style="display:flex;line-height:20px">
  466. <p style="flex:1;text-align:left;">农户代码</p>
  467. <p style="flex:1;text-align:right;">{{item.nhdm}}</p>
  468. </div>
  469. <div style="text-align:center;overflow:auto;">
  470. <van-button plain round color="#7AC943" size="mini" style="margin:0 5px;" @click="showPopupnh(item)">查看户主</van-button>
  471. <van-button plain round color="#7AC943" size="mini" style="margin:0 5px;" @click="showPopupsyqr(item)">查看使用权人</van-button>
  472. <van-button plain round color="#7AC943" size="mini" style="margin:0 5px;" @click="showPopuphncylist(item)">查看成员</van-button>
  473. </div>
  474. </div>
  475. <template #right v-if="isFinished">
  476. <van-button square text="删除" type="danger" class="delete-button" @click="deletesyqr(item.id,index)"/>
  477. </template>
  478. </van-swipe-cell>
  479. <div v-if="isFinished" 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;">
  480. <div style="text-align:center;overflow:auto;">
  481. <van-button plain round color="#22B7F2" size="mini" style="margin:0 auto;padding:20px;" @click="showPopupsyqr('')">+添加使用权人</van-button>
  482. <van-button plain round color="#22B7F2" size="mini" style="margin:0 auto;padding:20px;" @click="showPopupnh('')">+添加农户信息</van-button>
  483. </div>
  484. </div>
  485. <!-- <div style="position:fixed;bottom:50px;left:25%;width:50%;text-align:center;">
  486. <van-button round size="small" color="#7AC943" style="width:40%" @click="changeActiveBack">上一项</van-button>
  487. <van-button round size="small" color="#7AC943" style="width:40%" @click="changeActive">下一项</van-button>
  488. </div>-->
  489. </div>
  490. <div v-if="active==3">
  491. <div style="margin:20px;">
  492. <p class="title" style="position:relative;padding-left:20px;line-height:32px;">自然幢</p>
  493. </div>
  494. <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;">
  495. <div style="padding:20px;">
  496. <p style="color:#22B7F2;font-size:20px;line-height:30px;"><van-icon name="wap-home" color="#22b7f2" size="20" style="margin-right:10px;"/>
  497. 第{{index+1}}号</p>
  498. <div style="display:flex;line-height:20px">
  499. <p style="flex:1;text-align:left;">自然幢号</p>
  500. <p style="flex:1;text-align:right;">{{item.zrzh}}</p>
  501. </div>
  502. <div style="display:flex;line-height:20px">
  503. <p style="flex:1;text-align:left;">总层数</p>
  504. <p style="flex:1;text-align:right;">{{item.zcs}}</p>
  505. </div>
  506. <div style="text-align:center;overflow:auto;">
  507. <van-button plain round color="#7AC943" size="mini" style="margin:0 auto;" @click="showPopupzrz(item)">查看自然幢信息</van-button>
  508. <van-button plain round color="#7AC943" size="mini" style="margin:0 auto;" @click="shownmfwlist(item)">查看房屋列表</van-button>
  509. </div>
  510. </div>
  511. <template #right v-if="isFinished">
  512. <van-button square text="删除" type="danger" class="delete-button" @click="deletezrz(item,index)"/>
  513. </template>
  514. </van-swipe-cell>
  515. <div v-if="isFinished" 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;">
  516. <div style="text-align:center;" >
  517. <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>
  518. </div>
  519. </div>
  520. <!--<div style="margin:20px;">
  521. <p class="title" style="position:relative;padding-left:20px;line-height:32px;">房屋信息</p>
  522. </div>
  523. <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;">
  524. <div style="padding:20px;">
  525. <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>
  526. <div style="display:flex;line-height:20px">
  527. <p style="flex:1;text-align:left;">农民房屋幢号</p>
  528. <p style="flex:1;text-align:right;">{{item.nmfwzh}}</p>
  529. </div>
  530. <div style="display:flex;line-height:20px">
  531. <p style="flex:1;text-align:left;">农民房屋面积(㎡)</p>
  532. <p style="flex:1;text-align:right;">{{item.nmfwmj}}</p>
  533. </div>
  534. <div style="text-align:center;overflow:auto;">
  535. <van-button plain round color="#7AC943" size="mini" style="margin:0 auto;" @click="showPopupfw(item)">查看房屋信息</van-button>
  536. </div>
  537. </div>
  538. <template #right>
  539. <van-button square text="删除" type="danger" class="delete-button" @click="deletefw(item.id,index)"/>
  540. </template>
  541. </van-swipe-cell>
  542. <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">
  543. <div style="text-align:center;" >
  544. <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>
  545. </div>
  546. </div>-->
  547. <!--<div style="position:fixed;bottom:50px;left:25%;width:50%;text-align:center;">
  548. <van-button round size="small" color="#7AC943" style="width:40%" @click="changeActiveBack">上一项</van-button>
  549. <van-button round size="small" color="#7AC943" style="width:40%" @click="changeActive">下一项</van-button>
  550. </div>-->
  551. </div>
  552. <div v-if="active==4">
  553. <div style="margin:20px;">
  554. <p class="title" style="position:relative;padding-left:20px;line-height:32px;">附属设施</p>
  555. </div>
  556. <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;">
  557. <div style="padding:20px;">
  558. <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>
  559. <div style="display:flex;line-height:20px">
  560. <p style="flex:1;text-align:left;">建筑面积(㎡)</p>
  561. <p style="flex:1;text-align:right;">{{item.jzmj}}</p>
  562. </div>
  563. <div style="display:flex;line-height:20px">
  564. <p style="flex:1;text-align:left;">建筑物情况</p>
  565. <p style="flex:1;text-align:right;">{{jzwqkfy(item.jzwqk)}}</p>
  566. </div>
  567. <div style="text-align:center;overflow:auto;">
  568. <van-button plain round color="#7AC943" size="mini" @click="showPopupfsss(item)" style="margin:0 auto;">查看附属设施信息</van-button>
  569. </div>
  570. </div>
  571. <template #right v-if="isFinished">
  572. <van-button square text="删除" type="danger" class="delete-button" @click="deletefsss(item.id,index)"/>
  573. </template>
  574. </van-swipe-cell>
  575. <div v-if="isFinished" 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;">
  576. <div style="text-align:center;" >
  577. <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>
  578. </div>
  579. </div>
  580. <!--<div v-if="!isFinished&&showsh">
  581. <div style="margin:20px;">
  582. <p class="title" style="position:relative;padding-left:20px;line-height:32px;">电子签名</p>
  583. </div>
  584. <van-row style="margin: 0 5% 5% 5%;border:1px solid #BFBFBF">
  585. <img :src="resultImg" alt="" width="100%" height="100%"/>
  586. </van-row>
  587. </div>-->
  588. <div style="position:fixed;bottom:0;left:5%;width:90%;text-align:center;display:flex;">
  589. <van-button round color="#ee0a24" style="flex:1;" @click="showycbjinfo">异常标记</van-button>
  590. <van-button round color="#7AC943" style="flex:1;" @click="searchCommit">签名确认</van-button>
  591. <van-button round color="#ff976a" v-if="!isFinished&&showsh" style="flex:1;" @click="showdcshinfo">调查审核</van-button>
  592. </div>
  593. </div>
  594. <van-popup v-model="showsyqr" style="height:100%;width:100%;">
  595. <div class="bannerBg">
  596. <van-nav-bar
  597. style="background:transparent;border-bottom-width:0;"
  598. @click-left="showsyqr=false"
  599. >
  600. <template #left>
  601. <van-icon name="arrow-left" size="18" color="#fff" />
  602. </template>
  603. <template #title>
  604. <p style="color:#fff">使用权利人</p>
  605. </template>
  606. </van-nav-bar>
  607. </div>
  608. <div style="margin:20px;">
  609. <van-form @submit="onSubmitsyqr">
  610. <p class="title" style="position:relative;padding-left:20px;line-height:32px;">使用权人</p>
  611. <van-field
  612. autocomplete="off"
  613. input-align="right"
  614. v-model="form1.nhdm"
  615. name="农户代码"
  616. label="农户代码"
  617. placeholder="农户代码"
  618. required
  619. :rules="[{ required: true, message: '农户代码不能为空' }]"
  620. @click="showsyqrnhdmlist = true,nhdmValue=null"
  621. readonly
  622. />
  623. <van-field
  624. autocomplete="off"
  625. input-align="right"
  626. v-model="form1.zjddm"
  627. name="宅基地代码"
  628. label="宅基地代码"
  629. placeholder="宅基地代码"
  630. required
  631. :rules="[{ required: true, message: '宅基地代码不能为空' }]"
  632. />
  633. <van-field
  634. autocomplete="off"
  635. input-align="right"
  636. v-model="form1.shyqrdbxm"
  637. name="使用权人代表姓名"
  638. label="使用权人代表姓名"
  639. placeholder="使用权人代表姓名"
  640. maxlength="50"
  641. required
  642. :rules="[{ required: true, message: '使用权人代表姓名不能为空' }]"
  643. />
  644. <van-field
  645. autocomplete="off"
  646. input-align="right"
  647. v-model="form1.shyqrdbzjlxName"
  648. name="使用权人代表证件类型"
  649. label="使用权人代表证件类型"
  650. placeholder="使用权人代表证件类型"
  651. @click="showshyqrdbzjlx = true"
  652. required
  653. :rules="[{ required: true, message: '使用权人代表证件类型不能为空' }]"
  654. />
  655. <van-field
  656. v-model="form1.shyqrdbzjlx"
  657. style="display:none"
  658. />
  659. <van-field
  660. autocomplete="off"
  661. input-align="right"
  662. v-model="form1.shyqrdbzjhm"
  663. name="使用权人代表证件号码"
  664. label="使用权人代表证件号码"
  665. placeholder="使用权人代表证件号码"
  666. maxlength="30"
  667. required
  668. :rules="[{ required: true, message: '使用权人代表证件号码不能为空' },{validator:validatorIdcard,message:'身份证号格式错误!'}]"
  669. />
  670. <van-field
  671. autocomplete="off"
  672. input-align="right"
  673. v-model="form1.bdcdyh"
  674. name="不动产单元号"
  675. label="不动产单元号"
  676. placeholder="分配了不动产单元号时填写"
  677. maxlength="28"
  678. />
  679. <van-field
  680. autocomplete="off"
  681. input-align="right"
  682. v-model="form1.bdcqzh"
  683. name="不动产权证号"
  684. label="不动产权证号"
  685. placeholder="不动产权证号"
  686. maxlength="50"
  687. v-show="form1.bdcdyh!=null&&form1.bdcdyh!=''"
  688. />
  689. <van-field
  690. autocomplete="off"
  691. input-align="right"
  692. v-model="form1.qzysxlh"
  693. name="权证印刷序列号"
  694. label="权证印刷序列号"
  695. placeholder="权证印刷序列号"
  696. maxlength="100"
  697. />
  698. <van-field
  699. autocomplete="off"
  700. input-align="right"
  701. v-model="form1.fzjg"
  702. name="发证机关"
  703. label="发证机关"
  704. placeholder="发证机关"
  705. maxlength="100"
  706. />
  707. <van-field
  708. autocomplete="off"
  709. input-align="right"
  710. v-model="form1.sshyName"
  711. name="所属行业"
  712. label="所属行业"
  713. placeholder="所属行业"
  714. readonly
  715. @click="showsyqrsshy = true"
  716. />
  717. <van-field
  718. autocomplete="off"
  719. v-model="form1.sshy"
  720. style="display:none"
  721. />
  722. <van-field name="radio" label="国家/地区" input-align="right" autocomplete="off">
  723. <template #input>
  724. <van-radio-group v-model="form1.gj" direction="horizontal">
  725. <van-radio name="1">中国</van-radio>
  726. <van-radio name="2">其他</van-radio>
  727. </van-radio-group>
  728. </template>
  729. </van-field>
  730. <van-field
  731. autocomplete="off"
  732. input-align="right"
  733. v-model="form1.qlbl"
  734. name="权利比例"
  735. label="权利比例"
  736. placeholder="单独为1,共有时2位小数"
  737. type="number"
  738. maxlength="20"
  739. />
  740. <van-field
  741. autocomplete="off"
  742. input-align="right"
  743. v-model="form1.hjszssName"
  744. name="户籍所在省市"
  745. label="户籍所在省市"
  746. placeholder="户籍所在省市"
  747. readonly
  748. @click="showhjszss = true"
  749. />
  750. <van-field
  751. style="display:none"
  752. v-model="form1.hjszss"
  753. />
  754. <van-field name="radio" label="性别" input-align="right" autocomplete="off">
  755. <template #input>
  756. <van-radio-group v-model="form1.xb" direction="horizontal">
  757. <van-radio name="1">男</van-radio>
  758. <van-radio name="0">女</van-radio>
  759. <van-radio name="2">未知</van-radio>
  760. </van-radio-group>
  761. </template>
  762. </van-field>
  763. <van-field
  764. autocomplete="off"
  765. input-align="right"
  766. v-model="form1.dh"
  767. name="电话"
  768. label="电话"
  769. placeholder="电话"
  770. />
  771. <van-field
  772. autocomplete="off"
  773. input-align="right"
  774. v-model="form1.dz"
  775. name="地址"
  776. label="地址"
  777. placeholder="地址"
  778. />
  779. <van-field autocomplete="off" name="radio" label="是否使用权人之间共有" input-align="right" required
  780. :rules="[{ required: true, message: '是否共有不能为空' }]">
  781. <template #input>
  782. <van-radio-group v-model="form1.sfsyqrzjgy" direction="horizontal">
  783. <van-radio name="Y">是</van-radio>
  784. <van-radio name="N">否</van-radio>
  785. </van-radio-group>
  786. </template>
  787. </van-field>
  788. <van-field
  789. autocomplete="off"
  790. v-if="form1.sfsyqrzjgy=='Y'"
  791. input-align="right"
  792. v-model="form1.ftzdmj"
  793. name="分摊宗地面积(㎡)"
  794. label="分摊宗地面积(㎡)"
  795. placeholder="单位:平方米"
  796. type="number"
  797. />
  798. <van-field
  799. autocomplete="off"
  800. input-align="right"
  801. v-model="form1.qlrlxName"
  802. name="权利人类型"
  803. label="权利人类型"
  804. placeholder="权利人类型"
  805. @click="showqlrlx = true"
  806. required
  807. :rules="[{ required: true, message: '权利人类型不能为空' }]"
  808. />
  809. <van-field
  810. autocomplete="off"
  811. v-model="form1.qlrlx"
  812. style="display:none"
  813. />
  814. <van-field
  815. autocomplete="off"
  816. input-align="right"
  817. v-model="form1.gyfsName"
  818. name="共有方式"
  819. label="共有方式"
  820. placeholder="共有方式"
  821. @click="showgyfs = true"
  822. />
  823. <van-field
  824. autocomplete="off"
  825. v-model="form1.gyfs"
  826. style="display:none"
  827. />
  828. <van-field autocomplete="off" name="radio" label="是否本农村集体经济组织成员" input-align="right" required
  829. :rules="[{ required: true, message: '是否本农村集体经济组织成员不能为空' }]">
  830. <template #input>
  831. <van-radio-group v-model="form1.sfbncjtjjzzcy" direction="horizontal">
  832. <van-radio name="Y">是</van-radio>
  833. <van-radio name="N">否</van-radio>
  834. </van-radio-group>
  835. </template>
  836. </van-field>
  837. <van-field
  838. autocomplete="off"
  839. input-align="right"
  840. v-model="form1.suyqrdm"
  841. name="所有权人代码"
  842. label="所有权人代码"
  843. placeholder="当使用权人是本村集体经济组织成员时必填"
  844. readonly
  845. />
  846. <van-field name="radio" label="户口类型" input-align="right" autocomplete="off">
  847. <template #input>
  848. <van-radio-group v-model="form1.hklx" direction="horizontal">
  849. <van-radio name="1">农业</van-radio>
  850. <van-radio name="2">非农业</van-radio>
  851. </van-radio-group>
  852. </template>
  853. </van-field>
  854. <van-field
  855. autocomplete="off"
  856. input-align="right"
  857. v-model="form1.bz"
  858. name="备注"
  859. label="备注"
  860. placeholder="备注"
  861. />
  862. <!-- <div style="text-align:center;overflow:auto;">
  863. <van-button plain round color="#7AC943" size="mini" style="margin:0 auto;" native-type="button" @click="showPopuphncylist(form1)">查看户内成员列表</van-button>
  864. </div>-->
  865. <div style="margin: 16px;" v-if="isFinished">
  866. <van-button round block color="#7AC943" native-type="submit">保存</van-button>
  867. </div>
  868. </van-form>
  869. </div>
  870. </van-popup>
  871. <van-popup v-model="showzrz" style="height:100%;width:100%;">
  872. <div class="bannerBg">
  873. <van-nav-bar
  874. style="background:transparent;border-bottom-width:0;"
  875. @click-left="showzrz=false"
  876. >
  877. <template #left>
  878. <van-icon name="arrow-left" size="18" color="#fff" />
  879. </template>
  880. <template #title>
  881. <p style="color:#fff">自然幢信息</p>
  882. </template>
  883. </van-nav-bar>
  884. </div>
  885. <div style="margin:20px;">
  886. <van-form @submit="onSubmitzrz">
  887. <van-field
  888. autocomplete="off"
  889. input-align="right"
  890. v-model="form3.zjddm"
  891. name="宅基地代码"
  892. label="宅基地代码"
  893. placeholder="宅基地代码"
  894. readonly
  895. required
  896. :rules="[{ required: true, message: '宅基地代码不能为空' }]"
  897. />
  898. <!--<van-field
  899. autocomplete="off"
  900. input-align="right"
  901. v-model="form3.nmfwzh"
  902. name="农民房屋幢号"
  903. label="农民房屋幢号"
  904. placeholder="自动生成"
  905. disabled
  906. />-->
  907. <van-field
  908. autocomplete="off"
  909. input-align="right"
  910. v-model="form3.zrzh"
  911. name="自然幢号"
  912. label="自然幢号"
  913. placeholder="自动生成"
  914. disabled
  915. />
  916. <van-field
  917. autocomplete="off"
  918. input-align="right"
  919. v-model="form3.jgrq"
  920. name="竣工日期"
  921. label="竣工日期"
  922. placeholder="竣工日期"
  923. @click="showPickerjgrq=true"
  924. readonly
  925. />
  926. <van-field
  927. autocomplete="off"
  928. input-align="right"
  929. v-model="form3.jzwgd"
  930. name="建筑物高度"
  931. label="建筑物高度"
  932. placeholder="建筑物高度"
  933. type="number"
  934. />
  935. <van-field
  936. autocomplete="off"
  937. input-align="right"
  938. v-model="form3.zzdmj"
  939. name="幢占地面积(㎡)"
  940. label="幢占地面积(㎡)"
  941. placeholder="幢占地面积(㎡)"
  942. type="number"
  943. required
  944. :rules="[{ required: true, message: '幢占地面积(㎡)不能为空' }]"
  945. />
  946. <van-field
  947. autocomplete="off"
  948. input-align="right"
  949. v-model="form3.zydmj"
  950. name="幢用地面积(㎡)"
  951. label="幢用地面积(㎡)"
  952. placeholder="幢用地面积(㎡)"
  953. type="number"
  954. required
  955. :rules="[{ required: true, message: '幢用地面积(㎡)不能为空' }]"
  956. />
  957. <van-field
  958. autocomplete="off"
  959. input-align="right"
  960. v-model="form3.scjzmj"
  961. name="实测建筑面积(㎡)"
  962. label="实测建筑面积(㎡)"
  963. placeholder="实测建筑面积(㎡)"
  964. type="number"
  965. />
  966. <van-field
  967. autocomplete="off"
  968. input-align="right"
  969. v-model="form3.zcs"
  970. name="总层数"
  971. label="总层数"
  972. placeholder="总层数"
  973. type="number"
  974. required
  975. :rules="[{ required: true, message: '总层数不能为空' }]"
  976. />
  977. <van-field
  978. autocomplete="off"
  979. input-align="right"
  980. v-model="form3.dscs"
  981. name="地上层数"
  982. label="地上层数"
  983. placeholder="地上层数"
  984. type="number"
  985. />
  986. <van-field
  987. autocomplete="off"
  988. input-align="right"
  989. v-model="form3.dxcs"
  990. name="地下层数"
  991. label="地下层数"
  992. placeholder="地下层数"
  993. type="number"
  994. />
  995. <van-field
  996. autocomplete="off"
  997. input-align="right"
  998. v-model="form3.fwjgName"
  999. name="房屋结构"
  1000. label="房屋结构"
  1001. placeholder="房屋结构"
  1002. @click="showzrzfwjg = true"
  1003. readonly
  1004. required
  1005. :rules="[{ required: true, message: '房屋结构不能为空' }]"
  1006. />
  1007. <van-field
  1008. autocomplete="off"
  1009. v-model="form3.fwjg"
  1010. style="display:none"
  1011. />
  1012. <van-field
  1013. autocomplete="off"
  1014. input-align="right"
  1015. v-model="form3.sjlyName"
  1016. name="数据来源"
  1017. label="数据来源"
  1018. placeholder="数据来源"
  1019. readonly
  1020. required
  1021. :rules="[{ required: true, message: '数据来源不能为空' }]"
  1022. @click="showzrzsjly=true"
  1023. />
  1024. <van-field
  1025. autocomplete="off"
  1026. v-model="form3.sjly"
  1027. style="display:none"
  1028. />
  1029. <van-field
  1030. autocomplete="off"
  1031. input-align="right"
  1032. v-model="form3.bz"
  1033. name="备注"
  1034. label="备注"
  1035. placeholder="备注"
  1036. />
  1037. <MapGisDrawing ref="drewingClickLoading" :message="form3.theGeom" v-on:formSubmit="MapTag"></MapGisDrawing>
  1038. <div style="margin: 16px;" v-if="isFinished">
  1039. <van-button round block color="#7AC943" native-type="submit">保存</van-button>
  1040. </div>
  1041. </van-form>
  1042. </div>
  1043. </van-popup>
  1044. <van-popup v-model="shownh" style="height:100%;width:100%;">
  1045. <div class="bannerBg">
  1046. <van-nav-bar
  1047. style="background:transparent;border-bottom-width:0;"
  1048. @click-left="shownh=false"
  1049. >
  1050. <template #left>
  1051. <van-icon name="arrow-left" size="18" color="#fff" />
  1052. </template>
  1053. <template #title>
  1054. <p style="color:#fff">{{nhform.id?"":"新增"}}户主信息</p>
  1055. </template>
  1056. </van-nav-bar>
  1057. </div>
  1058. <div style="margin:20px;">
  1059. <van-form @submit="onSubmitnh">
  1060. <van-field
  1061. autocomplete="off"
  1062. input-align="right"
  1063. v-model="nhform.suyqrdm"
  1064. name="所有权人代码"
  1065. label="所有权人代码"
  1066. placeholder="所有权人代码"
  1067. required
  1068. disabled
  1069. :rules="[{ required: true, message: '所有权人代码不能为空' }]"
  1070. />
  1071. <van-field
  1072. autocomplete="off"
  1073. input-align="right"
  1074. v-model="nhform.nhdm"
  1075. name="农户代码"
  1076. label="农户代码"
  1077. placeholder="自动生成"
  1078. disabled
  1079. />
  1080. <van-field
  1081. autocomplete="off"
  1082. input-align="right"
  1083. v-model="nhform.hzxm"
  1084. name="户主姓名"
  1085. label="户主姓名"
  1086. placeholder="户主姓名"
  1087. required
  1088. :rules="[{ required: true, message: '户主姓名不能为空' }]"
  1089. />
  1090. <van-field
  1091. autocomplete="off"
  1092. input-align="right"
  1093. v-model="nhform.hzzjlxName"
  1094. name="户主证件类型"
  1095. label="户主证件类型"
  1096. placeholder="户主证件类型"
  1097. required
  1098. readonly
  1099. :rules="[{ required: true, message: '户主证件类型不能为空' }]"
  1100. @click="showhzzjlx = true"
  1101. />
  1102. <van-field
  1103. autocomplete="off"
  1104. v-model="nhform.hzzjlx"
  1105. style="display:none"
  1106. />
  1107. <van-field
  1108. autocomplete="off"
  1109. v-model="nhform.hzzjhm"
  1110. input-align="right"
  1111. name="户主证件号码"
  1112. label="户主证件号码"
  1113. placeholder="户主证件号码"
  1114. required
  1115. :rules="[{ required: true, message: '户主证件号码不能为空' },,{validator:validatorIdcard1,message:'身份证号格式错误!'}]"
  1116. />
  1117. <van-field
  1118. autocomplete="off"
  1119. input-align="right"
  1120. v-model="nhform.txdz"
  1121. name="通讯地址"
  1122. label="通讯地址"
  1123. placeholder="通讯地址"
  1124. required
  1125. :rules="[{ required: true, message: '通讯地址不能为空' }]"
  1126. />
  1127. <van-field
  1128. autocomplete="off"
  1129. input-align="right"
  1130. v-model="nhform.hncysl"
  1131. name="户内成员数量"
  1132. label="户内成员数量"
  1133. placeholder="户内成员数量"
  1134. required
  1135. :rules="[{ required: true, message: '户内成员数量不能为空' }]"
  1136. />
  1137. <van-field name="radio" label="婚姻状况" input-align="right" autocomplete="off">
  1138. <template #input>
  1139. <van-radio-group v-model="nhform.hyzk" direction="horizontal">
  1140. <van-radio v-for="dict in hyzkOptions" :key="dict.dictValue" :name="dict.dictValue">{{dict.dictLabel}}</van-radio>
  1141. </van-radio-group>
  1142. </template>
  1143. </van-field>
  1144. <van-field
  1145. autocomplete="off"
  1146. input-align="right"
  1147. v-model="nhform.phone"
  1148. name="电话号码"
  1149. label="电话号码"
  1150. placeholder="电话号码"
  1151. />
  1152. <van-field
  1153. autocomplete="off"
  1154. input-align="right"
  1155. v-model="nhform.occupationName"
  1156. name="职业"
  1157. label="职业"
  1158. placeholder="职业"
  1159. required
  1160. readonly
  1161. :rules="[{ required: true, message: '职业不能为空' }]"
  1162. @click="showhzoccupation = true"
  1163. />
  1164. <van-field
  1165. autocomplete="off"
  1166. v-model="nhform.occupation"
  1167. style="display:none"
  1168. />
  1169. <van-field
  1170. autocomplete="off"
  1171. input-align="right"
  1172. v-model="nhform.jzqkName"
  1173. name="居住情况"
  1174. label="居住情况"
  1175. placeholder="居住情况"
  1176. required
  1177. readonly
  1178. :rules="[{ required: true, message: '居住情况不能为空' }]"
  1179. @click="showhzjzqk = true"
  1180. />
  1181. <van-field
  1182. autocomplete="off"
  1183. v-model="nhform.jzqk"
  1184. style="display:none"
  1185. />
  1186. <van-field
  1187. autocomplete="off"
  1188. input-align="right"
  1189. v-model="nhform.jzhcssfyzfName"
  1190. name="在集镇或城市是否有住房"
  1191. label="在集镇或城市是否有住房"
  1192. placeholder="在集镇或城市是否有住房"
  1193. required
  1194. readonly
  1195. :rules="[{ required: true, message: '在集镇或城市是否有住房不能为空' }]"
  1196. @click="showhzjzhcssfyzf = true"
  1197. />
  1198. <van-field
  1199. autocomplete="off"
  1200. v-model="nhform.jzhcssfyzf"
  1201. style="display:none"
  1202. />
  1203. <van-field name="radio" label="在其他村庄是否有住房" input-align="right" autocomplete="off">
  1204. <template #input>
  1205. <van-radio-group v-model="nhform.zqtczsfyzf" direction="horizontal">
  1206. <van-radio name="Y">是</van-radio>
  1207. <van-radio name="N">否</van-radio>
  1208. </van-radio-group>
  1209. </template>
  1210. </van-field>
  1211. <van-field name="radio" label="是否本村村民" input-align="right" autocomplete="off">
  1212. <template #input>
  1213. <van-radio-group v-model="nhform.sfbccm" direction="horizontal">
  1214. <van-radio name="Y">是</van-radio>
  1215. <van-radio name="N">否</van-radio>
  1216. </van-radio-group>
  1217. </template>
  1218. </van-field>
  1219. <van-field name="radio" label="是否贫困户" input-align="right" autocomplete="off">
  1220. <template #input>
  1221. <van-radio-group v-model="nhform.sfpkh" direction="horizontal">
  1222. <van-radio name="Y">是</van-radio>
  1223. <van-radio name="N">否</van-radio>
  1224. </van-radio-group>
  1225. </template>
  1226. </van-field>
  1227. <van-field name="radio" label="是否五保户" input-align="right" autocomplete="off">
  1228. <template #input>
  1229. <van-radio-group v-model="nhform.sfwbh" direction="horizontal">
  1230. <van-radio name="Y">是</van-radio>
  1231. <van-radio name="N">否</van-radio>
  1232. </van-radio-group>
  1233. </template>
  1234. </van-field>
  1235. <van-field
  1236. autocomplete="off"
  1237. input-align="right"
  1238. v-model="nhform.sjlyName"
  1239. name="数据来源"
  1240. label="数据来源"
  1241. placeholder="数据来源"
  1242. required
  1243. readonly
  1244. :rules="[{ required: true, message: '能为空' }]"
  1245. @click="showhzsjly = true"
  1246. />
  1247. <van-field
  1248. autocomplete="off"
  1249. v-model="nhform.sjly"
  1250. style="display:none"
  1251. />
  1252. <van-field
  1253. autocomplete="off"
  1254. input-align="right"
  1255. v-model="nhform.bz"
  1256. name="备注"
  1257. label="备注"
  1258. placeholder="备注"
  1259. />
  1260. <div style="margin: 16px;" v-if="isFinished">
  1261. <van-button round block color="#7AC943" native-type="submit">保存</van-button>
  1262. </div>
  1263. </van-form>
  1264. </div>
  1265. </van-popup>
  1266. <van-popup v-model="showfw" style="height:100%;width:100%;">
  1267. <div class="bannerBg">
  1268. <van-nav-bar
  1269. style="background:transparent;border-bottom-width:0;"
  1270. @click-left="showfw=false"
  1271. >
  1272. <template #left>
  1273. <van-icon name="arrow-left" size="18" color="#fff" />
  1274. </template>
  1275. <template #title>
  1276. <p style="color:#fff">房屋信息</p>
  1277. </template>
  1278. </van-nav-bar>
  1279. </div>
  1280. <div style="margin:20px;">
  1281. <van-form @submit="onSubmitnmfw">
  1282. <!--<van-field
  1283. v-model="nmfwform.ysdm"
  1284. name="要素代码"
  1285. label="要素代码"
  1286. placeholder="要素代码"
  1287. :rules="[{ required: true, message: '' }]"
  1288. />-->
  1289. <van-field
  1290. autocomplete="off"
  1291. v-model="nmfwform.deptId"
  1292. name="组织机构代码"
  1293. label="组织机构代码"
  1294. placeholder="组织机构代码"
  1295. :rules="[{ required: true, message: '' }]"
  1296. style="display:none"
  1297. />
  1298. <van-field
  1299. autocomplete="off"
  1300. input-align="right"
  1301. v-model="nmfwform.zjddm"
  1302. name="宅基地代码"
  1303. label="宅基地代码"
  1304. placeholder="宅基地代码"
  1305. disabled
  1306. required
  1307. :rules="[{ required: true, message: '宅基地代码不能为空' }]"
  1308. />
  1309. <van-field
  1310. autocomplete="off"
  1311. input-align="right"
  1312. v-model="nmfwform.nmfwdm"
  1313. name="农民房屋代码"
  1314. label="农民房屋代码"
  1315. placeholder="自动生成"
  1316. disabled
  1317. />
  1318. <van-field
  1319. autocomplete="off"
  1320. input-align="right"
  1321. v-model="nmfwform.nhdm"
  1322. name="农户代码"
  1323. label="农户代码"
  1324. placeholder="选择农户代码"
  1325. @click="shownmfwnhdm = true,getSyqrList()"
  1326. readonly
  1327. required
  1328. :rules="[{ required: true, message: '农户代码不能为空' }]"
  1329. />
  1330. <van-field
  1331. autocomplete="off"
  1332. input-align="right"
  1333. v-model="nmfwform.bdcdyh"
  1334. name="不动产单元号"
  1335. label="不动产单元号"
  1336. placeholder="不动产单元号"
  1337. />
  1338. <van-field
  1339. autocomplete="off"
  1340. input-align="right"
  1341. v-model="nmfwform.nmfwmj"
  1342. name="农民房屋面积(㎡)"
  1343. label="农民房屋面积(㎡)"
  1344. placeholder="农民房屋面积(㎡)"
  1345. type="number"
  1346. required
  1347. :rules="[{ required: true, message: '农民房屋面积(㎡)不能为空' }]"
  1348. />
  1349. <van-field
  1350. autocomplete="off"
  1351. input-align="right"
  1352. v-model="nmfwform.fwbm"
  1353. name="房屋编码"
  1354. label="房屋编码"
  1355. placeholder="房屋编码"
  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;" v-if="isFinished">
  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. :min-date="minDate"
  1981. :max-date="maxDate"
  1982. />
  1983. </van-popup>
  1984. <van-popup v-model:show="showPickerdjsj" position="bottom">
  1985. <van-datetime-picker
  1986. type="date"
  1987. @confirm="onConfirmdjsj"
  1988. @cancel="showPickerdjsj = false"
  1989. :min-date="minDate"
  1990. :max-date="maxDate"
  1991. />
  1992. </van-popup>
  1993. <van-popup v-model:show="showPickercfqssj" position="bottom">
  1994. <van-datetime-picker
  1995. type="date"
  1996. @confirm="onConfirmcfqssj"
  1997. @cancel="showPickercfqssj = false"
  1998. :min-date="minDate"
  1999. :max-date="maxDate"
  2000. />
  2001. </van-popup>
  2002. <van-popup v-model:show="showPickercfjssj" position="bottom">
  2003. <van-datetime-picker
  2004. type="date"
  2005. @confirm="onConfirmcfjssj"
  2006. @cancel="showPickercfjssj = false"
  2007. :min-date="minDate"
  2008. :max-date="maxDate"
  2009. />
  2010. </van-popup>
  2011. <van-popup v-model:show="showPickerzwlxsj1" position="bottom">
  2012. <van-datetime-picker
  2013. type="date"
  2014. @confirm="onConfirmzwlxsj1"
  2015. @cancel="showPickerzwlxsj1 = false"
  2016. :min-date="minDate"
  2017. :max-date="maxDate"
  2018. />
  2019. </van-popup>
  2020. <van-popup v-model:show="showPickerzwlxsj2" position="bottom">
  2021. <van-datetime-picker
  2022. type="date"
  2023. @confirm="onConfirmzwlxsj2"
  2024. @cancel="showPickerzwlxsj2 = false"
  2025. :min-date="minDate"
  2026. :max-date="maxDate"
  2027. />
  2028. </van-popup>
  2029. <van-popup v-model="showhx" position="bottom">
  2030. <van-picker
  2031. show-toolbar
  2032. :columns="hxOptions"
  2033. value-key="dictLabel"
  2034. @confirm="onConfirmhx"
  2035. @cancel="showhx = false"
  2036. />
  2037. </van-popup>
  2038. <van-popup v-model="showhxjg" position="bottom">
  2039. <van-picker
  2040. show-toolbar
  2041. :columns="hxjgOptions"
  2042. value-key="dictLabel"
  2043. @confirm="onConfirmhxjg"
  2044. @cancel="showhxjg = false"
  2045. />
  2046. </van-popup>
  2047. <van-popup v-model="showzrzfwjg" position="bottom">
  2048. <van-picker
  2049. show-toolbar
  2050. :columns="fwjgOptions"
  2051. value-key="dictLabel"
  2052. @confirm="onConfirmzrzfwjg"
  2053. @cancel="showzrzfwjg = false"
  2054. />
  2055. </van-popup>
  2056. <van-popup v-model="showfwjg" position="bottom">
  2057. <van-picker
  2058. show-toolbar
  2059. :columns="fwjgOptions"
  2060. value-key="dictLabel"
  2061. @confirm="onConfirmfwjg"
  2062. @cancel="showfwjg = false"
  2063. />
  2064. </van-popup>
  2065. <van-popup v-model="showfwyt" position="bottom">
  2066. <van-picker
  2067. show-toolbar
  2068. :columns="fwytOptions"
  2069. value-key="dictLabel"
  2070. @confirm="onConfirmfwyt"
  2071. @cancel="showfwyt = false"
  2072. />
  2073. </van-popup>
  2074. <van-popup v-model="showfwlx" position="bottom">
  2075. <van-picker
  2076. show-toolbar
  2077. :columns="fwlxOptions"
  2078. value-key="dictLabel"
  2079. @confirm="onConfirmfwlx"
  2080. @cancel="showfwlx = false"
  2081. />
  2082. </van-popup>
  2083. <van-popup v-model="showfwxz" position="bottom">
  2084. <van-picker
  2085. show-toolbar
  2086. :columns="fwxzOptions"
  2087. value-key="dictLabel"
  2088. @confirm="onConfirmfwxz"
  2089. @cancel="showfwxz = false"
  2090. />
  2091. </van-popup>
  2092. <van-popup v-model="shownmfwsjly" position="bottom">
  2093. <van-picker
  2094. show-toolbar
  2095. :columns="sjlyOptions"
  2096. value-key="dictLabel"
  2097. @confirm="onConfirmnmfwsjly"
  2098. @cancel="shownmfwsjly = false"
  2099. />
  2100. </van-popup>
  2101. <van-popup v-model="shownmfwlyzk" position="bottom">
  2102. <van-picker
  2103. show-toolbar
  2104. :columns="lyzkOptions"
  2105. value-key="dictLabel"
  2106. @confirm="onConfirmnmfwlyzk"
  2107. @cancel="shownmfwlyzk = false"
  2108. />
  2109. </van-popup>
  2110. <van-popup v-model="showphlyms" position="bottom">
  2111. <van-picker
  2112. show-toolbar
  2113. :columns="phlymsOptions"
  2114. value-key="dictLabel"
  2115. @confirm="onConfirmphlyms"
  2116. @cancel="showphlyms = false"
  2117. />
  2118. </van-popup>
  2119. <van-popup v-model="shownmfwfwzt" position="bottom">
  2120. <van-picker
  2121. show-toolbar
  2122. :columns="fwztOptions"
  2123. value-key="dictLabel"
  2124. @confirm="onConfirmnmfwfwzt"
  2125. @cancel="shownmfwfwzt = false"
  2126. />
  2127. </van-popup>
  2128. <van-popup v-model="shownmfwqsly" position="bottom">
  2129. <van-picker
  2130. show-toolbar
  2131. :columns="qslyOptions"
  2132. value-key="dictLabel"
  2133. @confirm="onConfirmnmfwqsly"
  2134. @cancel="shownmfwqsly = false"
  2135. />
  2136. </van-popup>
  2137. <van-popup v-model="showPickerjgrq" position="bottom">
  2138. <van-datetime-picker
  2139. type="date"
  2140. @confirm="onConfirmzrzjgrq"
  2141. @cancel="showPickerjgrq = false"
  2142. :min-date="minDate"
  2143. :max-date="maxDate"
  2144. />
  2145. </van-popup>
  2146. <van-popup v-model="showPickerpzsj" position="bottom">
  2147. <van-picker
  2148. show-toolbar
  2149. :columns="pzsjOptions"
  2150. value-key="dictLabel"
  2151. @confirm="onConfirmpzsj"
  2152. @cancel="showPickerpzsj = false"
  2153. />
  2154. </van-popup>
  2155. <van-popup v-model="shownmfwtdzk" position="bottom">
  2156. <van-picker
  2157. show-toolbar
  2158. :columns="tdzkOptions"
  2159. value-key="dictLabel"
  2160. @confirm="onConfirmnmfwtdzk"
  2161. @cancel="shownmfwtdzk = false"
  2162. />
  2163. </van-popup>
  2164. </div>
  2165. <van-popup v-model="showfssslx" position="bottom">
  2166. <van-picker
  2167. show-toolbar
  2168. :columns="fssslxOptions"
  2169. value-key="dictLabel"
  2170. @confirm="onConfirmfssslx"
  2171. @cancel="showfssslx = false"
  2172. />
  2173. </van-popup>
  2174. <van-popup v-model="showzrzsjly" position="bottom">
  2175. <van-picker
  2176. show-toolbar
  2177. :columns="sjlyOptions"
  2178. value-key="dictLabel"
  2179. @confirm="onConfirmzrzsjly"
  2180. @cancel="showzrzsjly = false"
  2181. />
  2182. </van-popup>
  2183. <van-popup v-model="showqsly" position="bottom">
  2184. <van-picker
  2185. show-toolbar
  2186. :columns="qslyOptions"
  2187. value-key="dictLabel"
  2188. @confirm="onConfirmqsly"
  2189. @cancel="showqsly = false"
  2190. />
  2191. </van-popup>
  2192. <van-popup v-model="showfwzt" position="bottom">
  2193. <van-picker
  2194. show-toolbar
  2195. :columns="fwztOptions"
  2196. value-key="dictLabel"
  2197. @confirm="onConfirmfwzt"
  2198. @cancel="showfwzt = false"
  2199. />
  2200. </van-popup>
  2201. <van-popup v-model="showsyqrnhdmlist" position="bottom">
  2202. <van-search v-model="nhdmValue" placeholder="请输入搜索关键词" @input="getnhdmlist"/>
  2203. <van-picker
  2204. show-toolbar
  2205. :columns="syqrnhdmlist"
  2206. value-key="hzxm"
  2207. @confirm="onConfirmsyqrnhdmlist"
  2208. @cancel="showsyqrnhdmlist = false"
  2209. />
  2210. </van-popup>
  2211. <van-popup v-model="showjzwqk" position="bottom">
  2212. <van-picker
  2213. show-toolbar
  2214. :columns="jzwqkOptions"
  2215. value-key="dictLabel"
  2216. @confirm="onConfirmjzwqk"
  2217. @cancel="showjzwqk = false"
  2218. />
  2219. </van-popup>
  2220. <van-popup v-model="showjglx" position="bottom">
  2221. <van-picker
  2222. show-toolbar
  2223. :columns="jglxOptions"
  2224. value-key="dictLabel"
  2225. @confirm="onConfirmjglx"
  2226. @cancel="showjglx = false"
  2227. />
  2228. </van-popup>
  2229. <van-popup v-model="showtdzk" position="bottom">
  2230. <van-picker
  2231. show-toolbar
  2232. :columns="tdzkOptions"
  2233. value-key="dictLabel"
  2234. @confirm="onConfirmtdzk"
  2235. @cancel="showtdzk = false"
  2236. />
  2237. </van-popup>
  2238. <van-popup v-model="showfsss" style="height:100%;width:100%;">
  2239. <div class="bannerBg">
  2240. <van-nav-bar
  2241. style="background:transparent;border-bottom-width:0;"
  2242. @click-left="showfsss=false"
  2243. >
  2244. <template #left>
  2245. <van-icon name="arrow-left" size="18" color="#fff" />
  2246. </template>
  2247. <template #title>
  2248. <p style="color:#fff">附属设施</p>
  2249. </template>
  2250. </van-nav-bar>
  2251. </div>
  2252. <div style="margin:20px;">
  2253. <van-form @submit="onSubmitfsss">
  2254. <van-field
  2255. autocomplete="off"
  2256. v-model="form4.deptId"
  2257. style="display:none"
  2258. />
  2259. <van-field
  2260. autocomplete="off"
  2261. input-align="right"
  2262. v-model="form4.zjddm"
  2263. name="宅基地代码"
  2264. label="宅基地代码"
  2265. placeholder="宅基地代码"
  2266. required
  2267. :rules="[{ required: true, message: '宅基地代码不能为空' }]"
  2268. />
  2269. <van-field
  2270. autocomplete="off"
  2271. input-align="right"
  2272. v-model="form4.fssslxName"
  2273. name="附属设施类型"
  2274. label="附属设施类型"
  2275. placeholder="附属设施类型"
  2276. required
  2277. :rules="[{ required: true, message: '附属设施类型不能为空' }]"
  2278. @click="showfssslx = true"
  2279. />
  2280. <van-field
  2281. autocomplete="off"
  2282. v-model="form4.fssslx"
  2283. style="display:none"
  2284. />
  2285. <van-field
  2286. autocomplete="off"
  2287. input-align="right"
  2288. v-model="form4.jzmj"
  2289. name="建筑面积(㎡)"
  2290. label="建筑面积(㎡)"
  2291. placeholder="建筑面积(㎡)"
  2292. type="number"
  2293. required
  2294. :rules="[{ required: true, message: '建筑面积(㎡)不能为空' }]"
  2295. />
  2296. <van-field
  2297. autocomplete="off"
  2298. input-align="right"
  2299. v-model="form4.qslyName"
  2300. name="权属来源"
  2301. label="权属来源"
  2302. placeholder="权属来源"
  2303. required
  2304. :rules="[{ required: true, message: '权属来源不能为空' }]"
  2305. @click="showqsly = true"
  2306. />
  2307. <van-field
  2308. autocomplete="off"
  2309. v-model="form4.qsly"
  2310. style="display:none"
  2311. />
  2312. <van-field
  2313. autocomplete="off"
  2314. input-align="right"
  2315. v-model="form4.fwztName"
  2316. name="房屋状态"
  2317. label="房屋状态"
  2318. placeholder="房屋状态"
  2319. required
  2320. :rules="[{ required: true, message: '房屋状态不能为空' }]"
  2321. @click="showfwzt = true"
  2322. />
  2323. <van-field
  2324. autocomplete="off"
  2325. v-model="form4.fwzt"
  2326. style="display:none"
  2327. />
  2328. <van-field name="radio" label="是否审批" input-align="right" autocomplete="off">
  2329. <template #input>
  2330. <van-radio-group v-model="form4.sfsp" direction="horizontal">
  2331. <van-radio name="Y">是</van-radio>
  2332. <van-radio name="N">否</van-radio>
  2333. </van-radio-group>
  2334. </template>
  2335. </van-field>
  2336. <van-field name="radio" label="是否发证" input-align="right" autocomplete="off">
  2337. <template #input>
  2338. <van-radio-group v-model="form4.sffz" direction="horizontal">
  2339. <van-radio name="Y">是</van-radio>
  2340. <van-radio name="N">否</van-radio>
  2341. </van-radio-group>
  2342. </template>
  2343. </van-field>
  2344. <van-field
  2345. autocomplete="off"
  2346. input-align="right"
  2347. v-model="form4.jglxName"
  2348. name="结构类型"
  2349. label="结构类型"
  2350. placeholder="结构类型"
  2351. required
  2352. :rules="[{ required: true, message: '结构类型不能为空' }]"
  2353. @click="showjglx = true"
  2354. />
  2355. <van-field
  2356. autocomplete="off"
  2357. v-model="form4.jglx"
  2358. style="display:none"
  2359. />
  2360. <van-field name="radio" label="是否正在使用" input-align="right" autocomplete="off">
  2361. <template #input>
  2362. <van-radio-group v-model="form4.sfzzsy" direction="horizontal">
  2363. <van-radio name="Y">是</van-radio>
  2364. <van-radio name="N">否</van-radio>
  2365. </van-radio-group>
  2366. </template>
  2367. </van-field>
  2368. <van-field
  2369. autocomplete="off"
  2370. input-align="right"
  2371. v-model="form4.jzwqkName"
  2372. name="建筑物情况"
  2373. label="建筑物情况"
  2374. placeholder="建筑物情况"
  2375. required
  2376. :rules="[{ required: true, message: '建筑物情况不能为空' }]"
  2377. @click="showjzwqk = true"
  2378. />
  2379. <van-field
  2380. autocomplete="off"
  2381. v-model="form4.jzwqk"
  2382. style="display:none"
  2383. />
  2384. <van-field
  2385. autocomplete="off"
  2386. input-align="right"
  2387. v-model="form4.tdzkName"
  2388. name="审批或建设前土地状况"
  2389. label="审批或建设前土地状况"
  2390. placeholder="审批或建设前土地状况"
  2391. required
  2392. :rules="[{ required: true, message: '审批或建设前土地状况不能为空' }]"
  2393. @click="showtdzk = true"
  2394. />
  2395. <van-field
  2396. autocomplete="off"
  2397. v-model="form4.tdzk"
  2398. style="display:none"
  2399. />
  2400. <van-field name="radio" label="是否受过处罚" input-align="right" autocomplete="off">
  2401. <template #input>
  2402. <van-radio-group v-model="form4.sfsgcf" direction="horizontal">
  2403. <van-radio name="Y">是</van-radio>
  2404. <van-radio name="N">否</van-radio>
  2405. </van-radio-group>
  2406. </template>
  2407. </van-field>
  2408. <van-field
  2409. autocomplete="off"
  2410. input-align="right"
  2411. v-model="form4.remark"
  2412. name="备注"
  2413. label="备注"
  2414. placeholder="备注"
  2415. />
  2416. <MapGisDrawing ref="drewingClickLoading" :message="form4.theGeom" v-on:formSubmit="MapTag"></MapGisDrawing>
  2417. <div style="margin: 16px;" v-if="isFinished">
  2418. <van-button round block color="#7AC943" native-type="submit">保存</van-button>
  2419. </div>
  2420. </van-form>
  2421. </div>
  2422. </van-popup>
  2423. <van-popup v-model="showhncy" style="height:100%;width:100%;">
  2424. <div class="bannerBg">
  2425. <van-nav-bar
  2426. style="background:transparent;border-bottom-width:0;"
  2427. @click-left="showhncy=false"
  2428. >
  2429. <template #left>
  2430. <van-icon name="arrow-left" size="18" color="#fff" />
  2431. </template>
  2432. <template #title>
  2433. <p style="color:#fff">户内成员</p>
  2434. </template>
  2435. </van-nav-bar>
  2436. </div>
  2437. <div style="margin:20px;">
  2438. <van-form @submit="onSubmithncy">
  2439. <van-field
  2440. autocomplete="off"
  2441. input-align="right"
  2442. v-model="form5.nhdm"
  2443. name="农户代码"
  2444. label="农户代码"
  2445. placeholder="农户代码"
  2446. disabled
  2447. required
  2448. :rules="[{ required: true, message: '农户代码不能为空' }]"
  2449. />
  2450. <van-field
  2451. autocomplete="off"
  2452. input-align="right"
  2453. v-model="form5.xm"
  2454. name="姓名"
  2455. label="姓名"
  2456. placeholder="姓名"
  2457. required
  2458. :rules="[{ required: true, message: '姓名不能为空' }]"
  2459. />
  2460. <van-field
  2461. autocomplete="off"
  2462. input-align="right"
  2463. v-model="form5.zjlxName"
  2464. name="证件类型"
  2465. label="证件类型"
  2466. placeholder="证件类型"
  2467. required
  2468. :rules="[{ required: true, message: '证件类型不能为空' }]"
  2469. readonly
  2470. @click="showhncyzjlx = true"
  2471. />
  2472. <van-field
  2473. autocomplete="off"
  2474. v-model="form5.zjlx"
  2475. style="display:none"
  2476. />
  2477. <van-field
  2478. autocomplete="off"
  2479. input-align="right"
  2480. v-model="form5.yhzgxName"
  2481. name="与户主关系"
  2482. label="与户主关系"
  2483. placeholder="与户主关系"
  2484. required
  2485. readonly
  2486. :rules="[{ required: true, message: '与户主关系不能为空' }]"
  2487. @click="showyhzgx = true"
  2488. />
  2489. <van-field
  2490. autocomplete="off"
  2491. v-model="form5.yhzgx"
  2492. style="display:none"
  2493. />
  2494. <van-field
  2495. autocomplete="off"
  2496. input-align="right"
  2497. v-model="form5.zjhm"
  2498. name="证件号码"
  2499. label="证件号码"
  2500. placeholder="证件号码"
  2501. required
  2502. :rules="[{ required: true, message: '证件号码不能为空' },{validator:validatorIdcard2,message:'身份证号格式错误!'}]"
  2503. />
  2504. <van-field autocomplete="off" name="radio" label="性别" input-align="right" required
  2505. :rules="[{ required: true, message: '性别不能为空' }]">
  2506. <template #input>
  2507. <van-radio-group v-model="form5.xb" direction="horizontal">
  2508. <van-radio name="1">男</van-radio>
  2509. <van-radio name="0">女</van-radio>
  2510. <van-radio name="2">未知</van-radio>
  2511. </van-radio-group>
  2512. </template>
  2513. </van-field>
  2514. <van-field
  2515. autocomplete="off"
  2516. input-align="right"
  2517. v-model="form5.lxdh"
  2518. name="联系电话"
  2519. label="联系电话"
  2520. placeholder="联系电话"
  2521. />
  2522. <van-field name="radio" label="户口类型" input-align="right" autocomplete="off">
  2523. <template #input>
  2524. <van-radio-group v-model="form5.hklx" direction="horizontal">
  2525. <van-radio name="1">农业</van-radio>
  2526. <van-radio name="0">非农业</van-radio>
  2527. </van-radio-group>
  2528. </template>
  2529. </van-field>
  2530. <van-field name="radio" label="婚姻状况" input-align="right" autocomplete="off">
  2531. <template #input>
  2532. <van-radio-group v-model="form5.hyzk" direction="horizontal">
  2533. <van-radio v-for="dict in hyzkOptions" :key="dict.dictValue" :name="dict.dictValue">{{dict.dictLabel}}</van-radio>
  2534. </van-radio-group>
  2535. </template>
  2536. </van-field>
  2537. <van-field name="radio" label="是否本集体经济组织成员" input-align="right" autocomplete="off">
  2538. <template #input>
  2539. <van-radio-group v-model="form5.sfbjtjjzzcy" direction="horizontal">
  2540. <van-radio name="Y">是</van-radio>
  2541. <van-radio name="N">否</van-radio>
  2542. </van-radio-group>
  2543. </template>
  2544. </van-field>
  2545. <van-field
  2546. autocomplete="off"
  2547. input-align="right"
  2548. v-model="form5.cybzName"
  2549. name="成员备注"
  2550. label="成员备注"
  2551. placeholder="成员备注"
  2552. @click="showhncycybz = true"
  2553. readonly
  2554. />
  2555. <van-field
  2556. autocomplete="off"
  2557. v-model="form5.cybz"
  2558. style="display:none"
  2559. />
  2560. <van-field
  2561. autocomplete="off"
  2562. input-align="right"
  2563. v-model="form5.cybzsm"
  2564. name="成员备注说明"
  2565. label="成员备注说明"
  2566. placeholder="成员备注说明"
  2567. />
  2568. <van-field
  2569. autocomplete="off"
  2570. input-align="right"
  2571. v-model="form5.occupationName"
  2572. name="职业"
  2573. label="职业"
  2574. placeholder="职业"
  2575. required
  2576. :rules="[{ required: true, message: '' }]"
  2577. @click="showhncyoccupation = true"
  2578. />
  2579. <van-field
  2580. autocomplete="off"
  2581. v-model="form5.occupation"
  2582. style="display:none"
  2583. />
  2584. <van-field
  2585. autocomplete="off"
  2586. input-align="right"
  2587. v-model="form5.jzqkName"
  2588. name="居住情况"
  2589. label="居住情况"
  2590. placeholder="居住情况"
  2591. required
  2592. :rules="[{ required: true, message: '' }]"
  2593. @click="showhncyjzqk = true"
  2594. />
  2595. <van-field
  2596. autocomplete="off"
  2597. v-model="form5.jzqk"
  2598. style="display:none"
  2599. />
  2600. <van-field name="radio" label="是否贫困户" input-align="right" autocomplete="off">
  2601. <template #input>
  2602. <van-radio-group v-model="form5.sfpkh" direction="horizontal">
  2603. <van-radio name="Y">是</van-radio>
  2604. <van-radio name="N">否</van-radio>
  2605. </van-radio-group>
  2606. </template>
  2607. </van-field>
  2608. <van-field name="radio" label="是否五保户" input-align="right" autocomplete="off">
  2609. <template #input>
  2610. <van-radio-group v-model="form5.sfwbh" direction="horizontal">
  2611. <van-radio name="Y">是</van-radio>
  2612. <van-radio name="N">否</van-radio>
  2613. </van-radio-group>
  2614. </template>
  2615. </van-field>
  2616. <van-field
  2617. autocomplete="off"
  2618. input-align="right"
  2619. v-model="form5.sjlyName"
  2620. name="数据来源"
  2621. label="数据来源"
  2622. placeholder="数据来源"
  2623. required
  2624. :rules="[{ required: true, message: '' }]"
  2625. @click="showhncysjly = true"
  2626. />
  2627. <van-field
  2628. autocomplete="off"
  2629. v-model="form5.sjly"
  2630. style="display:none"
  2631. />
  2632. <div style="margin: 16px;" v-if="isFinished">
  2633. <van-button round block color="#7AC943" native-type="submit">保存</van-button>
  2634. </div>
  2635. </van-form>
  2636. </div>
  2637. </van-popup>
  2638. <van-popup v-model="showhncylist" style="height:100%;width:100%;">
  2639. <div class="bannerBg">
  2640. <van-nav-bar
  2641. style="background:transparent;border-bottom-width:0;"
  2642. @click-left="showhncylist=false"
  2643. >
  2644. <template #left>
  2645. <van-icon name="arrow-left" size="18" color="#fff" />
  2646. </template>
  2647. <template #title>
  2648. <p style="color:#fff">户内成员信息</p>
  2649. </template>
  2650. </van-nav-bar>
  2651. </div>
  2652. <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;">
  2653. <div style="padding:20px;">
  2654. <p style="color:#22B7F2;font-size:20px;line-height:30px;"><van-icon name="wap-home" color="#22b7f2" size="20" style="margin-right:10px;"/>
  2655. {{item.xm}}</p>
  2656. <div style="display:flex;line-height:20px">
  2657. <p style="flex:1;text-align:left;">证件号码</p>
  2658. <p style="flex:1;text-align:right;">{{item.zjhm}}</p>
  2659. </div>
  2660. <div style="display:flex;line-height:20px">
  2661. <p style="flex:1;text-align:left;">与户主关系</p>
  2662. <p style="flex:1;text-align:right;">{{yhzgxfy(item.yhzgx)}}</p>
  2663. </div>
  2664. </div>
  2665. <template #right v-if="isFinished">
  2666. <van-button square text="设为户主" type="primary" style="height:100%" @click="setNh(item,index)"/>
  2667. <van-button square text="删除" type="danger" class="delete-button" @click="deletehncy(item.id,index)" />
  2668. </template>
  2669. </van-swipe-cell>
  2670. <div v-if="isFinished" 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;">
  2671. <div style="text-align:center;" >
  2672. <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>
  2673. </div>
  2674. </div>
  2675. </van-popup>
  2676. <van-popup v-model="shownmfw" style="height:100%;width:100%;">
  2677. <div class="bannerBg">
  2678. <van-nav-bar
  2679. style="background:transparent;border-bottom-width:0;"
  2680. @click-left="shownmfw=false"
  2681. >
  2682. <template #left>
  2683. <van-icon name="arrow-left" size="18" color="#fff" />
  2684. </template>
  2685. <template #title>
  2686. <p style="color:#fff">房屋信息列表</p>
  2687. </template>
  2688. </van-nav-bar>
  2689. </div>
  2690. <div style="margin:20px;">
  2691. <p class="title" style="position:relative;padding-left:20px;line-height:32px;">房屋信息</p>
  2692. </div>
  2693. <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;">
  2694. <div style="padding:20px;">
  2695. <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>
  2696. <div style="display:flex;line-height:20px">
  2697. <p style="flex:1;text-align:left;">农民房屋幢号</p>
  2698. <p style="flex:1;text-align:right;">{{item.nmfwzh}}</p>
  2699. </div>
  2700. <div style="display:flex;line-height:20px">
  2701. <p style="flex:1;text-align:left;">农民房屋面积(㎡)</p>
  2702. <p style="flex:1;text-align:right;">{{item.nmfwmj}}</p>
  2703. </div>
  2704. <div style="text-align:center;overflow:auto;">
  2705. <van-button plain round color="#7AC943" size="mini" style="margin:0 auto;" @click="showPopupfw(item)">查看房屋信息</van-button>
  2706. </div>
  2707. </div>
  2708. <template #right v-if="isFinished">
  2709. <van-button square text="删除" type="danger" class="delete-button" @click="deletefw(item.id,index)"/>
  2710. </template>
  2711. </van-swipe-cell>
  2712. <div v-if="isFinished" 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">
  2713. <div style="text-align:center;" >
  2714. <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>
  2715. </div>
  2716. </div>
  2717. </van-popup>
  2718. <van-popup v-model="showesign" position="bottom" closeable
  2719. close-icon="close">
  2720. <van-row style="margin:0 10%">
  2721. <p class="title" style="margin:20px 0;position:relative;padding-left:20px;font-size:0.5rem">电子签名</p>
  2722. </van-row>
  2723. <van-row style="margin: 0 5% 5% 5%;border:1px solid #BFBFBF">
  2724. <vue-esign
  2725. ref="esign"
  2726. class="mySign"
  2727. :width="800"
  2728. :height="500"
  2729. :isCrop="isCrop"
  2730. :lineWidth="lineWidth"
  2731. :lineColor="lineColor"
  2732. :bgColor.sync="bgColor"
  2733. v-if="!resultImg"
  2734. />
  2735. <img :src="resultImg" alt="" width="100%" height="100%" v-if="resultImg"/>
  2736. </van-row>
  2737. <van-row type="flex" justify="center" style="margin-bottom:20px;" v-if="isFinished">
  2738. <van-col span="6" style="text-align:center;"><van-button type="primary" round size="small" @click="handleReset">清空画板</van-button></van-col>
  2739. <van-col span="6" style="text-align:center;"><van-button type="primary" round size="small" @click="handleGenerate">保存提交</van-button></van-col>
  2740. </van-row>
  2741. </van-popup>
  2742. <van-popup v-model="showycbj" position="bottom"
  2743. style="padding-top:20px;">
  2744. <van-field name="radio" label="是否异常">
  2745. <template #input>
  2746. <van-radio-group v-model="isyc" direction="horizontal">
  2747. <van-radio name="Y">是</van-radio>
  2748. <van-radio name="N">否</van-radio>
  2749. </van-radio-group>
  2750. </template>
  2751. </van-field>
  2752. <van-field v-model="ycms" v-if="isyc=='Y'" type="textarea" maxlength="250" label="异常描述" placeholder="请输入异常描述" />
  2753. <van-field name="uploader" label="异常描述照片" v-if="isyc=='Y'" autocomplete="off">
  2754. <template #input>
  2755. <van-uploader v-model="fileListyc" :after-read="beforeReadyc" multiple @delete="deleteFileyc" :max-count="8"></van-uploader>
  2756. </template>
  2757. </van-field>
  2758. <div style="margin: 16px;" v-if="isFinished">
  2759. <van-button round block type="info" @click="saveyc">保存</van-button>
  2760. </div>
  2761. </van-popup>
  2762. <van-popup v-model="showdcsh" position="bottom"
  2763. style="padding-top:20px;">
  2764. <van-field name="radio" label="调查审核">
  2765. <template #input>
  2766. <van-radio-group v-model="zjdAudit" direction="horizontal">
  2767. <van-radio name="1">通过</van-radio>
  2768. <van-radio name="2">驳回</van-radio>
  2769. </van-radio-group>
  2770. </template>
  2771. </van-field>
  2772. <van-field v-model="auditRemark" type="textarea" maxlength="250" label="审核描述" placeholder="请输入审核描述" />
  2773. <div style="margin: 16px;">
  2774. <van-button round block type="info" @click="savesh">保存</van-button>
  2775. </div>
  2776. </van-popup>
  2777. <!--户内成员职业-->
  2778. <van-popup v-model="showhncyoccupation" position="bottom">
  2779. <van-picker
  2780. show-toolbar
  2781. :columns="occupationOptions"
  2782. value-key="dictLabel"
  2783. @confirm="onConfirmhncyoccupation"
  2784. @cancel="showhncyoccupation = false"
  2785. />
  2786. </van-popup>
  2787. <!--户内成员成员备注-->
  2788. <van-popup v-model="showhncycybz" position="bottom">
  2789. <van-picker
  2790. show-toolbar
  2791. :columns="cybzOptions"
  2792. value-key="dictLabel"
  2793. @confirm="onConfirmhncycybz"
  2794. @cancel="showhncycybz = false"
  2795. />
  2796. </van-popup>
  2797. <!--户内成员居住情况-->
  2798. <van-popup v-model="showhncyjzqk" position="bottom">
  2799. <van-picker
  2800. show-toolbar
  2801. :columns="jzqkOptions"
  2802. value-key="dictLabel"
  2803. @confirm="onConfirmhncyjzqk"
  2804. @cancel="showhncyjzqk = false"
  2805. />
  2806. </van-popup>
  2807. <!--户主数据来源-->
  2808. <van-popup v-model="showhzsjly" position="bottom">
  2809. <van-picker
  2810. show-toolbar
  2811. :columns="sjlyOptions"
  2812. value-key="dictLabel"
  2813. @confirm="onConfirmhzsjly"
  2814. @cancel="showhzsjly = false"
  2815. />
  2816. </van-popup>
  2817. <!--户内成员数据来源-->
  2818. <van-popup v-model="showhncysjly" position="bottom">
  2819. <van-picker
  2820. show-toolbar
  2821. :columns="sjlyOptions"
  2822. value-key="dictLabel"
  2823. @confirm="onConfirmhncysjly"
  2824. @cancel="showhncysjly = false"
  2825. />
  2826. </van-popup>
  2827. <!--使用权人农民房屋代码列表-->
  2828. <van-popup v-model="showsyqrnmfwdm" position="bottom">
  2829. <van-picker
  2830. show-toolbar
  2831. :columns="fwlist"
  2832. value-key="nmfwdm"
  2833. @confirm="onConfirmsyqrnmfwdm"
  2834. @cancel="showsyqrnmfwdm = false"
  2835. />
  2836. </van-popup>
  2837. <!--农民房屋农户代码列表-->
  2838. <van-popup v-model="shownmfwnhdm" position="bottom">
  2839. <!--<van-search v-model="nhdmValue" placeholder="请输入搜索关键词" @input="getnhdmlist"/>-->
  2840. <van-picker
  2841. show-toolbar
  2842. :columns="syqrlist"
  2843. value-key="shyqrdbxm"
  2844. @confirm="onConfirmnmfwnhdm"
  2845. @cancel="shownmfwnhdm = false"
  2846. />
  2847. </van-popup>
  2848. <!--使用权人所属行业列表-->
  2849. <van-popup v-model="showsyqrsshy" position="bottom">
  2850. <van-picker
  2851. show-toolbar
  2852. :columns="industryOptions"
  2853. value-key="dictLabel"
  2854. @confirm="onConfirmsyqrsshy"
  2855. @cancel="showsyqrsshy = false"
  2856. />
  2857. </van-popup>
  2858. <!--户主证件类型-->
  2859. <van-popup v-model="showhzzjlx" position="bottom">
  2860. <van-picker
  2861. show-toolbar
  2862. :columns="zjlxOptions"
  2863. value-key="dictLabel"
  2864. @confirm="onConfirmhzzjlx"
  2865. @cancel="showhzzjlx = false"
  2866. />
  2867. </van-popup>
  2868. <!--户主数据来源-->
  2869. <van-popup v-model="showhzsjly" position="bottom">
  2870. <van-picker
  2871. show-toolbar
  2872. :columns="sjlyOptions"
  2873. value-key="dictLabel"
  2874. @confirm="onConfirmhzsjly"
  2875. @cancel="showhzsjly = false"
  2876. />
  2877. </van-popup>
  2878. <!--户主职业-->
  2879. <van-popup v-model="showhzoccupation" position="bottom">
  2880. <van-picker
  2881. show-toolbar
  2882. :columns="occupationOptions"
  2883. value-key="dictLabel"
  2884. @confirm="onConfirmhzoccupation"
  2885. @cancel="showhzoccupation = false"
  2886. />
  2887. </van-popup>
  2888. <!--户主居住情况-->
  2889. <van-popup v-model="showhzjzqk" position="bottom">
  2890. <van-picker
  2891. show-toolbar
  2892. :columns="jzqkOptions"
  2893. value-key="dictLabel"
  2894. @confirm="onConfirmhzjzqk"
  2895. @cancel="showhzjzqk = false"
  2896. />
  2897. </van-popup>
  2898. <!--集市或城市是否有住房-->
  2899. <van-popup v-model="showhzjzhcssfyzf" position="bottom">
  2900. <van-picker
  2901. show-toolbar
  2902. :columns="jzhcssfyzfOptions"
  2903. value-key="dictLabel"
  2904. @confirm="onConfirmhzjzhcssfyzf"
  2905. @cancel="showhzjzhcssfyzf = false"
  2906. />
  2907. </van-popup>
  2908. </div>
  2909. </template>
  2910. <script>
  2911. import {listShyqr,addShyqr,updateShyqr,delShyqr,setSyqrInfo} from "@/api/homesteadSurvey/shyqr";
  2912. import {listZjdzd,getZjdzd,updateZjdzd,addZjdzd,uploadFile,getQueryLand} from "@/api/homesteadSurvey/zjdzd";
  2913. import MapGisDrawing from "@/components/Map/MapGisDrawing";
  2914. import {listZrz,addZrz,updateZrz,getZrzZjdDmList,delZrz,updateZrzZtN,updateZrzZtY} from "@/api/homesteadSurvey/zrz";
  2915. import {listNmfw,addNmfw,updateNmfw,delNmfw} from "@/api/homesteadSurvey/nmfw";
  2916. import {listSuyqr,addSuyqr,updateSuyqr} from "@/api/homesteadSurvey/suyqr";
  2917. import {listNhhncy,addNhhncy,updateNhhncy,delNhhncy} from "@/api/homesteadSurvey/nhhncy";
  2918. import {addNh, delNh, exportNh, getNh, listNh, updateNh,setNhInfo} from "@/api/homesteadSurvey/nh";
  2919. import {listFsss,addFsss,updateFsss,delFsss,getFsssZjdDmList,updateFsssZtN,updateFsssZtY} from "@/api/homesteadSurvey/fsss";
  2920. import { listTown, getTown } from "@/api/homesteadSurvey/town";
  2921. import { listVillage} from "@/api/homesteadSurvey/village";
  2922. import { sysConfig} from "@/api/homesteadSurvey/index";
  2923. import { Notify, Dialog, Toast } from 'vant';
  2924. export default {
  2925. name: "homesteadAdd",
  2926. components: { MapGisDrawing,},
  2927. data() {
  2928. return {
  2929. showsh:false,
  2930. showdcsh:false,
  2931. zjdAudit:'1',
  2932. auditRemark:"",
  2933. ycms:"",
  2934. isyc:'Y',
  2935. ycms:"",
  2936. showycbj:false,
  2937. shownh:false,
  2938. showhzzjlx:false,
  2939. showhzoccupation:false,
  2940. showhzjzqk:false,
  2941. showhzjzhcssfyzf:false,
  2942. showhzsjly:false,
  2943. minDate:new Date(1950,1,1),
  2944. maxDate:new Date(2030,1,1),
  2945. nhdmValue:null,
  2946. active:1,
  2947. // 电子签名
  2948. lineWidth: 6, // 画笔的线条粗细
  2949. lineColor: "#000000", // 画笔的颜色
  2950. bgColor: "", // 画布的背景颜色
  2951. resultImg: "", // 最终画布生成的base64图片
  2952. isCrop: false, // 是否裁剪,在画布设定尺寸基础上裁掉四周空白部分
  2953. showhjszss:false,
  2954. showdj:false,
  2955. shownmfw:false,
  2956. showsyqrsshy:false,
  2957. shownmfwnhdm:false,
  2958. showsyqrnmfwdm:false,
  2959. showhncysjly:false,
  2960. showhzsjly:false,
  2961. showesign:false,
  2962. showsyqrnhdmlist:false,
  2963. showzrzfwjg:false,
  2964. showzrzh:false,
  2965. showyt:false,
  2966. showqllx:false,
  2967. showqlxz:false,
  2968. showqlsdfs:false,
  2969. showhzjzhcssfyzf:false,
  2970. showhncycybz:false,
  2971. showhncyoccupation:false,
  2972. showhncyjzqk:false,
  2973. showhzoccupation:false,
  2974. showhzjzqk:false,
  2975. showhncyzjlx:false,
  2976. showyhzgx:false,
  2977. showqlrlx:false,
  2978. showshyqrdbzjlx:false,
  2979. showgyfs:false,
  2980. showPickerjgrq:false,
  2981. showPickerdjsj:false,
  2982. showPickerpzsj:false,
  2983. showPickercfqssj:false,
  2984. showPickercfjssj:false,
  2985. showPickerzwlxsj1:false,
  2986. showPickerzwlxsj2:false,
  2987. showhx:false,
  2988. showhxjg:false,
  2989. showfwjg:false,
  2990. showfwyt:false,
  2991. showfwlx:false,
  2992. showfwxz:false,
  2993. shownmfwsjly:false,
  2994. shownmfwlyzk:false,
  2995. shownmfwtdzk:false,
  2996. shownmfwqsly:false,
  2997. shownmfwfwzt:false,
  2998. showphlyms:false,
  2999. showfssslx:false,
  3000. showqsly:false,
  3001. showfwzt:false,
  3002. showjglx:false,
  3003. showjzwqk:false,
  3004. showtdzk:false,
  3005. showsjly:false,
  3006. showzrzsjly:false,
  3007. showPickerxzkssj:false,
  3008. showlyzk:false,
  3009. showsyqr: false,
  3010. showhncylist:false,
  3011. showhncy:false,
  3012. show1: false,
  3013. showzrz: false,
  3014. showfw:false,
  3015. showfsss:false,
  3016. show3: false,
  3017. username: '',
  3018. password: '',
  3019. // 路由数据
  3020. item:{},
  3021. //宅基地表单
  3022. form:{},
  3023. //使用权人表单
  3024. form1:{},
  3025. //自然幢表单
  3026. form3:{},
  3027. //农民房屋表单
  3028. nmfwform:{},
  3029. //附属设施表单
  3030. form4:{},
  3031. //成员信息表单
  3032. form5:{},
  3033. // 农户信息表单
  3034. nhform:{},
  3035. // 使用权人列表
  3036. syqrlist:[],
  3037. // 使用权人农户代码列表
  3038. syqrnhdmlist:[],
  3039. // 户内成员列表
  3040. hncylist:[],
  3041. // 自然幢列表
  3042. zrzlist:[],
  3043. // 房屋列表
  3044. fwlist:[],
  3045. // 附属设施列表
  3046. fssslist:[],
  3047. // 当前利用状况字典
  3048. lyzkOptions: [],
  3049. // 数据来源字典
  3050. sjlyOptions:[],
  3051. // 宅基地取得方式字典
  3052. zjdqdfsOptions:[],
  3053. // 附属设施类型字典
  3054. fssslxOptions:[],
  3055. // 权属来源字典
  3056. qslyOptions:[],
  3057. // 房屋状态字典
  3058. fwztOptions:[],
  3059. // 结构类型字典
  3060. jglxOptions:[],
  3061. // 建筑物情况字典
  3062. jzwqkOptions:[],
  3063. // 土地状况字典
  3064. tdzkOptions:[],
  3065. // 宅基地图片
  3066. fileListzjd:[],
  3067. // 房屋图片
  3068. fileListfw:[],
  3069. // 户型字典
  3070. hxOptions: [],
  3071. // 户型结构字典
  3072. hxjgOptions: [],
  3073. // 房屋结构字典
  3074. fwjgOptions: [],
  3075. // 房屋用途字典
  3076. fwytOptions: [],
  3077. // 房屋类型字典
  3078. fwlxOptions: [],
  3079. // 房屋性质字典
  3080. fwxzOptions: [],
  3081. // 盘活利用模式字典
  3082. phlymsOptions: [],
  3083. // 流转意向字典
  3084. lzyxOptions: [],
  3085. // 有偿退出意向字典
  3086. yctcyxOptions: [],
  3087. // 被惩处经历字典
  3088. bccjlOptions: [],
  3089. // 审批或建设前土地状况字典
  3090. tdzkOptions: [],
  3091. // 批准时间字典
  3092. pzsjOptions: [],
  3093. // 共有方式字典
  3094. gyfsOptions: [],
  3095. // 权利人类型字典
  3096. qlrlxOptions: [],
  3097. // 证件类型字典
  3098. zjlxOptions:[],
  3099. // 与户主关系字典
  3100. yhzgxOptions:[],
  3101. // 权利类型字典
  3102. qllxOptions:[],
  3103. // 权利性质字典
  3104. qlxzOptions:[],
  3105. // 权利设定方式字典
  3106. qlsdfsOptions:[],
  3107. // 用途字典
  3108. ytOptions:[],
  3109. // 职业字典
  3110. occupationOptions:[],
  3111. // 集镇或城市是否有住房
  3112. jzhcssfyzfOptions:[],
  3113. // 婚姻状况
  3114. hyzkOptions:[],
  3115. // 成员备注字典
  3116. cybzOptions:[],
  3117. // 居住情况字典
  3118. jzqkOptions:[],
  3119. // 土地等级字典
  3120. tddjOptions:[],
  3121. // 所属行业
  3122. industryOptions:[],
  3123. // 户籍所在省市
  3124. hjszssOptions:[],
  3125. // 图片上传路径
  3126. baseUrl:"",
  3127. // 自然幢号
  3128. zrzh:null,
  3129. //返回地图页
  3130. backMap:{
  3131. activeBtn:"",
  3132. backMapZjdAData:"",
  3133. deptId:"",
  3134. zjddm:"",
  3135. },
  3136. //记录是否从地图进入
  3137. enterMap: "",
  3138. //记录从地图进入宅基地代码
  3139. enterMapZjddm:"",
  3140. //审核状态
  3141. isFinished:false,
  3142. // cookies
  3143. cookiesInfo:null,
  3144. // 异常标记照片
  3145. fileListyc:[],
  3146. };
  3147. },
  3148. created(){
  3149. if(this.$cookies.get("search")){
  3150. if(this.$cookies.get("search").active!=null){
  3151. this.cookiesInfo = this.$cookies.get("search")
  3152. this.$cookies.set("search","")
  3153. //返回地图值记录----start
  3154. this.backMap.activeBtn = 4;
  3155. this.enterMap =1;
  3156. this.backMap.backMapZjdAData = this.cookiesInfo.mapZjdAData;
  3157. this.backMap.deptId = this.cookiesInfo.mapZjdAData.deptId;
  3158. this.backMap.zjddm = this.cookiesInfo.mapZjdAData.zjddm;
  3159. this.$cookies.set("item",this.backMap);
  3160. this.form.theGeom = this.cookiesInfo.mapZjdAData.theGeom;
  3161. //this.enterMapZjddm = this.cookiesInfo.mapZjdAData.zjddm;
  3162. //返回地图值记录----end
  3163. this.active = this.cookiesInfo.active;
  3164. this.item = this.cookiesInfo.mapZjdAData;
  3165. if(this.item.houseDataConfirmStatus!="CONFIRMED"){
  3166. this.isFinished = true
  3167. }
  3168. this.form = this.cookiesInfo.mapZjdAData;
  3169. this.mapClickLoading();
  3170. let zrz = this.cookiesInfo.mapZrzAData;
  3171. let fsss = this.cookiesInfo.mapFsssAData;
  3172. this.getnhdmlist();
  3173. this.getBaseUrl();
  3174. this.getZjd();
  3175. if(this.cookiesInfo.active=="3"){
  3176. this.showzrz= true
  3177. this.form3 =
  3178. this.form3.theGeom = this.cookiesInfo.mapZrzAData.theGeom;
  3179. this.getZrzList()
  3180. setTimeout(() => {
  3181. this.showPopupzrz(zrz)
  3182. }, 500);
  3183. }else if(this.cookiesInfo.active=="4"){
  3184. this.showfsss= true
  3185. this.form4.theGeom = this.cookiesInfo.mapFsssAData.theGeom;
  3186. this.getFsssList()
  3187. setTimeout(() => {
  3188. this.showPopupfsss(fsss)
  3189. }, 500);
  3190. }
  3191. }else{
  3192. this.cookiesInfo = this.$cookies.get("search")
  3193. this.$cookies.set("search","")
  3194. this.item = this.cookiesInfo
  3195. if(this.item.houseDataConfirmStatus!="CONFIRMED"){
  3196. this.isFinished = true
  3197. }
  3198. this.getBaseUrl();
  3199. this.getnhdmlist();
  3200. this.getZjd();
  3201. }
  3202. }else{
  3203. this.$set(this.item,"deptId",this.$cookies.get("item").deptId)
  3204. if(this.item.houseDataConfirmStatus!="CONFIRMED"){
  3205. this.isFinished = true
  3206. }
  3207. this.getBaseUrl();
  3208. this.getnhdmlist();
  3209. this.getZjd();
  3210. }
  3211. this.getDicts("zjdlyzk").then(response => {
  3212. this.lyzkOptions = response.data;
  3213. });
  3214. this.getDicts("acquisition_method").then(response => {
  3215. this.zjdqdfsOptions = response.data;
  3216. });
  3217. this.getDicts("sjly").then(response => {
  3218. this.sjlyOptions = response.data;
  3219. });
  3220. this.getDicts("fsss_type").then(response => {
  3221. this.fssslxOptions = response.data;
  3222. });
  3223. this.getDicts("acquisition_method").then(response => {
  3224. this.qslyOptions = response.data;
  3225. });
  3226. this.getDicts("fwzt").then(response => {
  3227. this.fwztOptions = response.data;
  3228. });
  3229. this.getDicts("house_jglx").then(response => {
  3230. this.jglxOptions = response.data;
  3231. });
  3232. this.getDicts("fwzt").then(response => {
  3233. this.jzwqkOptions = response.data;
  3234. });
  3235. this.getDicts("land_state").then(response => {
  3236. this.tdzkOptions = response.data;
  3237. });
  3238. this.getDicts("approve_time").then(response => {
  3239. this.pzsjOptions = response.data;
  3240. });
  3241. this.getDicts("phlyms").then(response => {
  3242. this.phlymsOptions = response.data;
  3243. });
  3244. this.getDicts("fwlx").then(response => {
  3245. this.fwlxOptions = response.data;
  3246. });
  3247. this.getDicts("fwxz").then(response => {
  3248. this.fwxzOptions = response.data;
  3249. });
  3250. this.getDicts("nmfwhx").then(response => {
  3251. this.hxOptions = response.data;
  3252. });
  3253. this.getDicts("nmfwhxjg").then(response => {
  3254. this.hxjgOptions = response.data;
  3255. });
  3256. this.getDicts("housing_structure").then(response => {
  3257. this.fwjgOptions = response.data;
  3258. });
  3259. this.getDicts("fwyt").then(response => {
  3260. this.fwytOptions = response.data;
  3261. });
  3262. this.getDicts("common_mode").then(response => {
  3263. this.gyfsOptions = response.data;
  3264. });
  3265. this.getDicts("obligee_type").then(response => {
  3266. this.qlrlxOptions = response.data;
  3267. });
  3268. this.getDicts("zjlx").then(response => {
  3269. this.zjlxOptions = response.data;
  3270. });
  3271. this.getDicts("hjszss").then(response => {
  3272. this.hjszssOptions = response.data;
  3273. });
  3274. this.getDicts("family_status").then(response => {
  3275. var arr = [];response.data.forEach(function (item) {
  3276. if (item.dictLabel !== '户主') {
  3277. arr.push(item)
  3278. }
  3279. });
  3280. this.yhzgxOptions = arr;
  3281. });
  3282. this.getDicts("rights_nature").then(response => {
  3283. this.qlxzOptions = response.data;
  3284. });
  3285. this.getDicts("rights_type").then(response => {
  3286. this.qllxOptions = response.data;
  3287. });
  3288. this.getDicts("right_setting_mode").then(response => {
  3289. this.qlsdfsOptions = response.data;
  3290. });
  3291. this.getDicts("land_use").then(response => {
  3292. this.ytOptions = response.data;
  3293. });
  3294. this.getDicts("jzhcssfyzf").then(response => {
  3295. this.jzhcssfyzfOptions = response.data;
  3296. });
  3297. this.getDicts("occupation").then(response => {
  3298. this.occupationOptions = response.data;
  3299. });
  3300. this.getDicts("hyzk").then(response => {
  3301. this.hyzkOptions = response.data;
  3302. });
  3303. this.getDicts("member_remark").then(response => {
  3304. this.cybzOptions = response.data;
  3305. });
  3306. this.getDicts("living_condition").then(response => {
  3307. this.jzqkOptions = response.data;
  3308. });
  3309. this.getDicts("tddj").then(response => {
  3310. this.tddjOptions = response.data;
  3311. });
  3312. this.getDicts("Industry").then(response => {
  3313. this.industryOptions = response.data;
  3314. });
  3315. if(this.active ==1){
  3316. //this.form.theGeom = this.item.theGeom;
  3317. this.message = this.form.theGeom;
  3318. console.log(this.message);
  3319. //this.$refs.drewingClickLoading = this.form.theGeom;
  3320. this.mapClickLoading();
  3321. }
  3322. },
  3323. mounted(){
  3324. },
  3325. methods: {
  3326. showPic(){
  3327. if(this.form.dzqm!=null&&this.form.dzqm!=""){
  3328. this.resultImg = this.baseUrl+this.form.dzqm
  3329. }
  3330. if(this.$cookies.get("businessLevel")=='2'){
  3331. this.showsh = true
  3332. }else{
  3333. this.showsh = false
  3334. }
  3335. },
  3336. validatorIdcard(val){
  3337. if(this.form1.shyqrdbzjlx=='01'){
  3338. if(this.vcheckID(val)){
  3339. return true
  3340. }else {
  3341. return false
  3342. }
  3343. }else{
  3344. return true
  3345. }
  3346. },
  3347. validatorIdcard1(val){
  3348. if(this.nhform.hzzljx=='01'){
  3349. if(this.vcheckID(val)){
  3350. return true
  3351. }else {
  3352. return false
  3353. }
  3354. }else{
  3355. return true
  3356. }
  3357. },
  3358. validatorIdcard2(val){
  3359. if(this.form5.zjlx=='01'){
  3360. if(this.vcheckID(val)){
  3361. return true
  3362. }else {
  3363. return false
  3364. }
  3365. }else{
  3366. return true
  3367. }
  3368. },
  3369. checkCode(val) {
  3370. var p = /^[1-9]\d{5}(18|19|20)\d{2}((0[1-9])|(1[0-2]))(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$/;
  3371. var factor = [ 7, 9, 10, 5, 8, 4, 2, 1, 6, 3, 7, 9, 10, 5, 8, 4, 2 ];
  3372. var parity = [ 1, 0, 'X', 9, 8, 7, 6, 5, 4, 3, 2 ];
  3373. var code = val.substring(17);
  3374. if(p.test(val)) {
  3375. var sum = 0;
  3376. for(var i=0;i<17;i++) {
  3377. sum += val[i]*factor[i];
  3378. }
  3379. if(parity[sum % 11] == code.toUpperCase()) {
  3380. return true;
  3381. }
  3382. }
  3383. return false;
  3384. },
  3385. checkDate (val) {
  3386. var pattern = /^(18|19|20)\d{2}((0[1-9])|(1[0-2]))(([0-2][1-9])|10|20|30|31)$/;
  3387. if(pattern.test(val)) {
  3388. var year = val.substring(0, 4);
  3389. var month = val.substring(4, 6);
  3390. var date = val.substring(6, 8);
  3391. var date2 = new Date(year+"-"+month+"-"+date);
  3392. if(date2 && date2.getMonth() == (parseInt(month) - 1)) {
  3393. return true;
  3394. }
  3395. }
  3396. return false;
  3397. },
  3398. checkProv(val) {
  3399. var pattern = /^[1-9][0-9]/;
  3400. var provs = {11:"北京",12:"天津",13:"河北",14:"山西",15:"内蒙古",21:"辽宁",22:"吉林",23:"黑龙江 ",31:"上海",32:"江苏",33:"浙江",34:"安徽",35:"福建",36:"江西",37:"山东",41:"河南",42:"湖北 ",43:"湖南",44:"广东",45:"广西",46:"海南",50:"重庆",51:"四川",52:"贵州",53:"云南",54:"西藏 ",61:"陕西",62:"甘肃",63:"青海",64:"宁夏",65:"新疆",71:"台湾",81:"香港",82:"澳门"};
  3401. if(pattern.test(val)) {
  3402. if(provs[val]) {
  3403. return true;
  3404. }
  3405. }
  3406. return false;
  3407. },
  3408. vcheckID(val){
  3409. if(this.checkCode(val)) {
  3410. var date = val.substring(6,14);
  3411. if(this.checkDate(date)) {
  3412. if(this.checkProv(val.substring(0,2))) {
  3413. return true;
  3414. }
  3415. }
  3416. }
  3417. return false;
  3418. },
  3419. showdcshinfo(){
  3420. this.showdcsh = true
  3421. if(this.form.zjdAudit!=null&&this.form.zjdAudit!=""){
  3422. if(this.form.zjdAudit=='0'||this.form.zjdAudit=='1'){
  3423. this.zjdAudit = "1"
  3424. this.auditRemark = this.form.auditRemark
  3425. }else{
  3426. this.zjdAudit = this.form.zjdAudit
  3427. this.auditRemark = this.form.auditRemark
  3428. }
  3429. }else{
  3430. this.zjdAudit = "1"
  3431. this.auditRemark = ""
  3432. }
  3433. },
  3434. showycbjinfo(){
  3435. this.showycbj = true
  3436. if(this.form.isyc!=null&&this.form.isyc!=""){
  3437. this.isyc = this.form.isyc
  3438. this.ycms = this.form.ycms
  3439. this.fileListyc = []
  3440. if(this.form.yctp!=null&&this.form.yctp!=""&&this.form.yctp.length>0){
  3441. let li = this.form.yctp.split(",");
  3442. li.map(res => {
  3443. this.fileListyc.push({"url":this.baseUrl+res,"baseUrl":res})
  3444. })
  3445. }
  3446. }else{
  3447. this.isyc = "Y"
  3448. this.ycms = ""
  3449. }
  3450. },
  3451. savesh(){
  3452. this.form.zjdAudit = this.zjdAudit
  3453. this.form.auditRemark = this.auditRemark
  3454. if(this.form.zjdAudit=='2'){
  3455. this.form.houseDataConfirmStatus = 'UNCONFIRMED'
  3456. updateZjdzd(this.form).then(response => {
  3457. let _this =this
  3458. this.$toast({
  3459. icon: 'success', // 找到自己需要的图标
  3460. message: '审核成功',
  3461. duration:"1000",
  3462. onClose:function(){
  3463. _this.showdcsh = false
  3464. }
  3465. })
  3466. });
  3467. }else{
  3468. updateZjdzd(this.form).then(response => {
  3469. let _this =this
  3470. this.$toast({
  3471. icon: 'success', // 找到自己需要的图标
  3472. message: '审核成功',
  3473. duration:"1000",
  3474. onClose:function(){
  3475. _this.showdcsh = false
  3476. }
  3477. })
  3478. });
  3479. }
  3480. },
  3481. saveyc(){
  3482. this.showycbj = false
  3483. this.form.isyc = this.isyc
  3484. this.form.ycms = this.ycms
  3485. updateZjdzd(this.form).then(response => {
  3486. let _this =this
  3487. this.$toast({
  3488. icon: 'success', // 找到自己需要的图标
  3489. message: '保存成功',
  3490. duration:"1000",
  3491. onClose:function(){
  3492. _this.showycbj = false
  3493. }
  3494. })
  3495. });
  3496. },
  3497. // 图片上传前
  3498. beforeReadyc(file){
  3499. // 创建Canvas对象(画布)
  3500. let canvas = document.createElement('canvas')
  3501. // 获取对应的CanvasRenderingContext2D对象(画笔)
  3502. let context = canvas.getContext('2d')
  3503. // 创建新的图片对象
  3504. let img = new Image()
  3505. // 指定图片的DataURL(图片的base64编码数据)
  3506. img.src = file.content
  3507. // 监听浏览器加载图片完成,然后进行进行绘制
  3508. const height = 166
  3509. const width = 316
  3510. img.onload = () => {
  3511. const h = img.height
  3512. const w = img.width
  3513. let ch = img.height/6
  3514. let cw = img.width/6
  3515. let canvas = document.createElement('canvas')
  3516. let ctx = canvas.getContext('2d')
  3517. canvas.height = ch
  3518. canvas.width = cw
  3519. ctx.clearRect(0,0,cw,ch)
  3520. ctx.drawImage(img,0,0,cw,ch)
  3521. let base_img = canvas.toDataURL('image/jpeg')
  3522. const blobBin = atob(base_img.split(',')[1])
  3523. let d = []
  3524. for (let i=0;i<blobBin.length;i++){
  3525. d.push(blobBin.charCodeAt(i))
  3526. }
  3527. const data2 = new FormData();
  3528. data2.append("file", new Blob([new Uint8Array(d)],{type:'image/jpeg'}));
  3529. uploadFile(data2).then(res => {
  3530. if(this.form.yctp!=null&&this.form.yctp!=""){
  3531. this.form.yctp = this.form.yctp + "," + res.fileName
  3532. }else{
  3533. this.form.yctp = res.fileName
  3534. }
  3535. })
  3536. }
  3537. },
  3538. // 图片删除
  3539. deleteFileyc(file){
  3540. let url = ","+file.baseUrl
  3541. let url1 = file.baseUrl+","
  3542. let url2 = file.baseUrl
  3543. this.form.yctp = this.form.yctp.replaceAll(url,"")
  3544. this.form.yctp = this.form.yctp.replaceAll(url1,"")
  3545. this.form.yctp = this.form.yctp.replaceAll(url2,"")
  3546. },
  3547. shownmfwlist(item){
  3548. this.zrzh = item.zrzh
  3549. this.shownmfw = true
  3550. this.fwlist=[]
  3551. if(this.item.zjddm!=null||this.form.zjddm!=null) {
  3552. let params = {
  3553. "zjddm":this.item.zjddm?this.item.zjddm:this.form.zjddm,
  3554. deptId:this.item.deptId,
  3555. zrzh:this.zrzh
  3556. }
  3557. listNmfw(params).then(r => {
  3558. this.fwlist = r.rows
  3559. })
  3560. }
  3561. },
  3562. getBaseUrl(){
  3563. let params={
  3564. configKey: "system.attachment.url"}
  3565. sysConfig(params).then(response => {
  3566. this.baseUrl = response.rows[0].configValue
  3567. console.log(this.baseUrl)
  3568. })
  3569. },
  3570. // 验证
  3571. validator(val){
  3572. if(val>1||val<0||val.length>4){
  3573. return false
  3574. }else{
  3575. return true
  3576. }
  3577. },
  3578. validator1(val){
  3579. if(val>=1000||val<0||val.length>6){
  3580. return false
  3581. }else{
  3582. return true
  3583. }
  3584. },
  3585. // 所有权人农户代码列表
  3586. getnhdmlist(){
  3587. let params = {
  3588. "deptId" : this.item.deptId,
  3589. "nhValue":this.nhdmValue
  3590. }
  3591. listNh(params).then((response) => {
  3592. this.syqrnhdmlist = response.rows
  3593. });
  3594. },
  3595. //删除户内成员
  3596. deletehncy(id,index){
  3597. Dialog.confirm({
  3598. title: '警告',
  3599. message: '删除后无法恢复,确认删除此成员么?',
  3600. })
  3601. .then(() => {
  3602. // on confirm
  3603. delNhhncy(id).then(res => {
  3604. if(res.code=="200"){
  3605. this.hncylist.splice(index,1);
  3606. }
  3607. })
  3608. })
  3609. .catch(() => {
  3610. // on cancel
  3611. });
  3612. },
  3613. // 删除附属设施
  3614. deletefsss(id,index){
  3615. Dialog.confirm({
  3616. title: '警告',
  3617. message: '确认删除此附属物么?',
  3618. })
  3619. .then(() => {
  3620. // on confirm
  3621. delFsss(id).then(res => {
  3622. if(res.code=="200"){
  3623. this.fssslist.splice(index,1);
  3624. }
  3625. })
  3626. })
  3627. .catch(() => {
  3628. // on cancel
  3629. });
  3630. },// 删除自然幢
  3631. deletezrz(item,index){
  3632. this.zrzh = item.zrzh
  3633. if(this.item.zjddm!=null||this.form.zjddm!=null) {
  3634. let params = {
  3635. "zjddm":this.item.zjddm?this.item.zjddm:this.form.zjddm,
  3636. deptId:this.item.deptId,
  3637. zrzh:this.zrzh
  3638. }
  3639. listNmfw(params).then(r => {
  3640. if(r.rows.length>0){
  3641. this.$toast({
  3642. icon: 'erroe', // 找到自己需要的图标
  3643. message: '无法删除,此自然幢下有房屋信息!',
  3644. duration:"1000",
  3645. onClose:function(){
  3646. }
  3647. })
  3648. }else{
  3649. Dialog.confirm({
  3650. title: '警告',
  3651. message: '删除后无法恢复,确认删除此自然幢么?',
  3652. })
  3653. .then(() => {
  3654. // on confirm
  3655. delZrz(item.id).then(res => {
  3656. if(res.code=="200"){
  3657. this.zrzlist.splice(index,1);
  3658. }
  3659. })
  3660. })
  3661. .catch(() => {
  3662. // on cancel
  3663. });
  3664. }
  3665. })
  3666. }
  3667. },
  3668. // 删除使用权人
  3669. deletesyqr(id,index){
  3670. Dialog.confirm({
  3671. title: '警告',
  3672. message: '确认删除使用权人么?',
  3673. })
  3674. .then(() => {
  3675. // on confirm
  3676. delShyqr(id).then(res => {
  3677. if(res.code=="200"){
  3678. this.syqrlist.splice(index,1);
  3679. }
  3680. })
  3681. })
  3682. .catch(() => {
  3683. // on cancel
  3684. });
  3685. },
  3686. // 与户主关系翻译
  3687. yhzgxfy(value){
  3688. let label
  3689. this.yhzgxOptions.map(res => {
  3690. if(res.dictValue ==value){
  3691. label = res.dictLabel
  3692. }
  3693. })
  3694. return label
  3695. },
  3696. // 附属设施类型翻译
  3697. fssslxfy(value){
  3698. let label
  3699. this.fssslxOptions.map(res => {
  3700. if(res.dictValue ==value){
  3701. label = res.dictLabel
  3702. }
  3703. })
  3704. return label
  3705. },
  3706. // 建筑物情况翻译
  3707. jzwqkfy(value){
  3708. let label
  3709. this.jzwqkOptions.map(res => {
  3710. if(res.dictValue ==value){
  3711. label = res.dictLabel
  3712. }
  3713. })
  3714. return label
  3715. },
  3716. // 图片上传前
  3717. beforeReadzjd(file){
  3718. // 创建Canvas对象(画布)
  3719. let canvas = document.createElement('canvas')
  3720. // 获取对应的CanvasRenderingContext2D对象(画笔)
  3721. let context = canvas.getContext('2d')
  3722. // 创建新的图片对象
  3723. let img = new Image()
  3724. // 指定图片的DataURL(图片的base64编码数据)
  3725. img.src = file.content
  3726. // 监听浏览器加载图片完成,然后进行进行绘制
  3727. const height = 166
  3728. const width = 316
  3729. img.onload = () => {
  3730. const h = img.height
  3731. const w = img.width
  3732. let ch = img.height/6
  3733. let cw = img.width/6
  3734. let canvas = document.createElement('canvas')
  3735. let ctx = canvas.getContext('2d')
  3736. canvas.height = ch
  3737. canvas.width = cw
  3738. ctx.clearRect(0,0,cw,ch)
  3739. ctx.drawImage(img,0,0,cw,ch)
  3740. let base_img = canvas.toDataURL('image/jpeg')
  3741. const blobBin = atob(base_img.split(',')[1])
  3742. let d = []
  3743. for (let i=0;i<blobBin.length;i++){
  3744. d.push(blobBin.charCodeAt(i))
  3745. }
  3746. const data2 = new FormData();
  3747. console.log(d)
  3748. data2.append("file", new Blob([new Uint8Array(d)],{type:'image/jpeg'}));
  3749. uploadFile(data2).then(res => {
  3750. if(this.form.zjdxctp!=null&&this.form.zjdxctp!=""){
  3751. this.form.zjdxctp = this.form.zjdxctp + "," + res.fileName
  3752. }else{
  3753. this.form.zjdxctp = res.fileName
  3754. }
  3755. })
  3756. }
  3757. },
  3758. // 图片删除
  3759. deleteFilezjd(file){
  3760. let url = ","+file.baseUrl
  3761. let url1 = file.baseUrl+","
  3762. let url2 = file.baseUrl
  3763. this.form.zjdxctp = this.form.zjdxctp.replaceAll(url,"")
  3764. this.form.zjdxctp = this.form.zjdxctp.replaceAll(url1,"")
  3765. this.form.zjdxctp = this.form.zjdxctp.replaceAll(url2,"")
  3766. },
  3767. // 图片上传前
  3768. beforeReadfw(file){
  3769. // 创建Canvas对象(画布)
  3770. let canvas = document.createElement('canvas')
  3771. // 获取对应的CanvasRenderingContext2D对象(画笔)
  3772. let context = canvas.getContext('2d')
  3773. // 创建新的图片对象
  3774. let img = new Image()
  3775. // 指定图片的DataURL(图片的base64编码数据)
  3776. img.src = file.content
  3777. // 监听浏览器加载图片完成,然后进行进行绘制
  3778. const height = 166
  3779. const width = 316
  3780. img.onload = () => {
  3781. const h = img.height
  3782. const w = img.width
  3783. let ch = img.height/5
  3784. let cw = img.width/5
  3785. let canvas = document.createElement('canvas')
  3786. let ctx = canvas.getContext('2d')
  3787. canvas.height = ch
  3788. canvas.width = cw
  3789. ctx.clearRect(0,0,cw,ch)
  3790. ctx.drawImage(img,0,0,cw,ch)
  3791. let base_img = canvas.toDataURL('image/jpeg')
  3792. const blobBin = atob(base_img.split(',')[1])
  3793. let d = []
  3794. for (let i=0;i<blobBin.length;i++){
  3795. d.push(blobBin.charCodeAt(i))
  3796. }
  3797. const data2 = new FormData();
  3798. data2.append("file", new Blob([new Uint8Array(d)],{type:'image/jpeg'}));
  3799. uploadFile(data2).then(res => {
  3800. if(this.nmfwform.zjdxctp!=null&&this.nmfwform.zjdxctp!=""){
  3801. this.nmfwform.zjdxctp = this.nmfwform.zjdxctp + "," + res.fileName
  3802. }else{
  3803. this.nmfwform.zjdxctp = res.fileName
  3804. }
  3805. })
  3806. }
  3807. },
  3808. // 图片删除
  3809. deleteFilefw(file){
  3810. let url = ","+file.baseUrl
  3811. let url1 = file.baseUrl+","
  3812. let url2 = file.baseUrl
  3813. this.nmfwform.zjdxctp = this.nmfwform.zjdxctp.replaceAll(url,"")
  3814. this.nmfwform.zjdxctp = this.nmfwform.zjdxctp.replaceAll(url1,"")
  3815. this.nmfwform.zjdxctp = this.nmfwform.zjdxctp.replaceAll(url2,"")
  3816. },
  3817. onConfirmhzsjly(value){
  3818. this.nhform.sjlyName = value.dictLabel
  3819. this.nhform.sjly = value.dictValue
  3820. this.showhzsjly= false
  3821. },
  3822. onConfirmhzjzqk(value){
  3823. this.nhform.jzqkName = value.dictLabel
  3824. this.nhform.jzqk = value.dictValue
  3825. this.showhzjzqk = false
  3826. },
  3827. onConfirmhzoccupation(value){
  3828. this.nhform.occupationName = value.dictLabel
  3829. this.nhform.occupation = value.dictValue
  3830. this.showhzoccupation = false
  3831. },
  3832. onConfirmhzzjlx(value){
  3833. this.nhform.hzzjlxName = value.dictLabel
  3834. this.nhform.hzzjlx = value.dictValue
  3835. this.showhzzjlx = false
  3836. },
  3837. onConfirmhzjzhcssfyzf(value){
  3838. this.nhform.jzhcssfyzfName = value.dictLabel
  3839. this.nhform.jzhcssfyzf = value.dictValue
  3840. this.showhzjzhcssfyzf= false
  3841. },
  3842. // 使用权人农民房屋代码弹出框
  3843. onConfirmsyqrnmfwdm(value){
  3844. this.form1.nmfwdm = value.nmfwdm
  3845. this.showsyqrnmfwdm = false
  3846. },
  3847. // 使用权人农户代码弹出框
  3848. onConfirmsyqrnhdmlist(value){
  3849. this.nhdmValue = null
  3850. this.form1.nhdm = value.nhdm
  3851. this.form1.shyqrdbxm = value.hzxm
  3852. this.form1.shyqrdbzjhm = value.hzzjhm
  3853. this.form1.shyqrdbzjlx = value.hzzjlx
  3854. this.form1.dh = value.phone
  3855. this.form1.dz = value.txdz
  3856. this.zjlxOptions.map(res => {
  3857. if(res.dictValue == this.form1.shyqrdbzjlx){
  3858. this.form1.shyqrdbzjlxName = res.dictLabel
  3859. }
  3860. })
  3861. this.showsyqrnhdmlist = false
  3862. },
  3863. // 农名房屋农户代码弹出框
  3864. onConfirmnmfwnhdm(value){
  3865. this.nhdmValue = null
  3866. this.nmfwform.nhdm = value.nhdm
  3867. this.shownmfwnhdm = false
  3868. },
  3869. // 使用权人所属行业弹出框
  3870. onConfirmsyqrsshy(value){
  3871. this.form1.sshyName = value.dictLabel
  3872. this.form1.sshy = value.dictValue
  3873. this.showsyqrsshy= false
  3874. },
  3875. // 户内成员数据来源弹出框
  3876. onConfirmhncysjly(value){
  3877. this.form5.sjlyName = value.dictLabel
  3878. this.form5.sjly = value.dictValue
  3879. this.showhncysjly= false
  3880. },
  3881. // 户主数据来源弹出框
  3882. onConfirmhzsjly(value){
  3883. this.nhform.sjlyName = value.dictLabel
  3884. this.nhform.sjly = value.dictValue
  3885. this.showhzsjly= false
  3886. },
  3887. // 宅基地等级弹出框
  3888. onConfirmdj(value){
  3889. this.form.djName = value.dictLabel
  3890. this.form.dj = value.dictValue
  3891. this.showdj= false
  3892. },
  3893. // 户内成员职业弹出框
  3894. onConfirmhncyoccupation(value){
  3895. this.form5.occupationName = value.dictLabel
  3896. this.form5.occupation = value.dictValue
  3897. this.showhncyoccupation = false
  3898. },
  3899. // 户内成员成员备注弹出框
  3900. onConfirmhncycybz(value){
  3901. this.form5.cybzName = value.dictLabel
  3902. this.form5.cybz = value.dictValue
  3903. this.showhncycybz= false
  3904. },
  3905. // 户内成员居住情况弹出框
  3906. onConfirmhncyjzqk(value){
  3907. this.form5.jzqkName = value.dictLabel
  3908. this.form5.jzqk = value.dictValue
  3909. this.showhncyjzqk = false
  3910. },
  3911. // 自然幢房屋结构弹出框
  3912. onConfirmzrzfwjg(value){
  3913. this.form3.fwjgName = value.dictLabel
  3914. this.form3.fwjg = value.dictValue
  3915. this.showzrzfwjg = false
  3916. },
  3917. // 户内成员自然幢号弹出框
  3918. onConfirmzrzh(value){
  3919. this.nmfwform.zrzh = value.zrzh
  3920. this.showzrzh = false
  3921. },
  3922. // 户内成员证件类型弹出框
  3923. onConfirmhncyzjlx(value){
  3924. this.form5.zjlxName = value.dictLabel
  3925. this.form5.zjlx = value.dictValue
  3926. this.showhncyzjlx = false
  3927. },
  3928. // 宅基地用途弹出框
  3929. onConfirmyt(value){
  3930. this.form.ytmc = value.dictLabel
  3931. this.form.yt = value.dictValue
  3932. this.showyt = false
  3933. },
  3934. // 宅基地权利类型弹出框
  3935. onConfirmqllx(value){
  3936. this.form.qllxName = value.dictLabel
  3937. this.form.qllx = value.dictValue
  3938. this.showqllx = false
  3939. },
  3940. // 宅基地权利性质弹出框
  3941. onConfirmqlxz(value){
  3942. this.form.qlxzName = value.dictLabel
  3943. this.form.qlxz = value.dictValue
  3944. this.showqlxz = false
  3945. },
  3946. // 宅基地权利设定方式弹出框
  3947. onConfirmqlsdfs(value){
  3948. this.form.qlsdfsName = value.dictLabel
  3949. this.form.qlsdfs = value.dictValue
  3950. this.showqlsdfs = false
  3951. },
  3952. // 户内成员与户主关系弹出框
  3953. onConfirmyhzgx(value){
  3954. this.form5.yhzgxName = value.dictLabel
  3955. this.form5.yhzgx = value.dictValue
  3956. this.showyhzgx = false
  3957. },
  3958. // 使用权人权利人类型弹出框
  3959. onConfirmqlrlx(value){
  3960. this.form1.qlrlxName = value.dictLabel
  3961. this.form1.qlrlx = value.dictValue
  3962. this.showqlrlx = false
  3963. },
  3964. // 使用权人证件类型弹出框
  3965. onConfirmshyqrdbzjlx(value){
  3966. this.form1.shyqrdbzjlxName = value.dictLabel
  3967. this.form1.shyqrdbzjlx = value.dictValue
  3968. this.showshyqrdbzjlx = false
  3969. },
  3970. // 使用权人共有方式弹出框
  3971. onConfirmgyfs(value){
  3972. this.form1.gyfsName = value.dictLabel
  3973. this.form1.gyfs = value.dictValue
  3974. this.showgyfs = false
  3975. },
  3976. // 使用权人户籍所在省市弹出框
  3977. onConfirmhjszss(value){
  3978. this.form1.hjszssName = value.dictLabel
  3979. this.form1.hjszss = value.dictValue
  3980. this.showhjszss = false
  3981. },
  3982. // 农民房屋户型弹出框
  3983. onConfirmhx(value){
  3984. this.nmfwform.hxName = value.dictLabel
  3985. this.nmfwform.hx = value.dictValue
  3986. this.showhx = false
  3987. },
  3988. // 农民房屋户型结构弹出框
  3989. onConfirmhxjg(value){
  3990. this.nmfwform.hxjgName = value.dictLabel
  3991. this.nmfwform.hxjg = value.dictValue
  3992. this.showhxjg = false
  3993. },
  3994. // 农民房屋房屋结构弹出框
  3995. onConfirmfwjg(value){
  3996. this.nmfwform.fwjgName = value.dictLabel
  3997. this.nmfwform.fwjg = value.dictValue
  3998. this.showfwjg = false
  3999. },
  4000. // 农民房屋房屋用途弹出框
  4001. onConfirmfwyt(value){
  4002. this.nmfwform.fwytName = value.dictLabel
  4003. this.nmfwform.fwyt = value.dictValue
  4004. this.showfwyt = false
  4005. },
  4006. // 农民房屋房屋类型弹出框
  4007. onConfirmfwlx(value){
  4008. this.nmfwform.fwlxName = value.dictLabel
  4009. this.nmfwform.fwlx = value.dictValue
  4010. this.showfwlx = false
  4011. },
  4012. // 农民房屋房屋性质弹出框
  4013. onConfirmfwxz(value){
  4014. this.nmfwform.fwxzName = value.dictLabel
  4015. this.nmfwform.fwxz = value.dictValue
  4016. this.showfwxz = false
  4017. },
  4018. // 农民房屋数据来源弹出框
  4019. onConfirmnmfwsjly(value){
  4020. this.nmfwform.sjlyName = value.dictLabel
  4021. this.nmfwform.sjly = value.dictValue
  4022. this.shownmfwsjly = false
  4023. },
  4024. // 农民房屋房屋状态弹出框
  4025. onConfirmnmfwfwzt(value){
  4026. this.nmfwform.fwztName = value.dictLabel
  4027. this.nmfwform.fwzt = value.dictValue
  4028. this.shownmfwfwzt = false
  4029. },
  4030. // 农民房屋利用状况弹出框
  4031. onConfirmnmfwlyzk(value){
  4032. this.nmfwform.lyzkName = value.dictLabel
  4033. this.nmfwform.lyzk = value.dictValue
  4034. this.shownmfwlyzk = false
  4035. },
  4036. // 农民房屋盘活利用模式弹出框
  4037. onConfirmphlyms(value){
  4038. this.nmfwform.phlymsName = value.dictLabel
  4039. this.nmfwform.phlyms = value.dictValue
  4040. this.showphlyms = false
  4041. },
  4042. // 农民房屋权属来源弹出框
  4043. onConfirmnmfwqsly(value){
  4044. this.nmfwform.qslyName = value.dictLabel
  4045. this.nmfwform.qsly = value.dictValue
  4046. this.shownmfwqsly = false
  4047. },
  4048. // 农民房屋审批或建设前土地状况弹出框
  4049. onConfirmnmfwtdzk(value){
  4050. this.nmfwform.tdzkName = value.dictLabel
  4051. this.nmfwform.tdzk = value.dictValue
  4052. this.shownmfwtdzk = false
  4053. },
  4054. // 农民房屋登记时间弹出框
  4055. onConfirmdjsj(val){
  4056. let year = val.getFullYear()
  4057. let month = val.getMonth() + 1
  4058. let day = val.getDate()
  4059. if (month >= 1 && month <= 9) { month = `0${month}` }
  4060. if (day >= 1 && day <= 9) { day = `0${day}` }
  4061. this.nmfwform.djsj = year+"-"+month+"-"+day
  4062. this.showPickerdjsj= false
  4063. },
  4064. // 农民房屋查封起始时间弹出框
  4065. onConfirmcfqssj(val){
  4066. let year = val.getFullYear()
  4067. let month = val.getMonth() + 1
  4068. let day = val.getDate()
  4069. if (month >= 1 && month <= 9) { month = `0${month}` }
  4070. if (day >= 1 && day <= 9) { day = `0${day}` }
  4071. this.nmfwform.cfqssj = year+"-"+month+"-"+day
  4072. this.showPickercfqssj= false
  4073. },
  4074. // 农民房屋查封结束时间弹出框
  4075. onConfirmcfjssj(val){
  4076. let year = val.getFullYear()
  4077. let month = val.getMonth() + 1
  4078. let day = val.getDate()
  4079. if (month >= 1 && month <= 9) { month = `0${month}` }
  4080. if (day >= 1 && day <= 9) { day = `0${day}` }
  4081. this.nmfwform.cfjssj = year+"-"+month+"-"+day
  4082. this.showPickercfjssj= false
  4083. },
  4084. // 农民房屋债务履行开始时间弹出框
  4085. onConfirmzwlxsj1(val){
  4086. let year = val.getFullYear()
  4087. let month = val.getMonth() + 1
  4088. let day = val.getDate()
  4089. if (month >= 1 && month <= 9) { month = `0${month}` }
  4090. if (day >= 1 && day <= 9) { day = `0${day}` }
  4091. this.nmfwform.zwlxsj1 = year+"-"+month+"-"+day
  4092. this.showPickerzwlxsj1= false
  4093. },
  4094. // 自然幢竣工日期弹出框
  4095. onConfirmzrzjgrq(val){
  4096. let year = val.getFullYear()
  4097. let month = val.getMonth() + 1
  4098. let day = val.getDate()
  4099. if (month >= 1 && month <= 9) { month = `0${month}` }
  4100. if (day >= 1 && day <= 9) { day = `0${day}` }
  4101. this.form3.jgrq = year+"-"+month+"-"+day
  4102. this.showPickerjgrq= false
  4103. },
  4104. // 农民房屋债务履行结束时间弹出框
  4105. onConfirmzwlxsj2(val){
  4106. let year = val.getFullYear()
  4107. let month = val.getMonth() + 1
  4108. let day = val.getDate()
  4109. if (month >= 1 && month <= 9) { month = `0${month}` }
  4110. if (day >= 1 && day <= 9) { day = `0${day}` }
  4111. this.nmfwform.zwlxsj2 = year+"-"+month+"-"+day
  4112. this.showPickerzwlxsj2= false
  4113. },
  4114. // 农民房屋批准时间弹出框
  4115. onConfirmpzsj(value){
  4116. this.nmfwform.pzsjName = value.dictLabel
  4117. this.nmfwform.pzsj = value.dictValue
  4118. this.showPickerpzsj= false
  4119. },
  4120. // 附属设施类型弹出框
  4121. onConfirmfssslx(value){
  4122. this.form4.fssslxName = value.dictLabel
  4123. this.form4.fssslx = value.dictValue
  4124. this.showfssslx = false
  4125. },
  4126. // 权属来源弹出框
  4127. onConfirmqsly(value){
  4128. this.form4.qslyName = value.dictLabel
  4129. this.form4.qsly = value.dictValue
  4130. this.showqsly = false
  4131. },
  4132. // 房屋状态弹出框
  4133. onConfirmfwzt(value){
  4134. this.form4.fwztName = value.dictLabel
  4135. this.form4.fwzt = value.dictValue
  4136. this.showfwzt = false
  4137. },
  4138. // 结构类型弹出框
  4139. onConfirmjglx(value){
  4140. this.form4.jglxName = value.dictLabel
  4141. this.form4.jglx = value.dictValue
  4142. this.showjglx = false
  4143. },
  4144. // 建筑物情况弹出框
  4145. onConfirmjzwqk(value){
  4146. this.form4.jzwqkName = value.dictLabel
  4147. this.form4.jzwqk = value.dictValue
  4148. this.showjzwqk = false
  4149. },
  4150. // 土地状况弹出框
  4151. onConfirmtdzk(value){
  4152. this.form4.tdzkName = value.dictLabel
  4153. this.form4.tdzk = value.dictValue
  4154. this.showtdzk = false
  4155. },
  4156. // 当前利用状况弹出框
  4157. onConfirmlyzk(value){
  4158. this.form.lyzkName = value.dictLabel
  4159. this.form.lyzk = value.dictValue
  4160. this.showlyzk = false
  4161. },
  4162. // 数据来源弹出框
  4163. onConfirmsjly(value){
  4164. this.form.sjlyName = value.dictLabel
  4165. this.form.sjly = value.dictValue
  4166. this.showsjly = false
  4167. },
  4168. // 自然幢数据里来源弹出框
  4169. onConfirmzrzsjly(value){
  4170. this.form3.sjlyName = value.dictLabel
  4171. this.form3.sjly = value.dictValue
  4172. this.showzrzsjly = false
  4173. },
  4174. // 闲置开始时间弹出框
  4175. onConfirmxzkssj(val){
  4176. let year = val.getFullYear()
  4177. let month = val.getMonth() + 1
  4178. let day = val.getDate()
  4179. if (month >= 1 && month <= 9) { month = `0${month}` }
  4180. if (day >= 1 && day <= 9) { day = `0${day}` }
  4181. this.form.xzkssj = year+"-"+month+"-"+day
  4182. this.showPickerxzkssj= false
  4183. },
  4184. goBack(){
  4185. // if(this.enterMap ==1){
  4186. // this.$cookies.set("item",this.backMap);
  4187. // this.$router.push({name:'homesteadList'});
  4188. // } else {
  4189. this.$router.push({name:'homesteadList'});
  4190. // }
  4191. },
  4192. // 设为户主
  4193. setNh(item,index){
  4194. Dialog.confirm({
  4195. title: '警告',
  4196. message: '此操作将删除原户主,并将此成员设为新户主,是否确认操作?',
  4197. })
  4198. .then(() => {
  4199. // on confirm
  4200. delNhhncy(item.id).then(res => {
  4201. if(res.code=="200"){
  4202. this.hncylist.splice(index,1);
  4203. }
  4204. })
  4205. // 更新户主信息
  4206. let pnh = {
  4207. deptId : item.deptId,
  4208. nhdm : item.nhdm,
  4209. hzxm : item.xm,
  4210. hzzjlx : item.zjlx,
  4211. hzzjhm : item.zjhm,
  4212. phone : item.lxdh,
  4213. jzqk: item.jzqk,
  4214. occupation :item.occupation,
  4215. hyzk: item.hyzk,
  4216. sfwbh:item.sfwbh,
  4217. sfpkh:item.sfpkh
  4218. }
  4219. setNhInfo(pnh).then(res => {
  4220. })
  4221. // 更新使用权人
  4222. let psyqr = {
  4223. deptId : item.deptId,
  4224. nhdm : item.nhdm,
  4225. shyqrdbxm : item.xm,
  4226. shyqrdbzjlx : item.zjlx,
  4227. shyqrdbzjhm : item.zjhm,
  4228. xb : item.xb,
  4229. dh : item.lxdh
  4230. }
  4231. setSyqrInfo(psyqr).then(res => {
  4232. })
  4233. })
  4234. .catch(() => {
  4235. // on cancel
  4236. });
  4237. },
  4238. // 删除房屋
  4239. deletefw(id,index){
  4240. Dialog.confirm({
  4241. title: '警告',
  4242. message: '确认删除此房屋么?',
  4243. })
  4244. .then(() => {
  4245. // on confirm
  4246. delNmfw(id).then(response => {
  4247. if(response.code=='200'){
  4248. this.fwlist.splice(index,1)
  4249. }
  4250. })
  4251. })
  4252. .catch(() => {
  4253. // on cancel
  4254. });
  4255. },
  4256. showPopupnh(item){
  4257. this.shownh = true;
  4258. if(item==""){
  4259. let params = {
  4260. "deptId" : this.item.deptId
  4261. }
  4262. this.nhform={
  4263. "suyqrdm":null,
  4264. "deptId":this.item.deptId,
  4265. "hzzjlx":'01',
  4266. "hzzjlxName":"身份证",
  4267. "hyzk":'02',
  4268. "occupation":'1',
  4269. "occupationName":'务农',
  4270. "jzqk":'3',
  4271. "jzqkName":'常年居住',
  4272. "jzhcssfyzf":'1',
  4273. "jzhcssfyzfName":'无住房',
  4274. "zqtczsfyzf":'Y',
  4275. "sfbccm":'Y',
  4276. "sfpkh":'N',
  4277. "sfwbh":'N',
  4278. "sjly":'07',
  4279. "sjlyName":'农村集体产权制度改革',
  4280. }
  4281. listSuyqr(params).then((response) => {
  4282. if(response.rows.length>0){
  4283. this.nhform.suyqrdm = response.rows[0].suyqrdm
  4284. this.nhform.txdz = response.rows[0].suyqrmc
  4285. }else{
  4286. this.nhform.suyqrdm = this.form.suyqrdm
  4287. this.nhform.txdz = this.form.zl
  4288. }
  4289. });
  4290. }else{
  4291. let params = {
  4292. "deptId" : this.item.deptId,
  4293. nhdm:item.nhdm
  4294. }
  4295. listNh(params).then((response) => {
  4296. this.nhform = response.rows[0]
  4297. if(this.nhform.hzzjlx==null||this.nhform.hzzjlx==''){
  4298. this.nhform.hzzjlx = '01'
  4299. this.nhform.hzzjlxName = '身份证'
  4300. }
  4301. if(this.nhform.hyzk==null||this.nhform.hyzk==''){
  4302. this.nhform.hyzk = '02'
  4303. }
  4304. if(this.nhform.occupation==null||this.nhform.occupation==''){
  4305. this.nhform.occupation = '1'
  4306. this.nhform.occupationName = '务农'
  4307. }
  4308. if(this.nhform.jzqk==null||this.nhform.jzqk==''){
  4309. this.nhform.jzqk = '3'
  4310. this.nhform.jzqkName = '常年居住'
  4311. }
  4312. if(this.nhform.jzhcssfyzf==null||this.nhform.jzhcssfyzf==''){
  4313. this.nhform.jzhcssfyzf = '1'
  4314. this.nhform.jzhcssfyzfName = '无住房'
  4315. }
  4316. if(this.nhform.zqtczsfyzf==null||this.nhform.zqtczsfyzf==''){
  4317. this.nhform.zqtczsfyzf = 'Y'
  4318. }
  4319. if(this.nhform.sfbccm==null||this.nhform.sfbccm==''){
  4320. this.nhform.sfbccm = 'Y'
  4321. }
  4322. if(this.nhform.sfpkh==null||this.nhform.sfpkh==''){
  4323. this.nhform.sfpkh = 'N'
  4324. }
  4325. if(this.nhform.sfwbh==null||this.nhform.sfwbh==''){
  4326. this.nhform.sfwbh = 'N'
  4327. }
  4328. if(this.nhform.sjly==null||this.nhform.sjly==''){
  4329. this.nhform.sjly = '07'
  4330. this.nhform.sjlyName = '农村集体产权制度改革'
  4331. }
  4332. this.jzhcssfyzfOptions.map(res => {
  4333. if(res.dictValue == this.nhform.jzhcssfyzf){
  4334. this.nhform.jzhcssfyzfName = res.dictLabel
  4335. }
  4336. })
  4337. this.zjlxOptions.map(res => {
  4338. if(res.dictValue == this.nhform.hzzjlx){
  4339. this.nhform.hzzjlxName = res.dictLabel
  4340. }
  4341. })
  4342. this.occupationOptions.map(res => {
  4343. if(res.dictValue == this.nhform.occupation){
  4344. this.nhform.occupationName = res.dictLabel
  4345. }
  4346. })
  4347. this.jzqkOptions.map(res => {
  4348. if(res.dictValue == this.nhform.jzqk){
  4349. this.nhform.jzqkName = res.dictLabel
  4350. }
  4351. })
  4352. this.sjlyOptions.map(res => {
  4353. if(res.dictValue == this.nhform.sjly){
  4354. this.nhform.sjlyName = res.dictLabel
  4355. }
  4356. })
  4357. });
  4358. }
  4359. },
  4360. getZjd() {
  4361. let _this = this
  4362. if(this.item.zjddm){
  4363. let params = {
  4364. "zjddm":this.item.zjddm,
  4365. deptId:this.item.deptId
  4366. }
  4367. listZjdzd(params).then(response => {
  4368. this.form = response.rows[0];
  4369. if(this.form.sffz==null||this.form.sffz==""){
  4370. this.form.sffz = "Y"
  4371. }
  4372. if(this.form.yt==null||this.form.yt==""){
  4373. this.form.yt = "072"
  4374. this.form.ytmc="农村宅基地"
  4375. }
  4376. if(this.form.lyzk==null||this.form.lyzk==""){
  4377. this.form.lyzk = "1"
  4378. this.form.lyzkName="正常使用"
  4379. }
  4380. if(this.form.lzyx==null||this.form.lzyx==""){
  4381. this.form.lzyx = "0"
  4382. }
  4383. if(this.form.yctcyx==null||this.form.yctcyx==""){
  4384. this.form.yctcyx = "0"
  4385. }
  4386. if(this.form.bccjl==null||this.form.bccjl==""){
  4387. this.form.bccjl = "0"
  4388. }
  4389. if(this.form.zjdqdfs==null||this.form.zjdqdfs==""){
  4390. this.form.zjdqdfs = "01"
  4391. }
  4392. if(this.form.dj==null||this.form.dj==""){
  4393. this.form.dj = "1"
  4394. this.form.djName = "一类"
  4395. }
  4396. if(this.form.qllx==null||this.form.qllx==""){
  4397. this.form.qllx = "1"
  4398. this.form.qllxName = "集体土地所有权"
  4399. }
  4400. if(this.form.qlxz==null||this.form.qlxz==""){
  4401. this.form.qlxz = "200"
  4402. this.form.qlxzName = "集体土地"
  4403. }
  4404. if(this.form.qlsdfs==null||this.form.qlsdfs==""){
  4405. this.form.qlsdfs = "1"
  4406. this.form.qlsdfsName = "地上"
  4407. }
  4408. if(this.form.sjly==null||this.form.sjly==""){
  4409. this.form.sjly = "04"
  4410. this.form.sjlyName = "农村宅基地使用权确权登记发证"
  4411. }else{
  4412. this.sjlyOptions.map(res => {
  4413. if(res.dictValue == this.form.sjly){
  4414. this.form.sjlyName = res.dictLabel
  4415. }
  4416. })
  4417. }
  4418. this.fileListzjd = []
  4419. if(this.form.zjdxctp!=null&&this.form.zjdxctp!=""&&this.form.zjdxctp.length>0){
  4420. let li = this.form.zjdxctp.split(",");
  4421. li.map(res => {
  4422. this.fileListzjd.push({"url":this.baseUrl+res,"baseUrl":res})
  4423. })
  4424. }
  4425. this.lyzkOptions.map(res => {
  4426. if(res.dictValue == this.form.lyzk){
  4427. this.form.lyzkName = res.dictLabel
  4428. }
  4429. })
  4430. this.qllxOptions.map(res => {
  4431. if(res.dictValue == this.form.qllx){
  4432. this.form.qllxName = res.dictLabel
  4433. }
  4434. })
  4435. this.qlxzOptions.map(res => {
  4436. if(res.dictValue == this.form.qlxz){
  4437. this.form.qlxzName = res.dictLabel
  4438. }
  4439. })
  4440. this.qlsdfsOptions.map(res => {
  4441. if(res.dictValue == this.form.qlsdfs){
  4442. this.form.qlsdfsName = res.dictLabel
  4443. }
  4444. })
  4445. this.ytOptions.map(res => {
  4446. if(res.dictValue == this.form.yt){
  4447. this.form.ytmc = res.dictLabel
  4448. }
  4449. })
  4450. this.tddjOptions.map(res => {
  4451. if(res.dictValue == this.form.dj){
  4452. this.form.djName = res.dictLabel
  4453. }
  4454. })
  4455. });
  4456. }else{
  4457. let params = {
  4458. "deptId" : this.item.deptId
  4459. }
  4460. listSuyqr(params).then((response) => {
  4461. this.form = {
  4462. deptId :this.item.deptId,
  4463. sffz:"Y",
  4464. yt:"072",
  4465. ytmc:"农村宅基地",
  4466. lyzk:"1",
  4467. lyzkName:"正常使用",
  4468. lzyx:'0',
  4469. yctcyx:'0',
  4470. bccjl:'0',
  4471. zjdqdfs:'01',
  4472. dj:'1',
  4473. djName:'一类',
  4474. qllx:'1',
  4475. qllxName:'集体土地所有权',
  4476. qlxz:'200',
  4477. qlxzName:'集体土地',
  4478. qlsdfs:'1',
  4479. qlsdfsName:'地上',
  4480. sjly:'04',
  4481. sjlyName:'农村宅基地使用权确权登记发证',
  4482. zl:''
  4483. }
  4484. if(response.rows.length>0){
  4485. this.form.suyqrdm = response.rows[0].suyqrdm
  4486. this.form.zl = response.rows[0].suyqrmc
  4487. }
  4488. });
  4489. }
  4490. },
  4491. getSyqrList() {
  4492. if(this.item.zjddm!=null||this.form.zjddm!=null) {
  4493. let params = {
  4494. "zjddm":this.item.zjddm?this.item.zjddm:this.form.zjddm,
  4495. deptId:this.item.deptId
  4496. }
  4497. listShyqr(params).then(response => {
  4498. this.syqrlist = response.rows;
  4499. });
  4500. }
  4501. },
  4502. getZrzList() {
  4503. if(this.item.zjddm!=null||this.form.zjddm!=null) {
  4504. let params = {
  4505. "zjddm":this.item.zjddm?this.item.zjddm:this.form.zjddm,
  4506. deptId:this.item.deptId
  4507. }
  4508. listZrz(params).then(response => {
  4509. this.zrzlist = response.rows;
  4510. });
  4511. /*listNmfw(params).then(r => {
  4512. this.fwlist = r.rows
  4513. })*/
  4514. }
  4515. },
  4516. getFsssList() {
  4517. if(this.item.zjddm!=null||this.form.zjddm!=null) {
  4518. let params = {
  4519. "zjddm":this.item.zjddm?this.item.zjddm:this.form.zjddm,
  4520. deptId:this.item.deptId
  4521. }
  4522. listFsss(params).then(response => {
  4523. this.fssslist = response.rows;
  4524. });
  4525. }
  4526. },
  4527. onSubmithncy(){
  4528. if (this.form5.id != null) {
  4529. if (this.form5.zjlx=='01'&&parseInt(this.form5.zjhm.substr(16, 1)) % 2 == 1) {
  4530. if(this.form5.xb!='1'){
  4531. Dialog.confirm({
  4532. title: '警告',
  4533. message: '成员性别与身份证号中性别信息不符,是否继续保存?',
  4534. })
  4535. .then(() => {
  4536. // on confirm
  4537. updateNhhncy(this.form5).then(response => {
  4538. let _this =this
  4539. this.$toast({
  4540. icon: 'success', // 找到自己需要的图标
  4541. message: '修改成功',
  4542. duration:"1000",
  4543. onClose:function(){
  4544. _this.showhncy = false
  4545. let params = {
  4546. "nhdm":_this.form5.nhdm,
  4547. deptId:_this.form5.deptId
  4548. }
  4549. listNhhncy(params).then((response) => {
  4550. _this.hncylist = response.rows
  4551. })
  4552. }
  4553. })
  4554. });
  4555. })
  4556. .catch(() => {
  4557. // on cancel
  4558. });
  4559. }else{
  4560. updateNhhncy(this.form5).then(response => {
  4561. let _this =this
  4562. this.$toast({
  4563. icon: 'success', // 找到自己需要的图标
  4564. message: '修改成功',
  4565. duration:"1000",
  4566. onClose:function(){
  4567. _this.showhncy = false
  4568. let params = {
  4569. "nhdm":_this.form5.nhdm,
  4570. deptId:_this.form5.deptId
  4571. }
  4572. listNhhncy(params).then((response) => {
  4573. _this.hncylist = response.rows
  4574. })
  4575. }
  4576. })
  4577. });
  4578. }
  4579. } else if (this.form5.zjlx=='01'&&parseInt(this.form5.zjhm.substr(16, 1)) % 2 == 0){
  4580. if(this.form5.xb!='0'){
  4581. Dialog.confirm({
  4582. title: '警告',
  4583. message: '成员性别与身份证号中性别信息不符,是否继续保存?',
  4584. })
  4585. .then(() => {
  4586. // on confirm
  4587. updateNhhncy(this.form5).then(response => {
  4588. let _this =this
  4589. this.$toast({
  4590. icon: 'success', // 找到自己需要的图标
  4591. message: '修改成功',
  4592. duration:"1000",
  4593. onClose:function(){
  4594. _this.showhncy = false
  4595. let params = {
  4596. "nhdm":_this.form5.nhdm,
  4597. deptId:_this.form5.deptId
  4598. }
  4599. listNhhncy(params).then((response) => {
  4600. _this.hncylist = response.rows
  4601. })
  4602. }
  4603. })
  4604. });
  4605. })
  4606. .catch(() => {
  4607. // on cancel
  4608. });
  4609. }else{
  4610. updateNhhncy(this.form5).then(response => {
  4611. let _this =this
  4612. this.$toast({
  4613. icon: 'success', // 找到自己需要的图标
  4614. message: '修改成功',
  4615. duration:"1000",
  4616. onClose:function(){
  4617. _this.showhncy = false
  4618. let params = {
  4619. "nhdm":_this.form5.nhdm,
  4620. deptId:_this.form5.deptId
  4621. }
  4622. listNhhncy(params).then((response) => {
  4623. _this.hncylist = response.rows
  4624. })
  4625. }
  4626. })
  4627. });
  4628. }
  4629. }else{
  4630. updateNhhncy(this.form5).then(response => {
  4631. let _this =this
  4632. this.$toast({
  4633. icon: 'success', // 找到自己需要的图标
  4634. message: '修改成功',
  4635. duration:"1000",
  4636. onClose:function(){
  4637. _this.showhncy = false
  4638. let params = {
  4639. "nhdm":_this.form5.nhdm,
  4640. deptId:_this.form5.deptId
  4641. }
  4642. listNhhncy(params).then((response) => {
  4643. _this.hncylist = response.rows
  4644. })
  4645. }
  4646. })
  4647. });
  4648. }
  4649. } else {
  4650. if (this.form5.zjlx=='01'&&parseInt(this.form5.zjhm.substr(16, 1)) % 2 == 1) {
  4651. if(this.form5.xb!='1'){
  4652. Dialog.confirm({
  4653. title: '警告',
  4654. message: '成员性别与身份证号中性别信息不符,是否继续保存?',
  4655. })
  4656. .then(() => {
  4657. // on confirm
  4658. addNhhncy(this.form5).then(response => {
  4659. let _this =this
  4660. this.$toast({
  4661. icon: 'success', // 找到自己需要的图标
  4662. message: '保存成功',
  4663. duration:"1000",
  4664. onClose:function(){
  4665. _this.showhncy = false
  4666. let params = {
  4667. "nhdm":_this.form5.nhdm,
  4668. deptId:_this.form5.deptId
  4669. }
  4670. listNhhncy(params).then((response) => {
  4671. _this.hncylist = response.rows
  4672. })
  4673. }
  4674. })
  4675. });
  4676. })
  4677. .catch(() => {
  4678. // on cancel
  4679. });
  4680. }else{
  4681. addNhhncy(this.form5).then(response => {
  4682. let _this =this
  4683. this.$toast({
  4684. icon: 'success', // 找到自己需要的图标
  4685. message: '保存成功',
  4686. duration:"1000",
  4687. onClose:function(){
  4688. _this.showhncy = false
  4689. let params = {
  4690. "nhdm":_this.form5.nhdm,
  4691. deptId:_this.form5.deptId
  4692. }
  4693. listNhhncy(params).then((response) => {
  4694. _this.hncylist = response.rows
  4695. })
  4696. }
  4697. })
  4698. });
  4699. }
  4700. } else if (this.form5.zjlx=='01'&&parseInt(this.form5.zjhm.substr(16, 1)) % 2 == 0){
  4701. if(this.form5.xb!='0'){
  4702. Dialog.confirm({
  4703. title: '警告',
  4704. message: '成员性别与身份证号中性别信息不符,是否继续保存?',
  4705. })
  4706. .then(() => {
  4707. // on confirm
  4708. addNhhncy(this.form5).then(response => {
  4709. let _this =this
  4710. this.$toast({
  4711. icon: 'success', // 找到自己需要的图标
  4712. message: '保存成功',
  4713. duration:"1000",
  4714. onClose:function(){
  4715. _this.showhncy = false
  4716. let params = {
  4717. "nhdm":_this.form5.nhdm,
  4718. deptId:_this.form5.deptId
  4719. }
  4720. listNhhncy(params).then((response) => {
  4721. _this.hncylist = response.rows
  4722. })
  4723. }
  4724. })
  4725. });
  4726. })
  4727. .catch(() => {
  4728. // on cancel
  4729. });
  4730. }else{
  4731. addNhhncy(this.form5).then(response => {
  4732. let _this =this
  4733. this.$toast({
  4734. icon: 'success', // 找到自己需要的图标
  4735. message: '保存成功',
  4736. duration:"1000",
  4737. onClose:function(){
  4738. _this.showhncy = false
  4739. let params = {
  4740. "nhdm":_this.form5.nhdm,
  4741. deptId:_this.form5.deptId
  4742. }
  4743. listNhhncy(params).then((response) => {
  4744. _this.hncylist = response.rows
  4745. })
  4746. }
  4747. })
  4748. });
  4749. }
  4750. }else{
  4751. addNhhncy(this.form5).then(response => {
  4752. let _this =this
  4753. this.$toast({
  4754. icon: 'success', // 找到自己需要的图标
  4755. message: '保存成功',
  4756. duration:"1000",
  4757. onClose:function(){
  4758. _this.showhncy = false
  4759. let params = {
  4760. "nhdm":_this.form5.nhdm,
  4761. deptId:_this.form5.deptId
  4762. }
  4763. listNhhncy(params).then((response) => {
  4764. _this.hncylist = response.rows
  4765. })
  4766. }
  4767. })
  4768. });
  4769. }
  4770. }
  4771. },
  4772. onSubmitsyqr(){
  4773. if(this.form.id==null||this.form.id==""){
  4774. Notify({ type: 'danger', message: '请先保存宅基地信息' });
  4775. }else{
  4776. if (this.form1.id != null) {
  4777. if (this.form1.shyqrdbzjlx=='01'&&parseInt(this.form1.shyqrdbzjhm.substr(16, 1)) % 2 == 1) {
  4778. if(this.form1.xb!='1'){
  4779. Dialog.confirm({
  4780. title: '警告',
  4781. message: '使用权人性别与身份证号中性别信息不符,是否继续保存?',
  4782. })
  4783. .then(() => {
  4784. // on confirm
  4785. updateShyqr(this.form1).then(response => {
  4786. let _this =this
  4787. this.$toast({
  4788. icon: 'success', // 找到自己需要的图标
  4789. message: '修改成功',
  4790. duration:"1000",
  4791. onClose:function(){
  4792. _this.showsyqr = false
  4793. _this.active = 2
  4794. _this.getSyqrList()
  4795. }
  4796. })
  4797. });
  4798. })
  4799. .catch(() => {
  4800. // on cancel
  4801. });
  4802. }else{
  4803. updateShyqr(this.form1).then(response => {
  4804. let _this =this
  4805. this.$toast({
  4806. icon: 'success', // 找到自己需要的图标
  4807. message: '修改成功',
  4808. duration:"1000",
  4809. onClose:function(){
  4810. _this.showsyqr = false
  4811. _this.active = 2
  4812. _this.getSyqrList()
  4813. }
  4814. })
  4815. });
  4816. }
  4817. } else if (this.form1.shyqrdbzjlx=='01'&&parseInt(this.form1.shyqrdbzjhm.substr(16, 1)) % 2 == 0) {
  4818. if(this.form1.xb!='0'){
  4819. Dialog.confirm({
  4820. title: '警告',
  4821. message: '成员性别与身份证号中性别信息不符,是否继续保存?',
  4822. })
  4823. .then(() => {
  4824. // on confirm
  4825. updateShyqr(this.form1).then(response => {
  4826. let _this =this
  4827. this.$toast({
  4828. icon: 'success', // 找到自己需要的图标
  4829. message: '修改成功',
  4830. duration:"1000",
  4831. onClose:function(){
  4832. _this.showsyqr = false
  4833. _this.active = 2
  4834. _this.getSyqrList()
  4835. }
  4836. })
  4837. });
  4838. })
  4839. .catch(() => {
  4840. // on cancel
  4841. });
  4842. }else{
  4843. updateShyqr(this.form1).then(response => {
  4844. let _this =this
  4845. this.$toast({
  4846. icon: 'success', // 找到自己需要的图标
  4847. message: '修改成功',
  4848. duration:"1000",
  4849. onClose:function(){
  4850. _this.showsyqr = false
  4851. _this.active = 2
  4852. _this.getSyqrList()
  4853. }
  4854. })
  4855. });
  4856. }
  4857. }else{
  4858. updateShyqr(this.form1).then(response => {
  4859. let _this =this
  4860. this.$toast({
  4861. icon: 'success', // 找到自己需要的图标
  4862. message: '修改成功',
  4863. duration:"1000",
  4864. onClose:function(){
  4865. _this.showsyqr = false
  4866. _this.active = 2
  4867. _this.getSyqrList()
  4868. }
  4869. })
  4870. });
  4871. }
  4872. } else {
  4873. if (this.form1.shyqrdbzjlx=='01'&&parseInt(this.form1.shyqrdbzjhm.substr(16, 1)) % 2 == 1) {
  4874. if(this.form1.xb!='1'){
  4875. Dialog.confirm({
  4876. title: '警告',
  4877. message: '使用权人性别与身份证号中性别信息不符,是否继续保存?',
  4878. })
  4879. .then(() => {
  4880. // on confirm
  4881. addShyqr(this.form1).then(response => {
  4882. let _this =this
  4883. this.$toast({
  4884. icon: 'success', // 找到自己需要的图标
  4885. message: '保存成功',
  4886. duration:"1000",
  4887. onClose:function(){
  4888. _this.showsyqr = false
  4889. _this.active = 2
  4890. _this.getSyqrList()
  4891. }
  4892. })
  4893. });
  4894. })
  4895. .catch(() => {
  4896. // on cancel
  4897. });
  4898. }else{
  4899. addShyqr(this.form1).then(response => {
  4900. let _this =this
  4901. this.$toast({
  4902. icon: 'success', // 找到自己需要的图标
  4903. message: '保存成功',
  4904. duration:"1000",
  4905. onClose:function(){
  4906. _this.showsyqr = false
  4907. _this.active = 2
  4908. _this.getSyqrList()
  4909. }
  4910. })
  4911. });
  4912. }
  4913. } else if (this.form1.shyqrdbzjlx=='01'&&parseInt(this.form1.shyqrdbzjhm.substr(16, 1)) % 2 == 0) {
  4914. if(this.form1.xb!='0'){
  4915. Dialog.confirm({
  4916. title: '警告',
  4917. message: '成员性别与身份证号中性别信息不符,是否继续保存?',
  4918. })
  4919. .then(() => {
  4920. // on confirm
  4921. addShyqr(this.form1).then(response => {
  4922. let _this =this
  4923. this.$toast({
  4924. icon: 'success', // 找到自己需要的图标
  4925. message: '保存成功',
  4926. duration:"1000",
  4927. onClose:function(){
  4928. _this.showsyqr = false
  4929. _this.active = 2
  4930. _this.getSyqrList()
  4931. }
  4932. })
  4933. });
  4934. })
  4935. .catch(() => {
  4936. // on cancel
  4937. });
  4938. }else{
  4939. addShyqr(this.form1).then(response => {
  4940. let _this =this
  4941. this.$toast({
  4942. icon: 'success', // 找到自己需要的图标
  4943. message: '保存成功',
  4944. duration:"1000",
  4945. onClose:function(){
  4946. _this.showsyqr = false
  4947. _this.active = 2
  4948. _this.getSyqrList()
  4949. }
  4950. })
  4951. });
  4952. }
  4953. }else{
  4954. addShyqr(this.form1).then(response => {
  4955. let _this =this
  4956. this.$toast({
  4957. icon: 'success', // 找到自己需要的图标
  4958. message: '保存成功',
  4959. duration:"1000",
  4960. onClose:function(){
  4961. _this.showsyqr = false
  4962. _this.active = 2
  4963. _this.getSyqrList()
  4964. }
  4965. })
  4966. });
  4967. }
  4968. }
  4969. }
  4970. },
  4971. onSubmitnmfw(){
  4972. if (this.nmfwform.id != null) {
  4973. updateNmfw(this.nmfwform).then(response => {
  4974. let _this =this
  4975. this.$toast({
  4976. icon: 'success', // 找到自己需要的图标
  4977. message: '修改成功',
  4978. duration:"1000",
  4979. onClose:function(){
  4980. _this.showfw = false
  4981. }
  4982. })
  4983. });
  4984. } else {
  4985. addNmfw(this.nmfwform).then(response => {
  4986. let _this =this
  4987. this.$toast({
  4988. icon: 'success', // 找到自己需要的图标
  4989. message: '保存成功',
  4990. duration:"1000",
  4991. onClose:function(){
  4992. _this.showfw = false
  4993. _this.shownmfwlist(_this.nmfwform);
  4994. }
  4995. })
  4996. });
  4997. }
  4998. },
  4999. // 户主保存
  5000. onSubmitnh(){
  5001. if(this.nhform.id!=null){
  5002. updateNh(this.nhform).then(
  5003. response => {
  5004. let _this = this
  5005. this.$toast({
  5006. icon: 'success', // 找到自己需要的图标
  5007. message: '修改成功',
  5008. duration:"1000",
  5009. onClose:function(){
  5010. let psyqr = {
  5011. deptId : _this.nhform.deptId,
  5012. nhdm : _this.nhform.nhdm,
  5013. shyqrdbxm : _this.nhform.hzxm,
  5014. shyqrdbzjlx : _this.nhform.hzzjlx,
  5015. shyqrdbzjhm : _this.nhform.hzzjhm,
  5016. dh : _this.nhform.phone,
  5017. dz : _this.nhform.txdz
  5018. }
  5019. setSyqrInfo(psyqr).then(res => {
  5020. _this.shownh = false
  5021. _this.getSyqrList()
  5022. })
  5023. }
  5024. })
  5025. }
  5026. );
  5027. }else{
  5028. this.nhform.deptId = this.item.deptId
  5029. addNh(this.nhform).then(
  5030. response => {
  5031. let _this =this
  5032. this.$toast({
  5033. icon: 'success', // 找到自己需要的图标
  5034. message: '保存成功',
  5035. duration:"1000",
  5036. onClose:function(){
  5037. _this.shownh = false
  5038. }
  5039. })
  5040. }
  5041. );
  5042. }
  5043. },
  5044. // 自然幢保存
  5045. onSubmitzrz(){
  5046. if (this.form3.id != null) {
  5047. updateZrz(this.form3).then(response => {
  5048. let _this =this
  5049. this.$toast({
  5050. icon: 'success', // 找到自己需要的图标
  5051. message: '修改成功',
  5052. duration:"1000",
  5053. onClose:function(){
  5054. _this.showzrz = false
  5055. _this.active = 3
  5056. _this.getZrzList()
  5057. _this.shownmfwlist(_this.form3)
  5058. }
  5059. })
  5060. });
  5061. } else {
  5062. addZrz(this.form3).then(response => {
  5063. this.form3 = response.data
  5064. let _this =this
  5065. this.$toast({
  5066. icon: 'success', // 找到自己需要的图标
  5067. message: '保存成功',
  5068. duration:"1000",
  5069. onClose:function(){
  5070. _this.showzrz = false
  5071. _this.active = 3
  5072. _this.getZrzList()
  5073. _this.shownmfwlist(_this.form3)
  5074. }
  5075. })
  5076. });
  5077. }
  5078. },
  5079. // 附属设施保存
  5080. onSubmitfsss(){
  5081. if (this.form4.id != null) {
  5082. updateFsss(this.form4).then(response => {
  5083. let _this =this
  5084. this.$toast({
  5085. icon: 'success', // 找到自己需要的图标
  5086. message: '修改成功',
  5087. duration:"1000",
  5088. onClose:function(){
  5089. _this.showfsss = false;
  5090. _this.getFsssList()
  5091. }
  5092. })
  5093. });
  5094. } else {
  5095. addFsss(this.form4).then(response => {
  5096. let _this =this
  5097. this.$toast({
  5098. icon: 'success', // 找到自己需要的图标
  5099. message: '保存成功',
  5100. duration:"1000",
  5101. onClose:function(){
  5102. _this.showfsss = false;
  5103. _this.getFsssList()
  5104. }
  5105. })
  5106. });
  5107. }
  5108. },
  5109. onSubmitzjd(){
  5110. if (this.form.id != null) {
  5111. updateZjdzd(this.form).then(response => {
  5112. this.$cookies.set("search",this.form);
  5113. let _this =this
  5114. this.$toast({
  5115. icon: 'success', // 找到自己需要的图标
  5116. message: '修改成功',
  5117. duration:"1000",
  5118. onClose:function(){
  5119. _this.active = 2
  5120. _this.getSyqrList()
  5121. }
  5122. })
  5123. });
  5124. } else {
  5125. addZjdzd(this.form).then(response => {
  5126. this.$cookies.set("search",this.form);
  5127. this.form = response.data
  5128. let _this =this
  5129. this.$toast({
  5130. icon: 'success', // 找到自己需要的图标
  5131. message: '保存成功',
  5132. duration:"1000",
  5133. onClose:function(){
  5134. _this.active = 2
  5135. _this.getSyqrList()
  5136. }
  5137. })
  5138. });
  5139. }
  5140. },
  5141. showPopupsyqr(item) {
  5142. if(this.form.id==null||this.form.id==""){
  5143. Notify({ type: 'danger', message: '请先保存宅基地信息' });
  5144. }else{
  5145. if(item==""){
  5146. this.form1={
  5147. zjddm:this.form.zjddm,
  5148. suyqrdm:this.form.suyqrdm,
  5149. deptId:this.item.deptId,
  5150. gj:'1',
  5151. hklx:'1',
  5152. xb:'1',
  5153. sfbncjtjjzzcy:'Y',
  5154. sfsyqrzjgy:'N',
  5155. qlrlx:'10',
  5156. qlrlxName:'个人',
  5157. gyfs:'1',
  5158. gyfsName:'单独所有',
  5159. qlbl:'1',
  5160. hjszss:"150000",
  5161. hjszssName:"内蒙古自治区",
  5162. }
  5163. }else{
  5164. this.form1 = item
  5165. if(this.form1.gj==null||this.form1.gj==""){
  5166. this.form1.gj = '1'
  5167. }
  5168. if(this.form1.hklx==null||this.form1.hklx==""){
  5169. this.form1.hklx = '1'
  5170. }
  5171. if(this.form1.xb==null||this.form1.xb==""){
  5172. this.form1.xb = '1'
  5173. }
  5174. if(this.form1.sfbncjtjjzzcy==null||this.form1.sfbncjtjjzzcy==""){
  5175. this.form1.sfbncjtjjzzcy = 'Y'
  5176. }
  5177. if(this.form1.sfsyqrzjgy==null||this.form1.sfsyqrzjgy==""){
  5178. this.form1.sfsyqrzjgy = 'N'
  5179. }
  5180. if(this.form1.qlrlx==null||this.form1.qlrlx==""){
  5181. this.form1.qlrlx = 'Y'
  5182. this.form1.qlrlxName = '个人'
  5183. }
  5184. if(this.form1.gyfs==null||this.form1.gyfs==""){
  5185. this.form1.gyfs = '1'
  5186. this.form1.gyfsName = '单独所有'
  5187. }
  5188. if(this.form1.qlbl==null||this.form1.qlbl==""){
  5189. this.form1.qlbl = '1'
  5190. }
  5191. if(this.form1.hjszss==null||this.form1.hjszss==""){
  5192. this.form1.hjszss = '150000'
  5193. this.form1.hjszssName = '内蒙古自治区'
  5194. }
  5195. this.industryOptions.map(res => {
  5196. if(res.dictValue == this.form1.sshy){
  5197. this.form1.sshyName = res.dictLabel
  5198. }
  5199. })
  5200. this.sjlyOptions.map(res => {
  5201. if(res.dictValue == this.form1.sjly){
  5202. this.form1.sjlyName = res.dictLabel
  5203. }
  5204. })
  5205. this.zjlxOptions.map(res => {
  5206. if(res.dictValue == this.form1.shyqrdbzjlx){
  5207. this.form1.shyqrdbzjlxName = res.dictLabel
  5208. }
  5209. })
  5210. this.qlrlxOptions.map(res => {
  5211. if(res.dictValue == this.form1.qlrlx){
  5212. this.form1.qlrlxName = res.dictLabel
  5213. }
  5214. })
  5215. this.gyfsOptions.map(res => {
  5216. if(res.dictValue == this.form1.gyfs){
  5217. this.form1.gyfsName = res.dictLabel
  5218. }
  5219. })
  5220. this.hjszssOptions.map(res => {
  5221. if(res.dictValue == this.form1.hjszss){
  5222. this.form1.hjszssName = res.dictLabel
  5223. }
  5224. })
  5225. }
  5226. this.showsyqr = true;
  5227. }
  5228. },
  5229. showPopuphncy(item){
  5230. if(item==""){
  5231. this.form5 = {
  5232. "nhdm":this.nhdm,
  5233. "deptId":this.item.deptId,
  5234. "zjlx":'01',
  5235. "zjlxName":"身份证",
  5236. "yhzgx":"12",
  5237. "yhzgxName":"妻",
  5238. "hyzk":'02',
  5239. "hklx":'1',
  5240. "occupation":'1',
  5241. "occupationName":'务农',
  5242. "jzqk":'3',
  5243. "jzqkName":'常年居住',
  5244. "sfbjtjjzzcy":'Y',
  5245. "xb":'0',
  5246. "sfbccm":'Y',
  5247. "sfpkh":'N',
  5248. "sfwbh":'N',
  5249. "sjly":'07',
  5250. "sjlyName":'农村集体产权制度改革',
  5251. "cybz":'9',
  5252. "cybzName":'其他备注'
  5253. }
  5254. }else{
  5255. this.form5 = item
  5256. if(this.form5.nhdm==null||this.form5.nhdm==""){
  5257. this.form5.nhdm = this.nhform.nhdm
  5258. }
  5259. if(this.form5.deptId==null||this.form5.deptId==""){
  5260. this.form5.deptId = this.nhform.deptId
  5261. }
  5262. if(this.form5.zjlx==null||this.form5.zjlx==""){
  5263. this.form5.zjlx = "01"
  5264. this.form5.zjlxName = "身份证"
  5265. }
  5266. if(this.form5.yhzgx==null||this.form5.yhzgx==""){
  5267. this.form5.yhzgx = "12"
  5268. this.form5.yhzgxName = "妻"
  5269. }
  5270. if(this.form5.hyzk==null||this.form5.hyzk==""){
  5271. this.form5.hyzk = "02"
  5272. }
  5273. if(this.form5.hklx==null||this.form5.hklx==""){
  5274. this.form5.hklx = "1"
  5275. }
  5276. if(this.form5.occupation==null||this.form5.occupation==""){
  5277. this.form5.occupation = "1"
  5278. this.form5.occupationName = "务农"
  5279. }
  5280. if(this.form5.jzqk==null||this.form5.jzqk==""){
  5281. this.form5.jzqk = "3"
  5282. this.form5.jzqkName = "常年居住"
  5283. }
  5284. if(this.form5.sfbjtjjzzcy==null||this.form5.sfbjtjjzzcy==""){
  5285. this.form5.sfbjtjjzzcy = "Y"
  5286. }
  5287. if(this.form5.xb==null||this.form5.xb==""){
  5288. this.form5.xb = "0"
  5289. }
  5290. if(this.form5.sfbccm==null||this.form5.sfbccm==""){
  5291. this.form5.sfbccm = "Y"
  5292. }
  5293. if(this.form5.sfpkh==null||this.form5.sfpkh==""){
  5294. this.form5.sfpkh = "N"
  5295. }
  5296. if(this.form5.sfwbh==null||this.form5.sfwbh==""){
  5297. this.form5.sfwbh = "N"
  5298. }
  5299. if(this.form5.sjly==null||this.form5.sjly==""){
  5300. this.form5.sjly = "07"
  5301. this.form5.sjlyName = "农村集体产权制度改革"
  5302. }
  5303. if(this.form5.cybz==null||this.form5.cybz==""){
  5304. this.form5.cybz = "9"
  5305. this.form5.cybzName = "其他备注"
  5306. }
  5307. this.jzhcssfyzfOptions.map(res => {
  5308. if(res.dictValue == item.jzhcssfyzf){
  5309. this.form5.jzhcssfyzfName = res.dictLabel
  5310. }
  5311. })
  5312. this.zjlxOptions.map(res => {
  5313. if(res.dictValue == item.zjlx){
  5314. this.form5.zjlxName = res.dictLabel
  5315. }
  5316. })
  5317. this.occupationOptions.map(res => {
  5318. if(res.dictValue == item.occupation){
  5319. this.form5.occupationName = res.dictLabel
  5320. }
  5321. })
  5322. this.jzqkOptions.map(res => {
  5323. if(res.dictValue == item.jzqk){
  5324. this.form5.jzqkName = res.dictLabel
  5325. }
  5326. })
  5327. this.yhzgxOptions.map(res => {
  5328. if(res.dictValue == item.yhzgx){
  5329. this.form5.yhzgxName = res.dictLabel
  5330. }
  5331. })
  5332. this.cybzOptions.map(res => {
  5333. if(res.dictValue == item.cybz){
  5334. this.form5.cybzName = res.dictLabel
  5335. }
  5336. })
  5337. this.sjlyOptions.map(res => {
  5338. if(res.dictValue == item.sjly){
  5339. this.form5.sjlyName = res.dictLabel
  5340. }
  5341. })
  5342. }
  5343. this.showhncy = true
  5344. },
  5345. showPopupzrz(item) {
  5346. if(this.form.id==null||this.form.id==""){
  5347. Notify({ type: 'danger', message: '请先保存宅基地信息' });
  5348. }else{
  5349. if(item==""){
  5350. this.form3={
  5351. zjddm:this.item.zjddm?this.item.zjddm:this.form.zjddm,
  5352. deptId:this.item.deptId?this.item.deptId:this.form.deptId,
  5353. zcs:"1",
  5354. dscs:"1",
  5355. dxcs:"0",
  5356. fwjg:'02',
  5357. fwjgName:'钢和钢筋混凝土结构',
  5358. sjly:'04',
  5359. sjlyName:'农村宅基地使用权确权登记发证',
  5360. theGeom:this.form3.theGeom,
  5361. }
  5362. }else{
  5363. this.form3 = item
  5364. if(this.form3.zcs==null||this.form3.zcs==""){
  5365. this.form3.zcs = "1"
  5366. }
  5367. if(this.form3.dscs==null||this.form3.dscs==""){
  5368. this.form3.dscs = "1"
  5369. }
  5370. if(this.form3.dscs==null||this.form3.dscs==""){
  5371. this.form3.dscs = "0"
  5372. }
  5373. if(this.form3.fwjg==null||this.form3.fwjg==""){
  5374. this.form3.fwjg = "02"
  5375. this.form3.fwjgName = "钢和钢筋混凝土结构"
  5376. }
  5377. if(this.form3.sjly==null||this.form3.sjly==""){
  5378. this.form3.sjly = "04"
  5379. this.form3.sjlyName = "农村宅基地使用权确权登记发证"
  5380. }
  5381. if(this.form3.sjly!=null){
  5382. this.sjlyOptions.map(res => {
  5383. if(res.dictValue == this.form3.sjly){
  5384. this.form3.sjlyName = res.dictLabel
  5385. }
  5386. })
  5387. }
  5388. if(this.form3.fwjg!=null){
  5389. this.fwjgOptions.map(res => {
  5390. if(res.dictValue == this.form3.fwjg){
  5391. this.form3.fwjgName = res.dictLabel
  5392. }
  5393. })
  5394. }
  5395. }
  5396. this.showzrz = true;
  5397. this.active = 3;
  5398. this.mapClickLoading();
  5399. }
  5400. },
  5401. showPopupfw(item) {
  5402. this.fileListfw = []
  5403. if(this.form.id==null||this.form.id==""){
  5404. Notify({ type: 'danger', message: '请先保存宅基地信息' });
  5405. }else{
  5406. this.showfw = true;
  5407. if(item==""){
  5408. this.nmfwform={
  5409. zrzh: this.zrzh,
  5410. deptId : this.item.deptId?this.item.deptId:this.form.deptId,
  5411. zjddm : this.item.zjddm?this.item.zjddm:this.form.zjddm,
  5412. nmfwzh : null,
  5413. ch:"1",
  5414. sjc:"1",
  5415. myc:"1",
  5416. sjcs:"1",
  5417. hx:'03',
  5418. hxName:'三居室',
  5419. hxjg:'01',
  5420. hxjgName:'平层',
  5421. fwjg:'02',
  5422. fwjgName:'钢和钢筋混凝土结构',
  5423. fwyt:'10',
  5424. fwytName:'住宅',
  5425. sfjf:'N',
  5426. sfcf:'N',
  5427. sffz:'Y',
  5428. isCommon:'N',
  5429. fwzt:'01',
  5430. fwztName:'正常',
  5431. isMortgage:'N',
  5432. sjly:'04',
  5433. sjlyName:'农村宅基地使用权确权登记发证',
  5434. fwlx:'01',
  5435. fwlxName:'住宅',
  5436. lyzk:'1',
  5437. lyzkName:'正常使用',
  5438. lzyx:'0',
  5439. yctcyx:'0',
  5440. qsly:'01',
  5441. qslyName:'申请',
  5442. sfkjgj:'N',
  5443. pzdw:'1',
  5444. }
  5445. }else{
  5446. this.nmfwform = item
  5447. if(this.nmfwform.zjdxctp!=null&&this.nmfwform.zjdxctp!=""&&this.nmfwform.zjdxctp.length>0){
  5448. let li = this.nmfwform.zjdxctp.split(",");
  5449. li.map(res => {
  5450. this.fileListfw.push({"url":this.baseUrl+res,"baseUrl":res})
  5451. })
  5452. }
  5453. if(this.nmfwform.sfkjgj==null||this.nmfwform.sfkjgj==""){
  5454. this.nmfwform.sfkjgj = "N"
  5455. }
  5456. if(this.nmfwform.qsly==null||this.nmfwform.qsly==""){
  5457. this.nmfwform.qsly = "01"
  5458. this.nmfwform.qslyName = "申请"
  5459. }
  5460. if(this.nmfwform.yctcyx==null||this.nmfwform.yctcyx==""){
  5461. this.nmfwform.yctcyx = "0"
  5462. }
  5463. if(this.nmfwform.lzyx==null||this.nmfwform.lzyx==""){
  5464. this.nmfwform.lzyx = "0"
  5465. }
  5466. if(this.nmfwform.lyzk==null||this.nmfwform.lyzk==""){
  5467. this.nmfwform.lyzk = "1"
  5468. this.nmfwform.lyzkName = "正常使用"
  5469. }
  5470. if(this.nmfwform.fwlx==null||this.nmfwform.fwlx==""){
  5471. this.nmfwform.fwlx = "01"
  5472. this.nmfwform.fwlxName = "住宅"
  5473. }
  5474. if(this.nmfwform.sjly==null||this.nmfwform.sjly==""){
  5475. this.nmfwform.sjly = "04"
  5476. this.nmfwform.sjlyName = "农村宅基地使用权确权登记发证"
  5477. }
  5478. if(this.nmfwform.isMortgage==null||this.nmfwform.isMortgage==""){
  5479. this.nmfwform.isMortgage = "N"
  5480. }
  5481. if(this.nmfwform.fwzt==null||this.nmfwform.fwzt==""){
  5482. this.nmfwform.fwzt = "01"
  5483. this.nmfwform.fwztName = "正常"
  5484. }
  5485. if(this.nmfwform.pzdw==null||this.nmfwform.pzdw==""){
  5486. this.nmfwform.pzdw = "1"
  5487. }
  5488. if(this.nmfwform.sfkjgj==null||this.nmfwform.sfkjgj==""){
  5489. this.nmfwform.sfkjgj = "N"
  5490. }
  5491. if(this.nmfwform.zrzh==null||this.nmfwform.zrzh==""){
  5492. this.nmfwform.zrzh = this.item.zrzh
  5493. }
  5494. if(this.nmfwform.deptId==null||this.nmfwform.deptId==""){
  5495. this.nmfwform.deptId = this.item.deptId
  5496. }
  5497. if(this.nmfwform.zjddm==null||this.nmfwform.zjddm==""){
  5498. this.nmfwform.zjddm = this.item.zjddm
  5499. }
  5500. if(this.nmfwform.nmfwzh==null||this.nmfwform.nmfwzh==""){
  5501. this.nmfwform.nmfwzh = this.item.nmfwzh
  5502. }
  5503. if(this.nmfwform.ch==null||this.nmfwform.ch==""){
  5504. this.nmfwform.ch = "1"
  5505. }
  5506. if(this.nmfwform.sjc==null||this.nmfwform.sjc==""){
  5507. this.nmfwform.sjc = "1"
  5508. }
  5509. if(this.nmfwform.myc==null||this.nmfwform.myc==""){
  5510. this.nmfwform.myc = "1"
  5511. }
  5512. if(this.nmfwform.sjcs==null||this.nmfwform.sjcs==""){
  5513. this.nmfwform.sjcs = "1"
  5514. }
  5515. if(this.nmfwform.hx==null||this.nmfwform.hx==""){
  5516. this.nmfwform.hx = "03"
  5517. this.nmfwform.hxName = "三居室"
  5518. }
  5519. if(this.nmfwform.hxjg==null||this.nmfwform.hxjg==""){
  5520. this.nmfwform.hxjg = "01"
  5521. this.nmfwform.hxjgName = "平层"
  5522. }
  5523. if(this.nmfwform.fwjg==null||this.nmfwform.fwjg==""){
  5524. this.nmfwform.fwjg = "02"
  5525. this.nmfwform.fwjgName = "钢和钢筋混凝土结构"
  5526. }
  5527. if(this.nmfwform.fwyt==null||this.nmfwform.fwyt==""){
  5528. this.nmfwform.fwyt = "10"
  5529. this.nmfwform.fwytName = "住宅"
  5530. }
  5531. if(this.nmfwform.sfjf==null||this.nmfwform.sfjf==""){
  5532. this.nmfwform.sfjf = "N"
  5533. }
  5534. if(this.nmfwform.sfcf==null||this.nmfwform.sfcf==""){
  5535. this.nmfwform.sfcf = "N"
  5536. }
  5537. if(this.nmfwform.sffz==null||this.nmfwform.sffz==""){
  5538. this.nmfwform.sffz = "Y"
  5539. }
  5540. if(this.nmfwform.isCommon==null||this.nmfwform.isCommon==""){
  5541. this.nmfwform.isCommon = "N"
  5542. }
  5543. this.sjlyOptions.map(res => {
  5544. if(res.dictValue == item.sjly){
  5545. this.nmfwform.sjlyName = res.dictLabel
  5546. }
  5547. })
  5548. this.hxjgOptions.map(res => {
  5549. if(res.dictValue == item.hxjg){
  5550. this.nmfwform.hxjgName = res.dictLabel
  5551. }
  5552. })
  5553. this.hxOptions.map(res => {
  5554. if(res.dictValue == item.hx){
  5555. this.nmfwform.hxName = res.dictLabel
  5556. }
  5557. })
  5558. this.fwjgOptions.map(res => {
  5559. if(res.dictValue == item.fwjg){
  5560. this.nmfwform.fwjgName = res.dictLabel
  5561. }
  5562. })
  5563. this.fwytOptions.map(res => {
  5564. if(res.dictValue == item.fwyt){
  5565. this.nmfwform.fwytName = res.dictLabel
  5566. }
  5567. })
  5568. this.tdzkOptions.map(res => {
  5569. if(res.dictValue == item.tdzk){
  5570. this.nmfwform.tdzkName = res.dictLabel
  5571. }
  5572. })
  5573. this.pzsjOptions.map(res => {
  5574. if(res.dictValue == item.pzsj){
  5575. this.nmfwform.pzsjName = res.dictLabel
  5576. }
  5577. })
  5578. this.phlymsOptions.map(res => {
  5579. if(res.dictValue == item.phlyms){
  5580. this.nmfwform.phlymsName = res.dictLabel
  5581. }
  5582. })
  5583. this.fwlxOptions.map(res => {
  5584. if(res.dictValue == item.fwlx){
  5585. this.nmfwform.fwlxName = res.dictLabel
  5586. }
  5587. })
  5588. this.lyzkOptions.map(res => {
  5589. if(res.dictValue == item.lyzk){
  5590. this.nmfwform.lyzkName = res.dictLabel
  5591. }
  5592. })
  5593. this.fwztOptions.map(res => {
  5594. if(res.dictValue == item.fwzt){
  5595. this.nmfwform.fwztName = res.dictLabel
  5596. }
  5597. })
  5598. this.qslyOptions.map(res => {
  5599. if(res.dictValue == item.qsly){
  5600. this.nmfwform.qslyName = res.dictLabel
  5601. }
  5602. })
  5603. }}
  5604. },
  5605. showPopuphncylist(item){
  5606. if(item.nhdm==null||item.nhdm==""){
  5607. Notify({ type: 'danger', message: '使用权人农户代码不能为空' });
  5608. }else{
  5609. this.showhncylist = true;
  5610. if(item==""){
  5611. this.hncylist=[]
  5612. }else{
  5613. this.nhdm = item.nhdm
  5614. this.hncylist=[]
  5615. let params = {
  5616. "nhdm":item.nhdm,
  5617. deptId:this.item.deptId
  5618. }
  5619. listNhhncy(params).then((response) => {
  5620. this.hncylist = response.rows
  5621. })
  5622. }
  5623. }
  5624. },
  5625. showPopupfsss(item) {if(this.form.id==null||this.form.id==""){
  5626. Notify({ type: 'danger', message: '请先保存宅基地信息' });
  5627. }else{
  5628. if(item==""){
  5629. this.form4={
  5630. deptId:this.item.deptId?this.item.deptId:this.form.deptId,
  5631. zjddm:this.item.zjddm?this.item.zjddm:this.form.zjddm,
  5632. fssslx:'11',
  5633. fssslxName:'畜厩',
  5634. qsly:'99',
  5635. qslyName:'其他',
  5636. fwzt:'01',
  5637. fwztName:'正常',
  5638. sfsp:'N',
  5639. sffz:'N',
  5640. jglx:'2',
  5641. jglxName:'砖混',
  5642. sfzzsy:'Y',
  5643. jzwqk:'01',
  5644. jzwqkName:'正常',
  5645. tdzk:'3',
  5646. tdzkName:'其他',
  5647. sfsgcf:'N',
  5648. theGeom:this.form4.theGeom,
  5649. }
  5650. }else{
  5651. this.form4=item
  5652. if(this.form4.fssslx==null||this.form4.fssslx==""){
  5653. this.form4.fssslx = "11"
  5654. this.form4.fssslxName = "畜厩"
  5655. }
  5656. if(this.form4.qsly==null||this.form4.qsly==""){
  5657. this.form4.qsly = "99"
  5658. this.form4.qslyName = "其他"
  5659. }
  5660. if(this.form4.fwzt==null||this.form4.fwzt==""){
  5661. this.form4.fwzt = "01"
  5662. this.form4.fwztName = "正常"
  5663. }
  5664. if(this.form4.sfsp==null||this.form4.sfsp==""){
  5665. this.form4.sfsp = "N"
  5666. }
  5667. if(this.form4.sffz==null||this.form4.sffz==""){
  5668. this.form4.sffz = "N"
  5669. }
  5670. if(this.form4.jglx==null||this.form4.jglx==""){
  5671. this.form4.jglx = "2"
  5672. this.form4.jglxName = "砖混"
  5673. }
  5674. if(this.form4.sfzzsy==null||this.form4.sfzzsy==""){
  5675. this.form4.sfzzsy = "Y"
  5676. }
  5677. if(this.form4.jzwqk==null||this.form4.jzwqk==""){
  5678. this.form4.jzwqk = "01"
  5679. this.form4.jzwqkName = "正常"
  5680. }
  5681. if(this.form4.tdzk==null||this.form4.tdzk==""){
  5682. this.form4.tdzk = "3"
  5683. this.form4.tdzkName = "其他"
  5684. }
  5685. if(this.form4.sfsgcf==null||this.form4.sfsgcf==""){
  5686. this.form4.sfsgcf = "N"
  5687. }
  5688. if(this.form4.theGeom==null||this.form4.theGeom==""){
  5689. this.form4.theGeom = this.form4.theGeom
  5690. }
  5691. this.fssslxOptions.map(res => {
  5692. if(res.dictValue == item.fssslx){
  5693. this.form4.fssslxName = res.dictLabel
  5694. }
  5695. })
  5696. this.qslyOptions.map(res => {
  5697. if(res.dictValue == item.qsly){
  5698. this.form4.qslyName = res.dictLabel
  5699. }
  5700. })
  5701. this.fwztOptions.map(res => {
  5702. if(res.dictValue == item.fwzt){
  5703. this.form4.fwztName = res.dictLabel
  5704. }
  5705. })
  5706. this.jglxOptions.map(res => {
  5707. if(res.dictValue == item.jglx){
  5708. this.form4.jglxName = res.dictLabel
  5709. }
  5710. })
  5711. this.jzwqkOptions.map(res => {
  5712. if(res.dictValue == item.jzwqk){
  5713. this.form4.jzwqkName = res.dictLabel
  5714. }
  5715. })
  5716. this.tdzkOptions.map(res => {
  5717. if(res.dictValue == item.tdzk){
  5718. this.form4.tdzkName = res.dictLabel
  5719. }
  5720. })
  5721. }
  5722. this.showfsss = true;
  5723. this.active = 4;
  5724. this.mapClickLoading();
  5725. }
  5726. },
  5727. showPopup3() {
  5728. this.show3 = true;
  5729. this.mapClickLoading();
  5730. },
  5731. onSubmit(values) {
  5732. },
  5733. changeActive(){
  5734. if(this.active<4){
  5735. this.active+=1
  5736. }else{
  5737. this.active=1
  5738. }
  5739. },
  5740. changeActiveBack(){
  5741. if(this.active>1){
  5742. this.active-=1
  5743. if(this.active ==1){
  5744. this.mapClickLoading();
  5745. }
  5746. }else{
  5747. this.active=1
  5748. this.mapClickLoading();
  5749. }
  5750. },
  5751. // 清空画板
  5752. handleReset() {
  5753. this.resultImg = null
  5754. if(this.$refs.esign){
  5755. this.$refs.esign.reset();
  5756. }
  5757. },
  5758. // 图片上传前
  5759. beforeRead(file){
  5760. // 创建Canvas对象(画布)
  5761. let canvas = document.createElement('canvas')
  5762. // 获取对应的CanvasRenderingContext2D对象(画笔)
  5763. let context = canvas.getContext('2d')
  5764. // 创建新的图片对象
  5765. let img = new Image()
  5766. // 指定图片的DataURL(图片的base64编码数据)
  5767. img.src = file.content
  5768. // 监听浏览器加载图片完成,然后进行进行绘制
  5769. const height = 166
  5770. const width = 316
  5771. img.onload = () => {
  5772. const h = img.height
  5773. const w = img.width
  5774. let ch = img.height/2
  5775. let cw = img.width/2
  5776. let canvas = document.createElement('canvas')
  5777. let ctx = canvas.getContext('2d')
  5778. canvas.height = ch
  5779. canvas.width = cw
  5780. ctx.clearRect(0,0,cw,ch)
  5781. ctx.drawImage(img,0,0,cw,ch)
  5782. let base_img = canvas.toDataURL('image/jpeg')
  5783. const blobBin = atob(base_img.split(',')[1])
  5784. let d = []
  5785. for (let i=0;i<blobBin.length;i++){
  5786. d.push(blobBin.charCodeAt(i))
  5787. }
  5788. const data2 = new FormData();
  5789. data2.append("file", new Blob([new Uint8Array(d)],{type:'image/jpeg'}));
  5790. uploadFile(data2).then(res => {
  5791. if(this.form.zjdxctp!=null&&this.form.zjdxctp!=""){
  5792. this.form.zjdxctp = this.form.zjdxctp + "," + res.fileName
  5793. }else{
  5794. this.form.zjdxctp = res.fileName
  5795. }
  5796. })
  5797. }
  5798. },
  5799. // 生成签字图
  5800. handleGenerate() {
  5801. if(this.resultImg==null||this.resultImg==''){
  5802. this.$refs.esign
  5803. .generate() // 使用生成器调用把签字的图片转换成为base64图片格式
  5804. .then((res) => {
  5805. this.resultImg = res;
  5806. })
  5807. .catch((err) => {
  5808. // 画布没有签字时会执行这里提示一下
  5809. this.$message({
  5810. type: "warning",
  5811. message: "请签名后再生成签字图片",
  5812. });
  5813. });
  5814. // 在这里向后端发请求把转换后的base64文件传给后端,后端接收以后再转换成图片做静态图片存储
  5815. // 当然也可以把base64转成流文件blob格式的,类似上传给后端这样,具体哪种方式看后端要求
  5816. setTimeout(() => {
  5817. // 这里要使用定时器稍微延后以后就能取到base64数据了,当然也可以再加一个确认按钮,如:确认使用这张base64签名图片
  5818. // 点击确认以后,在其回调函数中,再把base64的签名图片传给后端用于存储
  5819. const blobBin = atob(this.resultImg.split(',')[1])
  5820. let d = []
  5821. for (let i=0;i<blobBin.length;i++){
  5822. d.push(blobBin.charCodeAt(i))
  5823. }
  5824. const data2 = new FormData();
  5825. data2.append("file", new Blob([new Uint8Array(d)],{type:'image/jpeg'}));
  5826. uploadFile(data2).then(res => {
  5827. this.form.dzqm = res.fileName
  5828. this.form.houseDataConfirmStatus = "CONFIRMED"
  5829. if(this.form.zjddm !="" && this.form.zjddm !=undefined && this.form.zjddm !=null && this.form.isyc =="N"){
  5830. updateZrzZtN(this.form.zjddm).then(response => {});
  5831. updateFsssZtN(this.form.zjddm).then(response => {});
  5832. }else {
  5833. updateZrzZtY(this.form.zjddm).then(response => {});
  5834. updateFsssZtY(this.form.zjddm).then(response => {});
  5835. }
  5836. if (this.form.id != null) {
  5837. updateZjdzd(this.form).then(response => {
  5838. let _this =this
  5839. this.$toast({
  5840. icon: 'success', // 找到自己需要的图标
  5841. message: '修改成功',
  5842. duration:"1000",
  5843. onClose:function(){
  5844. _this.goBack();
  5845. }
  5846. });
  5847. });
  5848. } else {
  5849. addZjdzd(this.form).then(response => {
  5850. let _this =this
  5851. this.$toast({
  5852. icon: 'success', // 找到自己需要的图标
  5853. message: '保存成功',
  5854. duration:"1000",
  5855. onClose:function(){
  5856. _this.goBack();
  5857. }
  5858. })
  5859. });
  5860. }
  5861. })
  5862. }, 200);
  5863. }else{
  5864. updateZjdzd(this.form).then(response => {
  5865. let _this =this
  5866. this.$toast({
  5867. icon: 'success', // 找到自己需要的图标
  5868. message: '修改成功',
  5869. duration:"1000",
  5870. onClose:function(){
  5871. _this.goBack();
  5872. }
  5873. });
  5874. });
  5875. }
  5876. /*this.showesign = false;*/
  5877. },
  5878. searchCommit(){
  5879. this.showesign = true
  5880. },
  5881. searchCommit1(){
  5882. this.form.houseDataConfirmStatus = "CONFIRMED"
  5883. if (this.form.id != null) {
  5884. updateZjdzd(this.form).then(response => {
  5885. let _this =this
  5886. this.$toast({
  5887. icon: 'success', // 找到自己需要的图标
  5888. message: '修改成功',
  5889. duration:"1000",
  5890. onClose:function(){
  5891. _this.goBack();
  5892. }
  5893. })
  5894. });
  5895. } else {
  5896. addZjdzd(this.form).then(response => {
  5897. let _this =this
  5898. this.$toast({
  5899. icon: 'success', // 找到自己需要的图标
  5900. message: '保存成功',
  5901. duration:"1000",
  5902. onClose:function(){
  5903. _this.goBack();
  5904. }
  5905. })
  5906. });
  5907. }
  5908. },
  5909. //地图加载js------start
  5910. mapClickLoading(){
  5911. setTimeout(() => {
  5912. this.$refs.drewingClickLoading.drawingPaceCountryDarw();
  5913. }, 500);
  5914. },
  5915. /** 查找地图中定位点 */
  5916. MapTag: function (data) {
  5917. if(this.active =="1"){
  5918. this.form.theGeom = data;
  5919. }else if(this.active=="3"){
  5920. this.form3.theGeom = data;
  5921. }else if(this.active=="4"){
  5922. this.form4.theGeom = data;
  5923. } else {
  5924. }
  5925. },
  5926. //地图加载js------end
  5927. }
  5928. }
  5929. </script>
  5930. <style scoped>
  5931. >>> .bannerBg{
  5932. width: 100%;
  5933. color:#fff;
  5934. padding:10px;
  5935. background: linear-gradient(134deg,#7ac943 1%, #22b7f2);
  5936. }
  5937. >>> .van-hairline--bottom::after {
  5938. border-bottom-width: 0;
  5939. }
  5940. >>> .title:before
  5941. {
  5942. content:"";
  5943. width: 6px;
  5944. height: 32px;
  5945. background: #7ac943;
  5946. border-radius: 3px;
  5947. position:absolute;
  5948. left:0;
  5949. bottom:0;
  5950. }
  5951. >>> .delete-button {
  5952. height: 100%;
  5953. }
  5954. >>> .van-swipe-cell__wrapper{
  5955. margin-right:-3px;
  5956. }
  5957. </style>