懒羊羊
2023-08-30 1ac2bc1590406d9babec036e154d8d08f34a6aa1
提交 | 用户 | 时间
1ac2bc 1 @layout("/common/_form.html",{js:["/assets/modular/system/user/user_edit.js"],css:["/assets/expand/module/formSelects/formSelects-v4.css"]}){
2
3 <form class="layui-form" id="userForm" lay-filter="userForm">
4     <div class="layui-fluid" style="padding-bottom: 75px;">
5         <div class="layui-card">
6             <div class="layui-card-header">${lang.get("TITLE_BASE_INFO","基本信息")}</div>
7             <div class="layui-card-body">
8                 <div class="layui-form-item layui-row">
9                     <input name="userId" id="userId" type="hidden"/>
10                     <div class="layui-inline layui-col-md12">
11                         <label class="layui-form-label">${lang.get("FIELD_NAME","名称")}<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">${lang.get("FIELD_BIRTHDAY","出生日期")}</label>
18                         <div class="layui-input-block">
19                             <input id="birthday" name="birthday" placeholder="请输入生日" type="text" class="layui-input date-icon" autocomplete="off"/>
20                         </div>
21                     </div>
22                     <div class="layui-inline layui-col-md12">
23 <!--                        <label class="layui-form-label">${lang.get("FIELD_EMAIL","邮箱")}<span style="color: red;">*</span></label>-->
24 <!--                        <div class="layui-input-block">-->
25 <!--                            <input name="email" placeholder="请输入邮箱" type="text" class="layui-input" lay-verify="required|email" required />-->
26 <!--                        </div>-->
27                         <label class="layui-form-label">邮箱<span style="color: red;">*</span></label>
28                         <div class="layui-input-block">
29                             <input name="email" placeholder="请输入邮箱" type="text" class="layui-input" autocomplete="off"/>
30                         </div>
31                     </div>
32                     <div class="layui-inline layui-col-md12">
33                         <label class="layui-form-label">${lang.get("FIELD_SEX","性别")}</label>
34                         <div class="layui-input-block">
35                             <input type="radio" name="sex" value="M" title="男" checked/>
36                             <input type="radio" name="sex" value="F" title="女"/>
37                         </div>
38                     </div>
39                     <div class="layui-inline layui-col-md12">
40                         <label class="layui-form-label">${lang.get("FIELD_PHONE","电话")}</label>
41                         <div class="layui-input-block">
42                             <input name="phone" placeholder="请输入电话" type="text" class="layui-input"/>
43                         </div>
44                     </div>
45                 </div>
46             </div>
47         </div>
48         <div class="layui-card">
49             <div class="layui-card-header">${lang.get("TITLE_DUTY_INFO","职务信息")}</div>
50             <div class="layui-card-body">
51                 <div class="layui-form-item layui-row">
52                     <div class="layui-inline layui-col-md12">
53                         <label class="layui-form-label">${lang.get("FIELD_DEPT","部门")}<span style="color: red;">*</span></label>
54                         <div class="layui-input-block">
55                             <input id="deptId" name="deptId" type="hidden">
56                             <input id="deptName" name="deptName" placeholder="请输入部门" type="text" class="layui-input" lay-verify="required" required autocomplete="off"/>
57                         </div>
58                     </div>
59                     <div class="layui-inline layui-col-md12">
60                         <label class="layui-form-label">${lang.get("FIELD_POST","职位")}<span style="color: red;">*</span></label>
61                         <div class="layui-input-block">
62                             <select name="position" id="position" xm-select="selPosition" lay-verify="required" required>
63                             </select>
64                         </div>
65                     </div>
66                 </div>
67             </div>
68         </div>
69     </div>
70     <div class="form-group-bottom text-center">
71         <button class="layui-btn" lay-filter="btnSubmit" lay-submit>&emsp;${lang.get("BTN_SUBMIT","提交")}&emsp;</button>
72         <button type="reset" class="layui-btn layui-btn-primary" ew-event="closeDialog">&emsp;${lang.get("BTN_CANCEL","取消")}&emsp;</button>
73     </div>
74
75 </form>
76
77 @}