Merge remote-tracking branch 'origin/master'
Showing
4 changed files
with
39 additions
and
21 deletions
| ... | @@ -62,7 +62,7 @@ | ... | @@ -62,7 +62,7 @@ |
| 62 | </div> | 62 | </div> |
| 63 | <div class="footer"> | 63 | <div class="footer"> |
| 64 | <el-button type="primary" @click="save">保存</el-button> | 64 | <el-button type="primary" @click="save">保存</el-button> |
| 65 | <el-button type="primary" @click="cancel">取消</el-button> | 65 | <el-button type="primary" @click="close">取消</el-button> |
| 66 | </div> | 66 | </div> |
| 67 | <zd-query-data :centerDialogVisible="xzzdVisible" @close="xzzdClose" @getData="getZdxx" | 67 | <zd-query-data :centerDialogVisible="xzzdVisible" @close="xzzdClose" @getData="getZdxx" |
| 68 | :isZdClose="true"></zd-query-data> | 68 | :isZdClose="true"></zd-query-data> |
| ... | @@ -160,9 +160,6 @@ | ... | @@ -160,9 +160,6 @@ |
| 160 | }; | 160 | }; |
| 161 | this.hcxlzData.bsms = this.bsms; | 161 | this.hcxlzData.bsms = this.bsms; |
| 162 | }, | 162 | }, |
| 163 | cancel() { | ||
| 164 | this.close(); | ||
| 165 | }, | ||
| 166 | save() { | 163 | save() { |
| 167 | if (this.hcxlzData.zrzbsm === '') { | 164 | if (this.hcxlzData.zrzbsm === '') { |
| 168 | Message.error("请选择自然幢"); | 165 | Message.error("请选择自然幢"); |
| ... | @@ -170,7 +167,14 @@ | ... | @@ -170,7 +167,14 @@ |
| 170 | } | 167 | } |
| 171 | hzl(this.hcxlzData).then(res => { | 168 | hzl(this.hcxlzData).then(res => { |
| 172 | if (res.success) { | 169 | if (res.success) { |
| 173 | this.close(); | 170 | this.$router.push({ |
| 171 | path:'zrz', | ||
| 172 | query: { | ||
| 173 | bsm:this.hcxlzData.zrzbsm, | ||
| 174 | source: 2, | ||
| 175 | auth: '0,1,2' | ||
| 176 | } | ||
| 177 | }) | ||
| 174 | } else { | 178 | } else { |
| 175 | Message.error(res.message) | 179 | Message.error(res.message) |
| 176 | } | 180 | } | ... | ... |
| ... | @@ -56,14 +56,15 @@ | ... | @@ -56,14 +56,15 @@ |
| 56 | <div class="table-bode"> | 56 | <div class="table-bode"> |
| 57 | <table border="1"> | 57 | <table border="1"> |
| 58 | <tr> | 58 | <tr> |
| 59 | <td>序号</td> | 59 | <th>序号</th> |
| 60 | <td>操作</td> | 60 | <th>操作</th> |
| 61 | <td>宗地代码</td> | 61 | <th>宗地代码</th> |
| 62 | <td>不动产单元号</td> | 62 | <th>不动产单元号</th> |
| 63 | <td>项目名称</td> | 63 | <th>项目名称</th> |
| 64 | <td>不动产权证号</td> | 64 | <th>不动产权证号</th> |
| 65 | <td>权利人</td> | 65 | <th>权利人</th> |
| 66 | <td>坐落</td> | 66 | <th>坐落</th> |
| 67 | <th>自然幢数量</th> | ||
| 67 | </tr> | 68 | </tr> |
| 68 | <tr v-if="Data.length===0"> | 69 | <tr v-if="Data.length===0"> |
| 69 | <td colspan="8"> | 70 | <td colspan="8"> |
| ... | @@ -81,6 +82,7 @@ | ... | @@ -81,6 +82,7 @@ |
| 81 | <td>{{item.bdcqzh}}</td> | 82 | <td>{{item.bdcqzh}}</td> |
| 82 | <td>{{item.qlrmc}}</td> | 83 | <td>{{item.qlrmc}}</td> |
| 83 | <td>{{item.zl}}</td> | 84 | <td>{{item.zl}}</td> |
| 85 | <td>{{item.zrzCount}}</td> | ||
| 84 | </tr> | 86 | </tr> |
| 85 | </table> | 87 | </table> |
| 86 | </div> | 88 | </div> |
| ... | @@ -167,7 +169,11 @@ | ... | @@ -167,7 +169,11 @@ |
| 167 | this.getData(this.queryData) | 169 | this.getData(this.queryData) |
| 168 | }, | 170 | }, |
| 169 | addData: function (val) { | 171 | addData: function (val) { |
| 170 | this.$emit("getData",val) | 172 | if (val.zrzCount < 1) { |
| 173 | this.$message.warning("当前宗地下没有自然幢,请重新选择") | ||
| 174 | return | ||
| 175 | } | ||
| 176 | this.$emit("getData",val); | ||
| 171 | }, | 177 | }, |
| 172 | isClose(flag){ | 178 | isClose(flag){ |
| 173 | 179 | ||
| ... | @@ -208,7 +214,9 @@ | ... | @@ -208,7 +214,9 @@ |
| 208 | background-color: #F5F7FA; | 214 | background-color: #F5F7FA; |
| 209 | } | 215 | } |
| 210 | } | 216 | } |
| 211 | 217 | th{ | |
| 218 | height: 36px; | ||
| 219 | } | ||
| 212 | td { | 220 | td { |
| 213 | text-align: center; | 221 | text-align: center; |
| 214 | height: 36px; | 222 | height: 36px; | ... | ... |
| ... | @@ -209,7 +209,10 @@ | ... | @@ -209,7 +209,10 @@ |
| 209 | let num = this.mjftData.list.length ? this.mjftData.list.length : 0 | 209 | let num = this.mjftData.list.length ? this.mjftData.list.length : 0 |
| 210 | self.mjftData.dzwdys = num | 210 | self.mjftData.dzwdys = num |
| 211 | return num; | 211 | return num; |
| 212 | } | 212 | }, |
| 213 | zdbsm() { | ||
| 214 | return this.$route.query.bsm; | ||
| 215 | }, | ||
| 213 | }, | 216 | }, |
| 214 | created() { | 217 | created() { |
| 215 | console.log("create init...") | 218 | console.log("create init...") |
| ... | @@ -239,6 +242,9 @@ | ... | @@ -239,6 +242,9 @@ |
| 239 | "$store.state.zddm": function (zddm) { | 242 | "$store.state.zddm": function (zddm) { |
| 240 | this.zddm = zddm | 243 | this.zddm = zddm |
| 241 | }, | 244 | }, |
| 245 | zdbsm: function (val) { | ||
| 246 | this.getData(val); | ||
| 247 | }, | ||
| 242 | } | 248 | } |
| 243 | } | 249 | } |
| 244 | </script> | 250 | </script> | ... | ... |
| ... | @@ -730,7 +730,7 @@ export default { | ... | @@ -730,7 +730,7 @@ export default { |
| 730 | this.rightClickFlag = this.isHb ? 'hb':'fg'; | 730 | this.rightClickFlag = this.isHb ? 'hb':'fg'; |
| 731 | if (this.fghbChoosedList.length>1) { | 731 | if (this.fghbChoosedList.length>1) { |
| 732 | //合并 | 732 | //合并 |
| 733 | this.lpbChVisible = true; | 733 | this.lpbChVisible = this.hbsmList.indexOf(this.chData.bsm) > -1 ? true : false; |
| 734 | //判断选中户可以执行的合并类型 | 734 | //判断选中户可以执行的合并类型 |
| 735 | let chIsSame = this.fghbChoosedList.every((item)=> { | 735 | let chIsSame = this.fghbChoosedList.every((item)=> { |
| 736 | return item.ch == this.fghbChoosedList[0].ch; | 736 | return item.ch == this.fghbChoosedList[0].ch; |
| ... | @@ -749,7 +749,7 @@ export default { | ... | @@ -749,7 +749,7 @@ export default { |
| 749 | }) | 749 | }) |
| 750 | }else{ | 750 | }else{ |
| 751 | //分割 | 751 | //分割 |
| 752 | this.lpbChVisible = true; | 752 | this.lpbChVisible = this.hbsmList.indexOf(this.chData.bsm) > -1 ? true : false; |
| 753 | this.fgData.oldbsm = item.bsm; | 753 | this.fgData.oldbsm = item.bsm; |
| 754 | console.log(item,'item'); | 754 | console.log(item,'item'); |
| 755 | //判断户的实际sjcs为1,只能水平分割 | 755 | //判断户的实际sjcs为1,只能水平分割 |
| ... | @@ -775,7 +775,7 @@ export default { | ... | @@ -775,7 +775,7 @@ export default { |
| 775 | break; | 775 | break; |
| 776 | case 'isCxlz': | 776 | case 'isCxlz': |
| 777 | this.rightClickFlag = 'cxlz'; | 777 | this.rightClickFlag = 'cxlz'; |
| 778 | this.lpbChVisible = true; | 778 | this.lpbChVisible = this.hbsmList.indexOf(this.chData.bsm) > -1 ? true : false; |
| 779 | break; | 779 | break; |
| 780 | case 'isLpb': | 780 | case 'isLpb': |
| 781 | this.rightClickFlag = type; | 781 | this.rightClickFlag = type; |
| ... | @@ -980,8 +980,8 @@ export default { | ... | @@ -980,8 +980,8 @@ export default { |
| 980 | }, | 980 | }, |
| 981 | //户重新落宗 | 981 | //户重新落宗 |
| 982 | handleCxlz(){ | 982 | handleCxlz(){ |
| 983 | if (this.hbsmList.length <= 0) { | 983 | if (this.hbsmList.indexOf(this.chData.bsm) == -1) { |
| 984 | this.hbsmList.push(this.chData); | 984 | this.hbsmList.push(this.chData.bsm); |
| 985 | } | 985 | } |
| 986 | this.hcxlzVisible = true | 986 | this.hcxlzVisible = true |
| 987 | }, | 987 | }, | ... | ... |
-
Please register or sign in to post a comment