diff --git a/app/api/controller/OaApprove.php b/app/api/controller/OaApprove.php index 722993e..bc79890 100644 --- a/app/api/controller/OaApprove.php +++ b/app/api/controller/OaApprove.php @@ -675,6 +675,7 @@ class OaApprove extends ApiController 'title' => '请假工时', 'required' => false, 'type' => 'input', + 'time_type' => '8', 'item' => (object)[] ], 'content' => [ @@ -787,6 +788,7 @@ class OaApprove extends ApiController 'title' => '外出时长', 'required' => false, 'type' => 'input', + 'time_type' => '8', 'item' => (object)[] ], 'content' => [ @@ -836,6 +838,13 @@ class OaApprove extends ApiController 'type' => 'datetime', 'item' => (object)[] ], + 'duration' => [ + 'title' => '加班时长', + 'required' => false, + 'type' => 'span', + 'time_type' => '24', + 'item' => (object)[] + ], 'content' => [ 'title' => '加班事由', 'required' => true, @@ -1224,8 +1233,9 @@ class OaApprove extends ApiController ], 'duration' => [ 'title' => '用车时长', - 'required' => false, - 'type' => 'span', + 'required' => false, + 'type' => 'span', + 'time_type' => '24', 'item' => (object)[] ], 'address' => [