|
|
|
@ -640,6 +640,7 @@ class AdminController extends Controller {
|
|
|
|
|
public function checkListOrCountAuthRestMap(&$map,$checkarr = false,$countfield = "rule_count_check"){
|
|
|
|
|
//验证count
|
|
|
|
|
if(IS_ROOT){
|
|
|
|
|
$this->assign('caculate_check',true);
|
|
|
|
|
$this->assign('role_export_check',true);
|
|
|
|
|
$this->assign($countfield,true);
|
|
|
|
|
}else{
|
|
|
|
@ -651,10 +652,10 @@ class AdminController extends Controller {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$exportRule = strtolower(MODULE_NAME.'/'.CONTROLLER_NAME.'/'.ACTION_NAME."_caculate_check");
|
|
|
|
|
|
|
|
|
|
$this->assign('caculate_check',$this->checkRule($exportRule,array('in','1,2')));
|
|
|
|
|
$caculateRule = strtolower(MODULE_NAME.'/'.CONTROLLER_NAME.'/'.ACTION_NAME."_caculate_check");
|
|
|
|
|
|
|
|
|
|
$this->assign('caculate_check',$this->checkRule($caculateRule,array('in','1,2')));
|
|
|
|
|
// var_dump($caculateRule);die();
|
|
|
|
|
$countRule = strtolower(MODULE_NAME.'/'.CONTROLLER_NAME.'/'.ACTION_NAME."_count_check");
|
|
|
|
|
$this->assign($countfield,$this->checkRule($countRule,array('in','1,2')));
|
|
|
|
|
|
|
|
|
|