判断如果没有权限设置不进行可编辑表单过滤,避免表单变量被过滤
parent
056684e291
commit
2d1b31a841
|
@ -271,7 +271,7 @@ const handleAudit = async (task, pass) => {
|
||||||
data.variables = approveForms.value[index].value
|
data.variables = approveForms.value[index].value
|
||||||
}
|
}
|
||||||
// 获取表单可编辑字段的值
|
// 获取表单可编辑字段的值
|
||||||
if (fApi.value) {
|
if (fApi.value && task.fieldsPermission !== null) {
|
||||||
data.variables = getWritableValueOfForm(task.fieldsPermission)
|
data.variables = getWritableValueOfForm(task.fieldsPermission)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue