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

📄 searchpetcasehistory.jsp~21~

📁 一个基于JAVA的BS结构的宠物诊所管理系统.是当年在学校时写的,大家指点一下.
💻 JSP~21~
字号:
<%@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">
<!--
.STYLE22 {color: #0033FF; font-size: 14px; }
.STYLE24 {color: #000000}
-->
</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>
<!-- 在这里结束加入动态内容 -->
      <c:choose>
        <c:when test="${not empty FromSearchPetCaseHistoryActionMessage}" >

          <table width="98%" cellpadding="3" cellspacing="3">

            <tr>
              <td colspan="2" align="center">
              <font size="3" color="#FF33CC"><b>宠物${param.petName}的病历信息</b></font></td>
            </tr>
          </table>


          <table width="100%" border="1" align="center" bordercolor="#FF9900">
      <tr>
        <th><span class="STYLE22">疾病/生病信息</span></th>
        <th><span class="STYLE22">处方 药方</span></th>
        <th><span class="STYLE22">费用</span></th>
        <th><span class="STYLE22">就诊时间</span></th>
      </tr>
    <c:forEach items="${requestScope.PetCaseHistorys.petCaseHistorys}" var="pchObj">
    <tr align="center">
        <td><span class="STYLE24">${pchObj.illnessInfo}</span></td>
        <td><span class="STYLE24">${pchObj.prescription}</span></td>
        <td><span class="STYLE24">${pchObj.outlay}</span></td>
        <td><span class="STYLE24">${pchObj.inTime}</span></td>
      </tr>
    </c:forEach>
    </table>
</c:when>
<c:otherwise>
  <font size="+2" color="#ff0000"><b>没有查询到相关的资料,请核对您的查询请求!</b></font>
</c:otherwise>
</c:choose>
<!-- 在这里结束加入动态内容 -->
</td>
</tr>
</table>

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

⌨️ 快捷键说明

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