修改宗地信息接口
Showing
2 changed files
with
34 additions
and
11 deletions
... | @@ -35,6 +35,16 @@ export function insertQjZdjbxx(data) { | ... | @@ -35,6 +35,16 @@ export function insertQjZdjbxx(data) { |
35 | data: data, | 35 | data: data, |
36 | }); | 36 | }); |
37 | } | 37 | } |
38 | /** | ||
39 | * 修改宗地基本信息 | ||
40 | */ | ||
41 | export function updateQjZdjbxx(data) { | ||
42 | return request({ | ||
43 | url: "zd/qjZdjbxx/updateQjZdjbxx", | ||
44 | method: "put", | ||
45 | data: data, | ||
46 | }); | ||
47 | } | ||
38 | 48 | ||
39 | /** | 49 | /** |
40 | * 生成宗地代码 | 50 | * 生成宗地代码 | ... | ... |
... | @@ -315,6 +315,9 @@ | ... | @@ -315,6 +315,9 @@ |
315 | </td> | 315 | </td> |
316 | </tr> | 316 | </tr> |
317 | </table> | 317 | </table> |
318 | <div style="min-height: 40px;text-align: center;margin-top: 10px"> | ||
319 | <el-button type="primary" @click="updateZDxx">保存</el-button> | ||
320 | </div> | ||
318 | </div> | 321 | </div> |
319 | </div> | 322 | </div> |
320 | </template> | 323 | </template> |
... | @@ -327,7 +330,7 @@ | ... | @@ -327,7 +330,7 @@ |
327 | getListByXzqbsm, | 330 | getListByXzqbsm, |
328 | getListByPbsm, | 331 | getListByPbsm, |
329 | } from "../../../api/common"; | 332 | } from "../../../api/common"; |
330 | import {getBdcdyh, getQjZdjbxxDetailById} from "../../../api/zd"; | 333 | import {getBdcdyh, getQjZdjbxxDetailById,updateQjZdjbxx} from "../../../api/zd"; |
331 | 334 | ||
332 | export default { | 335 | export default { |
333 | name: "", | 336 | name: "", |
... | @@ -393,9 +396,9 @@ | ... | @@ -393,9 +396,9 @@ |
393 | "gmjjhyflbsm": "", | 396 | "gmjjhyflbsm": "", |
394 | "gygyqlrqk": "", | 397 | "gygyqlrqk": "", |
395 | "jg": 0, | 398 | "jg": 0, |
396 | "jyjzmu": "", | 399 | "jyjzmd": ">", |
397 | "jyjzxg": "", | 400 | "jyjzxg": "<", |
398 | "jyrjl": "", | 401 | "jyrjl": "<", |
399 | "jzmd": 0, | 402 | "jzmd": 0, |
400 | "jzmdsm": "", | 403 | "jzmdsm": "", |
401 | "jzxg": 0, | 404 | "jzxg": 0, |
... | @@ -422,12 +425,12 @@ | ... | @@ -422,12 +425,12 @@ |
422 | "zdbsm": "", | 425 | "zdbsm": "", |
423 | "zddm": "", | 426 | "zddm": "", |
424 | "zdmj": 0, | 427 | "zdmj": 0, |
425 | "zdszb": "", | 428 | "zdszb": "北", |
426 | "zdszd": "", | 429 | "zdszd": "东", |
427 | "zdszn": "", | 430 | "zdszn": "南", |
428 | "zdszx": "", | 431 | "zdszx": "西", |
429 | "zdtzmbsm": "", | 432 | "zdtzmbsm": "", |
430 | "zl": "" | 433 | "zl": "坐落" |
431 | }, | 434 | }, |
432 | }; | 435 | }; |
433 | }, | 436 | }, |
... | @@ -456,12 +459,22 @@ | ... | @@ -456,12 +459,22 @@ |
456 | .then((res) => { | 459 | .then((res) => { |
457 | console.log(res); | 460 | console.log(res); |
458 | this.formData.zddm = res.result.substring(0, 19); | 461 | this.formData.zddm = res.result.substring(0, 19); |
459 | this.formData.bdcdyh = res.result; | 462 | this.formData.dyhbsm = res.result; |
463 | }) | ||
464 | .catch((error) => { | ||
465 | }); | ||
466 | }, | ||
467 | //修改宗地基本信息 | ||
468 | updateZDxx(){ | ||
469 | //获取权利性质数据 | ||
470 | this.formData.list = this.$refs.qlxzModule.getQlxzDataList(); | ||
471 | updateQjZdjbxx(this.formData) | ||
472 | .then((res) => { | ||
473 | console.log(res); | ||
460 | }) | 474 | }) |
461 | .catch((error) => { | 475 | .catch((error) => { |
462 | }); | 476 | }); |
463 | }, | 477 | }, |
464 | |||
465 | getQlrxxData() { | 478 | getQlrxxData() { |
466 | console.log(this.$refs.qlrxxModule.getQlgyfsData()); //权利共有方式数据 | 479 | console.log(this.$refs.qlrxxModule.getQlgyfsData()); //权利共有方式数据 |
467 | console.log(this.$refs.qlrxxModule.getQlrxxData()); //权利人表格数据 | 480 | console.log(this.$refs.qlrxxModule.getQlrxxData()); //权利人表格数据 | ... | ... |
-
Please register or sign in to post a comment