Browse Source

[Fix-11877][UI] Fix the problem that the environment cannot be deleted on the UI of some tasks (#11878)

3.2.0-release
rickchengx 2 years ago committed by GitHub
parent
commit
120d8f696d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      dolphinscheduler-ui/src/views/projects/task/components/node/tasks/use-chunjun.ts
  2. 2
      dolphinscheduler-ui/src/views/projects/task/components/node/tasks/use-datax.ts
  3. 2
      dolphinscheduler-ui/src/views/projects/task/components/node/tasks/use-dinky.ts
  4. 2
      dolphinscheduler-ui/src/views/projects/task/components/node/tasks/use-dvc.ts
  5. 2
      dolphinscheduler-ui/src/views/projects/task/components/node/tasks/use-emr.ts
  6. 2
      dolphinscheduler-ui/src/views/projects/task/components/node/tasks/use-hive-cli.ts
  7. 2
      dolphinscheduler-ui/src/views/projects/task/components/node/tasks/use-java.ts
  8. 2
      dolphinscheduler-ui/src/views/projects/task/components/node/tasks/use-jupyter.ts
  9. 2
      dolphinscheduler-ui/src/views/projects/task/components/node/tasks/use-k8s.ts
  10. 2
      dolphinscheduler-ui/src/views/projects/task/components/node/tasks/use-mlflow.ts
  11. 2
      dolphinscheduler-ui/src/views/projects/task/components/node/tasks/use-openmldb.ts
  12. 2
      dolphinscheduler-ui/src/views/projects/task/components/node/tasks/use-procedure.ts
  13. 2
      dolphinscheduler-ui/src/views/projects/task/components/node/tasks/use-python.ts
  14. 2
      dolphinscheduler-ui/src/views/projects/task/components/node/tasks/use-pytorch.ts
  15. 2
      dolphinscheduler-ui/src/views/projects/task/components/node/tasks/use-sagemaker.ts
  16. 2
      dolphinscheduler-ui/src/views/projects/task/components/node/tasks/use-sea-tunnel.ts
  17. 2
      dolphinscheduler-ui/src/views/projects/task/components/node/tasks/use-sql.ts
  18. 2
      dolphinscheduler-ui/src/views/projects/task/components/node/tasks/use-zeppelin.ts

2
dolphinscheduler-ui/src/views/projects/task/components/node/tasks/use-chunjun.ts

@ -59,7 +59,7 @@ export function useChunjun({
Fields.useDescription(), Fields.useDescription(),
Fields.useTaskPriority(), Fields.useTaskPriority(),
Fields.useWorkerGroup(), Fields.useWorkerGroup(),
Fields.useEnvironmentName(model, !model.id), Fields.useEnvironmentName(model, !data?.id),
...Fields.useTaskGroup(model, projectCode), ...Fields.useTaskGroup(model, projectCode),
...Fields.useFailed(), ...Fields.useFailed(),
Fields.useDelayTime(model), Fields.useDelayTime(model),

2
dolphinscheduler-ui/src/views/projects/task/components/node/tasks/use-datax.ts

@ -62,7 +62,7 @@ export function useDataX({
Fields.useDescription(), Fields.useDescription(),
Fields.useTaskPriority(), Fields.useTaskPriority(),
Fields.useWorkerGroup(), Fields.useWorkerGroup(),
Fields.useEnvironmentName(model, !model.id), Fields.useEnvironmentName(model, !data?.id),
...Fields.useTaskGroup(model, projectCode), ...Fields.useTaskGroup(model, projectCode),
...Fields.useFailed(), ...Fields.useFailed(),
...Fields.useResourceLimit(), ...Fields.useResourceLimit(),

2
dolphinscheduler-ui/src/views/projects/task/components/node/tasks/use-dinky.ts

@ -54,7 +54,7 @@ export function useDinky({
Fields.useDescription(), Fields.useDescription(),
Fields.useTaskPriority(), Fields.useTaskPriority(),
Fields.useWorkerGroup(), Fields.useWorkerGroup(),
Fields.useEnvironmentName(model, !model.id), Fields.useEnvironmentName(model, !data?.id),
...Fields.useTaskGroup(model, projectCode), ...Fields.useTaskGroup(model, projectCode),
...Fields.useFailed(), ...Fields.useFailed(),
Fields.useDelayTime(model), Fields.useDelayTime(model),

2
dolphinscheduler-ui/src/views/projects/task/components/node/tasks/use-dvc.ts

@ -55,7 +55,7 @@ export function useDvc({
Fields.useDescription(), Fields.useDescription(),
Fields.useTaskPriority(), Fields.useTaskPriority(),
Fields.useWorkerGroup(), Fields.useWorkerGroup(),
Fields.useEnvironmentName(model, !model.id), Fields.useEnvironmentName(model, !data?.id),
...Fields.useTaskGroup(model, projectCode), ...Fields.useTaskGroup(model, projectCode),
...Fields.useFailed(), ...Fields.useFailed(),
Fields.useDelayTime(model), Fields.useDelayTime(model),

2
dolphinscheduler-ui/src/views/projects/task/components/node/tasks/use-emr.ts

@ -56,7 +56,7 @@ export function useEmr({
Fields.useDescription(), Fields.useDescription(),
Fields.useTaskPriority(), Fields.useTaskPriority(),
Fields.useWorkerGroup(), Fields.useWorkerGroup(),
Fields.useEnvironmentName(model, !model.id), Fields.useEnvironmentName(model, !data?.id),
...Fields.useTaskGroup(model, projectCode), ...Fields.useTaskGroup(model, projectCode),
...Fields.useFailed(), ...Fields.useFailed(),
Fields.useDelayTime(model), Fields.useDelayTime(model),

2
dolphinscheduler-ui/src/views/projects/task/components/node/tasks/use-hive-cli.ts

@ -67,7 +67,7 @@ export function useHiveCli({
Fields.useDescription(), Fields.useDescription(),
Fields.useTaskPriority(), Fields.useTaskPriority(),
Fields.useWorkerGroup(), Fields.useWorkerGroup(),
Fields.useEnvironmentName(model, !model.id), Fields.useEnvironmentName(model, !data?.id),
...Fields.useTaskGroup(model, projectCode), ...Fields.useTaskGroup(model, projectCode),
...Fields.useFailed(), ...Fields.useFailed(),
Fields.useDelayTime(model), Fields.useDelayTime(model),

2
dolphinscheduler-ui/src/views/projects/task/components/node/tasks/use-java.ts

@ -76,7 +76,7 @@ export function useJava({
Fields.useDescription(), Fields.useDescription(),
Fields.useTaskPriority(), Fields.useTaskPriority(),
Fields.useWorkerGroup(), Fields.useWorkerGroup(),
Fields.useEnvironmentName(model, !model.id), Fields.useEnvironmentName(model, !data?.id),
...Fields.useTaskGroup(model, projectCode), ...Fields.useTaskGroup(model, projectCode),
...Fields.useFailed(), ...Fields.useFailed(),
Fields.useDelayTime(model), Fields.useDelayTime(model),

2
dolphinscheduler-ui/src/views/projects/task/components/node/tasks/use-jupyter.ts

@ -56,7 +56,7 @@ export function useJupyter({
Fields.useDescription(), Fields.useDescription(),
Fields.useTaskPriority(), Fields.useTaskPriority(),
Fields.useWorkerGroup(), Fields.useWorkerGroup(),
Fields.useEnvironmentName(model, !model.id), Fields.useEnvironmentName(model, !data?.id),
...Fields.useTaskGroup(model, projectCode), ...Fields.useTaskGroup(model, projectCode),
...Fields.useFailed(), ...Fields.useFailed(),
...Fields.useResourceLimit(), ...Fields.useResourceLimit(),

2
dolphinscheduler-ui/src/views/projects/task/components/node/tasks/use-k8s.ts

@ -55,7 +55,7 @@ export function useK8s({
Fields.useDescription(), Fields.useDescription(),
Fields.useTaskPriority(), Fields.useTaskPriority(),
Fields.useWorkerGroup(), Fields.useWorkerGroup(),
Fields.useEnvironmentName(model, !model.id), Fields.useEnvironmentName(model, !data?.id),
...Fields.useTaskGroup(model, projectCode), ...Fields.useTaskGroup(model, projectCode),
...Fields.useFailed(), ...Fields.useFailed(),
Fields.useDelayTime(model), Fields.useDelayTime(model),

2
dolphinscheduler-ui/src/views/projects/task/components/node/tasks/use-mlflow.ts

@ -65,7 +65,7 @@ export function useMlflow({
Fields.useDescription(), Fields.useDescription(),
Fields.useTaskPriority(), Fields.useTaskPriority(),
Fields.useWorkerGroup(), Fields.useWorkerGroup(),
Fields.useEnvironmentName(model, !model.id), Fields.useEnvironmentName(model, !data?.id),
...Fields.useTaskGroup(model, projectCode), ...Fields.useTaskGroup(model, projectCode),
...Fields.useFailed(), ...Fields.useFailed(),
Fields.useDelayTime(model), Fields.useDelayTime(model),

2
dolphinscheduler-ui/src/views/projects/task/components/node/tasks/use-openmldb.ts

@ -58,7 +58,7 @@ export function useOpenmldb({
Fields.useDescription(), Fields.useDescription(),
Fields.useTaskPriority(), Fields.useTaskPriority(),
Fields.useWorkerGroup(), Fields.useWorkerGroup(),
Fields.useEnvironmentName(model, !model.id), Fields.useEnvironmentName(model, !data?.id),
...Fields.useTaskGroup(model, projectCode), ...Fields.useTaskGroup(model, projectCode),
...Fields.useFailed(), ...Fields.useFailed(),
Fields.useDelayTime(model), Fields.useDelayTime(model),

2
dolphinscheduler-ui/src/views/projects/task/components/node/tasks/use-procedure.ts

@ -58,7 +58,7 @@ export function useProcedure({
Fields.useDescription(), Fields.useDescription(),
Fields.useTaskPriority(), Fields.useTaskPriority(),
Fields.useWorkerGroup(), Fields.useWorkerGroup(),
Fields.useEnvironmentName(model, !model.id), Fields.useEnvironmentName(model, !data?.id),
...Fields.useTaskGroup(model, projectCode), ...Fields.useTaskGroup(model, projectCode),
...Fields.useFailed(), ...Fields.useFailed(),
Fields.useDelayTime(model), Fields.useDelayTime(model),

2
dolphinscheduler-ui/src/views/projects/task/components/node/tasks/use-python.ts

@ -58,7 +58,7 @@ export function usePython({
Fields.useDescription(), Fields.useDescription(),
Fields.useTaskPriority(), Fields.useTaskPriority(),
Fields.useWorkerGroup(), Fields.useWorkerGroup(),
Fields.useEnvironmentName(model, !model.id), Fields.useEnvironmentName(model, !data?.id),
...Fields.useTaskGroup(model, projectCode), ...Fields.useTaskGroup(model, projectCode),
...Fields.useFailed(), ...Fields.useFailed(),
...Fields.useResourceLimit(), ...Fields.useResourceLimit(),

2
dolphinscheduler-ui/src/views/projects/task/components/node/tasks/use-pytorch.ts

@ -73,7 +73,7 @@ export function usePytorch({
Fields.useDescription(), Fields.useDescription(),
Fields.useTaskPriority(), Fields.useTaskPriority(),
Fields.useWorkerGroup(), Fields.useWorkerGroup(),
Fields.useEnvironmentName(model, !model.id), Fields.useEnvironmentName(model, !data?.id),
...Fields.useTaskGroup(model, projectCode), ...Fields.useTaskGroup(model, projectCode),
...Fields.useFailed(), ...Fields.useFailed(),
...Fields.useResourceLimit(), ...Fields.useResourceLimit(),

2
dolphinscheduler-ui/src/views/projects/task/components/node/tasks/use-sagemaker.ts

@ -54,7 +54,7 @@ export function userSagemaker({
Fields.useDescription(), Fields.useDescription(),
Fields.useTaskPriority(), Fields.useTaskPriority(),
Fields.useWorkerGroup(), Fields.useWorkerGroup(),
Fields.useEnvironmentName(model, !model.id), Fields.useEnvironmentName(model, !data?.id),
...Fields.useTaskGroup(model, projectCode), ...Fields.useTaskGroup(model, projectCode),
...Fields.useFailed(), ...Fields.useFailed(),
Fields.useDelayTime(model), Fields.useDelayTime(model),

2
dolphinscheduler-ui/src/views/projects/task/components/node/tasks/use-sea-tunnel.ts

@ -85,7 +85,7 @@ export function useSeaTunnel({
Fields.useDescription(), Fields.useDescription(),
Fields.useTaskPriority(), Fields.useTaskPriority(),
Fields.useWorkerGroup(), Fields.useWorkerGroup(),
Fields.useEnvironmentName(model, !model.id), Fields.useEnvironmentName(model, !data?.id),
...Fields.useTaskGroup(model, projectCode), ...Fields.useTaskGroup(model, projectCode),
...Fields.useFailed(), ...Fields.useFailed(),
...Fields.useResourceLimit(), ...Fields.useResourceLimit(),

2
dolphinscheduler-ui/src/views/projects/task/components/node/tasks/use-sql.ts

@ -63,7 +63,7 @@ export function useSql({
Fields.useDescription(), Fields.useDescription(),
Fields.useTaskPriority(), Fields.useTaskPriority(),
Fields.useWorkerGroup(), Fields.useWorkerGroup(),
Fields.useEnvironmentName(model, !model.id), Fields.useEnvironmentName(model, !data?.id),
...Fields.useTaskGroup(model, projectCode), ...Fields.useTaskGroup(model, projectCode),
...Fields.useFailed(), ...Fields.useFailed(),
Fields.useDelayTime(model), Fields.useDelayTime(model),

2
dolphinscheduler-ui/src/views/projects/task/components/node/tasks/use-zeppelin.ts

@ -54,7 +54,7 @@ export function useZeppelin({
Fields.useDescription(), Fields.useDescription(),
Fields.useTaskPriority(), Fields.useTaskPriority(),
Fields.useWorkerGroup(), Fields.useWorkerGroup(),
Fields.useEnvironmentName(model, !model.id), Fields.useEnvironmentName(model, !data?.id),
...Fields.useTaskGroup(model, projectCode), ...Fields.useTaskGroup(model, projectCode),
...Fields.useFailed(), ...Fields.useFailed(),
Fields.useDelayTime(model), Fields.useDelayTime(model),

Loading…
Cancel
Save