fix: [BPM 工作流] - 流程新增页面优化,创建成功跳转问题修复
parent
24ebd9e034
commit
d3be31eded
|
@ -305,7 +305,7 @@ const handleSave = async () => {
|
|||
|
||||
// 返回列表页(排除更新的情况)
|
||||
if (actionType !== 'update') {
|
||||
await router.push({ name: 'BpmModel' });
|
||||
router.push({ path: '/bpm/manager/model' });
|
||||
}
|
||||
} catch (error: any) {
|
||||
console.error('保存失败:', error);
|
||||
|
@ -419,11 +419,11 @@ onBeforeUnmount(() => {
|
|||
|
||||
<!-- 步骤条 -->
|
||||
<div class="flex h-full flex-1 items-center justify-center">
|
||||
<div class="flex h-full w-[400px] items-center justify-between">
|
||||
<div class="flex h-full w-auto items-center justify-center">
|
||||
<div
|
||||
v-for="(step, index) in steps"
|
||||
:key="index"
|
||||
class="relative mx-[15px] flex h-full cursor-pointer items-center"
|
||||
class="relative mx-6 flex h-full cursor-pointer items-center"
|
||||
:class="[
|
||||
currentStep === index
|
||||
? 'border-b-2 border-solid border-blue-500 text-blue-500'
|
||||
|
|
|
@ -91,8 +91,8 @@ defineExpose({ validate });
|
|||
ref="formRef"
|
||||
:model="modelData"
|
||||
:rules="rules"
|
||||
:label-col="{ span: 4 }"
|
||||
:wrapper-col="{ span: 20 }"
|
||||
:label-col="{ span: 3 }"
|
||||
:wrapper-col="{ span: 21 }"
|
||||
class="mt-5"
|
||||
>
|
||||
<FormItem label="表单类型" name="formType" class="mb-5">
|
||||
|
|
Loading…
Reference in New Issue