抄送人

This commit is contained in:
mkm 2024-01-06 13:37:31 +08:00
parent ad93935145
commit b04fd36147
2 changed files with 2 additions and 1 deletions

View File

@ -293,6 +293,7 @@ class Task extends CommonModel
'private' => $project['open_task_private'] ? 1 : 0,
'name' => trim($taskTitle),
'exchange_list' => $data['exchangeList'],
'copied_list' => $data['copied_list'],
];
$result = self::create($data);
// self::update(['sort' => $result['id']], ['id' => $result['id']]);

View File

@ -155,7 +155,7 @@ class Task extends BasicApi
*/
public function save(Request $request)
{
$data = $request::only('name,stage_code,project_code,assign_to,pcode,exchangeList,description,end_time,pri,executor');
$data = $request::only('name,stage_code,project_code,assign_to,pcode,exchangeList,description,end_time,pri,executor,copied_list');
if (!isset($data['assign_to'])) {
$data['assign_to'] = '';
}