public function supportCRUDList() { $new_add = Router::getAction() == 'update' && !$_GET['id']; return array(self::OP_INDEX => array('fields' => array('name', 'user_group_id', 'real_name', 'state')), self::OP_STATE => array(), self::OP_UPDATE => array('fields' => $new_add ? array('name', 'user_group_id', 'real_name', 'password', 'state') : array('name', 'user_group_id', 'real_name', 'state'))); }
</span> <h1>拒绝访问</h1> <p class="desc"> 您没有当前页面访问权限 <br/> 申请更多权限,请咨询ERP系统管理人员。<br/> <a href="/">返回首页</a> </p> <div class="tech-info"> <p>技术支持信息:</p> <ul> <li><span>UID:</span><?php echo $user_info['id']; ?> </li> <li><span>Host:</span><?php echo $sys_id; ?> </li> <li><span>CONTROLLER:</span><?php echo Router::getController(); ?> </li> <li><span>ACTION:</span><?php echo Router::getAction(); ?> </li> </ul> </div> </div> </body> </html>
<?php use Lite\Core\Router; $ctrl = Router::getController(); $act = Router::getAction(); $tmp = strtolower($ctrl . '/' . $act); $navs = array(); $navs[strtolower($tmp)] = 'active'; $ref = $_GET['ref']; $__customer_id = $_GET['customer_id']; $__id = $_GET['id']; ?> <ul class="frm-tab" id="update-nav-tab"> <li class="<?php echo $navs[strtolower('Customer/showCustomerContactList')]; ?> "> <a href="<?php echo $this->getUrl('Customer/showCustomerContactList', array('ref' => $ref, 'customer_id' => $__customer_id, 'id' => $__id)); ?> ">联系人信息</a> </li> <li class="<?php echo $navs[strtolower('Customer/showCustomerQualificationList')]; ?> "> <a href="<?php echo $this->getUrl('Customer/showCustomerQualificationList', array('ref' => $ref, 'customer_id' => $__customer_id, 'id' => $__id)); ?> ">资质信息</a>