代码合并m:9090/renchao/CadastralSystem
Showing
3 changed files
with
23 additions
and
7 deletions
... | @@ -103,3 +103,14 @@ export function updateSh(data) { | ... | @@ -103,3 +103,14 @@ export function updateSh(data) { |
103 | data: data | 103 | data: data |
104 | }) | 104 | }) |
105 | } | 105 | } |
106 | |||
107 | /** | ||
108 | * 批量坐落 | ||
109 | */ | ||
110 | export function updateZl(data) { | ||
111 | return request({ | ||
112 | url: '/system/qjH/batchZl', | ||
113 | method: 'put', | ||
114 | data: data | ||
115 | }) | ||
116 | } | ... | ... |
... | @@ -102,6 +102,9 @@ | ... | @@ -102,6 +102,9 @@ |
102 | </template> | 102 | </template> |
103 | 103 | ||
104 | <script> | 104 | <script> |
105 | import {updateZl} from './../../api/zrz' | ||
106 | import {Message} from 'element-ui' | ||
107 | |||
105 | export default { | 108 | export default { |
106 | name: "plZl", | 109 | name: "plZl", |
107 | props: { | 110 | props: { |
... | @@ -111,9 +114,6 @@ | ... | @@ -111,9 +114,6 @@ |
111 | }, | 114 | }, |
112 | bsms: { | 115 | bsms: { |
113 | type: Array | 116 | type: Array |
114 | }, | ||
115 | measureType: { | ||
116 | type: String | ||
117 | } | 117 | } |
118 | }, | 118 | }, |
119 | data() { | 119 | data() { |
... | @@ -198,8 +198,13 @@ | ... | @@ -198,8 +198,13 @@ |
198 | methods: { | 198 | methods: { |
199 | save: function () { | 199 | save: function () { |
200 | this.plzlData['bsms'] = this.bsms; | 200 | this.plzlData['bsms'] = this.bsms; |
201 | this.plzlData['measureType'] = this.measureType; | 201 | updateZl(this.plzlData).then(res => { |
202 | console.log("save......", this.plzlData) | 202 | if (res.success) { |
203 | this.close(); | ||
204 | } else { | ||
205 | Message.error(res.message) | ||
206 | } | ||
207 | }) | ||
203 | }, | 208 | }, |
204 | cancel: function () { | 209 | cancel: function () { |
205 | console.log("cancel......") | 210 | console.log("cancel......") | ... | ... |
... | @@ -111,7 +111,7 @@ | ... | @@ -111,7 +111,7 @@ |
111 | </el-dialog> | 111 | </el-dialog> |
112 | <!-- 批量操作弹出框 --> | 112 | <!-- 批量操作弹出框 --> |
113 | <pl-h :plh-visible="plhVisible" :bsms="bsms" @close="plhClose"></pl-h> | 113 | <pl-h :plh-visible="plhVisible" :bsms="bsms" @close="plhClose"></pl-h> |
114 | <pl-zl :pl-zl-visible="plzlVisible" :bsms="bsms" :measureType="tabPosition" @close="plZlClose"></pl-zl> | 114 | <pl-zl :pl-zl-visible="plzlVisible" :bsms="bsms" @close="plZlClose"></pl-zl> |
115 | <pl-c :plc-visible="plcVisible" :bsms="bsms" @close="plcClose"></pl-c> | 115 | <pl-c :plc-visible="plcVisible" :bsms="bsms" @close="plcClose"></pl-c> |
116 | <pl-sh :plShVisible="plShVisible" :bsms="bsms" @close="plshClose"></pl-sh> | 116 | <pl-sh :plShVisible="plShVisible" :bsms="bsms" @close="plshClose"></pl-sh> |
117 | <!-- 双击户的弹出框 --> | 117 | <!-- 双击户的弹出框 --> |
... | @@ -347,7 +347,7 @@ export default { | ... | @@ -347,7 +347,7 @@ export default { |
347 | }, | 347 | }, |
348 | //户保存 | 348 | //户保存 |
349 | hbjSaveInfo(){ | 349 | hbjSaveInfo(){ |
350 | this.$refs.hbj.onSave(this.bsms[this.bsms.length-1],this.tabPosition); | 350 | this.$refs.hbj.onSave(this.bsms[this.bsms.length-1],this.tabPosition); |
351 | }, | 351 | }, |
352 | //户编辑表单重置 | 352 | //户编辑表单重置 |
353 | hbjResetInfo(){ | 353 | hbjResetInfo(){ | ... | ... |
-
Please register or sign in to post a comment