You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by ca...@apache.org on 2022/01/18 11:40:37 UTC

[dolphinscheduler] branch 2.0.3-prepare updated: [cherry-pick-2.0.3][Feature][Dag] Number of failed retries and failed retry interval use input component (#8106)

This is an automated email from the ASF dual-hosted git repository.

caishunfeng pushed a commit to branch 2.0.3-prepare
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git


The following commit(s) were added to refs/heads/2.0.3-prepare by this push:
     new 8e9b4a9  [cherry-pick-2.0.3][Feature][Dag] Number of failed retries and failed retry interval use input component (#8106)
8e9b4a9 is described below

commit 8e9b4a9821ff4e396d9264810290934302b5f31f
Author: wind <ca...@users.noreply.github.com>
AuthorDate: Tue Jan 18 19:40:34 2022 +0800

    [cherry-pick-2.0.3][Feature][Dag] Number of failed retries and failed retry interval use input component (#8106)
    
    * [Feature][Dag] Number of failed retries and failed retry interval use input component. (#8104)
    
    * delayTime
    
    Co-authored-by: songjianet <17...@qq.com>
    Co-authored-by: caishunfeng <53...@qq.com>
---
 .../home/pages/dag/_source/formModel/formModel.vue    | 19 +++++--------------
 1 file changed, 5 insertions(+), 14 deletions(-)

diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/formModel.vue b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/formModel.vue
index 8e6ac0d..39854de 100644
--- a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/formModel.vue
+++ b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/formModel.vue
@@ -128,16 +128,10 @@
         <m-list-box v-if="nodeData.taskType !== 'SUB_PROCESS'">
           <div slot="text">{{ $t("Number of failed retries") }}</div>
           <div slot="content">
-            <m-select-input
-              v-model="maxRetryTimes"
-              :list="[]"
-            ></m-select-input>
+            <el-input v-model.number="maxRetryTimes" size="small" style="width: 150px;" />
             <span>({{ $t("Times") }})</span>
             <span class="text-b">{{ $t("Failed retry interval") }}</span>
-            <m-select-input
-              v-model="retryInterval"
-              :list="[]"
-            ></m-select-input>
+            <el-input v-model.number="retryInterval" size="small" style="width: 150px;" />
             <span>({{ $t("Minute") }})</span>
           </div>
         </m-list-box>
@@ -153,10 +147,7 @@
         >
           <div slot="text">{{ $t("Delay execution time") }}</div>
           <div slot="content">
-            <m-select-input
-              v-model="delayTime"
-              :list="[]"
-            ></m-select-input>
+            <el-input v-model.number="delayTime" size="small" style="width: 150px;" />
             <span>({{ $t("Minute") }})</span>
           </div>
         </m-list-box>
@@ -442,7 +433,7 @@
   import mSwitch from './tasks/switch.vue'
   import mSqoop from './tasks/sqoop'
   import mSubProcess from './tasks/sub_process'
-  import mSelectInput from './_source/selectInput'
+  // import mSelectInput from './_source/selectInput'
   import mTimeoutAlarm from './_source/timeoutAlarm'
   import mDependentTimeout from './_source/dependentTimeout'
   import mWorkerGroups from './_source/workerGroups'
@@ -986,7 +977,7 @@
       mSqoop,
       mConditions,
       mSwitch,
-      mSelectInput,
+      /// mSelectInput,
       mTimeoutAlarm,
       mDependentTimeout,
       mPriority,