mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-05 19:41:44 +08:00
[更新]后台模块修改
This commit is contained in:
parent
83da4c6bc0
commit
a89cf6cf57
@ -1,20 +1,28 @@
|
||||
<form class="layui-form layui-card" action="{:request()->url()}" data-auto="true" method="post" autocomplete="off">
|
||||
<div class="layui-card-body">
|
||||
|
||||
<div class="layui-card-body padding-left-40">
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">权限名称</label>
|
||||
<div class="layui-input-block">
|
||||
<label class="relative block">
|
||||
<span class="color-green font-w7">权限名称</span>
|
||||
<span class="color-desc margin-left-5">Title</span>
|
||||
<input type="text" name="title" value='{$vo.title|default=""}' required placeholder="请输入权限名称" class="layui-input">
|
||||
</div>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">权限描述</label>
|
||||
<div class="layui-input-block">
|
||||
<label class="relative block">
|
||||
<span class="color-green font-w7">权限描述</span>
|
||||
<span class="color-desc margin-left-5">Authorization</span>
|
||||
<textarea placeholder="请输入权限描述" required class="layui-textarea" name="desc">{$vo.desc|default=""}</textarea>
|
||||
</div>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="hr-line-dashed"></div>
|
||||
{notempty name='vo.id'}<input type='hidden' value='{$vo.id}' name='id'>{/notempty}
|
||||
|
||||
<div class="layui-form-item text-center">
|
||||
<button class="layui-btn" type='submit'>保存数据</button>
|
||||
<button class="layui-btn layui-btn-danger" type='button' data-confirm="确定要取消编辑吗?" data-close>取消编辑</button>
|
||||
|
@ -14,7 +14,7 @@
|
||||
<!--{/eq}-->
|
||||
<!--{/foreach}-->
|
||||
</select>
|
||||
<p class="help-block"><b>必选</b>,请选择上级菜单或顶级菜单(目前最多支持三级菜单)</p>
|
||||
<p class="help-block">必选,请选择上级菜单或顶级菜单(目前最多支持三级菜单)</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -22,7 +22,7 @@
|
||||
<label class="layui-form-label">菜单名称</label>
|
||||
<div class="layui-input-block">
|
||||
<input name="title" value='{$vo.title|default=""}' required placeholder="请输入菜单名称" class="layui-input">
|
||||
<p class="help-block"><b>必填</b>,请填写菜单名称(如:系统管理),建议字符不要太长,一般4-6个汉字</p>
|
||||
<p class="help-block">必填,请填写菜单名称(如:系统管理),建议字符不要太长,一般4-6个汉字</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -31,7 +31,7 @@
|
||||
<div class="layui-input-block">
|
||||
<input onblur="this.value=this.value === ''?'#':this.value" name="url" required placeholder="请输入菜单链接" value="{$vo.url|default='#'}" class="layui-input">
|
||||
<p class="help-block">
|
||||
<b>必填</b>,请填写系统节点(如:admin/user/index),节点加入权限管理时菜单才会自动隐藏,非规则内的不会隐藏;
|
||||
必填,请填写系统节点(如:admin/user/index),节点加入权限管理时菜单才会自动隐藏,非规则内的不会隐藏;
|
||||
<br>正常情况下,在输入的时候会有自动提示。如果是上级菜单时,请填写"#"符号,不要填写地址或节点地址
|
||||
</p>
|
||||
</div>
|
||||
@ -41,7 +41,7 @@
|
||||
<label class="layui-form-label">链接参数</label>
|
||||
<div class="layui-input-block">
|
||||
<input name="params" placeholder="请输入链接参数" value="{$vo.params|default=''}" class="layui-input">
|
||||
<p class="help-block"><b>可选</b>,设置菜单链接的GET访问参数(如:name=1&age=3)</p>
|
||||
<p class="help-block">可选,设置菜单链接的GET访问参数(如:name=1&age=3)</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -55,16 +55,16 @@
|
||||
<i style="font-size:1.2em;margin:0" class='{$vo.icon|default=""}'></i>
|
||||
</span>
|
||||
<button data-icon='icon' type='button' class='layui-btn layui-btn-primary'>选择图标</button>
|
||||
<p class="help-block"><b>可选</b>,设置菜单选项前置图标,目前只支持 Font Awesome 5.2.0 字体图标</p>
|
||||
<p class="help-block">可选,设置菜单选项前置图标,目前只支持 Font Awesome 5.2.0 字体图标</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="hr-line-dashed"></div>
|
||||
{notempty name='vo.id'}<input type='hidden' value='{$vo.id}' name='id'>{/notempty}
|
||||
|
||||
<div class="layui-form-item text-center">
|
||||
{notempty name='vo.id'}<input type='hidden' value='{$vo.id}' name='id'>{/notempty}
|
||||
<button class="layui-btn" type='submit'>保存数据</button>
|
||||
<button class="layui-btn layui-btn-danger" type='button' data-confirm="确定要取消编辑吗?" data-close>取消编辑</button>
|
||||
</div>
|
||||
|
@ -2,12 +2,12 @@
|
||||
|
||||
{block name="button"}
|
||||
|
||||
{if auth("admin/menu/add")}
|
||||
{if auth("add")}
|
||||
<button data-modal='{:url("add")}' data-title="添加菜单" class='layui-btn layui-btn-sm layui-btn-primary'>添加菜单</button>
|
||||
{/if}
|
||||
|
||||
{if auth("admin/menu/remove")}
|
||||
<button data-action='{:url("remove")}' data-csrf="{:systoken('admin/menu/remove')}" data-rule="id#{key}" class='layui-btn layui-btn-sm layui-btn-primary'>删除菜单</button>
|
||||
{if auth("remove")}
|
||||
<button data-action='{:url("remove")}' data-csrf="{:systoken('remove')}" data-rule="id#{key}" class='layui-btn layui-btn-sm layui-btn-primary'>删除菜单</button>
|
||||
{/if}
|
||||
|
||||
{/block}
|
||||
@ -47,7 +47,7 @@
|
||||
<td class='text-center nowrap'>{eq name='vo.status' value='0'}<span class="color-red">已禁用</span>{else}<span class="color-green">使用中</span>{/eq}</td>
|
||||
<td class='text-center nowrap notselect'>
|
||||
|
||||
{if auth("admin/menu/add")}
|
||||
{if auth("add")}
|
||||
<span class="text-explode">|</span>
|
||||
<!--{if $vo.spt < 2}-->
|
||||
<a class="layui-btn layui-btn-xs layui-btn-primary" data-title="添加子菜单" data-modal='{:url("add")}?pid={$vo.id}'>添 加</a>
|
||||
@ -56,18 +56,18 @@
|
||||
<!--{/if}-->
|
||||
{/if}
|
||||
|
||||
{if auth("admin/menu/edit")}
|
||||
<a data-dbclick class="layui-btn layui-btn-xs" data-title="编辑菜单" data-modal='{:url("admin/menu/edit")}?id={$vo.id}'>编 辑</a>
|
||||
{if auth("edit")}
|
||||
<a data-dbclick class="layui-btn layui-btn-xs" data-title="编辑菜单" data-modal='{:url("edit")}?id={$vo.id}'>编 辑</a>
|
||||
{/if}
|
||||
|
||||
{if $vo.status eq 1 and auth("admin/menu/forbid")}
|
||||
<a class="layui-btn layui-btn-warm layui-btn-xs" data-confirm="确定要禁用菜单吗?" data-action="{:url('forbid')}" data-value="id#{$vo.ids};status#0" data-csrf="{:systoken('admin/menu/forbid')}">禁 用</a>
|
||||
{elseif auth("admin/menu/resume")}
|
||||
<a class="layui-btn layui-btn-warm layui-btn-xs" data-action="{:url('resume')}" data-value="id#{$vo.ids};status#1" data-csrf="{:systoken('admin/menu/resume')}">启 用</a>
|
||||
{if $vo.status eq 1 and auth("forbid")}
|
||||
<a class="layui-btn layui-btn-warm layui-btn-xs" data-confirm="确定要禁用菜单吗?" data-action="{:url('forbid')}" data-value="id#{$vo.ids};status#0" data-csrf="{:systoken('forbid')}">禁 用</a>
|
||||
{elseif auth("resume")}
|
||||
<a class="layui-btn layui-btn-warm layui-btn-xs" data-action="{:url('resume')}" data-value="id#{$vo.ids};status#1" data-csrf="{:systoken('resume')}">启 用</a>
|
||||
{/if}
|
||||
|
||||
{if auth("admin/menu/remove")}
|
||||
<a class="layui-btn layui-btn-danger layui-btn-xs" data-confirm="确定要删除数据吗?" data-action="{:url('remove')}" data-value="id#{$vo.ids}" data-csrf="{:systoken('admin/menu/remove')}">删 除</a>
|
||||
{if auth("remove")}
|
||||
<a class="layui-btn layui-btn-danger layui-btn-xs" data-confirm="确定要删除数据吗?" data-action="{:url('remove')}" data-value="id#{$vo.ids}" data-csrf="{:systoken('remove')}">删 除</a>
|
||||
{/if}
|
||||
|
||||
</td>
|
||||
|
@ -2,12 +2,12 @@
|
||||
|
||||
{block name="button"}
|
||||
|
||||
{if auth("admin/oplog/clear")}
|
||||
{if auth("clear")}
|
||||
<button data-load='{:url("clear")}' data-confirm="确定要消除所有日志吗?" class='layui-btn layui-btn-sm layui-btn-primary'>清理日志</button>
|
||||
{/if}
|
||||
|
||||
{if auth("admin/oplog/remove")}
|
||||
<button data-action='{:url("remove")}' data-rule="id#{key}" data-csrf="{:systoken('admin/oplog/remove')}" data-confirm="确定要删除日志吗?" class='layui-btn layui-btn-sm layui-btn-primary'>删除日志</button>
|
||||
{if auth("remove")}
|
||||
<button data-action='{:url("remove")}' data-rule="id#{key}" data-csrf="{:systoken('remove')}" data-confirm="确定要删除日志吗?" class='layui-btn layui-btn-sm layui-btn-primary'>删除日志</button>
|
||||
{/if}
|
||||
|
||||
{/block}
|
||||
@ -51,8 +51,8 @@
|
||||
日期:{$vo.create_at|format_datetime|str_replace=' ','<br><span class="color-desc">时间:',###|raw}</span>
|
||||
</td>
|
||||
<td class='text-left nowrap'>
|
||||
{if auth("admin/oplog/remove")}
|
||||
<a data-dbclick class="layui-btn layui-btn-sm layui-btn-danger" data-confirm="确定要删除该日志吗?" data-action="{:url('remove')}" data-value="id#{$vo.id}" data-csrf="{:systoken('admin/oplog/remove')}">删 除</a>
|
||||
{if auth("remove")}
|
||||
<a data-dbclick class="layui-btn layui-btn-sm layui-btn-danger" data-confirm="确定要删除该日志吗?" data-action="{:url('remove')}" data-value="id#{$vo.id}" data-csrf="{:systoken('remove')}">删 除</a>
|
||||
{/if}
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -1,39 +1,50 @@
|
||||
<form class="layui-form layui-card" action="{:request()->url()}" data-auto="true" method="post" autocomplete="off">
|
||||
<div class="layui-card-body">
|
||||
<div class="layui-card-body padding-left-40">
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label label-required">用户账号</label>
|
||||
<div class="layui-input-block">
|
||||
<label class="relative block">
|
||||
<span class="color-green font-w7">用户账号</span>
|
||||
<span class="color-desc margin-left-5">Username</span>
|
||||
<!--{if isset($vo) and isset($vo.username)}-->
|
||||
<input disabled value='{$vo.username|default=""}' class="layui-input layui-bg-gray">
|
||||
<!--{else}-->
|
||||
<input name="username" value='{$vo.username|default=""}' required pattern="^.{4,}$" placeholder="请输入4位及以上字符用户名称" class="layui-input">
|
||||
<!--{/if}-->
|
||||
<p class="color-desc">用户账号创建后,不允许再次修改。</p>
|
||||
</div>
|
||||
</label>
|
||||
<p class="help-block">用户账号创建后,不允许再次修改。</p>
|
||||
</div>
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">联系手机</label>
|
||||
<div class="layui-input-block">
|
||||
<label class="relative block">
|
||||
<span class="color-green font-w7">联系手机</span>
|
||||
<span class="color-desc margin-left-5">Phone</span>
|
||||
<input type="tel" maxlength="11" autocomplete="off" autofocus name="phone" value='{$vo.phone|default=""}' pattern="^1[3-9][0-9]{9}$" placeholder="请输入联系手机" class="layui-input">
|
||||
<p class="color-desc">可选,用户联系手机号码,需要填写正确的格式</p>
|
||||
</div>
|
||||
</label>
|
||||
<p class="color-desc">可选,用户联系手机号码,需要填写正确的格式</p>
|
||||
</div>
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">联系邮箱</label>
|
||||
<div class="layui-input-block">
|
||||
<label class="relative block">
|
||||
<span class="color-green font-w7">联系邮箱</span>
|
||||
<span class="color-desc margin-left-5">Email</span>
|
||||
<input name="mail" autocomplete="off" pattern="^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$" value='{$vo.mail|default=""}' placeholder="请输入联系邮箱" class="layui-input">
|
||||
<p class="color-desc">可选,用户联系电子邮箱,需要填写正确的格式</p>
|
||||
</div>
|
||||
</label>
|
||||
<p class="color-desc">可选,用户联系电子邮箱,需要填写正确的格式</p>
|
||||
</div>
|
||||
|
||||
{notempty name='authorizes'}
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">访问授权</label>
|
||||
<div class="layui-input-block">
|
||||
|
||||
<div class="layui-form-item relative">
|
||||
<span class="color-green font-w7">访问授权</span>
|
||||
<span class="color-desc margin-left-5">Authorization</span>
|
||||
<div class="layui-textarea">
|
||||
{if isset($vo.username) and $vo.username eq 'admin'}
|
||||
<span class="color-desc" style="line-height:36px">超级用户不需要配置权限</span>
|
||||
<span class="color-desc">超级用户不需要配置权限</span>
|
||||
{elseif empty($authorizes)}
|
||||
<span class="color-desc">未配置权限</span>
|
||||
{else}
|
||||
{foreach $authorizes as $authorize}
|
||||
<label class="think-checkbox">
|
||||
<label class="think-checkbox layui-unselect">
|
||||
{if in_array($authorize.id, $vo.authorize)}
|
||||
<input type="checkbox" checked name="authorize[]" value="{$authorize.id}" lay-ignore> {$authorize.title}
|
||||
{else}
|
||||
@ -41,23 +52,26 @@
|
||||
{/if}
|
||||
</label>
|
||||
{/foreach}
|
||||
{empty name='authorizes'}<span class="color-desc" style="line-height:36px">未配置权限</span>{/empty}
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
{/notempty}
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">用户描述</label>
|
||||
<div class="layui-input-block">
|
||||
<label class="relative block">
|
||||
<span class="color-green font-w7">用户描述</span>
|
||||
<span class="color-desc margin-left-5">Description</span>
|
||||
<textarea placeholder="请输入用户描述" class="layui-textarea" name="desc">{$vo.desc|default=""}</textarea>
|
||||
</div>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="hr-line-dashed"></div>
|
||||
{notempty name='vo.id'}<input type='hidden' value='{$vo.id}' name='id'>{/notempty}
|
||||
|
||||
<div class="layui-form-item text-center">
|
||||
{notempty name='vo.id'}<input type='hidden' value='{$vo.id}' name='id'>{/notempty}
|
||||
<button class="layui-btn" type='submit'>保存数据</button>
|
||||
<button class="layui-btn layui-btn-danger" type='button' data-confirm="确定要取消编辑吗?" data-close>取消编辑</button>
|
||||
</div>
|
||||
<script>window.form.render();</script>
|
||||
|
||||
</form>
|
||||
|
@ -2,12 +2,12 @@
|
||||
|
||||
{block name="button"}
|
||||
|
||||
{if auth("admin/user/add")}
|
||||
{if auth("add")}
|
||||
<button data-modal='{:url("add")}' data-title="添加用户" class='layui-btn layui-btn-sm layui-btn-primary'>添加用户</button>
|
||||
{/if}
|
||||
|
||||
{if auth("admin/user/remove")}
|
||||
<button data-action='{:url("remove")}' data-rule="id#{key}" data-csrf="{:systoken('admin/user/remove')}" data-confirm="确定要删除这些用户吗?" class='layui-btn layui-btn-sm layui-btn-primary'>删除用户</button>
|
||||
{if auth("remove")}
|
||||
<button data-action='{:url("remove")}' data-rule="id#{key}" data-csrf="{:systoken('remove')}" data-confirm="确定要删除这些用户吗?" class='layui-btn layui-btn-sm layui-btn-primary'>删除用户</button>
|
||||
{/if}
|
||||
|
||||
{/block}
|
||||
@ -46,22 +46,22 @@
|
||||
<td class='text-left nowrap'>{if $vo.login_num>0}{$vo.login_at|format_datetime}{else} - {/if}</td>
|
||||
<td class='text-left nowrap'>
|
||||
|
||||
{if auth("admin/user/pass")}
|
||||
{if auth("pass")}
|
||||
<a class="layui-btn layui-btn-normal layui-btn-sm" data-title="设置密码" data-modal='{:url("pass")}?id={$vo.id}'>密 码</a>
|
||||
{/if}
|
||||
|
||||
{if auth("admin/user/edit")}
|
||||
{if auth("edit")}
|
||||
<a data-dbclick class="layui-btn layui-btn-sm" data-title="编辑用户" data-modal='{:url("edit")}?id={$vo.id}'>编 辑</a>
|
||||
{/if}
|
||||
|
||||
{if $vo.status eq 1 and auth("admin/user/forbid")}
|
||||
<a class="layui-btn layui-btn-sm layui-btn-warm" data-action="{:url('forbid')}" data-value="id#{$vo.id};status#0" data-csrf="{:systoken('admin/user/forbid')}">禁 用</a>
|
||||
{elseif $vo.status eq 0 and auth("admin/user/resume")}
|
||||
<a class="layui-btn layui-btn-sm layui-btn-warm" data-action="{:url('resume')}" data-value="id#{$vo.id};status#1" data-csrf="{:systoken('admin/user/resume')}">启 用</a>
|
||||
{if $vo.status eq 1 and auth("forbid")}
|
||||
<a class="layui-btn layui-btn-sm layui-btn-warm" data-action="{:url('forbid')}" data-value="id#{$vo.id};status#0" data-csrf="{:systoken('forbid')}">禁 用</a>
|
||||
{elseif $vo.status eq 0 and auth("resume")}
|
||||
<a class="layui-btn layui-btn-sm layui-btn-warm" data-action="{:url('resume')}" data-value="id#{$vo.id};status#1" data-csrf="{:systoken('resume')}">启 用</a>
|
||||
{/if}
|
||||
|
||||
{if auth("admin/user/remove")}
|
||||
<a class="layui-btn layui-btn-sm layui-btn-danger" data-confirm="确定要删除该用户吗?" data-action="{:url('remove')}" data-value="id#{$vo.id}" data-csrf="{:systoken('admin/user/remove')}">删 除</a>
|
||||
{if auth("remove")}
|
||||
<a class="layui-btn layui-btn-sm layui-btn-danger" data-confirm="确定要删除该用户吗?" data-action="{:url('remove')}" data-value="id#{$vo.id}" data-csrf="{:systoken('remove')}">删 除</a>
|
||||
{/if}
|
||||
|
||||
</td>
|
||||
|
@ -1,51 +1,55 @@
|
||||
<form class="layui-form layui-card" action="{:request()->url()}" data-auto="true" method="post" autocomplete="off">
|
||||
|
||||
<div class="layui-card-body">
|
||||
<div class="layui-card-body padding-left-40">
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label label-required">用户账号</label>
|
||||
<div class="layui-input-block">
|
||||
<!--{if $vo and isset($vo.username)}-->
|
||||
<label class="relative block">
|
||||
<span class="color-green font-w7">用户账号</span>
|
||||
<span class="color-desc margin-left-5">Username</span>
|
||||
<!--{if isset($vo) and isset($vo.username)}-->
|
||||
<input disabled value='{$vo.username|default=""}' class="layui-input layui-bg-gray">
|
||||
<p class="help-block">用户账号创建后,不允许再次修改。</p>
|
||||
<!--{else}-->
|
||||
<input name="username" value='{$vo.username|default=""}' required pattern="^.{4,}$" placeholder="请输入4位及以上字符用户名称" class="layui-input">
|
||||
<!--{/if}-->
|
||||
</div>
|
||||
</label>
|
||||
<p class="help-block">用户账号创建后,不允许再次修改。</p>
|
||||
</div>
|
||||
|
||||
<!--{if $verify}-->
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">旧的密码</label>
|
||||
<div class="layui-input-block">
|
||||
<label class="relative block">
|
||||
<span class="color-green font-w7">旧的密码</span>
|
||||
<span class="color-desc margin-left-5">Old Password</span>
|
||||
<input type="password" autofocus name="oldpassword" value='' pattern="^\S{1,}$" required placeholder="请输入旧的密码" class="layui-input">
|
||||
<p class="help-block">请输入旧密码来验证修改权限,旧密码不限制格式。</p>
|
||||
</div>
|
||||
</label>
|
||||
<p class="color-desc">请输入旧密码来验证修改权限,旧密码不限制格式。</p>
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">新的密码</label>
|
||||
<div class="layui-input-block">
|
||||
<label class="relative block">
|
||||
<span class="color-green font-w7">新的密码</span>
|
||||
<span class="color-desc margin-left-5">New Password</span>
|
||||
<input type="password" name="password" maxlength="32" pattern="^(?![\d]+$)(?![a-zA-Z]+$)(?![^\da-zA-Z]+$).{6,32}$" required placeholder="请输入新的密码" class="layui-input">
|
||||
<p class="help-block">密码必需包含大小写字母、数字、符号的任意两者组合。</p>
|
||||
</div>
|
||||
</label>
|
||||
<p class="color-desc">密码必需包含大小写字母、数字、符号的任意两者组合。</p>
|
||||
</div>
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">重复密码</label>
|
||||
<div class="layui-input-block">
|
||||
<label class="relative block">
|
||||
<span class="color-green font-w7">重复密码</span>
|
||||
<span class="color-desc margin-left-5">Retype Password</span>
|
||||
<input type="password" name="repassword" maxlength="32" pattern="^(?![\d]+$)(?![a-zA-Z]+$)(?![^\da-zA-Z]+$).{6,32}$" required placeholder="请输入重复密码" class="layui-input">
|
||||
<p class="help-block">密码必需包含大小写字母、数字、符号的任意两者组合。</p>
|
||||
</div>
|
||||
</label>
|
||||
<p class="color-desc">密码必需包含大小写字母、数字、符号的任意两者组合。</p>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="hr-line-dashed"></div>
|
||||
{notempty name='vo.id'}<input type='hidden' value='{$vo.id}' name='id'>{/notempty}
|
||||
|
||||
<div class="layui-form-item text-center">
|
||||
{notempty name='vo.id'}<input type='hidden' value='{$vo.id}' name='id'>{/notempty}
|
||||
<button class="layui-btn" type='submit'>保存数据</button>
|
||||
<button class="layui-btn layui-btn-danger" type='button' data-confirm="确定要取消编辑吗?" data-close>取消编辑</button>
|
||||
</div>
|
||||
|
2
vendor/autoload.php
vendored
2
vendor/autoload.php
vendored
@ -4,4 +4,4 @@
|
||||
|
||||
require_once __DIR__ . '/composer/autoload_real.php';
|
||||
|
||||
return ComposerAutoloaderInit51aa80bd984c4321321fc668067c748f::getLoader();
|
||||
return ComposerAutoloaderInit3d67c96a2b8de036c09432e1ae9a5210::getLoader();
|
||||
|
14
vendor/composer/autoload_real.php
vendored
14
vendor/composer/autoload_real.php
vendored
@ -2,7 +2,7 @@
|
||||
|
||||
// autoload_real.php @generated by Composer
|
||||
|
||||
class ComposerAutoloaderInit51aa80bd984c4321321fc668067c748f
|
||||
class ComposerAutoloaderInit3d67c96a2b8de036c09432e1ae9a5210
|
||||
{
|
||||
private static $loader;
|
||||
|
||||
@ -19,15 +19,15 @@ class ComposerAutoloaderInit51aa80bd984c4321321fc668067c748f
|
||||
return self::$loader;
|
||||
}
|
||||
|
||||
spl_autoload_register(array('ComposerAutoloaderInit51aa80bd984c4321321fc668067c748f', 'loadClassLoader'), true, true);
|
||||
spl_autoload_register(array('ComposerAutoloaderInit3d67c96a2b8de036c09432e1ae9a5210', 'loadClassLoader'), true, true);
|
||||
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
||||
spl_autoload_unregister(array('ComposerAutoloaderInit51aa80bd984c4321321fc668067c748f', 'loadClassLoader'));
|
||||
spl_autoload_unregister(array('ComposerAutoloaderInit3d67c96a2b8de036c09432e1ae9a5210', 'loadClassLoader'));
|
||||
|
||||
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
|
||||
if ($useStaticLoader) {
|
||||
require_once __DIR__ . '/autoload_static.php';
|
||||
|
||||
call_user_func(\Composer\Autoload\ComposerStaticInit51aa80bd984c4321321fc668067c748f::getInitializer($loader));
|
||||
call_user_func(\Composer\Autoload\ComposerStaticInit3d67c96a2b8de036c09432e1ae9a5210::getInitializer($loader));
|
||||
} else {
|
||||
$map = require __DIR__ . '/autoload_namespaces.php';
|
||||
foreach ($map as $namespace => $path) {
|
||||
@ -48,19 +48,19 @@ class ComposerAutoloaderInit51aa80bd984c4321321fc668067c748f
|
||||
$loader->register(true);
|
||||
|
||||
if ($useStaticLoader) {
|
||||
$includeFiles = Composer\Autoload\ComposerStaticInit51aa80bd984c4321321fc668067c748f::$files;
|
||||
$includeFiles = Composer\Autoload\ComposerStaticInit3d67c96a2b8de036c09432e1ae9a5210::$files;
|
||||
} else {
|
||||
$includeFiles = require __DIR__ . '/autoload_files.php';
|
||||
}
|
||||
foreach ($includeFiles as $fileIdentifier => $file) {
|
||||
composerRequire51aa80bd984c4321321fc668067c748f($fileIdentifier, $file);
|
||||
composerRequire3d67c96a2b8de036c09432e1ae9a5210($fileIdentifier, $file);
|
||||
}
|
||||
|
||||
return $loader;
|
||||
}
|
||||
}
|
||||
|
||||
function composerRequire51aa80bd984c4321321fc668067c748f($fileIdentifier, $file)
|
||||
function composerRequire3d67c96a2b8de036c09432e1ae9a5210($fileIdentifier, $file)
|
||||
{
|
||||
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
||||
require $file;
|
||||
|
8
vendor/composer/autoload_static.php
vendored
8
vendor/composer/autoload_static.php
vendored
@ -4,7 +4,7 @@
|
||||
|
||||
namespace Composer\Autoload;
|
||||
|
||||
class ComposerStaticInit51aa80bd984c4321321fc668067c748f
|
||||
class ComposerStaticInit3d67c96a2b8de036c09432e1ae9a5210
|
||||
{
|
||||
public static $files = array (
|
||||
'841780ea2e1d6545ea3a253239d59c05' => __DIR__ . '/..' . '/qiniu/php-sdk/src/Qiniu/functions.php',
|
||||
@ -314,9 +314,9 @@ class ComposerStaticInit51aa80bd984c4321321fc668067c748f
|
||||
public static function getInitializer(ClassLoader $loader)
|
||||
{
|
||||
return \Closure::bind(function () use ($loader) {
|
||||
$loader->prefixLengthsPsr4 = ComposerStaticInit51aa80bd984c4321321fc668067c748f::$prefixLengthsPsr4;
|
||||
$loader->prefixDirsPsr4 = ComposerStaticInit51aa80bd984c4321321fc668067c748f::$prefixDirsPsr4;
|
||||
$loader->classMap = ComposerStaticInit51aa80bd984c4321321fc668067c748f::$classMap;
|
||||
$loader->prefixLengthsPsr4 = ComposerStaticInit3d67c96a2b8de036c09432e1ae9a5210::$prefixLengthsPsr4;
|
||||
$loader->prefixDirsPsr4 = ComposerStaticInit3d67c96a2b8de036c09432e1ae9a5210::$prefixDirsPsr4;
|
||||
$loader->classMap = ComposerStaticInit3d67c96a2b8de036c09432e1ae9a5210::$classMap;
|
||||
|
||||
}, null, ClassLoader::class);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user