You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

115 lines
4.4 KiB

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>患者信息</title>
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi" />
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
<link rel="stylesheet" href="__ADMIN__/x-admin/css/font.css">
<link rel="stylesheet" href="__ADMIN__/x-admin/css/xadmin.css">
<script type="text/javascript" src="https://cdn.bootcss.com/jquery/3.2.1/jquery.min.js"></script>
<script type="text/javascript" src="__ADMIN__/x-admin/lib/layui/layui.js" charset="utf-8"></script>
<script type="text/javascript" src="__ADMIN__/x-admin/js/xadmin.js"></script>
<!-- 让IE8/9支持媒体查询从而兼容栅格 -->
<!--[if lt IE 9]>
<script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>
<script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
<script>
const writeUrl = "{:url('write','','')}";
const CheckUrl = "{:url('check','','')}";
</script>
</head>
<style type="text/css">
.text-more{
/*超出的文本隐藏*/
overflow:hidden;
/*溢出用省略号显示*/
text-overflow:ellipsis;
/*溢出不换行*/
/*white-space:nowrap;*/
/*将对象作为弹性伸缩盒子模型显示*/
display:-webkit-box;
/*从上到下垂直排列子元素(设置伸缩盒子的子元素排列方式)*/
-webkit-box-orient:vertical;
/*这个属性不是css的规范属性需要组合上面两个属性表示显示的行数*/
-webkit-line-clamp:1;
}
</style>
<body class="layui-anim layui-anim-up">
<div class="x-nav">
<span class="layui-breadcrumb">
<a href='{:url("Index/welcome")}'>首页</a>
<a href=""><cite>患者信息</cite></a>
</span>
<a class="layui-btn layui-btn-small" style="line-height:1.6em;margin-top:3px;float:right" href="javascript:location.replace(location.href);" title="刷新">
<i class="layui-icon" style="line-height:30px"></i></a>
</div>
<div class="x-body">
<div class="layui-row">
<form class="layui-form layui-col-md12 x-so" method="post" action="{:url('index')}">
<input class="layui-input" name="code" placeholder="请输入流水号" value="{$code}"> 
<button class="layui-btn" lay-submit="" lay-filter="sreach"><i class="layui-icon">&#xe615;</i></button>
</form>
</div>
<xblock>
<span class="x-right" style="line-height:40px">共有数据:{$total} 条</span>
<div style="clear:both;"></div>
</xblock>
<table class="layui-table">
<thead>
<tr>
<td width="140">名字</td>
<td width="140">性别</td>
<td width="140"></td>
<td width="140">流水号</td>
<td width="140">诊断结果</td>
<td width="140">操作</td>
</tr>
</thead>
<tbody>
{foreach name='$patients' item='v'}
<tr>
<td>{$v.patientName}</td>
<td>{$v.sex}</td>
<td>{$v.departmentName}</td>
<td>{$v.code}</td>
<td class="text-more">{$v.description}</td>
<td class="td-manage">
<a title="查看详情" onclick="x_admin_show('查看 '+'{$v.patientName}'+' 详情',CheckUrl+'/id/{$v.patientId}',800,400)" href="javascript:;">
<i class="layui-icon">&#xe63c;</i>
</a>
<a title="填写诊断结果" onclick="x_admin_show('填写 '+'{$v.patientName}'+' 的诊断结果',writeUrl+'/id/{$v.patientId}',800,550)" href="javascript:;">
<i class="layui-icon">&#xe642;</i>
</a>
</td>
</tr>
{/foreach}
</tbody>
</table>
<div class="page">
<div>
{$page}
</div>
</div>
</div>
<script>var _hmt = _hmt || []; (function() {
var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?b393d153aeb26b46e9431fabaf0f6190";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
</body>
</html>