|
|
@ -1,8 +1,13 @@ |
|
|
|
<template> |
|
|
|
<template> |
|
|
|
<ALayoutContent style="min-height: 100vh"> |
|
|
|
<ALayoutContent class="p-10"> |
|
|
|
<h4 style="text-align:center">{{ state.formTitle }}</h4> |
|
|
|
<h4 class="text-center">{{ state.formTitle }}</h4> |
|
|
|
<ATable v-model:activeKey="state.taskSelectedTab"> |
|
|
|
<ATable v-model:activeKey="state.taskSelectedTab"> |
|
|
|
<ATabPane key="formInfo" tab="表单信息"> |
|
|
|
<ATabPane key="formInfo"> |
|
|
|
|
|
|
|
<template #tab> |
|
|
|
|
|
|
|
<span> |
|
|
|
|
|
|
|
<Icon icon="fa6-solid:file-lines"/>表单信息 |
|
|
|
|
|
|
|
</span> |
|
|
|
|
|
|
|
</template> |
|
|
|
<!-- 动态表单:内置使用枇杷表单设计器 --> |
|
|
|
<!-- 动态表单:内置使用枇杷表单设计器 --> |
|
|
|
<workflow-preview-form v-if="state.formType !== '2'" |
|
|
|
<workflow-preview-form v-if="state.formType !== '2'" |
|
|
|
ref="form" |
|
|
|
ref="form" |
|
|
@ -16,8 +21,12 @@ |
|
|
|
:businessId="state.businessId" |
|
|
|
:businessId="state.businessId" |
|
|
|
/> |
|
|
|
/> |
|
|
|
</ATabPane> |
|
|
|
</ATabPane> |
|
|
|
<ATabPane key="processChart" tab="流程图"> |
|
|
|
<ATabPane key="processChart"> |
|
|
|
流程图 |
|
|
|
<template #tab> |
|
|
|
|
|
|
|
<span> |
|
|
|
|
|
|
|
<Icon icon="fa-solid:image"/>流程图 |
|
|
|
|
|
|
|
</span> |
|
|
|
|
|
|
|
</template> |
|
|
|
</ATabPane> |
|
|
|
</ATabPane> |
|
|
|
</ATable> |
|
|
|
</ATable> |
|
|
|
</ALayoutContent> |
|
|
|
</ALayoutContent> |
|
|
@ -143,7 +152,6 @@ |
|
|
|
const [registerUser , { openModal: openUser }] = useModal(); |
|
|
|
const [registerUser , { openModal: openUser }] = useModal(); |
|
|
|
const [registerRollBackTask , { openModal: openRollBackTask }] = useModal(); |
|
|
|
const [registerRollBackTask , { openModal: openRollBackTask }] = useModal(); |
|
|
|
onActivated(() => { |
|
|
|
onActivated(() => { |
|
|
|
debugger |
|
|
|
|
|
|
|
handleInit(); |
|
|
|
handleInit(); |
|
|
|
nextTick(async () => { |
|
|
|
nextTick(async () => { |
|
|
|
// 获取流程图数据 |
|
|
|
// 获取流程图数据 |
|
|
|