正在显示
2 个修改的文件
包含
1 行增加
和
12 行删除
@@ -45,11 +45,6 @@ class CommonController extends RestBaseController | @@ -45,11 +45,6 @@ class CommonController extends RestBaseController | ||
45 | $result['run_time'] = $this->getRunTime($res['create_time']); | 45 | $result['run_time'] = $this->getRunTime($res['create_time']); |
46 | }else{ | 46 | }else{ |
47 | //乙方企业 | 47 | //乙方企业 |
48 | - foreach($result['service'] as &$value){ | ||
49 | - if($value['id'] == 1){ | ||
50 | - $value['name'] = '日检'; | ||
51 | - } | ||
52 | - } | ||
53 | $result['identity'] = config('site.b_staff'); | 48 | $result['identity'] = config('site.b_staff'); |
54 | //当前时间 | 49 | //当前时间 |
55 | $result['run_time'] = $this->getRunTime($res['create_time']); | 50 | $result['run_time'] = $this->getRunTime($res['create_time']); |
@@ -82,9 +77,6 @@ class CommonController extends RestBaseController | @@ -82,9 +77,6 @@ class CommonController extends RestBaseController | ||
82 | foreach($result['service'] as &$value){ | 77 | foreach($result['service'] as &$value){ |
83 | if($value['id'] != 101 && $value['id'] != 102){ | 78 | if($value['id'] != 101 && $value['id'] != 102){ |
84 | $value['name'] = $value['name'].'报表'; | 79 | $value['name'] = $value['name'].'报表'; |
85 | - if($value['id'] == 1){ | ||
86 | - $value['name'] = '日检报表'; | ||
87 | - } | ||
88 | if($value['id'] == 4){ | 80 | if($value['id'] == 4){ |
89 | $value['name'] = '维修报表'; | 81 | $value['name'] = '维修报表'; |
90 | } | 82 | } |
@@ -75,7 +75,7 @@ class IndexController extends RestBaseController | @@ -75,7 +75,7 @@ class IndexController extends RestBaseController | ||
75 | * | 75 | * |
76 | * @return data: @ | 76 | * @return data: @ |
77 | * @data id:公司id company_name:甲方公司名称 logo:公司logo company_name_head:甲方总公司名称 address:地区 run_time:运行时间 service:服务列表@ | 77 | * @data id:公司id company_name:甲方公司名称 logo:公司logo company_name_head:甲方总公司名称 address:地区 run_time:运行时间 service:服务列表@ |
78 | - * @service id:服务id(1:日常巡检,2:月检,3:改造,4:报修,5:培训,6:演习,7:年检,101:消息审批) name:服务名称 icon:图标路径 english_name:英文名称 | 78 | + * @service id:服务id(1:消防日检,2:月检,3:改造,4:报修,5:培训,6:演习,7:年检,101:消息审批) name:服务名称 icon:图标路径 english_name:英文名称 |
79 | * @return address: @ | 79 | * @return address: @ |
80 | * @address id:地区id(和公司id对应) address:地区 | 80 | * @address id:地区id(和公司id对应) address:地区 |
81 | * @return tips:提示语 | 81 | * @return tips:提示语 |
@@ -99,9 +99,6 @@ class IndexController extends RestBaseController | @@ -99,9 +99,6 @@ class IndexController extends RestBaseController | ||
99 | foreach($value['service'] as &$value1){ | 99 | foreach($value['service'] as &$value1){ |
100 | if($value1['id'] != 101 && $value1['id'] != 102){ | 100 | if($value1['id'] != 101 && $value1['id'] != 102){ |
101 | $value1['name'] = $value1['name'].'报表'; | 101 | $value1['name'] = $value1['name'].'报表'; |
102 | - if($value1['id'] == 1){ | ||
103 | - $value1['name'] = '日检/巡检报表'; | ||
104 | - } | ||
105 | if($value['id'] == 4){ | 102 | if($value['id'] == 4){ |
106 | $value['name'] = '维修报表'; | 103 | $value['name'] = '维修报表'; |
107 | } | 104 | } |
-
请 注册 或 登录 后发表评论