懒羊羊
2023-08-30 1ac2bc1590406d9babec036e154d8d08f34a6aa1
提交 | 用户 | 时间
1ac2bc 1 @layout("/common/_container.html",{js:["/assets/modular/sysConfig/sysConfig_edit.js"]}){
2
3 <div class="layui-body-header">
4     <span class="layui-body-header-title">修改</span>
5 </div>
6
7 <div class="layui-fluid " style="">
8     <div class="layui-card">
9         <div class="layui-card-body">
10             <form id="sysConfigForm" lay-filter="sysConfigForm" class="layui-form model-form" style="max-width: 700px;margin: 40px auto;">
11                 <input name="id" type="hidden"/>
12                 <div class="layui-form-item">
13                     <label class="layui-form-label">名称<span style="color: red;">*</span></label>
14                     <div class="layui-input-block">
15                         <input id="name" name="name" placeholder="请输入名称" type="text" class="layui-input" autocomplete="off" lay-verify="required" required/>
16                     </div>
17                 </div>
18                 <div class="layui-form-item">
19                     <label class="layui-form-label">编码<span style="color: red;">*</span></label>
20                     <div class="layui-input-block">
21                         <input id="code" disabled="disabled" name="code" placeholder="属性编码" type="text" class="layui-input" autocomplete="off" lay-verify="required" required/>
22                     </div>
23                     <div class="layui-form-mid layui-word-aux form-tips">编码填写后不可修改,系统字典(GUNS_开头)添加后不可修改取值范围和字典类型</div>
24                 </div>
25                 <div class="layui-form-item">
26                     <label class="layui-form-label">取值范围<span style="color: red;">*</span></label>
27                     <div class="layui-input-block">
28                         <input type="radio" name="dictFlag" value="Y" title="字典" lay-filter="dictChecked" checked="checked">
29                         <input type="radio" name="dictFlag" value="N" title="非字典" lay-filter="dictChecked">
30                     </div>
31                     <div class="layui-form-mid layui-word-aux">如果选择字典,则取值来自于 系统管理->字典管理</div>
32                 </div>
33
34                 <!-- 从字典取值 -->
35                 <div id="dictCodeDiv">
36                     <div class="layui-form-item">
37                         <label class="layui-form-label">字典类型<span style="color: red;">*</span></label>
38                         <div class="layui-input-block">
39                             <select name="dictTypeId" id="dictTypeId" lay-filter="dictTypeId">
40                                 <option value="">请选择系统字典类型</option>
41                             </select>
42                         </div>
43                     </div>
44                     <div class="layui-form-item">
45                         <label class="layui-form-label">参数值<span style="color: red;">*</span></label>
46                         <div class="layui-input-block" id="dictDetails">
47                             <input type="radio" name="dictValue" value="" title="无" disabled="disabled">
48                         </div>
49                     </div>
50                 </div>
51
52                 <!-- 手动输入 -->
53                 <div class="layui-form-item" id="customCodeDiv">
54                     <label class="layui-form-label">参数值<span style="color: red;">*</span></label>
55                     <div class="layui-input-block">
56                         <input id="value" name="value" placeholder="属性值" type="text" autocomplete="off" class="layui-input"/>
57                     </div>
58                 </div>
59                 <div class="layui-form-item">
60                     <label class="layui-form-label">备注</label>
61                     <div class="layui-input-block">
62                         <input id="remark" name="remark" placeholder="请输入备注" type="text" autocomplete="off" class="layui-input"/>
63                     </div>
64                 </div>
65                 <div class="layui-form-item">
66                     <div class="layui-input-block">
67                         <button class="layui-btn" lay-filter="btnSubmit" lay-submit>&emsp;提交&emsp;</button>
68                         <button class="layui-btn layui-btn-primary" type="button" id="backupPage">&emsp;返回&emsp;</button>
69                     </div>
70                 </div>
71             </form>
72         </div>
73     </div>
74 </div>
75
76 @}