|
@@ -216,7 +216,7 @@ class ClientController extends DooController
|
|
|
$verifyUserArray = $this->profile->getVerifiedMobile($firstAuditor['auditoruid']);
|
|
|
$pmnameArray = $this->actmeasure->getRowByPmid($this->params['tenderid']);
|
|
|
if (isset($verifyUserArray) && ($verifyUserArray['mobile'])) {// // XXXX(标段名),陈特,已审批通过。请您继续审批。
|
|
|
- $this->__auditNotice($verifyUserArray['mobile'], Doo::conf()->SMS_TIPS_PRE . $pmnameArray["pmname"] . Doo::conf()->SMS_TIPS["AUDIT_NOTICE_AUDITOR2"]);
|
|
|
+ $this->__auditNotice($verifyUserArray['mobile'], Doo::conf()->SMS_TIPS_PRE . '您好,' . $pmnameArray["pmname"] . Doo::conf()->SMS_TIPS["AUDIT_NOTICE_AUDITOR2"]);
|
|
|
}
|
|
|
// SMS End
|
|
|
}
|
|
@@ -796,6 +796,11 @@ class ClientController extends DooController
|
|
|
if ($auditArray['last'] == '1') {// 根据标志位判断是否为最后一个审核人{ 判断当前审核人是什么角色 } 利用post发送的UID 与 当前期数参与的所有人比较
|
|
|
$this->measureauditact->setStatusTo($auditUserArray[0]['maid'], 3);
|
|
|
$this->numofperact->updateAuditStatus($_POST['tenderid'], $_POST['phaseno'], 'checked', $iniTimes);
|
|
|
+ // SMS Start
|
|
|
+ if (isset($verifyUserArray) && ($verifyUserArray['mobile'])) {// // XXXX(标段名),陈特,已审批通过。请您继续审批。
|
|
|
+ $this->__auditNotice($verifyUserArray['mobile'], Doo::conf()->SMS_TIPS_PRE . '您好,' . $pmnameArray["pmname"] . Doo::conf()->SMS_TIPS["AUDIT_NOTICE_AUDITOR3"]);
|
|
|
+ }
|
|
|
+ // SMS End
|
|
|
echo json_encode(array('status' => TRUE, 'msg' => ''), JSON_UNESCAPED_UNICODE);
|
|
|
die();
|
|
|
} else {// 不是最后一个审核人根据不同审核人数量变更状态 {当前用户不是最后一个审核人}
|
|
@@ -819,7 +824,7 @@ class ClientController extends DooController
|
|
|
}
|
|
|
// SMS Start
|
|
|
if (isset($verifyUserArray) && ($verifyUserArray['mobile'])) {// // XXXX(标段名),陈特,已审批通过。请您继续审批。
|
|
|
- $this->__auditNotice($verifyUserArray['mobile'], Doo::conf()->SMS_TIPS_PRE . $pmnameArray["pmname"] . Doo::conf()->SMS_TIPS["AUDIT_NOTICE_AUDITOR2"]);
|
|
|
+ $this->__auditNotice($verifyUserArray['mobile'], Doo::conf()->SMS_TIPS_PRE . '您好,' . $pmnameArray["pmname"] . Doo::conf()->SMS_TIPS["AUDIT_NOTICE_AUDITOR2"]);
|
|
|
}
|
|
|
// SMS End
|
|
|
$this->numofperact->updateAuditStatus($_POST['tenderid'], $_POST['phaseno'], 'checking', $iniTimes);
|
|
@@ -969,6 +974,13 @@ class ClientController extends DooController
|
|
|
}
|
|
|
$this->measureauditact->setCheckno($auditArray['maid'], $auditcontent);
|
|
|
$this->numofperact->updateAuditStatus($this->params['tenderid'], $this->params['phaseno'], 'checkno', $iniTimes);
|
|
|
+ // SMS Start
|
|
|
+ $TenderArray = $this->actmeasure->getRowByPmid($this->params['tenderid']);
|
|
|
+ $userProArray = $this->profile->getProWithUid($TenderArray['uid']);
|
|
|
+ if (isset($userProArray) && ($userProArray['mobile'])) {// // XXXX(标段名),陈特,已审批通过。请您继续审批。
|
|
|
+ $this->__auditNotice($userProArray['mobile'], Doo::conf()->SMS_TIPS_PRE . '您好,' . $TenderArray["pmname"] . Doo::conf()->SMS_TIPS["AUDIT_NOTICE_AUDITOR4"]);
|
|
|
+ }
|
|
|
+ // SMS End
|
|
|
$fp = $this->upfile('upfile');
|
|
|
if (isset($fp[0]['filepath'])) {
|
|
|
// 解压缩文件等待以后直接使用
|