记录延期 操作人

This commit is contained in:
kf_wuhao 2021-03-02 14:09:37 +08:00
parent bf55e8bdf0
commit d9a683c3cb

View File

@ -110,8 +110,8 @@ $issxarole = in_array($user['name'], $SXAROLES); //可以添加上线卡片
$isyqeroles = in_array($user['name'], $YQEROLES);
//调试
// $user['name'] = "罗松柏";
// $canEdit = 1;
//$user['name'] = "罗松柏";
//$canEdit = 1;
//$isgxyyerole=1;
//$isgxcperole=1;
//$isgxyferole=1;
@ -235,7 +235,7 @@ if ($act == 'newevent') {
$yanqi_history=$event['yanqi_history'];
if (!$yanqi_history) $yanqi_history = '[]';
$yanqi_history = json_decode($yanqi_history,true);
$yanqi_history[] = array('date1'=>$event['start'],'date2'=>$dict['end'],'user'=>$user,'reason'=>$reason);
$yanqi_history[] = array('date1'=>$event['start'],'date2'=>$dict['end'],'user'=>$user['name'],'reason'=>$reason);
$dict['yanqi_history']=json_encode($yanqi_history,true);
$sql = DB::update('calendar', $dict, "id='{$id}'");