移动端
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.

paidExitModify.vue 24 KiB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622
  1. <template>
  2. <div class="app-container">
  3. <!-- <van-nav-bar-->
  4. <!-- left-arrow-->
  5. <!-- fixed-->
  6. <!-- placeholder-->
  7. <!-- @click-left="$router.back(-1)"-->
  8. <!-- >-->
  9. <!-- <template #title>-->
  10. <!-- <p style="font-weight: bold;">修改有偿退出</p>-->
  11. <!-- </template>-->
  12. <!-- </van-nav-bar>-->
  13. <div class="header_main">
  14. 修改有偿退出
  15. <div class="return_btn" @click="onClickLeft"></div>
  16. <!-- <div class="add_btn" @click="goAdd"></div>-->
  17. </div>
  18. <van-form ref="_Form">
  19. <div class="main_box">
  20. <!-- <van-field v-model="circulation.sqrxm" label="申请人姓名" placeholder="申请人姓名" input-align="right" label-width="auto" :rules="[{ required: true }]" required/>-->
  21. <van-field v-model="circulation.sqrxm" label="申请人姓名" placeholder="申请人姓名" input-align="right" label-width="auto" :rules="[{ required: true }]" required @input="remoteTransfereeMethod" />
  22. <div id="dropList" v-show="showDropList" style="width: 92vw; position: absolute; z-index: 99; left: 50%; margin-left: -46vw; border: 1px solid #E2E0E0;" >
  23. <van-cell id="vanCell" v-for="(item, index) in getObligeeOptions" :key="index" @click="shyqrdmxmChange(item)" style="position: relative; z-index: 999;">
  24. {{item.shyqrdbxm}}
  25. </van-cell>
  26. </div>
  27. <!-- <van-field-->
  28. <!-- readonly-->
  29. <!-- clickable-->
  30. <!-- v-model="circulation.zjddm"-->
  31. <!-- label="宅基地代码"-->
  32. <!-- placeholder="请选择"-->
  33. <!-- @click="remoteProposerMethod"-->
  34. <!-- input-align="right"-->
  35. <!-- right-icon="arrow-down" :rules="[{ required: true }]" required-->
  36. <!-- />-->
  37. <!-- <van-popup v-model="showzjddm" position="bottom">-->
  38. <!-- <van-picker-->
  39. <!-- show-toolbar-->
  40. <!-- :columns="zjdDictionaries"-->
  41. <!-- value-key="zjddm"-->
  42. <!-- @confirm="onConfirmZjddm"-->
  43. <!-- @cancel="showzjddm = false"-->
  44. <!-- />-->
  45. <!-- </van-popup>-->
  46. <van-field
  47. v-model="circulation.zjddm"
  48. label="宅基地代码"
  49. input-align="right"
  50. :rules="[{ required: true }]"
  51. required
  52. >
  53. <template #button>
  54. <van-icon name="../../../static/images/22.png" color="#539FFD" size="20" @click="mapLook"/>
  55. </template>
  56. </van-field>
  57. <field-select
  58. v-model="circulation.xb"
  59. label="性別"
  60. value-key="dictLabel"
  61. data-key="dictValue"
  62. placeholder="选择现状"
  63. :rules="[{ required: true }]"
  64. required
  65. remote-url="/open/zdzh/list/sys_user_sex"
  66. :on-remote-response="'data'"
  67. />
  68. <van-field v-model="circulation.sqrzjhm" label="申请人证件号码" placeholder="申请人证件号码" input-align="right" label-width="auto" :rules="[{ required: true }]" required/>
  69. <van-field v-model="circulation.lxdh" label="联系电话" placeholder="联系电话" input-align="right" label-width="auto" :rules="[{ required: true }]" required/>
  70. <field-select
  71. v-model="circulation.gyqk"
  72. label="共有情况"
  73. value-key="dictLabel"
  74. data-key="dictValue"
  75. placeholder="选择共有情况"
  76. :rules="[{ required: true }]"
  77. required
  78. remote-url="/open/zdzh/list/house_yes_no"
  79. :on-remote-response="'data'"
  80. />
  81. <van-field v-model="circulation.hkszd" label="户口所在地" placeholder="户口所在地" input-align="right" label-width="auto" :rules="[{ required: true }]" required/>
  82. </div>
  83. <p class="main_title">拟申请退出宅基地</p>
  84. <van-field v-model="circulation.tcmj" label="面积(㎡)" placeholder="请输入面积㎡" input-align="right" label-width="auto" :rules="[{ required: true }]" required type="number"/>
  85. <field-select
  86. v-model="circulation.xz"
  87. label="现状"
  88. value-key="dictLabel"
  89. data-key="dictValue"
  90. placeholder="选择现状"
  91. :rules="[{ required: true }]"
  92. required
  93. remote-url="/open/zdzh/list/dsxz"
  94. :on-remote-response="'data'"
  95. />
  96. <van-field v-model="circulation.zjdszd" label="东至" placeholder="东至" input-align="right" label-width="auto" :rules="[{ required: true }]" required/>
  97. <van-field v-model="circulation.zjdszn" label="南至" placeholder="南至" input-align="right" label-width="auto" :rules="[{ required: true }]" required/>
  98. <van-field v-model="circulation.zjdszx" label="西至" placeholder="西至" input-align="right" label-width="auto" :rules="[{ required: true }]" required/>
  99. <van-field v-model="circulation.zjdszb" label="北至" placeholder="北至" input-align="right" label-width="auto" :rules="[{ required: true }]" required/>
  100. <field-select
  101. v-model="circulation.dldm"
  102. label="地类"
  103. value-key="dictLabel"
  104. data-key="dictValue"
  105. placeholder="选择现状"
  106. :rules="[{ required: true }]"
  107. required
  108. remote-url="/open/zdzh/list/geographic_type"
  109. :on-remote-response="'data'"
  110. />
  111. <p class="main_title">退出宅基地情况</p>
  112. <van-field v-model="circulation.tcmj" label="退出面积(㎡)" placeholder="请输入退出面积㎡" input-align="right" label-width="auto" :rules="[{ required: true }]" required type="number"/>
  113. <van-field v-model="circulation.jzmj" label="建筑面积(㎡)" placeholder="请输入建筑面积㎡" input-align="right" label-width="auto" :rules="[{ required: true }]" required type="number"/>
  114. <div class="main_box">
  115. <van-field
  116. readonly
  117. clickable
  118. v-model="tcqllx"
  119. label="退出权利类型"
  120. placeholder="请选择退出权利类型"
  121. @click="showtcqllx = true"
  122. input-align="right"
  123. right-icon="arrow-down"
  124. label-width="auto" :rules="[{ required: true }]" required
  125. />
  126. <van-popup v-model="showtcqllx" position="bottom">
  127. <van-picker
  128. show-toolbar
  129. :columns="tcqllxDictionaries"
  130. @confirm="onConfirmTcqllx"
  131. @cancel="showtcqllx = false"
  132. />
  133. </van-popup>
  134. <!--<van-field
  135. readonly
  136. clickable
  137. v-model="tclx"
  138. label="退出类型"
  139. placeholder="请选择退出类型"
  140. @click="showtclx = true"
  141. input-align="right"
  142. right-icon="arrow-down"
  143. label-width="auto" :rules="[{ required: true }]" required
  144. />
  145. <van-popup v-model="showtclx" position="bottom">
  146. <van-picker
  147. show-toolbar
  148. :columns="tclxDictionaries"
  149. @confirm="onConfirmTclx"
  150. @cancel="showtclx = false"
  151. />
  152. </van-popup>-->
  153. <van-field
  154. readonly
  155. clickable
  156. v-model="tcfs"
  157. label="退出方式"
  158. placeholder="请选择退出方式"
  159. @click="showtcfs = true"
  160. input-align="right"
  161. right-icon="arrow-down"
  162. label-width="auto" :rules="[{ required: true }]" required
  163. />
  164. <van-popup v-model="showtcfs" position="bottom">
  165. <van-picker
  166. show-toolbar
  167. :columns="tcfsDictionaries"
  168. @confirm="onConfirmTcfs"
  169. @cancel="showtcfs = false"
  170. />
  171. </van-popup>
  172. <van-field v-model="circulation.tcqszsh" label="权属证书号" placeholder="请输入权属证书号" input-align="right" label-width="auto" />
  173. </div>
  174. <p class="main_title">现居住情况</p>
  175. <van-field v-model="circulation.xjzmj" label="建筑面积(㎡)" placeholder="请输入建筑面积㎡" input-align="right" label-width="auto" :rules="[{ required: true }]" required type="number"/>
  176. <van-field v-model="circulation.xqszsh" label="权属证书号" placeholder="请输入权属证书号" input-align="right" label-width="auto" />
  177. <van-field v-model="circulation.xjzdd" label="居住地点" placeholder="请输入居住地点" input-align="right" label-width="auto" />
  178. <p class="main_title">补偿信息</p>
  179. <van-field v-model="circulation.bcje" label="宅基地补偿" placeholder="宅基地补偿" input-align="right" label-width="auto" type="number"/>
  180. <van-field v-model="circulation.dmfzwbc" label="地面附着物补偿" placeholder="地面附着物补偿" input-align="right" label-width="auto" type="number"/>
  181. <field-select
  182. v-model="circulation.yctcfs"
  183. label="退出类型"
  184. value-key="dictLabel"
  185. data-key="dictValue"
  186. placeholder="选择退出类型"
  187. remote-url="/open/zdzh/list/yctcfs"
  188. :on-remote-response="'data'"
  189. />
  190. <field-select
  191. v-model="circulation.bcfs"
  192. label="补偿方式"
  193. value-key="dictLabel"
  194. data-key="dictValue"
  195. placeholder="选择退出类型"
  196. remote-url="/open/zdzh/list/bcfs"
  197. :on-remote-response="'data'"
  198. />
  199. <field-date-picker
  200. v-model="circulation.bcsj"
  201. label="补偿时间"
  202. placeholder="选择日期"
  203. formatter="yyyy-MM-dd"
  204. />
  205. <p class="main_title">其他</p>
  206. <van-field v-model="circulation.sqly" label="申请理由" placeholder="请输入申请理由" input-align="right" label-width="auto"/>
  207. <field-date-picker
  208. v-model="circulation.sqrq"
  209. label="申请日期"
  210. placeholder="选择日期"
  211. :rules="[{ required: true }]"
  212. formatter="yyyy-MM-dd"
  213. required
  214. />
  215. <van-field v-model="circulation.jbrxm" label="经办人姓名" placeholder="请输入经办人姓名" input-align="right" label-width="auto"/>
  216. <field-date-picker
  217. v-model="circulation.pzrq"
  218. label="批准日期"
  219. placeholder="选择日期"
  220. :rules="[{ required: true }]"
  221. formatter="yyyy-MM-dd"
  222. required
  223. />
  224. <field-date-picker
  225. v-model="circulation.barq"
  226. label="备案日期"
  227. placeholder="选择日期"
  228. :rules="[{ required: true }]"
  229. formatter="yyyy-MM-dd"
  230. required
  231. />
  232. <van-dialog v-model="mapShow" show-cancel-button>
  233. <MapGisObtainTc ref="zjdProductResh" :shqrxm="circulation.sqrxm" :landStatus="landStatus" :deptId="sysFarmer.deptId" @closeMoule="closeMoule"></MapGisObtainTc>
  234. </van-dialog>
  235. <!-- 3组附件 -->
  236. <van-popup
  237. v-model="attachmentVisible"
  238. closeable
  239. position="top"
  240. :style="{ height: '61.8%' }"
  241. :close-on-click-overlay="proposerStatus == 1"
  242. :lazy-render="false"
  243. >
  244. <van-tabs type="card" style="padding-top: 1.35rem;" color="#1D6FE9" :lazy-render="false" v-model="attachmentActive" ref="attachmentDialog">
  245. <van-tab title="退出附件" key="0">
  246. <home-apply-upload-comp
  247. :business-type="houseApplyUploadComp.businessType"
  248. :house-apply-status="houseApplyUploadComp.homeApplyStatus"
  249. :process-key="houseApplyUploadComp.processKey"
  250. :proposer-id="houseApplyUploadComp.proposerId"
  251. :table-name="houseApplyUploadComp.tableName"
  252. :readonly="houseApplyUploadComp.readonly"
  253. :userName="sysFarmer.memberName"
  254. :full="houseApplyUploadComp.full"
  255. @uploadFinished="onUploadFinished"
  256. >
  257. </home-apply-upload-comp>
  258. </van-tab>
  259. </van-tabs>
  260. </van-popup>
  261. </van-form>
  262. <van-goods-action style="z-index: 999;">
  263. <van-goods-action-icon icon="label-o" text="附件" @click="openAttachment" color="#1D6FE9" />
  264. <van-goods-action-button type="info" text="保存" @click="goEdit" />
  265. <van-goods-action-button type="info" text="提交" @click="goSubmit"/>
  266. </van-goods-action>
  267. </div>
  268. </template>
  269. <script>
  270. import { getZyyctc,getShyqrs,zyyctcEdit,zyyctcApply,getByLyZjddm,listHomesteadnmfw} from "@/api/sunVillage_info/homestead/paidExit";
  271. import HomeApplyUploadComp from "@/components/home/HomeApplyUploadCompTc";
  272. import FieldSelect from "@/components/form/FieldSelect";
  273. import FieldDatePicker from "@/components/form/FieldDatePicker";
  274. import {formatDate} from "element-ui/src/utils/date-util.js";
  275. import { } from "@/api/onlineHome/homestead/paidExit";
  276. import {Notify} from "vant";
  277. import MapGisObtainTc from "@/components/Map/MapGisObtainTc";
  278. import Cookies from "js-cookie";
  279. const PROPOSER_VIEW = 1;
  280. // 工作流名称
  281. const PROPOSER_STAGE_BASE_APPLY_ACTIVITY = 'home_usetc';
  282. // 附件表名
  283. const PROPOSER_STAGE_BASE_APPLY_TABLE = 't_homeuse_zyyctc';
  284. // 其他
  285. const PROPOSER_MODULE = 'home';
  286. export default {
  287. name: "paidExitModify",
  288. components: { MapGisObtainTc,FieldSelect,FieldDatePicker,HomeApplyUploadComp },
  289. data() {
  290. return {
  291. tcqllxDictionaries:[],//退出权利类型
  292. tclxDictionaries:[],//退出类型
  293. tcfsDictionaries:[],//退出方式
  294. xbDictionaries:[],//申请人证件类型
  295. zjlxDictionaries:[],
  296. bcfsDictionaries:[],//补偿方式
  297. zjdDictionaries:[],//宅基地代码
  298. getObligeeOptions:[],//下拉框列表
  299. sysFarmer:{deptId:this.$store.state.user.loginDeptId,memberName:this.$store.state.user.nickName},
  300. tcqllx:'',
  301. tclx:'',
  302. tcfs:'',
  303. xb:'',
  304. bcfs:'',
  305. zjddm:'',
  306. landStatus:"1",
  307. showtcqllx: false,
  308. showtclx: false,
  309. showtcfs: false,
  310. showxb: false,
  311. showbcfs: false,
  312. showzjddm: false,
  313. showDropList: false,//是否显示下拉框
  314. mapShow: false,
  315. attachmentVisible:false,
  316. active: 0,
  317. // 表单意图
  318. proposerStatus: PROPOSER_VIEW,
  319. circulation:{},
  320. // 当前附件tab
  321. attachmentActive: 0,
  322. // 申请附件树
  323. houseApplyUploadComp: {
  324. businessType: PROPOSER_MODULE,
  325. proposerId: this.$route.query.id,
  326. homeApplyStatus: "11",
  327. processKey: PROPOSER_STAGE_BASE_APPLY_ACTIVITY,
  328. tableName: PROPOSER_STAGE_BASE_APPLY_TABLE,
  329. attachmentList: [],
  330. readonly: false,
  331. full: false,
  332. },
  333. };
  334. },
  335. created() {
  336. this.getDictionaries();
  337. },
  338. methods: {
  339. getDictionaries(){
  340. getZyyctc(this.$route.query.id).then(response => {
  341. //退出权利类型
  342. this.houseGetDicts("tcqllx").then((res) => {
  343. for (var i = 0; i < res.data.length; i++) {
  344. this.tcqllxDictionaries.push({text: res.data[i].dictLabel, value: res.data[i].dictValue});
  345. }
  346. this.tcqllx = this.selectDictLabel(res.data, response.data.tcqllx);
  347. });
  348. //退出方式
  349. this.houseGetDicts("tcfs").then((res) => {
  350. for (var i = 0; i < res.data.length; i++) {
  351. this.tcfsDictionaries.push({text: res.data[i].dictLabel, value: res.data[i].dictValue});
  352. }
  353. this.tcfs = this.selectDictLabel(res.data, response.data.tcfs);
  354. });
  355. //申请人证件类型
  356. this.houseGetDicts("zjlx").then((res) => {
  357. for (var i = 0; i < res.data.length; i++) {
  358. this.zjlxDictionaries.push({text: res.data[i].dictLabel, value: res.data[i].dictValue});
  359. }
  360. this.zjlx = this.selectDictLabel(res.data, response.data.sqrzjlx);
  361. });
  362. this.circulation = response.data;
  363. console.info(this.circulation);
  364. });
  365. },
  366. onConfirmZjddm(data){
  367. console.log(data);
  368. this.showzjddm = false;
  369. if (data) {
  370. this.$set(this.circulation, 'zjddm', data.zjddm);
  371. this.$set(this.circulation, 'sqrzjhm', data.shyqrdbzjhm);
  372. this.$set(this.circulation, 'sqrzjlx', data.shyqrdbzjlx);
  373. if(data.shyqrdbzjlx)
  374. {
  375. let val = this.zjlxDictionaries.find((x) => x.value == data.shyqrdbzjlx);
  376. if(val)
  377. this.zjlx = val.text;
  378. }
  379. }
  380. // this.$forceUpdate();
  381. },
  382. onConfirmXb(data){
  383. this.xb = data.text;
  384. this.circulation.xb = data.value;
  385. this.showxb = false;
  386. },
  387. // 初次申请草稿的附件上传
  388. onUploadFinished(fileIdList) {
  389. this.$set(this.circulation, "fileList", fileIdList);
  390. },
  391. onConfirmTcqllx(data){
  392. this.tcqllx = data.text;
  393. this.circulation.tcqllx = data.value;
  394. this.showtcqllx = false;
  395. },
  396. /*onConfirmTclx(data){
  397. this.tclx = data.text;
  398. this.circulation.tclx = data.value;
  399. this.showtclx = false;
  400. },*/
  401. onConfirmTcfs(data){
  402. this.tcfs = data.text;
  403. this.circulation.tcfs = data.value;
  404. this.showtcfs = false;
  405. },
  406. onConfirmBcfs(data){
  407. this.bcfs = data.text;
  408. this.circulation.bcfs = data.value;
  409. this.showbcfs = false;
  410. },
  411. goEdit(){
  412. console.log(this.circulation);
  413. this.$refs._Form.validate().then(() => {
  414. zyyctcEdit(this.circulation).then(response => {
  415. if(response.code = 200){
  416. this.$toast.success('保存成功');
  417. this.$router.back(-1);
  418. }
  419. })
  420. }).catch((e) => {
  421. Notify({ type: 'danger', message: '请填写完整的表单项' });
  422. });
  423. },
  424. goSubmit(){
  425. this.$refs._Form.validate().then(() => {
  426. this.$set(this.circulation, 'updateBy', this.sysFarmer.memberName);
  427. zyyctcEdit(this.circulation).then(response => {
  428. zyyctcApply(this.$route.query.id).then(response => {
  429. if(response.code = 200){
  430. this.$toast.success('提交成功');
  431. setTimeout(function(){
  432. this.$router.back(-1);
  433. },1000)
  434. }
  435. });
  436. });
  437. }).catch((e) => {
  438. Notify({ type: 'danger', message: '请填写完整的表单项' });
  439. });
  440. },
  441. remoteProposerMethod() {
  442. this.showzjddm = true;
  443. this.zjdDictionaries = [];
  444. if (this.circulation.sqrxm) {
  445. getShyqrs({shyqrdbxm:this.circulation.sqrxm}).then(response => {
  446. this.zjdDictionaries = response.data.map(item => {
  447. return {
  448. zjddm: item.zjddm,
  449. shyqrdbxm: item.shyqrdbxm,
  450. shyqrdbzjlx: item.shyqrdbzjlx,
  451. shyqrdbzjhm: item.shyqrdbzjhm
  452. }
  453. });
  454. });
  455. } else {
  456. this.zjdDictionaries = [];
  457. }
  458. },
  459. // 打开附件树
  460. openAttachment() {
  461. this.attachmentVisible = true;
  462. if(this.attachmentActive == this.active)
  463. this.$nextTick(() => {
  464. this.$refs.attachmentDialog.scrollTo(this.active);
  465. });
  466. },
  467. /** 模糊查询人员信息 */
  468. remoteTransfereeMethod(query) {
  469. if (query !== "") {
  470. getShyqrs({shyqrdbxm:query,status:1}).then((response) => {
  471. if (response.code == 200) {
  472. this.getObligeeOptions = response.rows.filter(function (e) { return !e.shyqrdbxm.includes("村集体"); });
  473. //设置模糊查询的下拉框和滚动条
  474. if (this.getObligeeOptions.length > 0) {
  475. this.showDropList = true; // div显示会阻挡下边的选择框和输入框,showDropList控制下拉框是否显示
  476. //设置模糊查询的和滚动条
  477. this.$nextTick(() => {
  478. if (this.getObligeeOptions.length > 4) {
  479. let height = document.getElementById("vanCell").offsetHeight * 4;
  480. document.getElementById("dropList").style.height = height + "px";
  481. document.getElementById("dropList").style.overflow = "scroll";
  482. } else {
  483. document.getElementById("dropList").style.height = "";
  484. document.getElementById("dropList").style.overflow = "visible";
  485. }
  486. });
  487. } else {
  488. this.showDropList = false;
  489. }
  490. }
  491. });
  492. } else {
  493. this.getObligeeOptions = [];
  494. this.showDropList = false;
  495. }
  496. },
  497. shyqrdmxmChange(val){
  498. this.$set(this.circulation, "sqrxm", val.shyqrdbxm);
  499. this.$set(this.circulation, "deptId", val.deptId);
  500. this.$set(this.circulation, "deptName", val.deptName);
  501. this.$set(this.circulation, "sqrzjhm", val.shyqrdbzjhm);
  502. this.$set(this.circulation, "sqrzjlx", val.shyqrdbzjlx);
  503. this.$set(this.circulation, "sqrnhdm", val.nhdm);
  504. this.$set(this.circulation, "gyqk", val.gyfs);
  505. this.$set(this.circulation, "xb", val.xb);
  506. this.$set(this.circulation, "lxdh", val.dh);
  507. this.$set(this.circulation, "hkszd", val.dz);
  508. this.getObligeeOptions=[];
  509. this.showDropList = false;
  510. },
  511. // 获取日期, yyyy-MM-dd
  512. getDate(d) {
  513. return formatDate(d ? d : new Date(), 'yyyy-MM-dd');
  514. },
  515. /** 查找地图中宅基地 */
  516. closeMoule: function (data) {
  517. this.circulation.zjddm = data;
  518. let _this = this;
  519. let handlerTime = this.getDate();
  520. this.$set(this.circulation, "sqrq", handlerTime);
  521. this.$set(this.circulation, "pzrq", handlerTime);
  522. this.$set(this.circulation, "barq", handlerTime);
  523. getByLyZjddm(data).then((response) => {
  524. this.$set(this.circulation, "ntcmj", response.data.zdmj);
  525. this.$set(this.circulation, "tcmj", response.data.zdmj);
  526. this.$set(this.circulation, "zjdszd", response.data.zdszd);
  527. this.$set(this.circulation, "zjdszn", response.data.zdszn);
  528. this.$set(this.circulation, "zjdszx", response.data.zdszx);
  529. this.$set(this.circulation, "zjdszb", response.data.zdszb);
  530. this.$set(this.circulation, "theGeomJson", response.data.theGeomJson);
  531. this.$set(this.circulation, "tcqszsh", response.data.zsh);
  532. listHomesteadnmfw({zjddm: data}).then((response) => {
  533. response.rows.map(function(item){
  534. _this.$set(_this.circulation, "jzmj", Number(_this.circulation.jzmj) + Number(item.jzmj));
  535. _this.$set(_this.circulation, "xjzmj", Number(_this.circulation.xjzmj) + Number(item.jzmj));
  536. });
  537. });
  538. // const baseImgUrl = this.$store.getters.baseRoutingUrl;
  539. if(response.rows[0].zdt != null && response.rows[0].zdt !== ""){
  540. this.$set(this.form, "xzzp", response.rows[0].zdt);
  541. }
  542. });
  543. },
  544. mapLook(){
  545. this.mapShow = true;
  546. setTimeout(() => {
  547. this.$refs.zjdProductResh.drawingLyPaceCountryDarw();
  548. },1000);
  549. },
  550. },
  551. }
  552. </script>
  553. <style scoped lang="scss">
  554. .app-container {
  555. padding-bottom: 2%;
  556. .header_main{
  557. height: 116px;
  558. background: url('../../../../assets/images/sunVillage_info/list_head.png') no-repeat;
  559. background-size: 100% 100%;
  560. position: fixed;
  561. top: 0;
  562. left: 0;
  563. width: 100%;
  564. font-size: 36px;
  565. line-height: 116px;
  566. text-align: center;
  567. color: #fff;
  568. position: relative;
  569. margin-bottom: 2%;
  570. .return_btn{
  571. width: 24px;
  572. height: 43.2px;
  573. background: url('../../../../assets/images/sunVillage_info/list_icon_5.png') center center no-repeat;
  574. background-size: 20px 36px;
  575. position: absolute;
  576. left: 38px;
  577. top: 36px;
  578. }
  579. .add_btn{
  580. width: 56.4px;
  581. height: 40.8px;
  582. background: url('../../../../assets/images/sunVillage_info/list_icon_9.png') center center no-repeat;
  583. background-size: 47px 34px;
  584. position: absolute;
  585. right: 38px;
  586. top: 36px;
  587. }
  588. }
  589. }
  590. .main_title{
  591. font-size: 0.4rem;
  592. color: #1D6FE9;
  593. margin: 0.2rem 6%;
  594. position: relative;
  595. }
  596. .main_box{
  597. width: 96%;
  598. margin: 0 auto;
  599. border-radius: 6px;
  600. box-shadow: 0px 3px 6px 0px rgba(0,0,0,0.16);
  601. overflow: hidden;
  602. background-color: #FFF;
  603. }
  604. .submitButton{
  605. width: 80%;
  606. margin: 0 auto;
  607. background-color: #1D6FE9;
  608. }
  609. </style>