mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
[更新]修正系统节点选择器状态处理
This commit is contained in:
parent
197028c9b6
commit
307c0e94b7
@ -31,7 +31,7 @@
|
||||
<!--{/foreach}-->
|
||||
</ul>
|
||||
<div class="layui-tab-content">
|
||||
{foreach $groups as $key=>$group}
|
||||
{foreach $groups as $k=>$group}
|
||||
<div class="layui-tab-item">
|
||||
<table class="layui-table border-none" lay-skin="line">
|
||||
<!--{empty name='nodes'}-->
|
||||
@ -61,27 +61,27 @@
|
||||
<span class="color-desc"> ├─ </span>
|
||||
<label class="notselect margin-right-15 think-checkbox">
|
||||
<!--{notempty name='vo.is_login'}-->
|
||||
<input data-login-filter="{$vo.pnode}" checked='checked' class="check-box login_{$key}" type='checkbox' value='1' name='is_login' data-node="{$vo.node}" onclick="!this.checked && ($('.auth_{$key}')[0].checked = !!this.checked)">
|
||||
<input data-login-filter="{$vo.pnode}" checked='checked' class="check-box login_{$k}_{$key}" type='checkbox' value='1' name='is_login' data-node="{$vo.node}" onclick="!this.checked && ($('.auth_{$k}_{$key}')[0].checked = !!this.checked)">
|
||||
<!--{else}-->
|
||||
<input data-login-filter="{$vo.pnode}" class="check-box login_{$key}" type='checkbox' value='1' name='is_login' data-node="{$vo.node}" onclick="!this.checked && ($('.auth_{$key}')[0].checked = !!this.checked)">
|
||||
<input data-login-filter="{$vo.pnode}" class="check-box login_{$k}_{$key}" type='checkbox' value='1' name='is_login' data-node="{$vo.node}" onclick="!this.checked && ($('.auth_{$k}_{$key}')[0].checked = !!this.checked)">
|
||||
<!--{/notempty}-->
|
||||
加入登录控制
|
||||
</label>
|
||||
<span class="color-desc"> ├─ </span>
|
||||
<label class="notselect margin-right-15 think-checkbox">
|
||||
<!--{notempty name='vo.is_auth'}-->
|
||||
<input data-auth-filter="{$vo.pnode}" name='is_auth' data-node="{$vo.node}" checked='checked' class="check-box auth_{$key}" type='checkbox' onclick="this.checked && ($('.login_{$key}')[0].checked = !!this.checked)" value='1'>
|
||||
<input data-auth-filter="{$vo.pnode}" name='is_auth' data-node="{$vo.node}" checked='checked' class="check-box auth_{$k}_{$key}" type='checkbox' onclick="this.checked && ($('.login_{$k}_{$key}')[0].checked = !!this.checked)" value='1'>
|
||||
<!--{else}-->
|
||||
<input data-auth-filter="{$vo.pnode}" name='is_auth' data-node="{$vo.node}" class="check-box auth_{$key}" type='checkbox' value='1' onclick="this.checked && ($('.login_{$key}')[0].checked = !!this.checked)">
|
||||
<input data-auth-filter="{$vo.pnode}" name='is_auth' data-node="{$vo.node}" class="check-box auth_{$k}_{$key}" type='checkbox' value='1' onclick="this.checked && ($('.login_{$k}_{$key}')[0].checked = !!this.checked)">
|
||||
<!--{/notempty}-->
|
||||
加入权限控制
|
||||
</label>
|
||||
<span class="color-desc"> ├─ </span>
|
||||
<label class="notselect think-checkbox">
|
||||
<!--{notempty name='vo.is_menu'}-->
|
||||
<input data-menu-filter="{$vo.pnode}" name='is_menu' data-node="{$vo.node}" checked='checked' class='check-box menu_{$key}' type='checkbox' value='1'>
|
||||
<input data-menu-filter="{$vo.pnode}" name='is_menu' data-node="{$vo.node}" checked='checked' class='check-box menu_{$k}_{$key}' type='checkbox' value='1'>
|
||||
<!--{else}-->
|
||||
<input data-menu-filter="{$vo.pnode}" name='is_menu' data-node="{$vo.node}" class='check-box menu_{$key}' type='checkbox' value='1'>
|
||||
<input data-menu-filter="{$vo.pnode}" name='is_menu' data-node="{$vo.node}" class='check-box menu_{$k}_{$key}' type='checkbox' value='1'>
|
||||
<!--{/notempty}-->
|
||||
加入菜单节点选择器
|
||||
</label>
|
||||
|
Loading…
x
Reference in New Issue
Block a user