public function abnormalCategory($request, $response)
 {
     /*{{{*/
     if (false == FollowupOwner::isFollowupSuperAuditor($this->auditor)) {
         throw new BizException("您没有权限访问此页面");
     }
     $response->abnormalCategory = DAL::get()->find_all_by_isDeleted('AbnormalCategory', AbnormalCategory::IS_DELETED_FALSE);
 }
 public function followupSchemeTpl($request, $response)
 {
     /*{{{*/
     if (false == FollowupOwner::isFollowupSuperAuditor($this->auditor)) {
         echo "您没有权限访问此页面";
         return parent::DIRECT_OUTPUT;
     }
     $childCategoryId = $request->childCategoryId;
     $childCategory = DAL::get()->find('FollowupSchemeCategory', $childCategoryId);
     $parentCategory = $childCategory->getParentCategory();
     $response->parentCategory = $parentCategory;
     $response->childCategory = $childCategory;
     $tpls = DAL::get()->find_all_by_followupschemecategoryid_and_isdeleted('FollowupSchemeTpl', $childCategoryId, FollowupSchemeTpl::UNDELETED);
     $response->tpls = $tpls;
     $response->dueHourArr = FollowupSchemeTpl::$dueHourArr;
     $response->executingStateArr = FollowupSchemeTpl::$executingStateArr;
     $response->display = $request->display;
     $editTplId = $request->edittplid;
     $editTpl = DAL::get()->find('FollowupSchemeTpl', $editTplId);
     $response->editTpl = $editTpl;
 }
Esempio n. 3
0
<div><?php 
echo $auditor->realName;
?>
,您好!</div>
<div>公共未审核:<?php 
echo $auditFlowCount;
?>
条 
</div>
<div>
    全部审核中的工单(<?php 
echo $allAuditFlowCount;
?>
)
<?php 
if (FollowupOwner::isFollowupSuperAuditor($auditor)) {
    ?>
    <button id='allRelease'>全部放回</button>
<?php 
}
?>
    我审核中的工单(<?php 
echo $myAuditFlowCount;
?>
)
    <a href='<?php 
echo $router->urlfor('nfsaudit/releasetask');
?>
' target="content_frm"><button>放回我的</button></a>
</div>