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

5263 lines
178 KiB

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