Browse Source

fix this issue (#8272)

calvin 3 years ago
parent
commit
83d08e013a

+ 4 - 3
dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/taskGroups/taskGroupQueue/index.vue

@@ -117,7 +117,6 @@
         this.searchParams.pageNo = 1
       },
       _ckQuery () {
-        console.log(this.groupId)
         this.searchParams.groupId = this.groupId
         this.searchParams.instanceName = this.instanceName
         this.searchParams.processName = this.processName
@@ -166,9 +165,11 @@
           this.taskGroupList = []
           this.taskGroupList = values.totalList
           if (this.taskGroupList) {
-            if (this.searchParams.id) {
-              this.groupId = _.parseInt(this.searchParams.id)
+            if (this.groupId) {
+              this.searchParams.groupId = _.parseInt(this.groupId)
+            } else {
               this.searchParams.groupId = _.parseInt(this.searchParams.id)
+              this.groupId = this.searchParams.groupId
             }
             this.getTaskListInTaskGroupQueueById(this.searchParams).then((res) => {
               if (this.searchParams.pageNo > 1 && values.totalList.length === 0) {

+ 1 - 0
dolphinscheduler-ui/src/js/module/i18n/locale/en_US.js

@@ -827,6 +827,7 @@ export default {
   'Task group queue the status of queuing': 'Queuing',
   'Task group queue the status of releasing': 'Released',
   'Modify task group queue priority': 'Edit the priority of the task group queue',
+  'Force to start task': 'Force to start the task',
   'Priority not empty': 'The value of priority can not be empty',
   'Priority must be number': 'The value of priority should be number',
   'Please select task name': 'Please select a task name',