target/HospitalSystem-0.0.1-SNAPSHOT/pages/prescription.jsp

(开头部分) 11KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>处方表</title>
<%@ include file="/common/commoncss.jsp"%>
<%@ include file="/common/commonjs.jsp"%>
</head>
<body>


	<div id="toolbar" style="float: left; width: 100%;">
		<button id="btn_add" type="submit" class="btn btn-default">
			<span class="glyphicon glyphicon-plus"
				style="color: rgb(0, 0, 0); font-size: 16px; margin-top: -5px;">&nbsp;添加</span>
		</button>
	</div>


	<table id="table">

	</table>

	<script type="text/javascript">
		$(function() {
			$('#table')
					.bootstrapTable(
							{
								url : '${pageContext.request.contextPath}/prescription/queryPrescription.action',//访问后台(json)的地址
								pagination : true,//允许分页
								search : true,//可以搜索
								toolbar : "#toolbar",
								pageSize : 3,//每页显示3条数据
								pageList : [ 2, 3, 5, 8, 10 ],//每页显示的条数列表
								showColumns : true,//选择显示的列
								showRefresh : true,//允许刷新
								showExport : true,//允许导出
								exportDataType : 'all',
								exportTypes : [ 'txt', 'doc', 'excel' ],
								columns : [
										{
											field : 'doctoradvice.patient.name',
											align : 'center',
											valign : 'middle',
											title : '病人'
										},
										{
											field : 'drugs.drugsname',
											align : 'center',
											valign : 'middle',
											title : '药品名'
										},
										{
											field : 'doctoradvice.doctoradvicecontent',
											align : 'center',
											valign : 'middle',
											title : '医嘱内容'
										},
后面还有 342 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。