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

1547 wiersze
62 KiB

  1. <template>
  2. <div class="app-container">
  3. <div class="bannerBg" style="">
  4. <van-nav-bar
  5. style="background:transparent;border-bottom-width:0;"
  6. @click-left="$router.back(-1)"
  7. >
  8. <template #left>
  9. <van-icon name="arrow-left" size="18" color="#fff" />
  10. </template>
  11. <template #title>
  12. <p style="color:#fff">{{item.deptName}}</p>
  13. </template>
  14. </van-nav-bar>
  15. <div style="display:flex;width:90%;margin:0 auto;">
  16. <div :class="{activeBtn : activeBtn==1,disactiveBtn :activeBtn!=1 }" @click="activeBtn=1"><van-icon size="20" style="vertical-align:middle;" :name="require('../../assets/images/housesteadSurvey/btn1'+(activeBtn!=1?'1':'')+'.png')" />
  17. 入户核查
  18. </div>
  19. <div :class="{activeBtn : activeBtn==2,disactiveBtn :activeBtn!=2 }" @click="activeBtn=2"><van-icon size="20" style="vertical-align:middle;" :name="require('../../assets/images/housesteadSurvey/btn2'+(activeBtn!=2?'2':'')+'.png')" />
  20. 农户信息
  21. </div>
  22. <div :class="{activeBtn : activeBtn==3,disactiveBtn :activeBtn!=3 }" @click="activeBtn=3"> <van-icon size="20" style="vertical-align:middle;" :name="require('../../assets/images/housesteadSurvey/btn3'+(activeBtn!=3?'3':'')+'.png')" />
  23. 所有权人
  24. </div>
  25. <div :class="{activeBtn : activeBtn==4,disactiveBtn :activeBtn!=4 }" @click="activeBtn=4,mapShow()">
  26. <van-icon size="20" style="vertical-align:middle;" :name="require('../../assets/images/housesteadSurvey/btn4'+(activeBtn!=4?'4':'')+'.png')" />
  27. 切换地图
  28. </div>
  29. </div>
  30. </div>
  31. <div v-if="activeBtn==1">
  32. <van-search v-model="value" placeholder="请输入搜索关键词" show-action>
  33. <template #action>
  34. <van-icon name="add" color="rgba(122,201,67,1)" size="55" style="vertical-align:middle;"/>
  35. </template>
  36. </van-search>
  37. <van-tabs v-model="active" sticky title-active-color="#7AC943" color="#7AC943" swipeable @click="getZjdList">
  38. <van-tab title="全部" >
  39. <van-cell v-for="(item,index) in list" :key="index" size="small":to="{name:'homesteadAdd',params:{item:item}}" style="border-radius: 16px;
  40. box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.16); width:calc( 100% - 40px);margin:20px">
  41. <template #title>
  42. <p style="color:#22B7F2">{{item.syqr}}</p>
  43. </template>
  44. <template #default>
  45. <van-button plain round color="#7AC943" size="mini" style="vertical-align:middle;margin-top:15px;">查看详情</van-button>
  46. </template>
  47. <template #label>
  48. <p>宅基地代码 {{item.zjddm}} </p>
  49. <p>宗地面积 {{item.zdmj}}㎡ </p>
  50. </template>
  51. <template #icon>
  52. <van-icon name="clock" color="#22b7f2" style="margin-top:10px;margin-right:10px;"/>
  53. </template>
  54. </van-cell>
  55. </van-tab>
  56. <van-tab title="已核查" >
  57. <van-cell v-for="(item,index) in list1" :key="index" size="small":to="{name:'homesteadAdd',params:{item:item}}" style="border-radius: 16px;
  58. box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.16); width:calc( 100% - 40px);margin:20px">
  59. <template #title>
  60. <p style="color:#22B7F2">刘茂强</p>
  61. </template>
  62. <template #default>
  63. <van-button plain round color="#7AC943" size="mini" style="vertical-align:middle;margin-top:15px;">查看详情</van-button>
  64. </template>
  65. <template #label>
  66. <p>宅基地代码 {{item.zjddm}} </p>
  67. <p>宗地面积 {{item.zdmj}}㎡ </p>
  68. </template>
  69. <template #icon>
  70. <van-icon name="clock" color="#22b7f2" style="margin-top:10px;margin-right:10px;"/>
  71. </template>
  72. </van-cell>
  73. </van-tab>
  74. <van-tab title="未核查">
  75. <van-cell v-for="(item,index) in list2" :key="index" size="small":to="{name:'homesteadAdd',params:{item:item}}" style="border-radius: 16px;
  76. box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.16); width:calc( 100% - 40px);margin:20px">
  77. <template #title>
  78. <p style="color:#22B7F2">{{item.syqr}}</p>
  79. </template>
  80. <template #default>
  81. <van-button plain round color="#7AC943" size="mini" style="vertical-align:middle;margin-top:15px;">查看详情</van-button>
  82. </template>
  83. <template #label>
  84. <p>宅基地代码 {{item.zjddm}} </p>
  85. <p>宗地面积 {{item.zdmj}}㎡ </p>
  86. </template>
  87. <template #icon>
  88. <van-icon name="clock" color="#22b7f2" style="margin-top:10px;margin-right:10px;"/>
  89. </template>
  90. </van-cell>
  91. </van-tab>
  92. </van-tabs>
  93. </div>
  94. <div v-if="activeBtn==2" >
  95. <van-search v-model="value" placeholder="请输入农户姓名或证件号" show-action>
  96. <template #action>
  97. <van-icon name="add" color="rgba(122,201,67,1)" size="55" style="vertical-align:middle;"/>
  98. </template>
  99. </van-search>
  100. <van-cell v-for="(item,index) in syqrlist" :key="index" size="small" style="border-radius: 16px;box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.16); width:calc( 100% - 40px);margin:20px">
  101. <template #title>
  102. <p style="color:#22B7F2">刘茂强</p>
  103. </template>
  104. <template #default>
  105. <van-button plain round color="#7AC943" size="mini" style="vertical-align:middle;margin-top:15px;" @click="showsyqr=true">查看详情</van-button>
  106. </template>
  107. <template #label>
  108. <p>宅基地代码 4413215200216562255Z00026 </p>
  109. <p>宗地面积 119.87㎡ </p>
  110. </template>
  111. <template #icon>
  112. <van-icon name="clock" color="#22b7f2" style="margin-top:10px;margin-right:10px;"/>
  113. </template>
  114. </van-cell>
  115. </div>
  116. <div v-if="activeBtn==3">
  117. <van-form >
  118. <div style="border-radius: 16px;
  119. box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.16); width:calc( 100% - 40px);margin:20px;padding:5px;background:#fff;">
  120. <van-field
  121. v-model="qlrform.qydm"
  122. name="区域代码"
  123. label="区域代码"
  124. required
  125. placeholder="区域代码"
  126. input-align="right"
  127. :rules="[{ required: true, message: '' }]"
  128. />
  129. <van-field
  130. v-model="qlrform.suyqrdm"
  131. name="所有权人代码"
  132. label="所有权人代码"
  133. required
  134. placeholder="所有权人代码"
  135. input-align="right"
  136. :rules="[{ required: true, message: '' }]"
  137. />
  138. <van-field
  139. v-model="qlrform.suyqrmc"
  140. name="所有权人名称"
  141. label="所有权人名称"
  142. required
  143. placeholder="所有权人名称"
  144. input-align="right"
  145. :rules="[{ required: true, message: '' }]"
  146. />
  147. <van-field
  148. v-model="qlrform.suyqxz"
  149. name="所有权性质"
  150. label="所有权性质"
  151. required
  152. placeholder="所有权性质"
  153. input-align="right"
  154. :rules="[{ required: true, message: '' }]"
  155. @click="showsuyqxz = true"
  156. />
  157. <van-popup v-model="showsuyqxz" position="bottom">
  158. <van-picker
  159. show-toolbar
  160. :columns="columns"
  161. @confirm="onConfirm"
  162. @cancel="showsuyqxz = false"
  163. />
  164. </van-popup>
  165. <van-field
  166. v-model="qlrform.dbrxm"
  167. name="代表人姓名"
  168. label="代表人姓名"
  169. required
  170. placeholder="代表人姓名"
  171. input-align="right"
  172. :rules="[{ required: true, message: '' }]"
  173. />
  174. <van-field
  175. v-model="qlrform.dbrzjlx"
  176. name="代表人证件类型"
  177. label="代表人证件类型"
  178. required
  179. placeholder="代表人证件类型"
  180. input-align="right"
  181. :rules="[{ required: true, message: '' }]"
  182. @click="showdbrzjlx = true"
  183. />
  184. <van-popup v-model="showdbrzjlx" position="bottom">
  185. <van-picker
  186. show-toolbar
  187. :columns="columns"
  188. @confirm="onConfirm"
  189. @cancel="showdbrzjlx = false"
  190. />
  191. </van-popup>
  192. <van-field
  193. v-model="qlrform.dbrzjhm"
  194. name="代表人证件号码"
  195. label="代表人证件号码"
  196. required
  197. placeholder="代表人证件号码"
  198. input-align="right"
  199. :rules="[{ required: true, message: '' }]"
  200. />
  201. <van-field
  202. v-model="qlrform.dbrlxdh"
  203. name="代表人联系电话"
  204. label="代表人联系电话"
  205. placeholder="代表人联系电话"
  206. input-align="right"
  207. :rules="[{ required: true, message: '' }]"
  208. />
  209. <van-field
  210. v-model="qlrform.dbrtxdz"
  211. name="代表人通讯地址"
  212. label="代表人通讯地址"
  213. required
  214. placeholder="代表人通讯地址"
  215. input-align="right"
  216. :rules="[{ required: true, message: '' }]"
  217. />
  218. <van-field
  219. v-model="qlrform.dbryzbm"
  220. name="代表人邮政编码"
  221. label="代表人邮政编码"
  222. required
  223. placeholder="代表人邮政编码"
  224. input-align="right"
  225. :rules="[{ required: true, message: '' }]"
  226. />
  227. <van-field name="radio" label="是否成立农村集体经济组织" required input-align="right">
  228. <template #input>
  229. <van-radio-group v-model="qlrform.sfclncjtjjzz" direction="horizontal">
  230. <van-radio name="1">是</van-radio>
  231. <van-radio name="2">否 </van-radio>
  232. </van-radio-group>
  233. </template>
  234. </van-field>
  235. <van-field
  236. v-model="qlrform.dlrxm"
  237. name="代理人姓名"
  238. label="代理人姓名"
  239. placeholder="代理人姓名"
  240. input-align="right"
  241. :rules="[{ required: true, message: '' }]"
  242. />
  243. <van-field
  244. v-model="qlrform.dlrzjlx"
  245. name="代理人证件类型"
  246. label="代理人证件类型"
  247. placeholder="代理人证件类型"
  248. input-align="right"
  249. :rules="[{ required: true, message: '' }]"
  250. @click="showdlrzjlx = true"
  251. />
  252. <van-popup v-model="showdlrzjlx" position="bottom">
  253. <van-picker
  254. show-toolbar
  255. :columns="columns"
  256. @confirm="onConfirm"
  257. @cancel="showdlrzjlx = false"
  258. />
  259. </van-popup>
  260. <van-field
  261. v-model="qlrform.dlrzjhm"
  262. name="代理人证件号码"
  263. label="代理人证件号码"
  264. placeholder="代理人证件号码"
  265. input-align="right"
  266. :rules="[{ required: true, message: '' }]"
  267. />
  268. <van-field
  269. v-model="qlrform.dlrlxdh"
  270. name="代理人联系电话"
  271. label="代理人联系电话"
  272. placeholder="代理人联系电话"
  273. input-align="right"
  274. :rules="[{ required: true, message: '' }]"
  275. />
  276. <van-field
  277. v-model="qlrform.dlrtxdz"
  278. name="代理人通讯地址"
  279. label="代理人通讯地址"
  280. placeholder="代理人通讯地址"
  281. input-align="right"
  282. :rules="[{ required: true, message: '' }]"
  283. />
  284. <van-field
  285. v-model="qlrform.dlryzbm"
  286. name="代理人邮政编码"
  287. label="代理人邮政编码"
  288. placeholder="代理人邮政编码"
  289. input-align="right"
  290. :rules="[{ required: true, message: '' }]"
  291. />
  292. </div>
  293. <div style="border-radius: 16px;
  294. box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.16); width:calc( 100% - 40px);margin:20px;padding:5px;background:#fff;">
  295. <van-field
  296. v-model="qlrform.ncjtjjzzdm"
  297. name="农村集体经济组织代码"
  298. label="农村集体经济组织代码"
  299. placeholder="农村集体经济组织代码"
  300. input-align="right"
  301. :rules="[{ required: true, message: '' }]"
  302. />
  303. <van-field
  304. v-model="qlrform.ncjtjjzzmc"
  305. name="农村集体经济组织名称"
  306. label="农村集体经济组织名称"
  307. placeholder="农村集体经济组织名称"
  308. input-align="right"
  309. :rules="[{ required: true, message: '' }]"
  310. />
  311. <van-field
  312. v-model="qlrform.fbfdm"
  313. name="发包方代码"
  314. label="发包方代码"
  315. placeholder="发包方代码"
  316. input-align="right"
  317. :rules="[{ required: true, message: '' }]"
  318. />
  319. <van-field
  320. v-model="qlrform.fbfmc"
  321. name="发包方名称"
  322. label="发包方名称"
  323. placeholder="发包方名称"
  324. input-align="right"
  325. :rules="[{ required: true, message: '' }]"
  326. />
  327. <van-field
  328. v-model="qlrform.sjly"
  329. name="数据来源"
  330. label="数据来源"
  331. placeholder="数据来源"
  332. input-align="right"
  333. :rules="[{ required: true, message: '' }]"
  334. @click="showsjly = true"
  335. />
  336. <van-popup v-model="showsjly" position="bottom">
  337. <van-picker
  338. show-toolbar
  339. :columns="columns"
  340. @confirm="onConfirm"
  341. @cancel="showsjly = false"
  342. />
  343. </van-popup>
  344. <van-field
  345. v-model="qlrform.bz"
  346. name="备注"
  347. label="备注"
  348. placeholder="备注"
  349. input-align="right"
  350. :rules="[{ required: true, message: '' }]"
  351. />
  352. </div>
  353. <div style="margin: 16px;">
  354. <van-button round block color="#7AC943" native-type="submit">保存</van-button>
  355. </div>
  356. </van-form>
  357. </div>
  358. <div v-if="activeBtn==4">
  359. <div id="mapWrapAll" style="width: 100%;height: 100vh"></div>
  360. </div>
  361. <van-popup v-model="show1" style="height:100%;width:100%;">
  362. <div class="bannerBg">
  363. <van-nav-bar
  364. style="background:transparent;border-bottom-width:0;"
  365. @click-left="show1=!show1"
  366. >
  367. <template #left>
  368. <van-icon name="arrow-left" size="18" color="#fff" />
  369. </template>
  370. <template #title>
  371. <p style="color:#fff">户主信息</p>
  372. </template>
  373. </van-nav-bar>
  374. </div>
  375. <div style="margin:20px;">
  376. <van-form @submit="onSubmit">
  377. <p class="title" style="position:relative;padding-left:20px;line-height:32px;">户主信息</p>
  378. <van-field
  379. v-model="hzform.hzxm"
  380. name="户主名称"
  381. label="户主名称"
  382. placeholder="户主名称"
  383. required
  384. :rules="[{ required: true, message: '' }]"
  385. />
  386. <van-field
  387. v-model="hzform.hzzjlx"
  388. name="户主证件类型"
  389. label="户主证件类型"
  390. placeholder="户主证件类型"
  391. input-align="right"
  392. required
  393. :rules="[{ required: true, message: '' }]"
  394. @click="showhzzjlx = true"
  395. />
  396. <van-popup v-model="showhzzjlx" position="bottom">
  397. <van-picker
  398. show-toolbar
  399. :columns="columns"
  400. @confirm="onConfirm"
  401. @cancel="showhzzjlx = false"
  402. />
  403. </van-popup>
  404. <van-field
  405. v-model="hzform.hzzjhm"
  406. name="户主证件号码"
  407. label="户主证件号码"
  408. placeholder="户主证件号码"
  409. :rules="[{ required: true, message: '' }]"
  410. />
  411. <van-field
  412. v-model="hzform.txdz"
  413. name="通讯地址"
  414. label="通讯地址"
  415. placeholder="通讯地址"
  416. :rules="[{ required: true, message: '' }]"
  417. />
  418. <van-field
  419. v-model="hzform.hncysl"
  420. name="户内成员数量"
  421. label="户内成员数量"
  422. placeholder="户内成员数量"
  423. :rules="[{ required: true, message: '' }]"
  424. />
  425. <div style="text-align:center;overflow:auto;">
  426. <van-button plain round color="#7AC943" size="mini" style="margin:0 auto;">查看户内成员信息</van-button>
  427. </div>
  428. <div style="margin: 16px;">
  429. <van-button round block color="#7AC943" native-type="submit">保存</van-button>
  430. </div>
  431. </van-form>
  432. </div>
  433. </van-popup>
  434. <van-popup v-model="showsyqr" style="height:100%;width:100%;">
  435. <div class="bannerBg">
  436. <van-nav-bar
  437. style="background:transparent;border-bottom-width:0;"
  438. @click-left="showsyqr=!showsyqr"
  439. >
  440. <template #left>
  441. <van-icon name="arrow-left" size="18" color="#fff" />
  442. </template>
  443. <template #title>
  444. <p style="color:#fff">使用权利人</p>
  445. </template>
  446. </van-nav-bar>
  447. </div>
  448. <div style="margin:20px;">
  449. <van-form @submit="onSubmit">
  450. <p class="title" style="position:relative;padding-left:20px;line-height:32px;">使用权人</p>
  451. <van-field
  452. v-model="form1.suyqrdm"
  453. name="所有权人代码"
  454. label="所有权人代码"
  455. placeholder="所有权人代码"
  456. :rules="[{ required: true, message: '' }]"
  457. />
  458. <van-field
  459. v-model="form1.nhdm"
  460. name="农户代码"
  461. label="农户代码"
  462. placeholder="农户代码"
  463. :rules="[{ required: true, message: '' }]"
  464. />
  465. <van-field
  466. v-model="form1.zjddm"
  467. name="宅基地代码"
  468. label="宅基地代码"
  469. placeholder="宅基地代码"
  470. :rules="[{ required: true, message: '' }]"
  471. />
  472. <van-field
  473. v-model="form1.nmfwdm"
  474. name="农民房屋代码"
  475. label="农民房屋代码"
  476. placeholder="农民房屋代码"
  477. :rules="[{ required: true, message: '' }]"
  478. />
  479. <van-field
  480. v-model="form1.shyqrdbxm"
  481. name="使用权人代表姓名"
  482. label="使用权人代表姓名"
  483. placeholder="使用权人代表姓名"
  484. :rules="[{ required: true, message: '' }]"
  485. />
  486. <van-field
  487. v-model="form1.shyqrdbzjlx"
  488. name="使用权人代表证件类型"
  489. label="使用权人代表证件类型"
  490. placeholder="使用权人代表证件类型"
  491. :rules="[{ required: true, message: '' }]"
  492. />
  493. <van-field
  494. v-model="form1.shyqrdbzjhm"
  495. name="使用权人代表证件号码"
  496. label="使用权人代表证件号码"
  497. placeholder="使用权人代表证件号码"
  498. :rules="[{ required: true, message: '' }]"
  499. />
  500. <van-field
  501. v-model="form1.bdcdyh"
  502. name="不动产单元号"
  503. label="不动产单元号"
  504. placeholder="不动产单元号"
  505. :rules="[{ required: true, message: '' }]"
  506. />
  507. <van-field
  508. v-model="form1.bdcqzh"
  509. name="不动产权证号"
  510. label="不动产权证号"
  511. placeholder="不动产权证号"
  512. :rules="[{ required: true, message: '' }]"
  513. />
  514. <van-field
  515. v-model="form1.qzysxlh"
  516. name="权证印刷序列号"
  517. label="权证印刷序列号"
  518. placeholder="权证印刷序列号"
  519. :rules="[{ required: true, message: '' }]"
  520. />
  521. <van-field
  522. v-model="form1.fzjg"
  523. name="发证机关"
  524. label="发证机关"
  525. placeholder="发证机关"
  526. :rules="[{ required: true, message: '' }]"
  527. />
  528. <van-field
  529. v-model="form1.sshy"
  530. name="所属行业"
  531. label="所属行业"
  532. placeholder="所属行业"
  533. :rules="[{ required: true, message: '' }]"
  534. />
  535. <van-field name="radio" label="国家/地区">
  536. <template #input>
  537. <van-radio-group v-model="form1.gj" direction="horizontal">
  538. <van-radio name="1">中国</van-radio>
  539. <van-radio name="2">其他</van-radio>
  540. </van-radio-group>
  541. </template>
  542. </van-field>
  543. <van-field
  544. v-model="form1.qlbl"
  545. name="权利比例"
  546. label="权利比例"
  547. placeholder="权利比例"
  548. :rules="[{ required: true, message: '' }]"
  549. />
  550. <van-field
  551. v-model="form1.hjszss"
  552. name="户籍所在省市"
  553. label="户籍所在省市"
  554. placeholder="户籍所在省市"
  555. :rules="[{ required: true, message: '' }]"
  556. />
  557. <van-field name="radio" label="性别">
  558. <template #input>
  559. <van-radio-group v-model="form1.xb" direction="horizontal">
  560. <van-radio name="1">男</van-radio>
  561. <van-radio name="2">女</van-radio>
  562. </van-radio-group>
  563. </template>
  564. </van-field>
  565. <van-field
  566. v-model="form1.dh"
  567. name="电话"
  568. label="电话"
  569. placeholder="电话"
  570. :rules="[{ required: true, message: '' }]"
  571. />
  572. <van-field
  573. v-model="form1.dz"
  574. name="地址"
  575. label="地址"
  576. placeholder="地址"
  577. :rules="[{ required: true, message: '' }]"
  578. />
  579. <van-field
  580. v-model="form1.ftzdmj"
  581. name="分摊宗地面积"
  582. label="分摊宗地面积"
  583. placeholder="分摊宗地面积"
  584. :rules="[{ required: true, message: '' }]"
  585. />
  586. <van-field
  587. v-model="form1.sfsyqrzjgy"
  588. name="是否使用权人之间共有"
  589. label="是否使用权人之间共有"
  590. placeholder="是否使用权人之间共有"
  591. :rules="[{ required: true, message: '' }]"
  592. />
  593. <van-field
  594. v-model="form1.qlrlx"
  595. name="权利人类型"
  596. label="权利人类型"
  597. placeholder="权利人类型"
  598. :rules="[{ required: true, message: '' }]"
  599. />
  600. <van-field
  601. v-model="form1.gyfs"
  602. name="共有方式"
  603. label="共有方式"
  604. placeholder="共有方式"
  605. :rules="[{ required: true, message: '' }]"
  606. />
  607. <van-field
  608. v-model="form1.sfbncjtjjzzcy"
  609. name="是否本农村集体经济组织成员"
  610. label="是否本农村集体经济组织成员"
  611. placeholder="是否本农村集体经济组织成员"
  612. :rules="[{ required: true, message: '' }]"
  613. />
  614. <van-field
  615. v-model="form1.hklx"
  616. name="户口类型"
  617. label="户口类型"
  618. placeholder="户口类型"
  619. :rules="[{ required: true, message: '' }]"
  620. />
  621. <van-field
  622. v-model="form1.bz"
  623. name="备注"
  624. label="备注"
  625. placeholder="备注"
  626. :rules="[{ required: true, message: '' }]"
  627. />
  628. <div style="text-align:center;overflow:auto;">
  629. <van-button plain round color="#7AC943" size="mini" style="margin:0 auto;" native-type="button" @click="showhncylist=true">查看户内成员列表</van-button>
  630. </div>
  631. <div style="margin: 16px;">
  632. <van-button round block color="#7AC943" native-type="submit">保存</van-button>
  633. </div>
  634. </van-form>
  635. </div>
  636. </van-popup>
  637. <van-popup v-model="showhncylist" style="height:100%;width:100%;">
  638. <div class="bannerBg">
  639. <van-nav-bar
  640. style="background:transparent;border-bottom-width:0;"
  641. @click-left="showhncylist=!showhncylist"
  642. >
  643. <template #left>
  644. <van-icon name="arrow-left" size="18" color="#fff" />
  645. </template>
  646. <template #title>
  647. <p style="color:#fff">户内成员列表</p>
  648. </template>
  649. </van-nav-bar>
  650. </div>
  651. <van-swipe-cell v-for="(item,index) in hncylist" :key="index" @click.native="showPopuphncy" 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;">
  652. <div style="padding:20px;">
  653. <p style="color:#22B7F2;font-size:20px;line-height:30px;"><van-icon name="wap-home" color="#22b7f2" size="20" style="margin-right:10px;"/>刘茂强</p>
  654. <div style="display:flex;line-height:20px">
  655. <p style="flex:1;text-align:left;">证件号码</p>
  656. <p style="flex:1;text-align:right;">4413215200216562255Z00026</p>
  657. </div>
  658. <div style="display:flex;line-height:20px">
  659. <p style="flex:1;text-align:left;">权利人类型</p>
  660. <p style="flex:1;text-align:right;">个人</p>
  661. </div>
  662. </div>
  663. <template #right>
  664. <van-button square text="删除" type="danger" class="delete-button" />
  665. </template>
  666. </van-swipe-cell>
  667. <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;">
  668. <div style="text-align:center;" >
  669. <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>
  670. </div>
  671. </div>
  672. </van-popup>
  673. <van-popup v-model="showhncy" style="height:100%;width:100%;">
  674. <div class="bannerBg">
  675. <van-nav-bar
  676. style="background:transparent;border-bottom-width:0;"
  677. @click-left="showhncy=!showhncy"
  678. >
  679. <template #left>
  680. <van-icon name="arrow-left" size="18" color="#fff" />
  681. </template>
  682. <template #title>
  683. <p style="color:#fff">户内成员</p>
  684. </template>
  685. </van-nav-bar>
  686. </div>
  687. <div style="margin:20px;">
  688. <van-form @submit="onSubmit">
  689. <van-field
  690. v-model="form5.nhdm"
  691. name="农户代码"
  692. label="农户代码"
  693. placeholder="农户代码"
  694. :rules="[{ required: true, message: '' }]"
  695. />
  696. <van-field
  697. v-model="form5.xm"
  698. name="姓名"
  699. label="姓名"
  700. placeholder="姓名"
  701. :rules="[{ required: true, message: '' }]"
  702. />
  703. <van-field
  704. v-model="form5.zjlx"
  705. name="证件类型"
  706. label="证件类型"
  707. placeholder="证件类型"
  708. :rules="[{ required: true, message: '' }]"
  709. />
  710. <van-field
  711. v-model="form5.yhzgx"
  712. name="与户主关系"
  713. label="与户主关系"
  714. placeholder="与户主关系"
  715. :rules="[{ required: true, message: '' }]"
  716. />
  717. <van-field
  718. v-model="form5.zjhm"
  719. name="证件号码"
  720. label="证件号码"
  721. placeholder="证件号码"
  722. :rules="[{ required: true, message: '' }]"
  723. />
  724. <van-field
  725. v-model="form5.xb"
  726. name="性别"
  727. label="性别"
  728. placeholder="性别"
  729. :rules="[{ required: true, message: '' }]"
  730. />
  731. <van-field
  732. v-model="form5.lxdh"
  733. name="联系电话"
  734. label="联系电话"
  735. placeholder="联系电话"
  736. :rules="[{ required: true, message: '' }]"
  737. />
  738. <van-field
  739. v-model="form5.hklx"
  740. name="户口类型"
  741. label="户口类型"
  742. placeholder="户口类型"
  743. :rules="[{ required: true, message: '' }]"
  744. />
  745. <van-field
  746. v-model="form5.hyzk"
  747. name="婚姻状况"
  748. label="婚姻状况"
  749. placeholder="婚姻状况"
  750. :rules="[{ required: true, message: '' }]"
  751. />
  752. <van-field
  753. v-model="form5.jzwqk"
  754. name="建筑物情况"
  755. label="建筑物情况"
  756. placeholder="建筑物情况"
  757. :rules="[{ required: true, message: '' }]"
  758. />
  759. <van-field
  760. v-model="form5.sfbjtjjzzcy"
  761. name="是否本集体经济组织成员"
  762. label="是否本集体经济组织成员"
  763. placeholder="是否本集体经济组织成员"
  764. :rules="[{ required: true, message: '' }]"
  765. />
  766. <van-field
  767. v-model="form5.cybz"
  768. name="成员备注"
  769. label="成员备注"
  770. placeholder="成员备注"
  771. :rules="[{ required: true, message: '' }]"
  772. />
  773. <van-field
  774. v-model="form5.cybzsm"
  775. name="成员备注说明"
  776. label="成员备注说明"
  777. placeholder="成员备注说明"
  778. :rules="[{ required: true, message: '' }]"
  779. />
  780. <div style="margin: 16px;">
  781. <van-button round block color="#7AC943" native-type="submit">保存</van-button>
  782. </div>
  783. </van-form>
  784. </div>
  785. </van-popup>
  786. </div>
  787. </template>
  788. <script>
  789. import { currentLocation,} from "@/api/homestead/index";
  790. import {listZjdzd} from "@/api/homesteadSurvey/zjdzd";
  791. import {listZrz,getZrzZjdDmList} from "@/api/homesteadSurvey/zrz";
  792. import {listFsss,getFsssZjdDmList} from "@/api/homesteadSurvey/fsss";
  793. import $ from "jquery";
  794. export default {
  795. name: "homesteadList",
  796. data() {
  797. return {
  798. // 使用权人表单弹出
  799. showsyqr:false,
  800. showhncylist:false,
  801. showhncy:false,
  802. activeBtn:1,
  803. value:'',
  804. active:null,
  805. // 全部列表
  806. list:[],
  807. // 已核查列表
  808. list1:[],
  809. // 未核查列表
  810. list2:[],
  811. // 使用权列表
  812. syqrlist:[1,1,1,],
  813. // 户内成员表单
  814. form5: {},
  815. // 户内成员列表
  816. hncylist:[11,1,1],
  817. currentRate:20,
  818. geoJson:null,
  819. // 使用权人
  820. form1:[],
  821. // 户主列表
  822. hzform:{},
  823. // 权利人列表
  824. qlrform:[],
  825. // 权利人性质弹出框
  826. showsuyqxz:false,
  827. // 代理人证件类型弹出框
  828. showdlrzjlx:false,
  829. // 代表人证件类型弹出框
  830. showdbrzjlx:false,
  831. // 数据来源弹出框
  832. showsjly:false,
  833. columns:[],
  834. show1:false,
  835. showhzzjlx: false,
  836. // 路由传过来的任务基本信息。
  837. item: {},
  838. //地图使用 --start
  839. openMap: false,
  840. mapTheGeomZrzId: null,
  841. mapTheGeomZjdId: null,
  842. mapTheGeomFsssId: null,
  843. drawInsert:null,
  844. mapZjdData:{},
  845. mapZrzData:{},
  846. mapFsssData:{},
  847. mapHaDataValue:false,
  848. mapHasDateStatus: 0, //0附属设施 1自然幢 2宅基地
  849. //地图使用 --end
  850. };
  851. },
  852. mounted(){
  853. currentLocation().then((res) => {
  854. if (res.code == 200) {
  855. let content = res.data;
  856. this.geoJson = content.geoJson;
  857. }
  858. });
  859. },
  860. created(){
  861. this.item = this.$route.params.item
  862. this.getZjdList();
  863. },
  864. methods: {
  865. showPopuphncy(){
  866. this.showhncy = true
  867. },
  868. getZjdList(){
  869. console.log(this.active)
  870. if(this.active==1){
  871. let params = {
  872. "deptId" : this.item.deptId,
  873. "houserDataConfirmStatus" : "CONFIRMED"
  874. }
  875. listZjdzd(params).then((response) => {
  876. if (response.code == 200) {
  877. this.list1 = response.rows
  878. }
  879. });
  880. }else if(this.active==2){
  881. let params = {
  882. "deptId" : this.item.deptId,
  883. "houserDataConfirmStatus" : "UNCONFIRMED"
  884. }
  885. listZjdzd(params).then((response) => {
  886. if (response.code == 200) {
  887. this.list2 = response.rows
  888. }
  889. });
  890. }else{
  891. let params = {
  892. "deptId" : this.item.deptId,
  893. }
  894. listZjdzd(params).then((response) => {
  895. if (response.code == 200) {
  896. this.list = response.rows
  897. }
  898. });
  899. }
  900. },
  901. onConfirm(){},
  902. onSubmit(){},
  903. mapShow() {
  904. listZjdzd().then((response) => {
  905. if (response.code == 200) {
  906. this.mapTheGeomZjdId = response.rows;
  907. // listZrz().then((response) => {
  908. // if (response.code == 200) {
  909. // this.mapTheGeomZrzId = response.rows;
  910. // }
  911. // listFsss().then((response) => {
  912. // if (response.code == 200) {
  913. // this.mapTheGeomFsssId = response.rows;
  914. // }
  915. setTimeout(() => {
  916. this.GetMapsInit();
  917. }, 500);
  918. // });
  919. // });
  920. }
  921. });
  922. },
  923. //地图加载 -----start
  924. GetMapsInit() {
  925. //加载地图编辑
  926. var that = this;
  927. var map;
  928. // document.getElementById("mapAll").innerHTML = '';
  929. var hc_land;
  930. var projection = new ol.proj.Projection({
  931. //地图投影类型
  932. code: "EPSG:3857",
  933. units: "degrees",
  934. //extent:extent
  935. });
  936. var aerial = new ol.layer.Tile({
  937. source: new ol.source.XYZ({
  938. url: "http://t0.tianditu.gov.cn/img_w/wmts?" +
  939. "SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&LAYER=img&STYLE=default&TILEMATRIXSET=w&FORMAT=tiles" +
  940. "&TILEMATRIX={z}&TILEROW={y}&TILECOL={x}&tk=cc4aba6e967096098249efa069733067",
  941. }),
  942. isGroup: true,
  943. name: "卫星影像图",
  944. });
  945. var yingxzi = new ol.layer.Tile({
  946. source: new ol.source.XYZ({
  947. url: "https://t0.tianditu.gov.cn/DataServer?T=cia_w&x={x}&y={y}&l={z}&tk=cc4aba6e967096098249efa069733067",
  948. }),
  949. isGroup: true,
  950. name: "天地图文字标注--卫星影像图",
  951. });
  952. //加载地图
  953. map = new ol.Map({
  954. controls: ol.control.defaults({attribution: false, zoom: false, rotate: false}).extend([]), //隐藏放大缩小按钮
  955. layers: [aerial, yingxzi],
  956. projection: projection,
  957. target: "mapWrapAll",
  958. view: new ol.View({
  959. //center: ol.proj.fromLonLat([115.452752, 31.789033]),
  960. zoom: 15,
  961. minZoom: 0, //地图缩小限制
  962. maxZoom: 18.3, //地图放大限制
  963. }),
  964. });
  965. console.log(map);
  966. //判断当前账套是否有数据
  967. var mapTalkAbout = true;
  968. //宅基地定位开始 ---------start
  969. if(this.mapTheGeomZjdId.length >0) {
  970. for (var i = 0; this.mapTheGeomZjdId.length > i; i++) {
  971. if (this.mapTheGeomZjdId[i] !=null && this.mapTheGeomZjdId[i].theGeom != null && this.mapTheGeomZjdId[i].theGeom != "") {
  972. mapTalkAbout =false;
  973. this.mapTheGeomZjdId[i].createBy = 'mapTheGeomZjdId';
  974. var styleYqr = "";
  975. if(this.mapTheGeomZjdId[i].houseDataConfirmStatus == "CONFIRMED"){
  976. styleYqr = new ol.style.Style({
  977. fill: new ol.style.Fill({
  978. //矢量图层填充颜色,以及透明度
  979. color: "#AE57A4",
  980. }),
  981. stroke: new ol.style.Stroke({
  982. //边界样式
  983. color: "#28FF28",
  984. width: 3,
  985. }),
  986. });
  987. } else {
  988. styleYqr = new ol.style.Style({
  989. fill: new ol.style.Fill({
  990. //矢量图层填充颜色,以及透明度
  991. color: "#AE57A4",
  992. }),
  993. stroke: new ol.style.Stroke({
  994. //边界样式
  995. color: "rgba(255, 45, 45,1)",
  996. width: 3,
  997. }),
  998. });
  999. }
  1000. hc_land = new ol.layer.Vector({
  1001. title: "add Layer",
  1002. source: new ol.source.Vector({
  1003. projection: projection,
  1004. features: new ol.format.GeoJSON().readFeatures("{\n" +
  1005. " \"type\": \"Feature\",\n" +
  1006. " \"geometry\":" + this.mapTheGeomZjdId[i].theGeom + ", \"properties\":" + JSON.stringify(this.mapTheGeomZjdId[i]) + "}"),
  1007. }),
  1008. style: styleYqr
  1009. });
  1010. map.addLayer(hc_land);
  1011. var maxXMap = hc_land.values_.source.featuresRtree_.rbush_.data.maxX;
  1012. var maxYMap = hc_land.values_.source.featuresRtree_.rbush_.data.maxY;
  1013. var minXMap = hc_land.values_.source.featuresRtree_.rbush_.data.minX;
  1014. var minYMap = hc_land.values_.source.featuresRtree_.rbush_.data.minY;
  1015. //定位查询位置
  1016. var center = ol.extent.getCenter([maxXMap, maxYMap, minXMap, minYMap]); //获取边界区域的中心位置
  1017. map.getView().animate({
  1018. // 只设置需要的属性即可
  1019. center: center, // 中心点
  1020. zoom: 15.8, // 缩放级别
  1021. rotation: undefined, // 缩放完成view视图旋转弧度
  1022. duration: 1000, // 缩放持续时间,默认不需要设置
  1023. });
  1024. //自然幢定位开始 ---------start
  1025. getZrzZjdDmList(this.mapTheGeomZjdId[i].zjddm).then((response) => {
  1026. if (response.code == 200) {
  1027. this.mapTheGeomZrzId = response.data;
  1028. if(this.mapTheGeomZrzId.length >0) {
  1029. for (var i = 0; this.mapTheGeomZrzId.length > i; i++) {
  1030. if (this.mapTheGeomZrzId[i] !=null && this.mapTheGeomZrzId[i].theGeom != null && this.mapTheGeomZrzId[i].theGeom != "") {
  1031. this.mapTheGeomZrzId[i].createBy = 'mapTheGeomZrzId';
  1032. var styleZrz = "";
  1033. if(this.mapTheGeomZjdId[i].houseDataConfirmStatus == "CONFIRMED"){
  1034. styleZrz = new ol.style.Style({
  1035. fill: new ol.style.Fill({
  1036. //矢量图层填充颜色,以及透明度
  1037. color: "#FFD306",
  1038. }),
  1039. stroke: new ol.style.Stroke({
  1040. //边界样式
  1041. color: "#28FF28",
  1042. width: 3,
  1043. }),
  1044. });
  1045. } else {
  1046. styleZrz = new ol.style.Style({
  1047. fill: new ol.style.Fill({
  1048. //矢量图层填充颜色,以及透明度
  1049. color: "#FFD306",
  1050. }),
  1051. stroke: new ol.style.Stroke({
  1052. //边界样式
  1053. color: "rgba(255, 45, 45,1)",
  1054. width: 3,
  1055. }),
  1056. });
  1057. }
  1058. hc_land = new ol.layer.Vector({
  1059. title: "add Layer",
  1060. source: new ol.source.Vector({
  1061. projection: projection,
  1062. features: new ol.format.GeoJSON().readFeatures("{\n" +
  1063. " \"type\": \"Feature\",\n" +
  1064. " \"geometry\":" + this.mapTheGeomZrzId[i].theGeom + ", \"properties\":" + JSON.stringify(this.mapTheGeomZrzId[i]) + "}"),
  1065. }),
  1066. style: styleZrz
  1067. });
  1068. map.addLayer(hc_land);
  1069. }
  1070. }
  1071. }
  1072. }
  1073. });
  1074. //自然幢定位结束 ---------end
  1075. //附属设施定位开始 ---------start
  1076. getFsssZjdDmList(this.mapTheGeomZjdId[i].zjddm).then((response) => {
  1077. console.log(response);
  1078. if (response.code == 200) {
  1079. this.mapTheGeomFsssId = response.data;
  1080. if(this.mapTheGeomFsssId.length >0) {
  1081. for (var i = 0; this.mapTheGeomFsssId.length > i; i++) {
  1082. if (this.mapTheGeomFsssId[i] !=null && this.mapTheGeomFsssId[i].theGeom != null && this.mapTheGeomFsssId[i].theGeom != "") {
  1083. this.mapTheGeomFsssId[i].createBy = 'mapTheGeomFsssId';
  1084. var styleFsss = "";
  1085. if(this.mapTheGeomZjdId[i].houseDataConfirmStatus == "CONFIRMED"){
  1086. styleFsss = new ol.style.Style({
  1087. fill: new ol.style.Fill({
  1088. //矢量图层填充颜色,以及透明度
  1089. color: "#00FFFF",
  1090. }),
  1091. stroke: new ol.style.Stroke({
  1092. //边界样式
  1093. color: "#28FF28",
  1094. width: 3,
  1095. }),
  1096. });
  1097. } else {
  1098. styleFsss = new ol.style.Style({
  1099. fill: new ol.style.Fill({
  1100. //矢量图层填充颜色,以及透明度
  1101. color: "#00FFFF",
  1102. }),
  1103. stroke: new ol.style.Stroke({
  1104. //边界样式
  1105. color: "rgba(255, 45, 45,1)",
  1106. width: 3,
  1107. }),
  1108. });
  1109. }
  1110. hc_land = new ol.layer.Vector({
  1111. title: "add Layer",
  1112. source: new ol.source.Vector({
  1113. projection: projection,
  1114. features: new ol.format.GeoJSON().readFeatures("{\n" +
  1115. " \"type\": \"Feature\",\n" +
  1116. " \"geometry\":" + this.mapTheGeomFsssId[i].theGeom + ", \"properties\":" + JSON.stringify(this.mapTheGeomFsssId[i]) + "}"),
  1117. }),
  1118. style: styleFsss
  1119. });
  1120. map.addLayer(hc_land);
  1121. }
  1122. }
  1123. }
  1124. }
  1125. });
  1126. //附属设施定位结束 ---------end
  1127. }
  1128. }
  1129. }
  1130. //宅基地定位结束 ---------end
  1131. //点击查询详细信息
  1132. map.on("singleclick", function (evt) {
  1133. let feature = map.forEachFeatureAtPixel(
  1134. evt.pixel,
  1135. (feature) => feature
  1136. );
  1137. if(feature) {
  1138. document.getElementById("info").innerHTML = "";
  1139. that.mapHaDataValue = true;
  1140. var ifConsole = feature.values_.createBy;
  1141. if (ifConsole =="mapTheGeomFsssId") {
  1142. let obj = {};
  1143. that.mapHasDateStatus = 0;
  1144. obj.deptName = feature.values_.deptName;//行政区划名称
  1145. obj.zjddm = feature.values_.zjddm;//宅基地代码
  1146. obj.houseDataConfirmStatus = feature.values_.houseDataConfirmStatus; //状态
  1147. obj.fssslx = feature.values_.fssslx; //附属设施类型
  1148. obj.jzmj = feature.values_.jzmj; //建筑面积
  1149. obj.qsly = feature.values_.qsly;//权属来源
  1150. obj.fwzt = feature.values_.fwzt; //房屋状态
  1151. obj.sfsp = feature.values_.sfsp; //是否审批
  1152. obj.sffz = feature.values_.sffz; //是否发证
  1153. obj.jglx = feature.values_.jglx; //结构类型
  1154. obj.sfzzsy = feature.values_.sfzzsy; //是否正在使用
  1155. obj.jzwqk = feature.values_.jzwqk; //建筑物情况
  1156. obj.tdzk = feature.values_.tdzk; //审批或建设前土地状况
  1157. obj.sfsgcf = feature.values_.sfsgcf; //是否受过处罚
  1158. obj.sysNormalDisable = feature.values_.sysNormalDisable; //是否停用
  1159. //附属设施类型字典项
  1160. that.getDicts("fsss_type").then((response) => {
  1161. var assetTypeOptions = response.data;
  1162. if(obj.fssslx !=null && obj.fssslx !=""){
  1163. for(var i=0;assetTypeOptions.length >i; i++){
  1164. if(obj.fssslx == assetTypeOptions[i].dictValue) {
  1165. obj.fssslx = assetTypeOptions[i].dictLabel;
  1166. break;
  1167. }
  1168. }
  1169. }
  1170. });
  1171. //权属类型字典项
  1172. that.getDicts("acquisition_method").then((response) => {
  1173. var assetTypeOptions = response.data;
  1174. if(obj.qsly !=null && obj.qsly !=""){
  1175. for(var i=0;assetTypeOptions.length >i; i++){
  1176. if(obj.qsly == assetTypeOptions[i].dictValue) {
  1177. obj.qsly = assetTypeOptions[i].dictLabel;
  1178. break;
  1179. }
  1180. }
  1181. }
  1182. });
  1183. //房屋状态字典项
  1184. that.getDicts("fwzt").then((response) => {
  1185. var assetTypeOptions = response.data;
  1186. if(obj.fwzt !=null && obj.fwzt !=""){
  1187. for(var i=0;assetTypeOptions.length >i; i++){
  1188. if(obj.fwzt == assetTypeOptions[i].dictValue) {
  1189. obj.fwzt = assetTypeOptions[i].dictLabel;
  1190. break;
  1191. }
  1192. }
  1193. }
  1194. });
  1195. //是否审批字典项
  1196. that.getDicts("sys_yes_no").then((response) => {
  1197. var assetTypeOptions = response.data;
  1198. if(obj.sfsp !=null && obj.sfsp !=""){
  1199. for(var i=0;assetTypeOptions.length >i; i++){
  1200. if(obj.sfsp == assetTypeOptions[i].dictValue) {
  1201. obj.sfsp = assetTypeOptions[i].dictLabel;
  1202. break;
  1203. }
  1204. }
  1205. }
  1206. });
  1207. //是否发证字典项
  1208. that.getDicts("sys_yes_no").then((response) => {
  1209. var assetTypeOptions = response.data;
  1210. if(obj.sffz !=null && obj.sffz !=""){
  1211. for(var i=0;assetTypeOptions.length >i; i++){
  1212. if(obj.sffz == assetTypeOptions[i].dictValue) {
  1213. obj.sffz = assetTypeOptions[i].dictLabel;
  1214. break;
  1215. }
  1216. }
  1217. }
  1218. });
  1219. //结构类型字典项
  1220. that.getDicts("house_jglx").then((response) => {
  1221. var assetTypeOptions = response.data;
  1222. if(obj.jglx !=null && obj.jglx !=""){
  1223. for(var i=0;assetTypeOptions.length >i; i++){
  1224. if(obj.jglx == assetTypeOptions[i].dictValue) {
  1225. obj.jglx = assetTypeOptions[i].dictLabel;
  1226. break;
  1227. }
  1228. }
  1229. }
  1230. });
  1231. //是否正在使用字典项
  1232. that.getDicts("sys_yes_no").then((response) => {
  1233. var assetTypeOptions = response.data;
  1234. if(obj.sfzzsy !=null && obj.sfzzsy !=""){
  1235. for(var i=0;assetTypeOptions.length >i; i++){
  1236. if(obj.sfzzsy == assetTypeOptions[i].dictValue) {
  1237. obj.sfzzsy = assetTypeOptions[i].dictLabel;
  1238. break;
  1239. }
  1240. }
  1241. }
  1242. });
  1243. //房屋状态字典项
  1244. that.getDicts("fwzt").then((response) => {
  1245. var assetTypeOptions = response.data;
  1246. if(obj.fwzt !=null && obj.fwzt !=""){
  1247. for(var i=0;assetTypeOptions.length >i; i++){
  1248. if(obj.fwzt == assetTypeOptions[i].dictValue) {
  1249. obj.fwzt = assetTypeOptions[i].dictLabel;
  1250. break;
  1251. }
  1252. }
  1253. }
  1254. });
  1255. //土地状况字典项
  1256. that.getDicts("land_state").then((response) => {
  1257. var assetTypeOptions = response.data;
  1258. if(obj.tdzk !=null && obj.tdzk !=""){
  1259. for(var i=0;assetTypeOptions.length >i; i++){
  1260. if(obj.tdzk == assetTypeOptions[i].dictValue) {
  1261. obj.tdzk = assetTypeOptions[i].dictLabel;
  1262. break;
  1263. }
  1264. }
  1265. }
  1266. });
  1267. //是否受过处罚字典项
  1268. that.getDicts("land_state").then((response) => {
  1269. var assetTypeOptions = response.data;
  1270. if(obj.sfsgcf !=null && obj.sfsgcf !=""){
  1271. for(var i=0;assetTypeOptions.length >i; i++){
  1272. if(obj.sfsgcf == assetTypeOptions[i].dictValue) {
  1273. obj.sfsgcf = assetTypeOptions[i].dictLabel;
  1274. break;
  1275. }
  1276. }
  1277. }
  1278. });
  1279. that.mapFsssData = obj;
  1280. } else if(ifConsole =="mapTheGeomZrzId"){
  1281. let obj = {};
  1282. that.mapHasDateStatus = 1;
  1283. obj.deptName = feature.values_.deptName;//部门名称
  1284. obj.zjddm = feature.values_.zjddm;//宅基地代码
  1285. obj.nmfwzh = feature.values_.nmfwzh;//农民房屋幢号
  1286. obj.zrzh = feature.values_.zrzh;//自然幢号
  1287. obj.jgrq = feature.values_.jgrq;//竣工日期
  1288. obj.jzwgd = feature.values_.jzwgd;//建筑物高度
  1289. obj.zzdmj = feature.values_.zzdmj;//幢占地面积
  1290. obj.zydmj = feature.values_.zydmj;//幢用地面积
  1291. obj.scjzmj = feature.values_.scjzmj;//实测建筑面积
  1292. obj.zcs = feature.values_.zcs;//总层数
  1293. obj.dscs = feature.values_.dscs;//地上层数
  1294. obj.dxcs = feature.values_.dxcs;//地下层数
  1295. obj.fwjg = feature.values_.fwjg;//房屋结构
  1296. obj.sjly = feature.values_.sjly;//数据来源
  1297. obj.status = feature.values_.status;//状态
  1298. obj.houseDataConfirmStatus = feature.values_.houseDataConfirmStatus;//数据调查确认状态
  1299. //字典项转化
  1300. //房屋结构字典项
  1301. that.getDicts("housing_structure").then((response) => {
  1302. var assetTypeOptions = response.data;
  1303. if(obj.fwjg !=null && obj.fwjg !=""){
  1304. for(var i=0;assetTypeOptions.length >i; i++){
  1305. if(obj.fwjg == assetTypeOptions[i].dictValue) {
  1306. obj.fwjg = assetTypeOptions[i].dictLabel;
  1307. break;
  1308. }
  1309. }
  1310. }
  1311. });
  1312. //房屋结构字典项
  1313. that.getDicts("sjly").then((response) => {
  1314. var assetTypeOptions = response.data;
  1315. if(obj.sjly !=null && obj.sjly !=""){
  1316. for(var i=0;assetTypeOptions.length >i; i++){
  1317. if(obj.sjly == assetTypeOptions[i].dictValue) {
  1318. obj.sjly = assetTypeOptions[i].dictLabel;
  1319. break;
  1320. }
  1321. }
  1322. }
  1323. });
  1324. that.mapZrzData = obj;
  1325. } else if(ifConsole =="mapTheGeomZjdId"){
  1326. let obj = {};
  1327. that.mapHasDateStatus = 2;
  1328. obj.deptName = feature.values_.deptName;//行政区划名称
  1329. obj.suyqrdm = feature.values_.suyqrdm;//所有权人代码
  1330. obj.nhdm = feature.values_.nhdm;//农户代码
  1331. obj.zjddm = feature.values_.zjddm;//宅基地代码
  1332. obj.zdbh = feature.values_.zdbh;//宗地编号
  1333. obj.zddm = feature.values_.zddm;//宗地代码
  1334. obj.zl = feature.values_.zl;//坐落
  1335. obj.zldwdm = feature.values_.zldwdm;//坐落单位代码
  1336. obj.zdmj = feature.values_.zdmj;//宗地面积
  1337. obj.yt = feature.values_.yt;//用途
  1338. obj.ytmc = feature.values_.ytmc;//用途名称
  1339. obj.dj = feature.values_.dj;//宗地编号
  1340. obj.jg = feature.values_.jg;//价格万元
  1341. obj.qllx = feature.values_.qllx;//权利类型
  1342. obj.qlxz = feature.values_.qlxz;//权利性质
  1343. obj.qlsdfs = feature.values_.qlsdfs;//权利设定方式
  1344. obj.rjl = feature.values_.rjl;//容积率
  1345. obj.jzmd = feature.values_.jzmd;//建筑密度
  1346. obj.jzxg = feature.values_.jzxg;//建筑限高
  1347. obj.zdszd = feature.values_.zdszd;//宗地四至-东
  1348. obj.zdszn = feature.values_.zdszn;//宗地四至-南
  1349. obj.zdszx = feature.values_.zdszx;//宗地四至-西
  1350. obj.zdszb = feature.values_.zdszb;//宗地四至-北
  1351. obj.zdt = feature.values_.zdt;//宗地图
  1352. obj.tfh = feature.values_.tfh;//图幅号
  1353. obj.djh = feature.values_.djh;//地籍号
  1354. obj.sjly = feature.values_.sjly;//数据来源
  1355. obj.lyzk = feature.values_.lyzk;//当前利用状况
  1356. obj.xzkssj = feature.values_.xzkssj;//闲置开始时间
  1357. obj.sffz = feature.values_.sffz;//是否发证
  1358. obj.zjdzsh = feature.values_.zjdzsh;//宅基地证书号
  1359. obj.zjdxctp = feature.values_.zjdxctp;//宅基地现场图片
  1360. obj.zjdqdfs = feature.values_.zjdqdfs;//宅基地取得方式
  1361. obj.bccjl = feature.values_.bccjl;//被惩处经历
  1362. obj.bccbz = feature.values_.bccbz;//被惩处备注
  1363. obj.yctcyx = feature.values_.yctcyx;//有偿退出意向
  1364. obj.zjdpzmj = feature.values_.zjdpzmj;//宅基地批准面积
  1365. obj.zjdxzyy = feature.values_.zjdxzyy;//宅基地闲置原因
  1366. obj.lzyx = feature.values_.lzyx;//流转意向
  1367. obj.sysNormalDisable = feature.values_.sysNormalDisable;//是否停用
  1368. //字典项转化
  1369. //是否发证字典项
  1370. that.getDicts("sys_yes_no").then((response) => {
  1371. var assetTypeOptions = response.data;
  1372. if(obj.sffz !=null && obj.sffz !=""){
  1373. for(var i=0;assetTypeOptions.length >i; i++){
  1374. if(obj.sffz == assetTypeOptions[i].dictValue) {
  1375. obj.sffz = assetTypeOptions[i].dictLabel;
  1376. break;
  1377. }
  1378. }
  1379. }
  1380. });
  1381. //利用状态字典项
  1382. that.getDicts("zjdlyzk").then((response) => {
  1383. var assetTypeOptions = response.data;
  1384. if(obj.lyzk !=null && obj.lyzk !=""){
  1385. for(var i=0;assetTypeOptions.length >i; i++){
  1386. if(obj.lyzk == assetTypeOptions[i].dictValue) {
  1387. obj.lyzk = assetTypeOptions[i].dictLabel;
  1388. break;
  1389. }
  1390. }
  1391. }
  1392. });
  1393. //流转意向字典项
  1394. that.getDicts("is_have").then((response) => {
  1395. var assetTypeOptions = response.data;
  1396. if(obj.lzyx !=null && obj.lzyx !=""){
  1397. for(var i=0;assetTypeOptions.length >i; i++){
  1398. if(obj.lzyx == assetTypeOptions[i].dictValue) {
  1399. obj.lzyx = assetTypeOptions[i].dictLabel;
  1400. break;
  1401. }
  1402. }
  1403. }
  1404. });
  1405. //有偿退出意向字典项
  1406. that.getDicts("is_have").then((response) => {
  1407. var assetTypeOptions = response.data;
  1408. if(obj.yctcyx !=null && obj.yctcyx !=""){
  1409. for(var i=0;assetTypeOptions.length >i; i++){
  1410. if(obj.yctcyx == assetTypeOptions[i].dictValue) {
  1411. obj.yctcyx = assetTypeOptions[i].dictLabel;
  1412. break;
  1413. }
  1414. }
  1415. }
  1416. });
  1417. //被惩处经历字典项
  1418. that.getDicts("is_have").then((response) => {
  1419. var assetTypeOptions = response.data;
  1420. if(obj.bccjl !=null && obj.bccjl !=""){
  1421. for(var i=0;assetTypeOptions.length >i; i++){
  1422. if(obj.bccjl == assetTypeOptions[i].dictValue) {
  1423. obj.bccjl = assetTypeOptions[i].dictLabel;
  1424. break;
  1425. }
  1426. }
  1427. }
  1428. });
  1429. //宅基地取得方式字典项
  1430. that.getDicts("acquisition_method").then((response) => {
  1431. var assetTypeOptions = response.data;
  1432. if(obj.zjdqdfs !=null && obj.zjdqdfs !=""){
  1433. for(var i=0;assetTypeOptions.length >i; i++){
  1434. if(obj.zjdqdfs == assetTypeOptions[i].dictValue) {
  1435. obj.zjdqdfs = assetTypeOptions[i].dictLabel;
  1436. break;
  1437. }
  1438. }
  1439. }
  1440. });
  1441. //权利设定方式字典项
  1442. that.getDicts("right_setting_mode").then((response) => {
  1443. var assetTypeOptions = response.data;
  1444. if(obj.qlsdfs !=null && obj.qlsdfs !=""){
  1445. for(var i=0;assetTypeOptions.length >i; i++){
  1446. if(obj.qlsdfs == assetTypeOptions[i].dictValue) {
  1447. obj.qlsdfs = assetTypeOptions[i].dictLabel;
  1448. break;
  1449. }
  1450. }
  1451. }
  1452. });
  1453. //数据来源字典项
  1454. that.getDicts("sjly").then((response) => {
  1455. var assetTypeOptions = response.data;
  1456. if(obj.sjly !=null && obj.sjly !=""){
  1457. for(var i=0;assetTypeOptions.length >i; i++){
  1458. if(obj.sjly == assetTypeOptions[i].dictValue) {
  1459. obj.sjly = assetTypeOptions[i].dictLabel;
  1460. break;
  1461. }
  1462. }
  1463. }
  1464. });
  1465. that.mapZjdData = obj;
  1466. } else {
  1467. that.mapHaDataValue = false;
  1468. }
  1469. }else {
  1470. that.mapHaDataValue = false;
  1471. }
  1472. });
  1473. //当前账套没有任何空间数据
  1474. if(mapTalkAbout){
  1475. let deptName = this.$store.state.user.loginDeptId + "";
  1476. getQueryLand(deptName).then((response) => {
  1477. if (response.code == 200) {
  1478. let InsertCode = response.data;
  1479. if (InsertCode != null) {
  1480. var lat = InsertCode.lat;
  1481. var lng = InsertCode.lng;
  1482. var center;
  1483. if(lat !=null && lng !=null && lat !="" && lng !=""){
  1484. center = [lng,lat];
  1485. }else {
  1486. center =[115.452752, 31.789033];
  1487. }
  1488. map.getView().animate({
  1489. // 只设置需要的属性即可
  1490. center: ol.proj.fromLonLat(center), // 中心点
  1491. zoom: 17.9, // 缩放级别
  1492. rotation: undefined, // 缩放完成view视图旋转弧度
  1493. duration: 1000, // 缩放持续时间,默认不需要设置
  1494. });
  1495. }
  1496. }
  1497. });
  1498. }
  1499. },
  1500. }
  1501. }
  1502. </script>
  1503. <style scoped>
  1504. >>> .bannerBg{
  1505. width: 100%;
  1506. color:#fff;
  1507. padding:10px;
  1508. background: linear-gradient(134deg,#7ac943 1%, #22b7f2);
  1509. }
  1510. >>> .van-hairline--bottom::after {
  1511. border-bottom-width: 0;
  1512. }
  1513. >>> .activeBtn{
  1514. flex:1;background:#fff;height:50px;border-radius:25px;margin:10px;color:#7AC943;line-height:50px;text-align:center;font-size:20px;box-shadow: 0px 5px 6px 0px rgba(0,0,0,0.16);
  1515. }
  1516. >>> .disactiveBtn{
  1517. flex:1;background:rgba(255,255,255,.4);height:50px;border-radius:25px;margin:10px;color:#fff;line-height:50px;text-align:center;font-size:20px;box-shadow: 0px 5px 6px 0px rgba(0,0,0,0.16);
  1518. }
  1519. >>> .van-cell__label{
  1520. color: #969799;
  1521. font-size: 12px;
  1522. line-height: 20px;
  1523. margin:0
  1524. }
  1525. >>>.map_area {
  1526. width: 50vw;
  1527. height: 50vh;
  1528. z-index:1;
  1529. background:#000;
  1530. position: fixed;
  1531. left: 0;
  1532. top: 0;
  1533. }
  1534. >>> .van-field__label{
  1535. width:50%;
  1536. }
  1537. </style>