From b6761b029902b24c774d3c421f0e8118b1841ea9 Mon Sep 17 00:00:00 2001 From: break60 <790061044@qq.com> Date: Tue, 29 Sep 2020 15:03:44 +0800 Subject: [PATCH] [fixBug-3621][ui]Select the batch checkbox to unfilter the instances in the executing state --- .../projects/pages/instance/pages/list/_source/list.vue | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/instance/pages/list/_source/list.vue b/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/instance/pages/list/_source/list.vue index 8f5972a287..a8ca0686b4 100644 --- a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/instance/pages/list/_source/list.vue +++ b/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/instance/pages/list/_source/list.vue @@ -520,10 +520,9 @@ _gantt (item) { this.$router.push({ path: `/projects/instance/gantt/${item.id}` }) }, + _topCheckBoxClick (v) { - this.list.forEach((item, i) => { - this.$set(this.list[i], 'isCheck', v) - }) + _.map(this.list , v => v.isCheck = v.state === 'RUNNING_EXEUTION' ? false : true) this._arrDelChange() }, _arrDelChange (v) {