⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 addpetcasehistory.jsp~42~

📁 一个基于JAVA的BS结构的宠物诊所管理系统.是当年在学校时写的,大家指点一下.
💻 JSP~42~
字号:
<%@page contentType="text/html; charset=GBK"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@taglib tagdir="/WEB-INF/tags/" prefix="mytag"%>
<HTML>
<HEAD>
<TITLE>宠物信息</TITLE>
<script type="" language="JavaScript">
      function toAlterPet(pid,pname,oid,oname,ptid){
         document.alterPetForm.id.value=pid;
         document.alterPetForm.petName.value=pname;
         document.alterPetForm.petTypeID.value=ptid;
         document.alterPetForm.ownerName.value=oname;
         document.alterPetForm.ownerID.value=oid;
         document.alterPetForm.submit();
         return ;
      }

      function toAddPetCaseHistoryForm(pId,pName,oName){
         document.addPetCaseHistoryForm.petId.value=pId;
         document.addPetCaseHistoryForm.petName.value=pName;
         document.addPetCaseHistoryForm.ownerName.value=oName;
         document.addPetCaseHistoryForm.submit();
         return ;
      }

      function toAddPetCaseHistoryForm(pid){
         document.searchPetCaseHistoryForm.petId.value=pid;
         document.addPetCaseHistoryForm.submit();
         return ;
      }

</script>
<style type="text/css">
<!--
.STYLE9 {font-size: 14}
.STYLE10 {color: #00CC99}
-->
</style>
</HEAD>
<LINK href="datasrc/style.css" type=text/css rel=stylesheet>
<body>
<mytag:head/>
<!-- 在这里开始加入动态内容 -->
<TABLE width=776 border=0 align=center cellPadding=0 cellSpacing=0 background=datasrc/centerbg.gif>
  <TR>
    <TD align="center" vAlign=top background=datasrc/09.gif>

      <c:choose>
        <c:when test="${not empty requestScope.FromSearchPetActionMessage}" >

        <form id="form1" name="form1" method="post" action="addPetCaseHistory.do">
          <table width="98%" border="1" cellpadding="3" cellspacing="3">
            <tr>
              <th colspan="2" align="center">
               <font size="+2" color="#FF9966">添加宠物病历信息</font></th>
            </tr>
            <tr>
              <td width="111"><span class="list STYLE9 STYLE10"><span class="list STYLE9"><strong>宠物昵称:</strong></span></span></td>
              <td>
                <input type="hidden" name="petID" value="${param.petID}" />
                <input type="text" name="petName" value="${param.petName}" readonly="readonly"/>              </td>
            </tr>
             <tr>
              <td width="111"><span class="list STYLE9 STYLE10"><span class="list STYLE9"><strong>主人姓名:</strong></span></span></td>
              <td>
                <input type="text" name="ownerName" value="${param.ownerName}" readonly="readonly"/>              </td>
            </tr>
            <tr>
              <td><span class="list STYLE9 STYLE10"><span class="list STYLE9"><strong>病因:</strong></span></span></td>
              <td width="112">
                <textarea name="illnessInfo" cols="50" rows="5" id="illnessInfo"></textarea>              </td>
            </tr>
            <tr>
              <td><span class="list STYLE9 STYLE10"><span class="list STYLE9"><strong>处方/药方:</strong></span></span></td>
              <td>
                <label>
                  <textarea name="prescription" cols="50" rows="5" id="prescription"></textarea>
                </label>              </td>
            </tr>
            <tr>
              <td><span class="list STYLE9 STYLE10"><span class="list STYLE9"><strong>费用:</strong></span></span></td>
              <td>
                <label>
                  <input name="outlay" type="text" id="outlay">
                </label>              </td>
            </tr>
            <tr>
              <td><span class="list STYLE9 STYLE10"><span class="list STYLE9"><strong>就诊时间:</strong></span></span></td>
              <td><input name="NotEdit" type="text" value="系统不允许用户自行设定填单时间" size="30" readonly="readonly" /></td>
            </tr>
            <tr>
              <td>              </td>
              <td>
                <label>
                  <input type="submit" value="提交">
                </label>
                <label>
                  <input type="reset" value="重置">
                </label>              </td>
            </tr>
            <tr>
              <td colspan="2">
              <font size="+2"> <b>${}</b></font>
              </td>
            </tr>
          </table>
        </form>
</c:when>
<c:otherwise>
</c:otherwise>
</c:choose>

</td>
</tr>
</table>

<!-- 在这里结束加入动态内容 -->
<mytag:cauda/>
</BODY>
</HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -