|
@@ -225,6 +225,7 @@ class VerifyApi {
|
|
|
$offset = $params["offset"] ?: 0;
|
|
|
$limit = $params["limit"] ?: 10;
|
|
|
$companyId = session("user")["companyId"];
|
|
|
+ $whereRaw = "";
|
|
|
switch ($params["checkState"]) {
|
|
|
case 1://待部门并审(首次提交)
|
|
|
$where[] = ["tl.active", "=", 0];
|
|
@@ -618,6 +619,7 @@ class VerifyApi {
|
|
|
$isMatchZhiren = [0 => "否", 1 => "是"];
|
|
|
|
|
|
$where = [];
|
|
|
+ $whereRaw = "";
|
|
|
$where[] = ["e.type", "=", session("user")["type"]];
|
|
|
if ($params["all"] != 1) {
|
|
|
if ($params["name"]) {
|
|
@@ -1019,16 +1021,16 @@ class VerifyApi {
|
|
|
if ($log["active"] == 1) {
|
|
|
if ($log["new_state"] == 9) {
|
|
|
$verifyDepts[$k] .= "(审核驳回)";
|
|
|
- $item["deptReject"]++;
|
|
|
+ $item["deptReject"] ++;
|
|
|
}
|
|
|
if ($log["new_state"] == 12) {
|
|
|
$verifyDepts[$k] .= "(审核通过)";
|
|
|
- $item["deptPass"]++;
|
|
|
+ $item["deptPass"] ++;
|
|
|
}
|
|
|
$deptDescriptions[] = sprintf("%s:%s", $company["name"], $log["description"]);
|
|
|
} else {
|
|
|
$verifyDepts[$k] .= "(待审核)";
|
|
|
- $item["deptWait"]++;
|
|
|
+ $item["deptWait"] ++;
|
|
|
}
|
|
|
}
|
|
|
$item["verifyDepts"] = implode(chr(10), $verifyDepts);
|