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

📄 addpetcasehistory.jsp~38~

📁 一个基于JAVA的BS结构的宠物诊所管理系统.是当年在学校时写的,大家指点一下.
💻 JSP~38~
字号:
<%@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>
<style type="text/css">
  <!--
    .STYLE12 {
    color: #FF0000;
    font-size: 16px;
    }
    .STYLE13 {
    color: #FF9933;
    font-weight: bold;
    font-size: 14px;
    }
    .STYLE14 {color: #FF3399; font-weight: bold; font-size: 14px; }
    .STYLE18 {color: #3300CC}
    .STYLE19 {color: #0099FF}
    .STYLE20 {color: #FF0000}
  -->
</style>
<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></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="767" border="1">
            <tr>
              <td colspan="2">
                添加宠物病历信息
              </td>
            </tr>
            <tr>
              <td width="111">宠物昵称:</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">主人姓名:</td>
              <td>
                <input type="text" name="ownerName" value="${param.ownerName}" readonly="readonly"/>
              </td>
            </tr>
            <tr>
              <td>病因:</td>
              <td width="112">
                <textarea name="illnessInfo" cols="50" rows="5" id="illnessInfo"></textarea>
              </td>
            </tr>
            <tr>
              <td>处方/药方:</td>
              <td>
                <label>
                  <textarea name="prescription" cols="50" rows="5" id="prescription"></textarea>
                </label>
              </td>
            </tr>
            <tr>
              <td>费用:</td>
              <td>
                <label>
                  <input name="outlay" type="text" id="outlay">
                </label>
              </td>
            </tr>
            <tr>
              <td>就诊时间:</td>
              <td>
                <input type="text" readonly="readonly" name="NotEdit" />
                系统不允许用户自行设定填单时间
              </td>
            </tr>
            <tr>
              <td>              </td>
              <td>
                <label>
                  <input type="submit" value="提交">
                </label>
                <label>
                  <input type="reset" value="重置">
                </label>
              </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 + -