private function forwardSelectBingLi($response, $proposal, $currentUrl, $lostBingliTypes)
 {
     $url = $response->router->urlfor('intention/selectbingli', array('patientid' => $proposal->patient->id, 'objname' => get_class($proposal), 'objid' => $proposal->id, 'backUrl' => $currentUrl));
     $url .= ServiceBaseCheckRule::getAppendUrl4selectBingli($lostBingliTypes);
     $response->setRedirect($url);
 }
Example #2
0
  </form>
 </li>
 <li class="dil pl10">
     <input type="button" value="挂起" onclick="showrepealorder();" <?=($order->isInvalid() || $order->isFinished() || $order->isClosed()) ? "disabled" : ""?> />
 </li>
 <li class="dil pl10">
     <input type="button" value="退单" onclick="showrefundorder();" <?=($order->isInvalid() || $order->isFinished() || $order->isClosed()) ? "disabled" : ""?> />
 </li>
 <li class="dil pl10">
     <input id="executefailbutton" type="button" <?php if(false == $order->isConfirmTime() || $order->isRepeal() || $order->isFinished() == false || $order->isClosed()) echo "disabled=''" ;?> class = "red"  value="执行失败"/>
 </li>
 <?php if(false == $order->notification->proposal->isNull()) { ?>
     <li class="dil pl10">
         <?php $patientBingLiUrl = 'http://'.URL_PREFIX.'audit.haodf.com/intention/selectbingli?patientid='
         .$order->notification->proposal->patient->id.'&objid='.$order->notification->proposal->id.'&objname=Proposal'
         .ServiceBaseCheckRule::getAppendUrl4selectBingli(TelOrderCheckRule::$bingliTypesOfMustHas);?>
         <?php if($order->isClosed() || $order->isFinished()) { ?>
             <input type="button" class="" disabled  value="修改病历"/>
         <?php } else { ?>
             <a href="<?=$patientBingLiUrl?>"><input type="button" class=""  value="修改病历"/></a>
         <?php } ?>
     </li>
 <?php } ?>
  <li class="dil pl10">
  <form action="<?= $router->urlfor('telorder/seeDisease',array("orderId"=>$order->id)) ?>" method="post">
     <input type="submit"   value="需看病情" <?=$order->isNeedIllness() ? "disabled" :'' ?> />
 </form>
  </li>
 <li class="dil pl10">
 <form target="_blank" action="<?=$router->urlfor('telordertask/addtelordertask',array("orderId"=>$order->id,'spaceId'=>$space->id))?>" method="post">
     <input type="submit" value="新建预约任务" />
    echo $tmpTicketId;
    ?>
&listUrl=<?php 
    echo $_proposalHistory_urls->list;
    ?>
&sourceIntentionId=<?php 
    echo $_proposalHistory_sourceIntentionId;
    ?>
">复制</a>
<a href="proposaldetail?id=<?php 
    echo $dto->proposal->id;
    ?>
" target="_blank">查看</a>
<?php 
    if ($isCurProposal && false == $dto->proposal->isClosed()) {
        $patientBingLiUrl = 'http://' . URL_PREFIX . 'audit.haodf.com/intention/selectbingli?patientid=' . $dto->proposal->patient->id . '&objid=' . $dto->proposal->id . '&objname=Proposal' . ServiceBaseCheckRule::getAppendUrl4selectBingli(TelOrderCheckRule::$bingliTypesOfMustHas);
        ?>
				<a href="<?php 
        echo $patientBingLiUrl;
        ?>
"><input type="button" class=""  value="修改病历"/></a>
<?php 
    }
    $flow = DAL::get()->find_by_space_and_patient('DoctorPatientRef', $dto->proposal->space->id, $dto->proposal->patient->id);
    if (!$flow->isNull()) {
        $doctorPatientRefId = $flow->id;
        ?>
        <a href="/?c=nfsaudit&a=flowtask&doctorpatientrefid=<?php 
        echo $doctorPatientRefId;
        ?>
&search=scope"