Browse Source

导入任务后创建审批发送邮件报错修复

kely 8 months ago
parent
commit
9c2a5ba0b4
1 changed files with 1 additions and 0 deletions
  1. 1 0
      app/Imports/TaskImport.php

+ 1 - 0
app/Imports/TaskImport.php

@@ -31,6 +31,7 @@ class TaskImport implements ToCollection, WithHeadingRow
                 'doc_stage' => $requestRule->getGroupLabelValue("task", "doc_stage", $item->get("doc_stage")),
                 'state' => $requestRule->getGroupLabelValue("task", "state", $item->get("state")),
                 'suitability' => $requestRule->getGroupLabelValue("task", "suitability", $item->get("suitability")),
+                'mailto' => [],
             ];
 
             $task = Task::create($formData);