|
@@ -136,7 +136,8 @@ class UserLeave extends Base
|
|
|
'approve_user' => $fv['user_id'],
|
|
|
'flow' =>$flow_num,
|
|
|
'create_at'=>date('Y-m-d H:i:s'),
|
|
|
- 'start_time'=> $flow_num == 1 ? date('Y-m-d H:i:s'):null
|
|
|
+ 'start_time'=> $flow_num == 1 ? date('Y-m-d H:i:s'):null,
|
|
|
+ 'status'=> $flow_num == 1 ? 1 : 0,
|
|
|
];
|
|
|
}
|
|
|
foreach ($copy as $ck=>$cv) {
|