Merge remote-tracking branch 'origin/master' into master
Showing
3 changed files
with
16 additions
and
7 deletions
... | @@ -603,11 +603,14 @@ | ... | @@ -603,11 +603,14 @@ |
603 | }, | 603 | }, |
604 | saveZd() { | 604 | saveZd() { |
605 | if(this.zdFghData.oldZdbsm === ''){ | 605 | if(this.zdFghData.oldZdbsm === ''){ |
606 | Message.info("请选择需要分割的宗地") | 606 | Message.warning("请选择需要分割的宗地") |
607 | return | 607 | return |
608 | } | 608 | } |
609 | if(this.tempBsmList.length === (this.zdZxx.dzList.length + this.zdZxx.zrzList.length)){ | 609 | if(this.tempBsmList.length === (this.zdZxx.dzList.length + this.zdZxx.zrzList.length)){ |
610 | if (this.zdFghData.newZdlist.every(i => i.xmmc != '')) { | ||
611 | vm.loadingShow('正在保存中'); | ||
610 | zdfg(this.zdFghData).then(res => { | 612 | zdfg(this.zdFghData).then(res => { |
613 | vm.loadingHide() | ||
611 | if (res.success) { | 614 | if (res.success) { |
612 | this.$store.state.zdbsms = res.result; | 615 | this.$store.state.zdbsms = res.result; |
613 | //更新目录树 | 616 | //更新目录树 |
... | @@ -622,8 +625,14 @@ | ... | @@ -622,8 +625,14 @@ |
622 | } else { | 625 | } else { |
623 | Message.error("保存失败") | 626 | Message.error("保存失败") |
624 | } | 627 | } |
628 | }).catch((err)=>{ | ||
629 | vm.loadingHide() | ||
630 | Message.error(err) | ||
625 | }) | 631 | }) |
626 | }else{ | 632 | }else{ |
633 | Message.warning("请完善分割后的宗地项目名称后重试") | ||
634 | } | ||
635 | }else{ | ||
627 | this.$message.warning("幢信息未选择完成,无法保存") | 636 | this.$message.warning("幢信息未选择完成,无法保存") |
628 | } | 637 | } |
629 | }, | 638 | }, |
... | @@ -1093,7 +1102,7 @@ | ... | @@ -1093,7 +1102,7 @@ |
1093 | width: calc(100% - 40px); | 1102 | width: calc(100% - 40px); |
1094 | /deep/.el-input__inner { | 1103 | /deep/.el-input__inner { |
1095 | margin: 0; | 1104 | margin: 0; |
1096 | height: 44px; | 1105 | height: 43px; |
1097 | outline: none; | 1106 | outline: none; |
1098 | border: none; | 1107 | border: none; |
1099 | color: #606764; | 1108 | color: #606764; | ... | ... |
... | @@ -183,25 +183,25 @@ | ... | @@ -183,25 +183,25 @@ |
183 | switch (row.dylx) { | 183 | switch (row.dylx) { |
184 | case "zd": | 184 | case "zd": |
185 | this.$store.state.zdbsm = row.glbsm; | 185 | this.$store.state.zdbsm = row.glbsm; |
186 | this.getRightTree(row.glbsm,'1'); | 186 | this.getRightTree(row.glbsm,'0,1,2'); |
187 | break; | 187 | break; |
188 | case "zrz": | 188 | case "zrz": |
189 | this.$store.state.zrzbsm = row.glbsm; | 189 | this.$store.state.zrzbsm = row.glbsm; |
190 | this.getTreeByBsm(row.glbsm,row.dylx,'1'); | 190 | this.getTreeByBsm(row.glbsm,row.dylx,'0,1,2'); |
191 | break; | 191 | break; |
192 | case "h": | 192 | case "h": |
193 | case "h0": | 193 | case "h0": |
194 | case "h1": | 194 | case "h1": |
195 | this.$store.state.hbsm = row.glbsm; | 195 | this.$store.state.hbsm = row.glbsm; |
196 | this.getTreeByBsm(row.glbsm,'h','1'); | 196 | this.getTreeByBsm(row.glbsm,'h','0,1,2'); |
197 | break; | 197 | break; |
198 | case "dz": | 198 | case "dz": |
199 | this.$store.state.dzbsm = row.glbsm; | 199 | this.$store.state.dzbsm = row.glbsm; |
200 | this.getTreeByBsm(row.glbsm,row.dylx,'1'); | 200 | this.getTreeByBsm(row.glbsm,row.dylx,'0,1,2'); |
201 | break; | 201 | break; |
202 | case "gzw": | 202 | case "gzw": |
203 | this.$store.state.dzbsm = row.glbsm; | 203 | this.$store.state.dzbsm = row.glbsm; |
204 | this.getTreeByBsm(row.glbsm,row.dylx,'1'); | 204 | this.getTreeByBsm(row.glbsm,row.dylx,'0,1,2'); |
205 | break; | 205 | break; |
206 | 206 | ||
207 | default: | 207 | default: | ... | ... |
This diff is collapsed.
Click to expand it.
-
Please register or sign in to post a comment