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
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<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="${unit.id}"/>
                            <input type="text" name="name" class="easyui-validatebox" data-options="required:true" value="${unit.name}"/>
                        </td>
                        <th>编码</th>
                        <td>
                            <input type="text" name="code" class="easyui-validatebox" value="${unit.code}"/>
                        </td>
                    </tr>
                    <tr>
                    <th>类型</th>
                        <td>
                            <input type="text" name="type" class="easyui-validatebox" value="${unit.type}"/>
                        </td>
                        <th>启用</th>
                        <td>
                            <select name="enable" class="easyui-combobox fselect" data-options="panelHeight:'auto'">
                                <option value="1" <c:if test="${unit.enable=='1'}">selected="selected"</c:if>>启用</option>
                                <option value="0" <c:if test="${unit.enable=='0'}">selected="selected"</c:if> >禁用</option>
                            </select>
                        </td>
                    </tr>
                </table>
            </fieldset>
        </form>
    </div>
</div>