@@ -285,9 +315,9 @@ export default defineComponent({
{t(this.timeI18n!.to)}
diff --git a/dolphinscheduler-ui/src/components/crontab/types.ts b/dolphinscheduler-ui/src/components/crontab/types.ts
index 77d28676d5..99177ceadd 100644
--- a/dolphinscheduler-ui/src/components/crontab/types.ts
+++ b/dolphinscheduler-ui/src/components/crontab/types.ts
@@ -27,4 +27,11 @@ interface ICrontabI18n {
time: string
}
-export { ICrontabI18n }
+interface ISpecialSelect {
+ [key: number | string]: {
+ label: string
+ value: string
+ }[]
+}
+
+export { ICrontabI18n, ISpecialSelect }
diff --git a/dolphinscheduler-ui/src/locales/en_US/project.ts b/dolphinscheduler-ui/src/locales/en_US/project.ts
index 7d5068d081..7b1b58d87b 100644
--- a/dolphinscheduler-ui/src/locales/en_US/project.ts
+++ b/dolphinscheduler-ui/src/locales/en_US/project.ts
@@ -43,6 +43,7 @@ export default {
create_workflow: 'Create Workflow',
import_workflow: 'Import Workflow',
workflow_name: 'Workflow Name',
+ workflow_instance_name: 'Workflow Instance Name',
current_selection: 'Current Selection',
online: 'Online',
offline: 'Offline',
diff --git a/dolphinscheduler-ui/src/locales/zh_CN/project.ts b/dolphinscheduler-ui/src/locales/zh_CN/project.ts
index ae2d4c80d4..9b8b42d0a6 100644
--- a/dolphinscheduler-ui/src/locales/zh_CN/project.ts
+++ b/dolphinscheduler-ui/src/locales/zh_CN/project.ts
@@ -43,6 +43,7 @@ export default {
create_workflow: '创建工作流',
import_workflow: '导入工作流',
workflow_name: '工作流名称',
+ workflow_instance_name: '工作流实例名称',
current_selection: '当前选择',
online: '已上线',
offline: '已下线',
diff --git a/dolphinscheduler-ui/src/views/datasource/list/detail.tsx b/dolphinscheduler-ui/src/views/datasource/list/detail.tsx
index cd521e3e54..68b793c7ed 100644
--- a/dolphinscheduler-ui/src/views/datasource/list/detail.tsx
+++ b/dolphinscheduler-ui/src/views/datasource/list/detail.tsx
@@ -87,13 +87,13 @@ const DetailModal = defineComponent({
watch(
() => props.show,
async () => {
- props.show && props.id && setFieldsValue(await queryById(props.id))
props.show &&
state.detailForm.type &&
- changeType(
+ await changeType(
state.detailForm.type,
datasourceType[state.detailForm.type]
)
+ props.show && props.id && setFieldsValue(await queryById(props.id))
}
)
diff --git a/dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-sql.ts b/dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-sql.ts
index 602f3d6790..46e489d40e 100644
--- a/dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-sql.ts
+++ b/dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-sql.ts
@@ -43,6 +43,9 @@ export function useSql(model: { [field: string]: any }): IJsonItem[] {
trigger: ['input', 'trigger'],
required: true,
message: t('project.node.sql_empty_tips')
+ },
+ props: {
+ language: 'sql'
}
},
useUdfs(model),
diff --git a/dolphinscheduler-ui/src/views/projects/workflow/components/dag/dag-context-menu.tsx b/dolphinscheduler-ui/src/views/projects/workflow/components/dag/dag-context-menu.tsx
index 74b8317b88..87161c3d27 100644
--- a/dolphinscheduler-ui/src/views/projects/workflow/components/dag/dag-context-menu.tsx
+++ b/dolphinscheduler-ui/src/views/projects/workflow/components/dag/dag-context-menu.tsx
@@ -26,6 +26,10 @@ import { IWorkflowTaskInstance } from './types'
import { NButton } from 'naive-ui'
const props = {
+ startButtonDisplay: {
+ type: Boolean as PropType,
+ default: true
+ },
startReadonly: {
type: Boolean as PropType,
default: false
@@ -127,13 +131,15 @@ export default defineComponent({
class={styles['dag-context-menu']}
style={{ left: `${this.left}px`, top: `${this.top}px` }}
>
-
+ {this.startButtonDisplay && (
+ )
+ }