|
@@ -33,15 +33,19 @@ class Auditing extends Core
|
|
|
}
|
|
|
|
|
|
# 查看审核状态
|
|
|
- public function view($status, $id, $uid, $project, $auditid)
|
|
|
+ public function view($id, $uid, $project, $auditid)
|
|
|
{
|
|
|
+ $info = Dever::db('component/auditing')->one($id);
|
|
|
+ $status = $info['status'];
|
|
|
+ $uid = $info['user_id'];
|
|
|
+ $project = $info['project_id'];
|
|
|
+ $auditid = $info['auditid'];
|
|
|
$html = array();
|
|
|
if ($status == 2) {
|
|
|
$html['审核状态'] = '审核成功';
|
|
|
} elseif ($status == 3) {
|
|
|
$html['审核状态'] = '审核失败';
|
|
|
- $info = Dever::db('component/auditing')->one($id);
|
|
|
- //$html['说明'] = $info['statusDesc'];
|
|
|
+ $html['说明'] = $info['statusDesc'];
|
|
|
} elseif ($status == 1) {
|
|
|
$user = Dever::db('component/user')->one($uid);
|
|
|
$oauth = Dever::db('main/oauth')->one($user['oauth_id']);
|
|
@@ -75,9 +79,8 @@ class Auditing extends Core
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-
|
|
|
+
|
|
|
$html = Dever::table($html);
|
|
|
- print_r($html);die;
|
|
|
return $html;
|
|
|
}
|
|
|
|