zhuguifei
2026-03-10 58402bd5e762361363a0f7d7907153c77dbb819f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!-- 角色编辑 -->
<script type="text/javascript">
$(function(){
    $("#pickIcon").click(function () {
        $.easyui.icons.showSelector({
            onEnter: function (val) { 
                $("#iconCls").removeClass().addClass(val);                
                $("#iconClsHid").attr("value",val);
            }
        });
        
    });
});
</script>
<div class="easyui-layout" data-options="fit:true,border:false">
    <div data-options="region:'center',border:false" title="" style="overflow: hidden;padding:5px">
        <form id="form" method="post">
            <fieldset>
                <legend>角色基本信息</legend>
                <table class="table" style="width: 100%;">
                    <tr>
                        <th>名称</th>
                        <td>
                            <input name="del" type="hidden" value="0"/>
                            <input name="id" type="hidden" value="${checkedRole.id}"/>
                            <input type="text" name="name" class="easyui-validatebox" data-options="required:true" value="${checkedRole.name}"/>
                        </td>
                        <th>排序</th>
                        <td>
                            <!-- <input type="text"  class="easyui-validatebox" data-options="required:true,prompt: '请输入排序ID'" /> -->
                            <input name="seq" class="easyui-numberspinner"
                            required="required" 
                            data-options="min:1,max:999" value="${checkedRole.seq}"/>
                        </td>
                    </tr>
                    <tr>
                        
                    </tr>
                    <tr>
                        <th>启用</th>
                        <td>
                            <select name="enable" class="easyui-combobox fselect" data-options="panelHeight:'auto'">
                                <option value="1" <c:if test="${checkedRole.enable=='1'}">selected="selected"</c:if>>启用</option>
                                <option value="0" <c:if test="${checkedRole.enable=='0'}">selected="selected"</c:if> >禁用</option>
                            </select>
                        </td>
                        <th>图标</th>
                        <td>
                            <input id="iconClsHid" name="iconCls" type="hidden" value="${checkedRole.iconCls}"/>
                            <span class="${checkedRole.iconCls}"
                             id="iconCls" 
                             style="display: inline-block;
                                    width: 16px;
                                    height: 16px;
                                    line-height: 16px;
                                    position: absolute;
                                    top: 104px;
                                    left: 320px;
                                    margin-top: -8px;
                                    font-size: 12px;">&nbsp;</span>
                            <input id="pickIcon" type="button" style="
                                display: inline-block;
                                line-height: 16px;
                                position: absolute;
                                top: 101px;
                                left: 353px;
                                margin-top: -8px;
                                font-size: 12px;" value="选择" />
                        </td>
                    </tr>
                    <tr>
                        <th>备注</th>
                        <td colspan="3">
                            <textarea rows="4" name="remark" cols="50">${checkedRole.remark}</textarea>
                        </td>
                    </tr>    
                    <tr>
                        <th width="40px">角色ID</th>
                        <td colspan="3">
                            ${checkedRole.id}
                        </td>
                    </tr>                            
                </table>
                <div id="GJSX" class="easyui-accordion" data-options="selected:false">
                        <div title="高级属性"  style="overflow: auto; padding: 0px; text-align:center">
                            <p style="color:red">为该角色维护轮保类型或点检类型。该信息将维护到综合基础数据中</p>
                            <table class="table" style="width: 100%;">
                                <tr style="text-align: center">
                                    <th style="text-align: center">角色轮保类型名称</th>
                                    <td>
                                        <input class="easyui-validatebox" type="text" name="lbTypeName"  value="${checkedRole.lbTypeName}" />
                                    </td>
                                </tr>
                                <tr >
                                    <th style="text-align: center">角色点检类型名称</th>
                                    <td>
                                        <input class="easyui-validatebox" type="text" name="djTypeName" value="${checkedRole.djTypeName}" />
                                    </td>
                                </tr>
                            </table>
                        </div>
                </div>
            </fieldset>
        </form>
    </div>
</div>