All Downloads are FREE. Search and download functionalities are using the official Maven repository.

admin.assets.index-oHJ2kHeP.js Maven / Gradle / Ivy

The newest version!
import{d as i,bT as l,i as p,r as c,o as u,c as f,h as d,$ as w}from"./index-D2gfy4BV.js";import{u as k,_}from"./workflow.vue_vue_type_style_index_0_lang-DKtIAivx.js";import{e as v}from"./workflow-DL9sDB8e.js";import"./job-task-list-table.vue_vue_type_script_setup_true_lang-BWfE14-k.js";import"./table-CBd8wgyy.js";import"./Grid-DUVCwFN_.js";import"./job-zG0yc1zw.js";import"./detail-drawer-CQjfY8zD.js";import"./DescriptionsItem-LCBYJ9Xx.js";import"./log-drawer-BYtEGha_.js";import"./CollapseItem-BF9JL9RU.js";import"./code-mirror.vue_vue_type_script_setup_true_lang-qktOrMmh.js";import"./cron-input.vue_vue_type_style_index_0_lang-Bx5dJ8gU.js";import"./group-CHo9Y09B.js";const M=i({name:"workflow_form_add",__name:"index",setup(x){const t=k(),r=l();p(()=>{t.clear(),t.setType(0)});const e=c({workflowName:`WF-${new Date().getTime()}`,workflowStatus:1,blockStrategy:1,description:void 0,executorTimeout:60,wfContext:'{"init":""}'}),s=async()=>{var o;const{error:a}=await v(e.value);a||((o=window.$message)==null||o.info(w("common.addSuccess")),r.push("/workflow/task"))},n=()=>{r.push("/workflow/task")};return(a,o)=>(u(),f(d(_),{modelValue:e.value,"onUpdate:modelValue":o[0]||(o[0]=m=>e.value=m),onSave:s,onCancel:n},null,8,["modelValue"]))}});export{M as default};




© 2015 - 2025 Weber Informatics LLC | Privacy Policy