调整form表单接口
This commit is contained in:
@@ -30,11 +30,11 @@
|
||||
{{ processInstance?.startUser.deptName }}
|
||||
</el-form-item>
|
||||
|
||||
<el-card v-if='runningTasks[index].formId > 0' class='mb-15px !-mt-10px'>
|
||||
<el-card v-if='runningTasks[index].formId != null' class='mb-15px !-mt-10px'>
|
||||
<template #header>
|
||||
<span class='el-icon-picture-outline'>
|
||||
填写表单【{{ runningTasks[index]?.formName }}】
|
||||
</span>
|
||||
<span class='el-icon-picture-outline'>
|
||||
{{ runningTasks[index]?.formName }}
|
||||
</span>
|
||||
</template>
|
||||
<form-create
|
||||
v-model='approveForms[index].value'
|
||||
@@ -44,7 +44,7 @@
|
||||
/>
|
||||
</el-card>
|
||||
|
||||
<el-form-item label='审批建议' prop='reason'>
|
||||
<el-form-item label='审批建议' prop='reason' style='margin-top: 15px'>
|
||||
<el-input
|
||||
v-model='auditForms[index].reason'
|
||||
placeholder='请输入审批建议'
|
||||
@@ -397,7 +397,7 @@ const loadRunningTask = (tasks) => {
|
||||
reason: '',
|
||||
copyUserIds: []
|
||||
})
|
||||
|
||||
console.log(runningTasks.value)
|
||||
// 2.4 处理 approve 表单
|
||||
if (task.formId && task.formConf) {
|
||||
const approveForm = {}
|
||||
|
||||
Reference in New Issue
Block a user