懒羊羊
2023-08-30 1ac2bc1590406d9babec036e154d8d08f34a6aa1
提交 | 用户 | 时间
1ac2bc 1 @layout("/common/_form.html",{js:["/assets/modular/system/role/role_edit.js"]}){
2
3 <form class="layui-form" id="roleForm" lay-filter="roleForm">
4     <div class="layui-fluid" style="padding-bottom: 75px;">
5         <div class="layui-card">
6             <div class="layui-card-header">基本信息</div>
7             <div class="layui-card-body">
8                 <div class="layui-form-item layui-row">
9                     <input name="roleId" type="hidden"/>
10                     <div class="layui-inline layui-col-md12">
11                         <label class="layui-form-label">角色名称<span style="color: red;">*</span></label>
12                         <div class="layui-input-block">
13                             <input name="name" placeholder="请输入角色名称" type="text" class="layui-input" lay-verify="required" required/>
14                         </div>
15                     </div>
16                     <div class="layui-inline layui-col-md12">
17                         <label class="layui-form-label">上级名称<span style="color: red;">*</span></label>
18                         <div class="layui-input-block">
19                             <input id="pid" name="pid" type="hidden">
20                             <input id="pName" name="pName" placeholder="请输入上级名称" type="text" class="layui-input" lay-verify="required" required autocomplete="off"/>
21                         </div>
22                     </div>
23                     <div class="layui-inline layui-col-md12">
24                         <label class="layui-form-label">别名<span style="color: red;">*</span></label>
25                         <div class="layui-input-block">
26                             <input id="description" name="description" placeholder="请输入别名" type="text" class="layui-input" lay-verify="required" required autocomplete="off"/>
27                         </div>
28                     </div>
29                     <div class="layui-inline layui-col-md12">
30                         <label class="layui-form-label">排序</label>
31                         <div class="layui-input-block">
32                             <input name="sort" placeholder="请输入排序" type="text" class="layui-input"/>
33                         </div>
34                     </div>
35                 </div>
36             </div>
37         </div>
38     </div>
39     <div class="form-group-bottom text-center">
40         <button class="layui-btn" lay-filter="btnSubmit" lay-submit>&emsp;提交&emsp;</button>
41         <button type="reset" class="layui-btn layui-btn-primary" ew-event="closeDialog">&emsp;取消&emsp;</button>
42     </div>
43
44 </form>
45
46 @}