physical.html
5.2 KB
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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="css/base.css" />
<link rel="stylesheet" type="text/css" href="css/style.css" />
<link href="css/common.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css" href="css/tanchu.css" />
<script src="js/base.js"></script>
<title>新增体检报告</title>
<style>
.phybut{
position: fixed;
bottom:0;
width:100%;
}
.pharea{
resize: none;
}
</style>
</head>
<body>
<div style="background-color:#fff;">
<div class="perheader center">
<div class="left perback">
<a href="#" onClick="javascript:history.back(-1);">
<img src="images/care_03.jpg" />
</a>
</div>
<div class="bloodtext">新增体检报告</div>
</div>
</div>
<form action="#">
<div class="perpart1">
<div id="datePlugin"></div>
<div class="phyp">
<span>体检日期</span>
<span class="right">
<input type="text" id="beginTime" value="日期" />
<img src="images/pergo_03.jpg" />
</span>
</div>
<div class="phyp">
<span>体检名称</span>
<span class="right">
<input type="text" class="select-value25" id="names" value="名称" />
<img src="images/pergo_03.jpg" />
</span>
</div>
<div class="phyp">
<span>体检机构</span>
<span class="right">
<input type="text" class="select-value16" id="org" value="慈界医养" />
<img src="images/pergo_03.jpg" />
</span>
</div>
<div style="height:0.05rem; background-color:#f5f5f5;"></div>
<div class="phyp">
<span>具体描述</span>
</div>
<div class="phyarea">
<img src="images/phyarea_03.jpg" class="areaimg1" style="width:0.44rem;" />
<textarea rows="3" cols="20" class="pharea" placeholder="请您详细描述客观情况,以便更好为您提供分析解读服务。(最多支持输入200字)"></textarea>
</div>
<div style="height:0.05rem; background-color:#f5f5f5;"></div>
<div class="phyp">
<span>上传照片或扫描报告</span>
</div>
<div class="phyimg">
<a href="#">
<img src="images/phy_03.png" />
</a>
<a href="#">
<img src="images/phy_05.png" />
</a>
</div>
</div>
<div>
<button type="button" class="phybut" />保存</div>
</form>
<div class="mPicker hide">
<div class="mPicker-mask hide"></div>
</div>
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/common.js"/>
<script src="http://res.wx.qq.com/open/js/jweixin-1.2.0.js"></script>
<script type="text/javascript" src="js/date.js"></script>
<script type="text/javascript" src="js/iscroll.js"></script>
<script src="js/per.js"></script>
<script type="text/javascript">
$(function () {
$('#beginTime').date();
$('#endTime').date({ theme: "datetime" });
});
$(document).ready(function () {
})
var checktime,name,org,descript,pic,r_type,code;
$('.phybut').click(function () {
checktime=$('#beginTime').val();
name=$('#names').val()
org=$('#org').val()
descript=$('.pharea').val()
pic='https://f11.baidu.com/it/u=1562411134,1079853278&fm=173&app=25&f=JPEG?w=640&h=564&s=5A12758DCA255E8EBA8889500300D0B1&access=215967316';
code='https://f11.baidu.com/it/u=1562411134,1079853278&fm=173&app=25&f=JPEG?w=640&h=564&s=5A12758DCA255E8EBA8889500300D0B1&access=215967316';
$.ajax({
type:"POST",
url: "http://kindapp.w.bronet.cn/api/user/index/addReport",
dataType:"json",
header:{
DeviceType:1,
Token:1,
// "Content-Type":"text/plain;charset=UTF-8"
//'Content-Type': 'application/x-www-form-urlencoded'
},
data:{
checktime:checktime,
name:name,
org:org,
descript:descript,
pic:pic,
code:code
},
success:function (res) {
console.log(res.data)
}
})
})
</script>
</body>