优化代码

This commit is contained in:
java110 2021-09-08 20:10:14 +08:00
parent 9aa04afc18
commit 7dd85265f0

View File

@ -111,7 +111,7 @@
let _audit = $that.newOaWorkflowDetailInfo.audit; let _audit = $that.newOaWorkflowDetailInfo.audit;
_audit.flowId = $that.newOaWorkflowDetailInfo.flowId; _audit.flowId = $that.newOaWorkflowDetailInfo.flowId;
_audit.id = $that.newOaWorkflowDetailInfo.id; _audit.id = $that.newOaWorkflowDetailInfo.id;
if ($that.newOaWorkflowDetailInfo.nextAudit.assignee) { if ($that.newOaWorkflowDetailInfo.nextAudit.assignee != '-2') {
_audit.staffId = $that.newOaWorkflowDetailInfo.nextAudit.assignee; _audit.staffId = $that.newOaWorkflowDetailInfo.nextAudit.assignee;
} }
if (!_audit.auditCode) { if (!_audit.auditCode) {