|
|
<%@ page language="java" import="java.util.*" pageEncoding="gb2312"%>
|
|
|
<%@page import="util.Info"%>
|
|
|
<%@page import="dao.CommDAO"%>
|
|
|
<%@page import="util.PageManager"%>
|
|
|
<html>
|
|
|
<head>
|
|
|
<title>器材信息</title>
|
|
|
|
|
|
<script type="text/javascript" src="js/My97DatePicker/WdatePicker.js" charset="gb2312"></script>
|
|
|
<script type="text/javascript" src="js/popup.js"></script>
|
|
|
<link rel="stylesheet" href="images/hsgcommon/common.css" type="text/css">
|
|
|
<link rel="stylesheet" href="images/hsgcommon/div.css" type="text/css">
|
|
|
|
|
|
</head>
|
|
|
<script language="javascript">
|
|
|
|
|
|
function hsgxia2shxurxu(nstr,nwbk)
|
|
|
{
|
|
|
if (eval("form1."+nwbk).value.indexOf(nstr)>=0)
|
|
|
{
|
|
|
eval("form1."+nwbk).value=eval("form1."+nwbk).value.replace(nstr+";", "");
|
|
|
}
|
|
|
else
|
|
|
{
|
|
|
eval("form1."+nwbk).value=eval("form1."+nwbk).value+nstr+";";
|
|
|
}
|
|
|
}
|
|
|
</script>
|
|
|
|
|
|
<body >
|
|
|
<%
|
|
|
|
|
|
String id = request.getParameter("id");
|
|
|
|
|
|
HashMap ext = new HashMap();
|
|
|
|
|
|
new CommDAO().update(request,response,"qicaixinxi",ext,true,false,"");
|
|
|
HashMap mmm = new CommDAO().getmap(id,"qicaixinxi");
|
|
|
|
|
|
%>
|
|
|
<form action="qicaixinxi_updt.jsp?f=f&id=<%=mmm.get("id")%>" method="post" name="form1" onsubmit="return checkform();">
|
|
|
修改器材信息:
|
|
|
<br><br>
|
|
|
|
|
|
<table width="100%" border="1" align="center" cellpadding="3" cellspacing="1" bordercolor="#cccccc" style="border-collapse:collapse">
|
|
|
|
|
|
<tr><td>器材编号:</td><td><input name='qicaibianhao' type='text' id='qicaibianhao' value='<%= mmm.get("qicaibianhao")%>' class="form-control" /></td></tr>
|
|
|
<tr><td>器材名称:</td><td><input name='qicaimingcheng' type='text' id='qicaimingcheng' value='<%= mmm.get("qicaimingcheng")%>' class="form-control" /></td></tr>
|
|
|
<tr><td>器材类别:</td><td><input name='qicaileibie' type='text' id='qicaileibie' value='<%= mmm.get("qicaileibie")%>' class="form-control" /></td></tr>
|
|
|
<tr><td>图片:</td><td><input name='tupian' type='text' id='tupian' size='50' value='<%= mmm.get("tupian")%>' class="form-control" /> <div style="margin-top:16px;"> <input type='button' value='上传' onClick="up('tupian')"/></div></td></tr>
|
|
|
<tr><td>演示视频:</td><td><input name='yanshishipin' type='text' id='yanshishipin' size='50' value='<%= mmm.get("yanshishipin")%>' class="form-control" /> <div style="margin-top:16px;"> <input type='button' value='上传' onClick="up('yanshishipin')"/></div></td></tr>
|
|
|
<tr><td>操作说明:</td><td><textarea name='caozuoshuoming' cols='50' rows='5' id='caozuoshuoming' class="form-control" style="width:600px;height:80px;" ><%=mmm.get("caozuoshuoming")%></textarea></td></tr>
|
|
|
<tr><td>效果简介:</td><td><textarea name='xiaoguojianjie' cols='50' rows='5' id='xiaoguojianjie' class="form-control" style="width:600px;height:80px;" ><%=mmm.get("xiaoguojianjie")%></textarea></td></tr>
|
|
|
<tr>
|
|
|
<td> </td>
|
|
|
<td><input type="submit" name="Submit" value="提交" onClick="return checkform();" class="btn btn-info btn-small" />
|
|
|
<input type="reset" name="Submit2" value="重置" class="btn btn-info btn-small" /></td>
|
|
|
</tr>
|
|
|
</table>
|
|
|
</form>
|
|
|
|
|
|
</body>
|
|
|
</html>
|
|
|
|
|
|
|