|
@@ -340,13 +340,13 @@ class ApproveService
|
|
|
$data['approve_id'] = $id;
|
|
|
$data['approve_status'] = isset($info['status']) ? $info['status'] : CommonConstant::STATUS_1;
|
|
|
if ($group == 'approve') {
|
|
|
- // 条件:维修模块 审批状态是审批中 用户是物业主管或信息负责人 是否显示维修人员:false=不显示,true=显示 目的:审批
|
|
|
- // 条件:维修模块 审批状态是审批同意 用户是物业主管或信息负责人 反馈状态 是否显示上传反馈结果:false=不显示,true=显示 目的:上传反馈结果
|
|
|
+ // 条件:维修模块 审批的审批状态是审批中 用户是物业主管或信息负责人 是否显示维修人员:false=不显示,true=显示 目的:审批
|
|
|
+ // 条件:维修模块 审批申请的审批状态是审批同意 用户是物业主管或信息负责人 反馈状态 是否显示上传反馈结果:false=不显示,true=显示 目的:上传反馈结果
|
|
|
if ($data['module'] == CommonConstant::MODULE_8) {
|
|
|
if ($data['approve_status'] == CommonConstant::STATUS_2) {
|
|
|
$is_maintain = CommonService::isMaintain($user);
|
|
|
}
|
|
|
- if ($data['approve_status'] == CommonConstant::STATUS_3) {
|
|
|
+ if ($data['status'] == CommonConstant::STATUS_3) {
|
|
|
// if (CommonService::isMaintain($user) && $data['maintain_user_id'] > 0 && $data['module']['feedback_status'] == CommonConstant::IS_WHO_0) {
|
|
|
if (CommonService::isMaintain($user) && $data['module']['feedback_status'] == CommonConstant::IS_WHO_0) {
|
|
|
$is_feedback = true;
|