Merge remote-tracking branch 'origin/master'
Showing
4 changed files
with
28 additions
and
4 deletions
... | @@ -56,6 +56,7 @@ | ... | @@ -56,6 +56,7 @@ |
56 | <hbj ref="hbj" :bsm="hbsm" :key="hbsm"></hbj> | 56 | <hbj ref="hbj" :bsm="hbsm" :key="hbsm"></hbj> |
57 | <div class="btnGroup"> | 57 | <div class="btnGroup"> |
58 | <el-button type="primary" @click="hbjSaveInfo">保存</el-button> | 58 | <el-button type="primary" @click="hbjSaveInfo">保存</el-button> |
59 | <el-button type="primary" @click="hbjSubmitInfo">提交</el-button> | ||
59 | <el-button type="primary" @click="hbjResetInfo">重置</el-button> | 60 | <el-button type="primary" @click="hbjResetInfo">重置</el-button> |
60 | <el-button type="primary" @click="hbjVisible = false">取消</el-button> | 61 | <el-button type="primary" @click="hbjVisible = false">取消</el-button> |
61 | </div> | 62 | </div> |
... | @@ -110,6 +111,11 @@ | ... | @@ -110,6 +111,11 @@ |
110 | this.$refs.hbj.onSave(this.hbsm, this.tabPosition); | 111 | this.$refs.hbj.onSave(this.hbsm, this.tabPosition); |
111 | this.getData({pageSize:15}); | 112 | this.getData({pageSize:15}); |
112 | }, | 113 | }, |
114 | //户提交 | ||
115 | hbjSubmitInfo() { | ||
116 | this.$refs.hbj.onSubmit(this.hbsm, this.tabPosition); | ||
117 | this.getData({pageSize:15}); | ||
118 | }, | ||
113 | //户编辑表单重置 | 119 | //户编辑表单重置 |
114 | hbjResetInfo() { | 120 | hbjResetInfo() { |
115 | this.$refs.hbj.onReset(); | 121 | this.$refs.hbj.onReset(); | ... | ... |
... | @@ -118,8 +118,8 @@ export default { | ... | @@ -118,8 +118,8 @@ export default { |
118 | ); | 118 | ); |
119 | 119 | ||
120 | const tooltip = new G6.Tooltip({ | 120 | const tooltip = new G6.Tooltip({ |
121 | offsetX: 10 + 10, | 121 | offsetX: 210, |
122 | offsetY: 10 + 10, | 122 | offsetY: 210, |
123 | itemTypes: ['node', 'edge'], | 123 | itemTypes: ['node', 'edge'], |
124 | getContent: (e) => { | 124 | getContent: (e) => { |
125 | const outDiv = document.createElement('div'); | 125 | const outDiv = document.createElement('div'); |
... | @@ -294,7 +294,7 @@ export default { | ... | @@ -294,7 +294,7 @@ export default { |
294 | } | 294 | } |
295 | 295 | ||
296 | #mountNode{ | 296 | #mountNode{ |
297 | margin-left: 15%; | 297 | margin-left: 200px; |
298 | } | 298 | } |
299 | 299 | ||
300 | .slot{ | 300 | .slot{ | ... | ... |
... | @@ -403,7 +403,8 @@ | ... | @@ -403,7 +403,8 @@ |
403 | import Qlr from "./../../../../../components/formMenu/qlr"; | 403 | import Qlr from "./../../../../../components/formMenu/qlr"; |
404 | import Qlxz from "./../../../../../components/formMenu/qlxz_simple"; | 404 | import Qlxz from "./../../../../../components/formMenu/qlxz_simple"; |
405 | import {getQjHDetailByBsm,updateQjH} from "./../../../../../api/h"; | 405 | import {getQjHDetailByBsm,updateQjH} from "./../../../../../api/h"; |
406 | import {getBdcdyh} from "./../../../../../api/zrz" | 406 | import {getBdcdyh} from "./../../../../../api/zrz"; |
407 | import {submit} from "./../../../../../api/common" | ||
407 | export default { | 408 | export default { |
408 | name:'zrz', | 409 | name:'zrz', |
409 | components:{ | 410 | components:{ |
... | @@ -697,6 +698,18 @@ | ... | @@ -697,6 +698,18 @@ |
697 | } | 698 | } |
698 | }) | 699 | }) |
699 | }, | 700 | }, |
701 | onSubmit(bsm,yclx){ | ||
702 | let data={ | ||
703 | glbsm:bsm, | ||
704 | status:1, | ||
705 | type:"h" | ||
706 | } | ||
707 | submit(data).then((res)=>{ | ||
708 | if(res.code===200){ | ||
709 | this.$message.success("提交完成!"); | ||
710 | } | ||
711 | }) | ||
712 | }, | ||
700 | onReset(){ | 713 | onReset(){ |
701 | this.form.bdcdyh='', //不动产单元号 | 714 | this.form.bdcdyh='', //不动产单元号 |
702 | this.form.mjdwbsm='', //面积单位编号 | 715 | this.form.mjdwbsm='', //面积单位编号 | ... | ... |
... | @@ -259,6 +259,7 @@ | ... | @@ -259,6 +259,7 @@ |
259 | <hbj ref="hbj" :bsm="hbsm" :scyclx="scyclx"></hbj> | 259 | <hbj ref="hbj" :bsm="hbsm" :scyclx="scyclx"></hbj> |
260 | <div class="btnGroup"> | 260 | <div class="btnGroup"> |
261 | <el-button type="primary" @click="hbjSaveInfo">保存</el-button> | 261 | <el-button type="primary" @click="hbjSaveInfo">保存</el-button> |
262 | <el-button type="primary" @click="hbjSubmitInfo">提交</el-button> | ||
262 | <el-button type="primary" @click="hbjResetInfo">重置</el-button> | 263 | <el-button type="primary" @click="hbjResetInfo">重置</el-button> |
263 | <el-button type="primary" @click="hbjVisible = false">取消</el-button> | 264 | <el-button type="primary" @click="hbjVisible = false">取消</el-button> |
264 | </div> | 265 | </div> |
... | @@ -592,6 +593,10 @@ export default { | ... | @@ -592,6 +593,10 @@ export default { |
592 | hbjSaveInfo() { | 593 | hbjSaveInfo() { |
593 | this.$refs.hbj.onSave(this.bsms[this.bsms.length - 1], this.tabPosition); | 594 | this.$refs.hbj.onSave(this.bsms[this.bsms.length - 1], this.tabPosition); |
594 | }, | 595 | }, |
596 | //户保存 | ||
597 | hbjSubmitInfo() { | ||
598 | this.$refs.hbj.onSubmit(this.bsms[this.bsms.length - 1], this.tabPosition); | ||
599 | }, | ||
595 | //户编辑表单重置 | 600 | //户编辑表单重置 |
596 | hbjResetInfo() { | 601 | hbjResetInfo() { |
597 | this.$refs.hbj.onReset(); | 602 | this.$refs.hbj.onReset(); | ... | ... |
-
Please register or sign in to post a comment