|
@@ -447,7 +447,7 @@ class EnterpriseChangeRecord extends AdminController {
|
|
|
}
|
|
|
|
|
|
$oriCheckState = $ecr["checkState"];
|
|
|
- if ($oriCheckState == 7 && !EnterpriseApi::chkUserInSuperusers()) {
|
|
|
+ if ($oriCheckState == 7 && !EnterpriseApi::chkUserInSuperusers() && !in_array($this->user["type"], [CommonConst::ENTERPRISE_JC, CommonConst::ENTERPRISE_WJ, CommonConst::ENTERPRISE_GJ])) {
|
|
|
return json(["msg" => "已经流转到审核,不在审核范围内"]);
|
|
|
}
|
|
|
|
|
@@ -764,7 +764,7 @@ class EnterpriseChangeRecord extends AdminController {
|
|
|
if (!in_array($ecr["checkState"], [3, 6])) {
|
|
|
throw new \think\Exception("不是驳回状态,不能修改驳回字段!");
|
|
|
}
|
|
|
- if ($ecr["checkState"] == 3 && !EnterpriseApi::chkUserInSuperusers()) {
|
|
|
+ if ($ecr["checkState"] == 3 && !EnterpriseApi::chkUserInSuperusers() && !in_array($this->user["type"], [CommonConst::ENTERPRISE_JC, CommonConst::ENTERPRISE_WJ, CommonConst::ENTERPRISE_GJ])) {
|
|
|
throw new \think\Exception("已经流转到审核,不在审核范围内");
|
|
|
}
|
|
|
$fields = array_filter(explode(",", $params["fields"]));
|