From 780f76a3e8dd68abe6b007006f85a76991ea2c54 Mon Sep 17 00:00:00 2001 From: fengxiang <110431245@qq.com> Date: Mon, 16 Apr 2018 13:40:28 +0800 Subject: [PATCH] Merge branch 'develop' of http://blit.7drlb.com:8888/r/screen-frontend into develop --- src/app/routes/reports/query/query.component.ts | 14 ++++++++++++++ 1 files changed, 14 insertions(+), 0 deletions(-) diff --git a/src/app/routes/reports/query/query.component.ts b/src/app/routes/reports/query/query.component.ts index 0a782de..6e81d40 100644 --- a/src/app/routes/reports/query/query.component.ts +++ b/src/app/routes/reports/query/query.component.ts @@ -693,9 +693,23 @@ public sensorTableFocus(index) { this.sensorTableFocusIndex = index; } + public sensorTableBlur(index) { this.sensorTableFocusIndex = -1; } + public sensorSelectVisible = false; + public treeMouseOverOccur = false; + public onTreeMouseOver(event) { + this.treeMouseOverOccur = true; + } + public onTreeMouseOut(event) { + this.treeMouseOverOccur = false; + setTimeout(() => { + if (!this.treeMouseOverOccur) { + this.sensorSelectVisible = false; + } + }, 900); + } } -- Gitblit v1.8.0