提交 | 用户 | 时间
|
1ac2bc
|
1 |
@layout("/common/_form.html",{js:["/assets/modular/system/dept/dept_add.js"]}){ |
懒 |
2 |
|
|
3 |
<form class="layui-form" id="deptForm" lay-filter="deptForm"> |
|
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="deptId" 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="simpleName" 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="fullName" name="fullName" 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="description" placeholder="请输入备注" type="text" class="layui-input"/> |
|
33 |
</div> |
|
34 |
</div> |
|
35 |
<div class="layui-inline layui-col-md12"> |
|
36 |
<label class="layui-form-label">排序</label> |
|
37 |
<div class="layui-input-block"> |
|
38 |
<input name="sort" placeholder="请输入排序" type="text" class="layui-input"/> |
|
39 |
</div> |
|
40 |
</div> |
|
41 |
</div> |
|
42 |
</div> |
|
43 |
</div> |
|
44 |
</div> |
|
45 |
<div class="form-group-bottom text-center"> |
|
46 |
<button class="layui-btn" lay-filter="btnSubmit" lay-submit> 提交 </button> |
|
47 |
<button type="reset" class="layui-btn layui-btn-primary" ew-event="closeDialog"> 取消 </button> |
|
48 |
</div> |
|
49 |
|
|
50 |
</form> |
|
51 |
@} |