diff --git a/app/article/view/cate/cate.html b/app/article/view/cate/cate.html index bbae2f4..9796790 100644 --- a/app/article/view/cate/cate.html +++ b/app/article/view/cate/cate.html @@ -35,7 +35,7 @@ ,cols: [[ {field:'id',width:80, title: 'ID号', align:'center'} ,{field: 'sort', title: '排序',align:'center', width:80} - ,{field:'title', edit:'text',width:240, title: '分类名称'} + ,{field:'title', width:240, title: '分类名称'} ,{field:'pid', title: '父级ID', width:80, align:'center'} ,{field:'desc', title: '描述', } ,{width:160,title: '操作', align:'center',templet: function(d){ diff --git a/app/oa/controller/Approve.php b/app/oa/controller/Approve.php index 0c5ee86..c8e9c87 100644 --- a/app/oa/controller/Approve.php +++ b/app/oa/controller/Approve.php @@ -399,8 +399,8 @@ class Approve extends BaseController $detail['end_time_b'] = date('H:i',$detail['end_time']); $detail['detail_time'] = date('Y-m-d',$detail['detail_time']); - $detail['days'] = floor($detail['duration']*10/75); - $detail['hours'] = (($detail['duration']*10)%75)/10; + $detail['days'] = floor($detail['duration']*10/80); + $detail['hours'] = (($detail['duration']*10)%80)/10; $type = $detail['type']; if($detail['file_ids'] !=''){ $fileArray = Db::name('File')->where('id','in',$detail['file_ids'])->select(); @@ -446,8 +446,8 @@ class Approve extends BaseController $detail['detail_time'] = date('Y-m-d',$detail['detail_time']); } - $detail['days'] = floor($detail['duration']*10/75); - $detail['hours'] = (($detail['duration']*10)%75)/10; + $detail['days'] = floor($detail['duration']*10/80); + $detail['hours'] = (($detail['duration']*10)%80)/10; $detail['create_user'] = Db::name('Admin')->where('id',$detail['admin_id'])->value('name'); $flows = Db::name('FlowStep')->where(['action_id'=>$detail['id'],'type'=>1,'sort'=>$detail['check_step_sort'],'delete_time'=>0])->find(); diff --git a/app/oa/view/approve/add_chuchai.html b/app/oa/view/approve/add_chuchai.html index be9be51..3dbf11a 100644 --- a/app/oa/view/approve/add_chuchai.html +++ b/app/oa/view/approve/add_chuchai.html @@ -9,35 +9,29 @@ {eq name="$id" value="0"}
开始时间* | +开始时间* | - - | -- + | 结束时间* | -- - | - + | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
出差地点* | -+ | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
出差事由* | -+ | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
附件 |
- + |
|