Merge branch 'master' of http://yun.pashanhoo.com:9090/renchao/CadastralSystem
Showing
6 changed files
with
38 additions
and
12 deletions
| ... | @@ -767,7 +767,7 @@ export default { | ... | @@ -767,7 +767,7 @@ export default { |
| 767 | } | 767 | } |
| 768 | } | 768 | } |
| 769 | .qlxzModule { | 769 | .qlxzModule { |
| 770 | width: calc(100% - 101px); | 770 | width: calc(100% - 102px); |
| 771 | height: auto; | 771 | height: auto; |
| 772 | position: relative; | 772 | position: relative; |
| 773 | border-bottom: 1px solid #E6E6E6; | 773 | border-bottom: 1px solid #E6E6E6; | ... | ... |
| ... | @@ -47,7 +47,7 @@ | ... | @@ -47,7 +47,7 @@ |
| 47 | @changeDzVisible="changeDzVisible" | 47 | @changeDzVisible="changeDzVisible" |
| 48 | @changeGzwVisible="changeGzwVisible" | 48 | @changeGzwVisible="changeGzwVisible" |
| 49 | :list="item.children" | 49 | :list="item.children" |
| 50 | :visible="visible" | 50 | :visible="zrzVisible" |
| 51 | :size="size" | 51 | :size="size" |
| 52 | :islpb="islpb" | 52 | :islpb="islpb" |
| 53 | :formatData="formatData" | 53 | :formatData="formatData" |
| ... | @@ -55,7 +55,7 @@ | ... | @@ -55,7 +55,7 @@ |
| 55 | </div> | 55 | </div> |
| 56 | 56 | ||
| 57 | <ul | 57 | <ul |
| 58 | v-show="visible" | 58 | v-show="zrzVisible" |
| 59 | :style="{ left: left + 'px', top: top + 'px' }" | 59 | :style="{ left: left + 'px', top: top + 'px' }" |
| 60 | class="contextmenu" | 60 | class="contextmenu" |
| 61 | > | 61 | > |
| ... | @@ -169,6 +169,8 @@ export default { | ... | @@ -169,6 +169,8 @@ export default { |
| 169 | currentClickZdGeo:"", | 169 | currentClickZdGeo:"", |
| 170 | improtDialog:false, | 170 | improtDialog:false, |
| 171 | dialogVisible:false, | 171 | dialogVisible:false, |
| 172 | //控制自然幢右键菜单 | ||
| 173 | zrzVisible:false, | ||
| 172 | //控制楼盘表 | 174 | //控制楼盘表 |
| 173 | lpbvisible: false, | 175 | lpbvisible: false, |
| 174 | lpbtop: 0, | 176 | lpbtop: 0, |
| ... | @@ -210,6 +212,13 @@ export default { | ... | @@ -210,6 +212,13 @@ export default { |
| 210 | document.body.removeEventListener("click", this.closeMenu); | 212 | document.body.removeEventListener("click", this.closeMenu); |
| 211 | } | 213 | } |
| 212 | }, | 214 | }, |
| 215 | zrzVisible(value) { | ||
| 216 | if (value) { | ||
| 217 | document.body.addEventListener("click", this.closeMenu); | ||
| 218 | } else { | ||
| 219 | document.body.removeEventListener("click", this.closeMenu); | ||
| 220 | } | ||
| 221 | }, | ||
| 213 | 222 | ||
| 214 | // createVisible(value) { | 223 | // createVisible(value) { |
| 215 | // if (value) { | 224 | // if (value) { |
| ... | @@ -270,7 +279,10 @@ export default { | ... | @@ -270,7 +279,10 @@ export default { |
| 270 | }, | 279 | }, |
| 271 | // 改变菜单数据 | 280 | // 改变菜单数据 |
| 272 | changeVisible(data) { | 281 | changeVisible(data) { |
| 273 | this.visible = data; | 282 | this.zrzVisible = data; |
| 283 | this.lpbvisible = false; | ||
| 284 | this.dzVisible = false; | ||
| 285 | this.gzwVisible = false; | ||
| 274 | }, | 286 | }, |
| 275 | changeZdData(data) { | 287 | changeZdData(data) { |
| 276 | this.zdData = data; | 288 | this.zdData = data; |
| ... | @@ -289,6 +301,9 @@ export default { | ... | @@ -289,6 +301,9 @@ export default { |
| 289 | }, | 301 | }, |
| 290 | changeLpbVisible(data) { | 302 | changeLpbVisible(data) { |
| 291 | this.lpbvisible = data; | 303 | this.lpbvisible = data; |
| 304 | this.zrzVisible = false; | ||
| 305 | this.dzVisible = false; | ||
| 306 | this.gzwVisible = false; | ||
| 292 | }, | 307 | }, |
| 293 | changeCreateVisible(data){ | 308 | changeCreateVisible(data){ |
| 294 | this.createVisible = true; | 309 | this.createVisible = true; |
| ... | @@ -296,10 +311,16 @@ export default { | ... | @@ -296,10 +311,16 @@ export default { |
| 296 | //多幢 | 311 | //多幢 |
| 297 | changeDzVisible(data){ | 312 | changeDzVisible(data){ |
| 298 | this.dzVisible = data; | 313 | this.dzVisible = data; |
| 314 | this.zrzVisible = false; | ||
| 315 | this.lpbvisible = false; | ||
| 316 | this.gzwVisible = false; | ||
| 299 | }, | 317 | }, |
| 300 | //构筑物 | 318 | //构筑物 |
| 301 | changeGzwVisible(data){ | 319 | changeGzwVisible(data){ |
| 302 | this.gzwVisible = data; | 320 | this.gzwVisible = data; |
| 321 | this.zrzVisible = false; | ||
| 322 | this.lpbvisible = false; | ||
| 323 | this.dzVisible = false; | ||
| 303 | }, | 324 | }, |
| 304 | //添加定着物 | 325 | //添加定着物 |
| 305 | openCreateDialog(type){ | 326 | openCreateDialog(type){ |
| ... | @@ -397,6 +418,7 @@ export default { | ... | @@ -397,6 +418,7 @@ export default { |
| 397 | }, | 418 | }, |
| 398 | //关闭右键菜单 | 419 | //关闭右键菜单 |
| 399 | closeMenu(){ | 420 | closeMenu(){ |
| 421 | this.zrzVisible = false; | ||
| 400 | this.lpbvisible = false; | 422 | this.lpbvisible = false; |
| 401 | this.dzVisible = false; | 423 | this.dzVisible = false; |
| 402 | this.gzwVisible = false; | 424 | this.gzwVisible = false; | ... | ... |
| ... | @@ -58,17 +58,17 @@ | ... | @@ -58,17 +58,17 @@ |
| 58 | </div> | 58 | </div> |
| 59 | <div class="xlgz"> | 59 | <div class="xlgz"> |
| 60 | <span> | 60 | <span> |
| 61 | 样例1:10101 <span>(1单元01层01室)</span>([单元号][层号],勾选“层号自动补0”) | 61 | 样例1:1011 <span>(1单元01层01室)</span>([单元号][层号],勾选“层号自动补0”) |
| 62 | <br/> | 62 | <br/> |
| 63 | 样例2:11301室<span>(1单元13层01室)</span>([单元号][层号][室号后缀]) | 63 | 样例2:1131室<span>(1单元13层01室)</span>([单元号][层号][后缀]) |
| 64 | <br/> | 64 | <br/> |
| 65 | 样例3:101<span>(1层01室)</span>([层号]) | 65 | 样例3:11<span>(1层01室)</span>([层号]) |
| 66 | <br/> | 66 | <br/> |
| 67 | 样例4:1-101<span>(1单元-01层01室)</span>([单元号][层号][分隔符],勾选“层号之前增加分隔符”) | 67 | 样例4:1-101<span>(1单元-01层01室)</span>([单元号][分隔符A][层号],勾选“层号之前增加分隔符”) |
| 68 | <br/> | 68 | <br/> |
| 69 | 样例5:1-13-01<span>(1单元13层01室)</span>([单元号][层号][分隔符]) | 69 | 样例5:1-13-1<span>(1单元13层01室)</span>([单元号][分隔符A][层号][分隔符B]) |
| 70 | <br/> | 70 | <br/> |
| 71 | 样例6:1-01<span>(1单元13层01室)</span>([层号][分隔符],勾选“室号之前增加分隔符”) | 71 | 样例6:1-1<span>(1单元13层01室)</span>([单元号][分隔符],勾选“室号之前增加分隔符”) |
| 72 | </span> | 72 | </span> |
| 73 | </div> | 73 | </div> |
| 74 | </div> | 74 | </div> | ... | ... |
| ... | @@ -12,6 +12,7 @@ | ... | @@ -12,6 +12,7 @@ |
| 12 | action="/api/tx/excelGeo/import" | 12 | action="/api/tx/excelGeo/import" |
| 13 | :data="sxdrData" | 13 | :data="sxdrData" |
| 14 | :on-success="uploadSuccess" | 14 | :on-success="uploadSuccess" |
| 15 | :on-error="uploadError" | ||
| 15 | :show-file-list="false" | 16 | :show-file-list="false" |
| 16 | multiple | 17 | multiple |
| 17 | > | 18 | > |
| ... | @@ -135,7 +136,7 @@ | ... | @@ -135,7 +136,7 @@ |
| 135 | top: 18px; | 136 | top: 18px; |
| 136 | } | 137 | } |
| 137 | } | 138 | } |
| 138 | 139 | ||
| 139 | 140 | ||
| 140 | ul { | 141 | ul { |
| 141 | margin-top: 20px; | 142 | margin-top: 20px; | ... | ... |
| ... | @@ -534,7 +534,7 @@ | ... | @@ -534,7 +534,7 @@ |
| 534 | } | 534 | } |
| 535 | this.$nextTick(()=>{ | 535 | this.$nextTick(()=>{ |
| 536 | this.mainBoxWidth = this.$refs.mainBox.clientWidth; | 536 | this.mainBoxWidth = this.$refs.mainBox.clientWidth; |
| 537 | this.formHeight = (document.documentElement.clientHeight || document.body.clientHeight) - 300 | 537 | this.formHeight = (document.documentElement.clientHeight || document.body.clientHeight) - 230 |
| 538 | }) | 538 | }) |
| 539 | }, | 539 | }, |
| 540 | methods: { | 540 | methods: { | ... | ... |
-
Please register or sign in to post a comment