|
@@ -853,18 +853,19 @@ class RProjectController extends DooController
|
|
|
die();
|
|
|
}
|
|
|
if($_POST['act'] == 'back') {
|
|
|
- $this->measureauditact->setUncheck($auditArray['maid']);
|
|
|
+ $measureauditact = new MeasureauditAct();
|
|
|
+ $measureauditact->setUncheck($auditArray['maid']);
|
|
|
$this->numofperact->updateAuditStatus($lastRowArray['pmid'], $lastRowArray['numpname'], 'checking', $maxTimes['times']);
|
|
|
|
|
|
//获取并改变上一个审批人为审批中状态
|
|
|
$lastmeasureauditact = $this->measureauditact->getMyAuditStatus($lastRowArray['pmid'], $lastRowArray['numpname'], $maxTimes['times'], $_POST['last']);
|
|
|
- $this->measureauditact->updateMastatus($lastmeasureauditact['maid']);
|
|
|
+ $this->measureauditact->updateMastatus2($lastmeasureauditact['maid']);
|
|
|
// SMS Start
|
|
|
- $TenderArray = $this->actmeasure->getRowByPmid($lastRowArray['pmid']);
|
|
|
- $userProArray = $this->profile->getProWithUid($_POST['last']);
|
|
|
- if (isset($userProArray) && ($userProArray['mobile'])) {// // XXXX(标段名),陈特,已审批通过。请您继续审批。
|
|
|
- $retval = $this->__auditNotice($userProArray['mobile'], Doo::conf()->SMS_TIPS_PRE . '您好,' . $TenderArray["pmname"] . Doo::conf()->SMS_TIPS["AUDIT_NOTICE_AUDITOR4"]);
|
|
|
- }
|
|
|
+// $TenderArray = $this->actmeasure->getRowByPmid($lastRowArray['pmid']);
|
|
|
+// $userProArray = $this->profile->getProWithUid($_POST['last']);
|
|
|
+// if (isset($userProArray) && ($userProArray['mobile'])) {// // XXXX(标段名),陈特,已审批通过。请您继续审批。
|
|
|
+// $retval = $this->__auditNotice($userProArray['mobile'], Doo::conf()->SMS_TIPS_PRE . '您好,' . $TenderArray["pmname"] . Doo::conf()->SMS_TIPS["AUDIT_NOTICE_AUDITOR4"]);
|
|
|
+// }
|
|
|
// SMS End
|
|
|
echo json_encode(array('status' => 1), JSON_UNESCAPED_UNICODE);
|
|
|
die();
|