...
|
...
|
@@ -351,6 +351,14 @@ class Index extends Api |
|
|
$id = input('id');
|
|
|
$level = Db::name('user')->where('id', $user_id)->value('level');
|
|
|
$arr = Db::name('baoxiudan')->where(['id' => $id])->find();
|
|
|
if (empty($arr['redio_user_id'])) {
|
|
|
$redio_user = '';
|
|
|
} else {
|
|
|
$redio_user = Db::name('user')->where('id', $arr['redio_user_id'])->value('name');
|
|
|
if (empty($redio_user)) {
|
|
|
$redio_user = '';
|
|
|
}
|
|
|
}
|
|
|
$xitong = Db::name('xitong')->where(['id' => $arr['system']])->value('xitong');
|
|
|
$zhandian = Db::name('zhandian')
|
|
|
->where(['id' => $arr['zhandian_id']])
|
...
|
...
|
@@ -412,6 +420,7 @@ class Index extends Api |
|
|
'system' => $xitong, //所属系统
|
|
|
'time' => date('Y-m-d H:i:s', $arr['time']), //上报时间
|
|
|
'people_name' => $arr['people_name'], //上报人
|
|
|
'redio_user' => $redio_user, //维修人
|
|
|
'zhandian' => $zhandian, //站点名称
|
|
|
'colum_con' => $arr['colum_con'], //故障现象
|
|
|
'images' => $images, //照片
|
...
|
...
|
@@ -425,6 +434,8 @@ class Index extends Api |
|
|
'fuzeren' => $arr['fuzeren'], //维修负责人意见
|
|
|
'zaicishenhe' => $shenhe, //再次审核内容
|
|
|
'king_type' => $arr['king_type'], //KingType
|
|
|
'redio_time' => $arr['redio_time'], //维修时间
|
|
|
'ok_time' => $arr['ok_time'], //修复时间
|
|
|
];
|
|
|
$this->success('成功', $list);
|
|
|
}
|
...
|
...
|
|