移动端
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 

6016 wiersze
206 KiB

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