feat(fg,hb):删除不用代码,调整样式
Showing
2 changed files
with
3 additions
and
199 deletions
| ... | @@ -171,48 +171,6 @@ | ... | @@ -171,48 +171,6 @@ |
| 171 | </tr> | 171 | </tr> |
| 172 | </table> | 172 | </table> |
| 173 | </div> | 173 | </div> |
| 174 | |||
| 175 | <el-dialog | ||
| 176 | v-if="zdFghData.newZdlist.length>0" | ||
| 177 | title="提示" | ||
| 178 | :visible.sync="isopenXz" | ||
| 179 | width="50%" | ||
| 180 | :modal-append-to-body="false" | ||
| 181 | center> | ||
| 182 | <div class="xz-container"> | ||
| 183 | <div class="xz-main"> | ||
| 184 | <table border="1"> | ||
| 185 | <tr> | ||
| 186 | <td>幢类型</td> | ||
| 187 | <td>幢信息</td> | ||
| 188 | </tr> | ||
| 189 | <tr v-for="(item,index) in zdFghData.newZdlist[selectIndex].fwlist" :key="index"> | ||
| 190 | <td> | ||
| 191 | <el-select v-model="item.ztype" | ||
| 192 | > | ||
| 193 | <el-option | ||
| 194 | v-for="i in ztypes" | ||
| 195 | :key="i.value" | ||
| 196 | :label="i.label" | ||
| 197 | :value="i.value" | ||
| 198 | ></el-option> | ||
| 199 | </el-select> | ||
| 200 | </td> | ||
| 201 | <td> | ||
| 202 | <input type="text" class="formInput" | ||
| 203 | v-model="item.zbsm"/> | ||
| 204 | </td> | ||
| 205 | </tr> | ||
| 206 | </table> | ||
| 207 | </div> | ||
| 208 | <div class="xz-sidebar"> | ||
| 209 | <el-tree :data="zrzData" :props="defaultProps" @node-click="handleNodeClick" | ||
| 210 | node-key="id" | ||
| 211 | :default-expand-all="true"></el-tree> | ||
| 212 | </div> | ||
| 213 | </div> | ||
| 214 | </el-dialog> | ||
| 215 | |||
| 216 | <zd-query-data @getData="getData" :centerDialogVisible.sync="centerDialogVisible" :isZdClose="true" | 174 | <zd-query-data @getData="getData" :centerDialogVisible.sync="centerDialogVisible" :isZdClose="true" |
| 217 | @close="close"></zd-query-data> | 175 | @close="close"></zd-query-data> |
| 218 | <div class="header-button" :style="{width:fgBoxWidth+'px'}"> | 176 | <div class="header-button" :style="{width:fgBoxWidth+'px'}"> |
| ... | @@ -333,7 +291,6 @@ | ... | @@ -333,7 +291,6 @@ |
| 333 | <input type="text" v-model="item.xmmc" class="formInput"/> | 291 | <input type="text" v-model="item.xmmc" class="formInput"/> |
| 334 | </td> | 292 | </td> |
| 335 | <td class="zxx"> | 293 | <td class="zxx"> |
| 336 | <!-- {{item.fwlist.zbsm}}--> | ||
| 337 | <span @click="xzzrz(index)" class="xz">选择</span> | 294 | <span @click="xzzrz(index)" class="xz">选择</span> |
| 338 | </td> | 295 | </td> |
| 339 | </tr> | 296 | </tr> |
| ... | @@ -356,47 +313,6 @@ | ... | @@ -356,47 +313,6 @@ |
| 356 | </tr> | 313 | </tr> |
| 357 | </table> | 314 | </table> |
| 358 | </div> | 315 | </div> |
| 359 | |||
| 360 | <el-dialog | ||
| 361 | v-if="zdFghData.newZdlist.length>0" | ||
| 362 | title="提示" | ||
| 363 | :visible.sync="isopenXz" | ||
| 364 | :modal-append-to-body="false" | ||
| 365 | width="50%" | ||
| 366 | center> | ||
| 367 | <div class="xz-container"> | ||
| 368 | <div class="xz-main"> | ||
| 369 | <table border="1"> | ||
| 370 | <tr> | ||
| 371 | <td>幢类型</td> | ||
| 372 | <td>幢信息</td> | ||
| 373 | </tr> | ||
| 374 | <tr v-for="(item,index) in zdFghData.newZdlist[selectIndex].fwlist" :key="index"> | ||
| 375 | <td> | ||
| 376 | <el-select v-model="item.ztype" | ||
| 377 | > | ||
| 378 | <el-option | ||
| 379 | v-for="i in ztypes" | ||
| 380 | :key="i.value" | ||
| 381 | :label="i.label" | ||
| 382 | :value="i.value" | ||
| 383 | ></el-option> | ||
| 384 | </el-select> | ||
| 385 | </td> | ||
| 386 | <td> | ||
| 387 | <input type="text" class="formInput" | ||
| 388 | v-model="item.zbsm"/> | ||
| 389 | </td> | ||
| 390 | </tr> | ||
| 391 | </table> | ||
| 392 | </div> | ||
| 393 | <div class="xz-sidebar"> | ||
| 394 | <el-tree :data="zrzData" :props="defaultProps" @node-click="handleNodeClick" | ||
| 395 | :default-expand-all="true"></el-tree> | ||
| 396 | </div> | ||
| 397 | </div> | ||
| 398 | </el-dialog> | ||
| 399 | |||
| 400 | <query-data @getData="getData" :centerDialogVisible.sync="centerDialogVisible" :dylxs="['dz']" | 316 | <query-data @getData="getData" :centerDialogVisible.sync="centerDialogVisible" :dylxs="['dz']" |
| 401 | :isZdClose="true" | 317 | :isZdClose="true" |
| 402 | @close="close"></query-data> | 318 | @close="close"></query-data> |
| ... | @@ -542,50 +458,8 @@ | ... | @@ -542,50 +458,8 @@ |
| 542 | </tr> | 458 | </tr> |
| 543 | </table> | 459 | </table> |
| 544 | </div> | 460 | </div> |
| 545 | |||
| 546 | <el-dialog | ||
| 547 | v-if="zdFghData.newZdlist.length>0" | ||
| 548 | title="提示" | ||
| 549 | :visible.sync="isopenXz" | ||
| 550 | :modal-append-to-body="false" | ||
| 551 | width="50%" | ||
| 552 | > | ||
| 553 | <div class="xz-container"> | ||
| 554 | <div class="xz-main"> | ||
| 555 | <table border="1"> | ||
| 556 | <tr> | ||
| 557 | <td>幢类型</td> | ||
| 558 | <td>幢信息</td> | ||
| 559 | </tr> | ||
| 560 | <tr v-for="(item,index) in zdFghData.newZdlist[selectIndex].fwlist" :key="index"> | ||
| 561 | <td> | ||
| 562 | <el-select v-model="item.ztype" | ||
| 563 | > | ||
| 564 | <el-option | ||
| 565 | v-for="i in ztypes" | ||
| 566 | :key="i.value" | ||
| 567 | :label="i.label" | ||
| 568 | :value="i.value" | ||
| 569 | ></el-option> | ||
| 570 | </el-select> | ||
| 571 | </td> | ||
| 572 | <td> | ||
| 573 | <input type="text" class="formInput" | ||
| 574 | v-model="item.zbsm"/> | ||
| 575 | </td> | ||
| 576 | </tr> | ||
| 577 | </table> | ||
| 578 | </div> | ||
| 579 | <div class="xz-sidebar"> | ||
| 580 | <el-tree :data="zrzData" :props="defaultProps" @node-click="handleNodeClick" | ||
| 581 | :default-expand-all="true"></el-tree> | ||
| 582 | </div> | ||
| 583 | </div> | ||
| 584 | </el-dialog> | ||
| 585 | |||
| 586 | <query-data @getData="getData" :centerDialogVisible.sync="centerDialogVisible" :dylxs="['h']" | 461 | <query-data @getData="getData" :centerDialogVisible.sync="centerDialogVisible" :dylxs="['h']" |
| 587 | :isZdClose="true" | 462 | :isZdClose="true" @close="close"></query-data> |
| 588 | @close="close"></query-data> | ||
| 589 | <div class="header-button" :style="{width:fgBoxWidth+'px'}"> | 463 | <div class="header-button" :style="{width:fgBoxWidth+'px'}"> |
| 590 | <el-button type="primary" class="saveBtn" @click="save">保存</el-button> | 464 | <el-button type="primary" class="saveBtn" @click="save">保存</el-button> |
| 591 | </div> | 465 | </div> |
| ... | @@ -616,9 +490,7 @@ | ... | @@ -616,9 +490,7 @@ |
| 616 | data() { | 490 | data() { |
| 617 | return { | 491 | return { |
| 618 | tabName: 'zd', | 492 | tabName: 'zd', |
| 619 | isopenXz: false, | ||
| 620 | centerDialogVisible: false, | 493 | centerDialogVisible: false, |
| 621 | selectIndex: 0,// 当前选中序号 | ||
| 622 | zdFgqData: {}, // 宗地分割前数据 | 494 | zdFgqData: {}, // 宗地分割前数据 |
| 623 | dzFgqData: {}, //多幢分割前数据 | 495 | dzFgqData: {}, //多幢分割前数据 |
| 624 | hFgqData: {}, // 户分割前数据 | 496 | hFgqData: {}, // 户分割前数据 |
| ... | @@ -637,50 +509,6 @@ | ... | @@ -637,50 +509,6 @@ |
| 637 | children: 'children', | 509 | children: 'children', |
| 638 | label: 'label' | 510 | label: 'label' |
| 639 | }, | 511 | }, |
| 640 | zrzData: [{ | ||
| 641 | id: 1, | ||
| 642 | label: '一级 1', | ||
| 643 | children: [{ | ||
| 644 | id: 4, | ||
| 645 | label: '二级 1-1', | ||
| 646 | children: [{ | ||
| 647 | id: 9, | ||
| 648 | label: '三级 1-1-1' | ||
| 649 | }, { | ||
| 650 | id: 10, | ||
| 651 | label: '三级 1-1-2' | ||
| 652 | }] | ||
| 653 | }] | ||
| 654 | }, { | ||
| 655 | id: 2, | ||
| 656 | label: '一级 2', | ||
| 657 | children: [{ | ||
| 658 | id: 5, | ||
| 659 | label: '二级 2-1' | ||
| 660 | }, { | ||
| 661 | id: 6, | ||
| 662 | label: '二级 2-2' | ||
| 663 | }] | ||
| 664 | }, { | ||
| 665 | id: 3, | ||
| 666 | label: '一级 3', | ||
| 667 | children: [{ | ||
| 668 | id: 7, | ||
| 669 | label: '二级 3-1' | ||
| 670 | }, { | ||
| 671 | id: 8, | ||
| 672 | label: '二级 3-2' | ||
| 673 | }] | ||
| 674 | }], | ||
| 675 | ztypes: [ | ||
| 676 | { | ||
| 677 | label: '多幢', | ||
| 678 | value: '多幢' | ||
| 679 | }, { | ||
| 680 | label: '自然幢', | ||
| 681 | value: '自然幢' | ||
| 682 | } | ||
| 683 | ], | ||
| 684 | syq: [ | 512 | syq: [ |
| 685 | { | 513 | { |
| 686 | label: "国家所有", | 514 | label: "国家所有", |
| ... | @@ -801,28 +629,6 @@ | ... | @@ -801,28 +629,6 @@ |
| 801 | } | 629 | } |
| 802 | ); | 630 | ); |
| 803 | }, | 631 | }, |
| 804 | /** | ||
| 805 | * 删除节点 | ||
| 806 | * | ||
| 807 | */ | ||
| 808 | delNode(node, data) { | ||
| 809 | |||
| 810 | }, | ||
| 811 | /** | ||
| 812 | * 添加节点 | ||
| 813 | * | ||
| 814 | */ | ||
| 815 | addNode(data) { | ||
| 816 | |||
| 817 | }, | ||
| 818 | /** | ||
| 819 | * 选择幢信息 | ||
| 820 | * @param index 当前选中行 | ||
| 821 | */ | ||
| 822 | xzzrz(index) { | ||
| 823 | this.isopenXz = true | ||
| 824 | this.selectIndex = index | ||
| 825 | }, | ||
| 826 | save() { | 632 | save() { |
| 827 | switch (this.tabName) { | 633 | switch (this.tabName) { |
| 828 | case "zd": | 634 | case "zd": |
| ... | @@ -1070,7 +876,6 @@ | ... | @@ -1070,7 +876,6 @@ |
| 1070 | hFgqData: { | 876 | hFgqData: { |
| 1071 | handler: function (item) { | 877 | handler: function (item) { |
| 1072 | this.hFgqData.oldZdbsm = item.glbsm; | 878 | this.hFgqData.oldZdbsm = item.glbsm; |
| 1073 | console.log(item.glbsm, "户bsm") | ||
| 1074 | this.getHZdxx(item.glbsm); | 879 | this.getHZdxx(item.glbsm); |
| 1075 | }, | 880 | }, |
| 1076 | deep: true | 881 | deep: true |
| ... | @@ -1146,8 +951,9 @@ | ... | @@ -1146,8 +951,9 @@ |
| 1146 | li { | 951 | li { |
| 1147 | padding: 5px; | 952 | padding: 5px; |
| 1148 | line-height: 20px; | 953 | line-height: 20px; |
| 954 | color: #BBB; | ||
| 1149 | span{ | 955 | span{ |
| 1150 | 956 | color: #000; | |
| 1151 | } | 957 | } |
| 1152 | } | 958 | } |
| 1153 | } | 959 | } | ... | ... |
| ... | @@ -557,8 +557,6 @@ | ... | @@ -557,8 +557,6 @@ |
| 557 | this.centerDialogVisible = true; | 557 | this.centerDialogVisible = true; |
| 558 | }, | 558 | }, |
| 559 | getData: function (data) { | 559 | getData: function (data) { |
| 560 | console.log(data,'data') | ||
| 561 | console.log(this.zdhbqData,'宗地合并前数据') | ||
| 562 | let arr=[]; | 560 | let arr=[]; |
| 563 | switch (this.tabName) { | 561 | switch (this.tabName) { |
| 564 | case "zd": | 562 | case "zd": | ... | ... |
-
Please register or sign in to post a comment