宗地分割判断幢信息是否全部选择
Showing
4 changed files
with
21 additions
and
15 deletions
... | @@ -5,6 +5,7 @@ | ... | @@ -5,6 +5,7 @@ |
5 | :visible.sync="isVisible" | 5 | :visible.sync="isVisible" |
6 | width="70%" | 6 | width="70%" |
7 | @close="close" | 7 | @close="close" |
8 | :modal-append-to-body="false" | ||
8 | center> | 9 | center> |
9 | <div class="search"> | 10 | <div class="search"> |
10 | <!-- <el-button type="primary" @click="search">查询</el-button> | 11 | <!-- <el-button type="primary" @click="search">查询</el-button> | ... | ... |
... | @@ -439,7 +439,7 @@ export default { | ... | @@ -439,7 +439,7 @@ export default { |
439 | width: 100%; | 439 | width: 100%; |
440 | height: 100vh; | 440 | height: 100vh; |
441 | position: relative; | 441 | position: relative; |
442 | min-width: 1500px; | 442 | min-width: 1680px; |
443 | overflow-x: auto; | 443 | overflow-x: auto; |
444 | .calcWidth{ | 444 | .calcWidth{ |
445 | width: calc(100% - 300px); | 445 | width: calc(100% - 300px); | ... | ... |
... | @@ -724,20 +724,24 @@ | ... | @@ -724,20 +724,24 @@ |
724 | } | 724 | } |
725 | }, | 725 | }, |
726 | saveZd() { | 726 | saveZd() { |
727 | zdfg(this.zdFghData).then(res => { | 727 | if(this.tempBsmList.length == (this.zdZxx.dzList.length + this.zdZxx.zrzList.length)){ |
728 | if (res.success) { | 728 | zdfg(this.zdFghData).then(res => { |
729 | this.$store.state.zdbsms = res.result; | 729 | if (res.success) { |
730 | this.$router.push({ | 730 | this.$store.state.zdbsms = res.result; |
731 | path: '/zd', | 731 | this.$router.push({ |
732 | query: { | 732 | path: '/zd', |
733 | bsm: res.result[0], | 733 | query: { |
734 | source: 3, //分割标识 | 734 | bsm: res.result[0], |
735 | } | 735 | source: 3, //分割标识 |
736 | }); | 736 | } |
737 | } else { | 737 | }); |
738 | Message.error("保存失败") | 738 | } else { |
739 | } | 739 | Message.error("保存失败") |
740 | }) | 740 | } |
741 | }) | ||
742 | }else{ | ||
743 | this.$message.warning("幢信息未选择完成,无法保存") | ||
744 | } | ||
741 | }, | 745 | }, |
742 | saveDz() { | 746 | saveDz() { |
743 | 747 | ... | ... |
-
Please register or sign in to post a comment