|
|
|
@ -193,6 +193,7 @@
@@ -193,6 +193,7 @@
|
|
|
|
|
import { ActivityCommentInfo } from '/@/api/platform/workflow/entity/activityCommentInfo'; |
|
|
|
|
import RollBackTaskModal from './popups/RollBackTaskModal.vue'; |
|
|
|
|
import { PageEnum } from '/@/enums/workflowEnum'; |
|
|
|
|
import { useAppStore } from '/@/store/modules/app'; |
|
|
|
|
|
|
|
|
|
/** 类型规范统一声明定义区域 */ |
|
|
|
|
interface WindowState { |
|
|
|
@ -261,6 +262,7 @@
@@ -261,6 +262,7 @@
|
|
|
|
|
const AInputTextarea = Input.TextArea; |
|
|
|
|
const AInputGroup = Input.Group; |
|
|
|
|
|
|
|
|
|
const appStore = useAppStore(); |
|
|
|
|
const { prefixCls } = useDesign('task-form'); |
|
|
|
|
const { getIsMobile } = useAppInject(); |
|
|
|
|
const { getCalcContentWidth } = useMenuSetting(); |
|
|
|
@ -590,7 +592,8 @@
@@ -590,7 +592,8 @@
|
|
|
|
|
await push({ path: PageEnum.TODO_TASK_PAGE }); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
function submit(button: Partial<WorkflowButton>) { |
|
|
|
|
async function submit(button: Partial<WorkflowButton>) { |
|
|
|
|
await appStore.setPageLoadingAction(true); |
|
|
|
|
// 设置流程变量 |
|
|
|
|
const vars: Recordable = {}; |
|
|
|
|
// 流程表单标题 |
|
|
|
@ -649,6 +652,7 @@
@@ -649,6 +652,7 @@
|
|
|
|
|
// 自定义按钮提交 |
|
|
|
|
default: |
|
|
|
|
commit(vars); |
|
|
|
|
await appStore.setPageLoadingAction(false); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|