退回 bugfix

This commit is contained in:
cxc
2023-01-05 14:34:41 +08:00
parent 93d85a5ced
commit 49094a5460

View File

@ -233,7 +233,7 @@
width="40%"
append-to-body
>
<el-form ref="taskForm" :model="taskForm" label-width="80px">
<el-form ref="taskFormRef" :model="taskForm" label-width="80px">
<el-form-item label="退回节点" prop="targetKey">
<el-radio-group v-model="taskForm.targetKey">
<el-radio-button
@ -245,6 +245,7 @@
</el-radio-group>
</el-form-item>
</el-form>
<span slot="footer" class="dialog-footer">
<el-button @click="returnOpen = false">取 消</el-button>
<el-button type="primary" @click="submitReturn">确 定</el-button>
@ -602,8 +603,6 @@ function onSelectUsers(title, type) {
const taskFormParser = ref();
function handleComplete() {
// 校验表单
// console.log(taskFormParser.value);
// debugger;
// const taskFormRef = taskFormParser.value;
const isExistTaskForm = taskFormParser.value !== undefined;
// 若无任务表单,则 taskFormPromise 为 true即不需要校验