8a97608e by 杨威

户合并修改

1 parent 51217231
......@@ -628,6 +628,7 @@ export default {
// 开启延时器,200ms的间隔区分单击和双击,解决双击时执行两次单击事件
clearTimeout(self.time);
self.time = setTimeout(() => {
this.closeMenu()
//判断点击的户是否选中
if (e.className.indexOf("tdSelect") == -1) {
//未选中→选中
......@@ -636,7 +637,7 @@ export default {
this.hqsztList.push(hs.qszt); // 将户qszt放进hqsztList
switch (this.lpbParent) {
case 'isHbfg':
this.fghbChoosedList.push(hs);
self.fghbChoosedList.push(hs);
break;
case 'isFwsxbg':
......@@ -657,7 +658,7 @@ export default {
e.className = "";
switch (this.lpbParent) {
case 'isHbfg':
self.fghbChoosedList = self.fghbChoosedList.filter(i=>i!=hs)
break;
case 'isFwsxbg':
......@@ -676,7 +677,7 @@ export default {
break;
}
}
}, 200);
}, 100);
},
//户双击事件
dbclick(bsm) {
......