-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathfpat_inf.html
97 lines (89 loc) · 2.34 KB
/
fpat_inf.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
<!doctype html>
<html lang="zh">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" type="text/css" href="css/mui.css"/>
<script src="js/mui.min.js"></script>
<link rel="stylesheet" type="text/css" href="css/common.css"/>
<link rel="stylesheet" type="text/css" href="css/mine/mine_detail.css"/>
<script type="text/javascript">
if(window.localStorage){
var un = localStorage.getItem("username");
var pas = localStorage.getItem("password");
var pname = localStorage.getItem("pname");
var dname = localStorage.getItem("dname");
//alert(un+pas);
}else{alert("浏览不支持localStorage")}
</script>
</head>
<body>
<script src="https://code.jquery.com/jquery-3.1.0.js"></script>
<header class="mui-bar mui-bar-nav">
<a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left" ></a>
<h1 class="mui-title">病人信息</h1>
</header>
<div id="1" class="mineDetail" style="margin-top: 60px;">
<div id="11" class="attri">
<h1>头像:</h1>
</div>
<div id="12" class="value">
<img src="images/touxiang.jpg" >
</div>
</div>
<div id="2" class="mineDetail">
<div id="21" class="attri">
<h1>姓名:</h1>
</div>
<div id="22" class="value">
<h2 id="pn">XXX</h2>
</div>
</div>
<div id="3" class="mineDetail">
<div id="31" class="attri">
<h1>手机号:</h1>
</div>
<div id="32" class="value">
<h2 id="mn">XXXXX</h2>
</div>
</div>
<div id="4" class="mineDetail">
<div id="41" class="attri">
<h1>负责医生:</h1>
</div>
<div id="42" class="value">
<h2 id="dd">Dr.X</h2>
</div>
</div>
<div id="5" class="mineDetail">
<div id="51" class="attri">
<h1>负责家属:</h1>
</div>
<div id="52" class="value">
<h2 id="ff">XXX</h2>
</div>
</div>
</body>
<script type="text/javascript">
function openMine(){
mui.openWindow({
url : 'fmine_head.html',
extras :
{}
});
}
$("#pn").html(pname);
$("#ff").html(un);
$.ajax({
url:"http://203.195.148.111:8080/index/index/show_p_info",
withCredentials:true,
data:{un:pname},
success: function(data){
var arr1 = data.split("|");
$("#dd").html(arr1[3]);
$("#mn").html(arr1[1]);
}
});
</script>
</html>