...
|
...
|
@@ -75,7 +75,7 @@ class IndexController extends RestBaseController |
|
|
*
|
|
|
* @return data: @
|
|
|
* @data id:公司id company_name:甲方公司名称 logo:公司logo company_name_head:甲方总公司名称 address:地区 run_time:运行时间 service:服务列表@
|
|
|
* @service id:服务id(1:日常巡检,2:月检,3:改造,4:报修,5:培训,6:演习,7:年检,101:消息审批) name:服务名称 icon:图标路径 english_name:英文名称
|
|
|
* @service id:服务id(1:消防日检,2:月检,3:改造,4:报修,5:培训,6:演习,7:年检,101:消息审批) name:服务名称 icon:图标路径 english_name:英文名称
|
|
|
* @return address: @
|
|
|
* @address id:地区id(和公司id对应) address:地区
|
|
|
* @return tips:提示语
|
...
|
...
|
@@ -99,9 +99,6 @@ class IndexController extends RestBaseController |
|
|
foreach($value['service'] as &$value1){
|
|
|
if($value1['id'] != 101 && $value1['id'] != 102){
|
|
|
$value1['name'] = $value1['name'].'报表';
|
|
|
if($value1['id'] == 1){
|
|
|
$value1['name'] = '日检/巡检报表';
|
|
|
}
|
|
|
if($value['id'] == 4){
|
|
|
$value['name'] = '维修报表';
|
|
|
}
|
...
|
...
|
|