📄 wordbookedit.jsp
字号:
<%--
Created by IntelliJ IDEA.
User: ranli
Date: 2007-4-12
Time: 15:30:00
--%>
<%@ page language="java" pageEncoding="GBK"%>
<%@ include file="/WEB-INF/jsp/inc/taglib.jsp"%>
<%@ include file="/WEB-INF/jsp/inc/css.jsp"%>
<%@ include file="/WEB-INF/jsp/inc/js.jsp"%>
<script type="text/javascript" src="js/frame/wordbook.js"></script>
<html>
<head>
<title>修改数据字典页面</title>
</head>
<body>
<br>
<form action="wordbookAction.do?method=editwordbookSave" name="wordForm" method="post">
<table align="center" width="600px" class="table">
<thead class="thead">
<tr>
<td colspan="2" align="center">
编辑数据字典<input type="hidden" name="wordid" value="${wordinfo.wordid}"/>
</td>
</tr>
</thead>
<tr>
<td width="100px">
内 容:
</td>
<td><input type="text" name="nodename" value="${wordinfo.nodename}" maxlength="18"/></td>
</tr>
<tr>
<td>字典说明</td>
<td>
<textarea rows="6" cols="25" name="remark">${wordinfo.remark}</textarea>
</td>
<tr>
<td width="100px">
类型名称:
</td>
<td>
<c:choose>
<c:when test="${wordinfo.wordtype=='0'}">
<select class="char" name="fatherid" style="width:120px">
<c:forEach var="word" items="${fatherword}" >
<option value="${word.wordid}" <c:if test="${word.wordid==fatherid}">selected</c:if> >${word.nodename}</option>
</c:forEach>
</select>
</c:when>
<c:when test="${wordinfo.wordtype=='1'}">
系统字典<input type="hidden" name="fatherid" value="0"/>
</c:when>
</c:choose>
</td>
</tr>
<tr>
<td width="100px">
状 态:
<c:choose>
<c:when test="${wordinfo.state=='0'}"><span disabled>未启用</span></c:when>
<c:when test="${wordinfo.state=='1'}">已启用</c:when>
<c:when test="${wordinfo.state=='2'}"><font color="red">已禁用</font></c:when>
</c:choose>
</td>
<td>
<c:choose>
<c:when test="${wordinfo.state=='0'}">
<input type="hidden" name="state" value="0">
<c:if test="${wordinfo.wordtype=='0'}">
<input type="checkbox" id="ischeck" onClick="statecheck(0);">立即启用
</c:if>
</c:when>
<c:when test="${wordinfo.state=='1'}">
<input type="hidden" name="state" value="1">
<c:if test="${wordinfo.wordtype=='0'}">
<input type="checkbox" id="ischeck" onClick="statecheck(1);">禁用
</c:if>
</c:when>
<c:when test="${wordinfo.state=='2'}">
<input type="hidden" name="state" value="2">
<c:if test="${wordinfo.wordtype=='0'}">
<input type="checkbox" id="ischeck" onClick="statecheck(2);">恢复
</c:if>
</c:when>
</c:choose>
</td>
</tr>
</table>
<br>
<br>
<table align="center" width="600px" border="0">
<tr>
<td colspan="2" align="center">
<input class="btn" type="button" value="保存"
onClick="wordeditSave();" style="width:60px;" class="btn" imageType="ok">
<input class="btn" type="reset" value="返回"
onClick="link('wordbookAction.do?method=wordbook&fatherid=${fatherid}')" style="width:60px;" class="btn" imageType="return">
</td>
</tr>
</table>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -