户合并修改
Showing
1 changed file
with
4 additions
and
3 deletions
... | @@ -628,6 +628,7 @@ export default { | ... | @@ -628,6 +628,7 @@ export default { |
628 | // 开启延时器,200ms的间隔区分单击和双击,解决双击时执行两次单击事件 | 628 | // 开启延时器,200ms的间隔区分单击和双击,解决双击时执行两次单击事件 |
629 | clearTimeout(self.time); | 629 | clearTimeout(self.time); |
630 | self.time = setTimeout(() => { | 630 | self.time = setTimeout(() => { |
631 | this.closeMenu() | ||
631 | //判断点击的户是否选中 | 632 | //判断点击的户是否选中 |
632 | if (e.className.indexOf("tdSelect") == -1) { | 633 | if (e.className.indexOf("tdSelect") == -1) { |
633 | //未选中→选中 | 634 | //未选中→选中 |
... | @@ -636,7 +637,7 @@ export default { | ... | @@ -636,7 +637,7 @@ export default { |
636 | this.hqsztList.push(hs.qszt); // 将户qszt放进hqsztList | 637 | this.hqsztList.push(hs.qszt); // 将户qszt放进hqsztList |
637 | switch (this.lpbParent) { | 638 | switch (this.lpbParent) { |
638 | case 'isHbfg': | 639 | case 'isHbfg': |
639 | this.fghbChoosedList.push(hs); | 640 | self.fghbChoosedList.push(hs); |
640 | break; | 641 | break; |
641 | case 'isFwsxbg': | 642 | case 'isFwsxbg': |
642 | 643 | ||
... | @@ -657,7 +658,7 @@ export default { | ... | @@ -657,7 +658,7 @@ export default { |
657 | e.className = ""; | 658 | e.className = ""; |
658 | switch (this.lpbParent) { | 659 | switch (this.lpbParent) { |
659 | case 'isHbfg': | 660 | case 'isHbfg': |
660 | 661 | self.fghbChoosedList = self.fghbChoosedList.filter(i=>i!=hs) | |
661 | break; | 662 | break; |
662 | case 'isFwsxbg': | 663 | case 'isFwsxbg': |
663 | 664 | ||
... | @@ -676,7 +677,7 @@ export default { | ... | @@ -676,7 +677,7 @@ export default { |
676 | break; | 677 | break; |
677 | } | 678 | } |
678 | } | 679 | } |
679 | }, 200); | 680 | }, 100); |
680 | }, | 681 | }, |
681 | //户双击事件 | 682 | //户双击事件 |
682 | dbclick(bsm) { | 683 | dbclick(bsm) { | ... | ... |
-
Please register or sign in to post a comment