From aec5e880e43752e005df024eec90f6f3777e4bb1 Mon Sep 17 00:00:00 2001 From: yixian Date: Tue, 14 Jul 2020 11:31:25 +1000 Subject: [PATCH] fix ui bugs --- src/main/ui/static/analysis/settle_tasks.js | 4 +++- .../static/analysis/templates/settle_tasks_index.html | 11 ++++++++--- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/src/main/ui/static/analysis/settle_tasks.js b/src/main/ui/static/analysis/settle_tasks.js index 8e8331011..5afc610bf 100644 --- a/src/main/ui/static/analysis/settle_tasks.js +++ b/src/main/ui/static/analysis/settle_tasks.js @@ -104,7 +104,9 @@ define(['angular', 'uiBootstrap', 'uiRouter'], function (angular) { task.idle = true; task.processing = false; task.processed = false; - $scope.editingTask = task; + if (!task.plan) { + $scope.editingTask = task; + } $scope.currentTasks.push(task); }) }; diff --git a/src/main/ui/static/analysis/templates/settle_tasks_index.html b/src/main/ui/static/analysis/templates/settle_tasks_index.html index 4974aaaa0..5cb6f4883 100644 --- a/src/main/ui/static/analysis/templates/settle_tasks_index.html +++ b/src/main/ui/static/analysis/templates/settle_tasks_index.html @@ -81,10 +81,15 @@
Editing Task:{{editingTask.remark}}
-
- -
+
+
+ +
+
+
+
+