123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150 |
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <title>量表明细</title>
- <style>
- *{
- margin: 0;
- padding: 0;
- }
- ul,li{
- list-style: none;
- }
- table{
- border-collapse: collapse;
- border-spacing: 0;
- }
- body{
- font-size: 14px;
- overflow-y: scroll;
- font-family: '微软雅黑', '宋体';
- background: #dde2ea;
- height: 100%;
- color: #33475f;
- }
- .container {
- width: 80%;
- overflow: hidden;
- background: #fff;
- margin: 0 auto;
- padding: 30px 30px 30px 30px;
- }
- h1 {
- text-align: center;
- padding: 20px 0;
- }
- .groupBox {
- border-bottom: 4px solid #EBEBEB;
- }
- .groupName {
- font-weight: bold;
- padding: 10px 0;
- }
- .groupRowName {
- line-height: 30px;
- }
- .groupRowBox {
- line-height: 30px;
- }
- .groupRowRadio {
- margin: 0 20px 0 0;
- vertical-align: middle;
- }
- .groupRowRecommend {
- color: #267FD7;
- margin-left: 5px;
- }
- .calcu {
- text-align: right;
- height: 40px;
- margin: 10px 0 0 0;
- line-height: 40px;
- border-top: 1px solid #979797;
- }
- .allCalcuBox {
- text-align: right;
- height: 60px;
- line-height: 60px;
- vertical-align: middle;
- position: relative;
- padding: 0 80px 0 0;
- }
- .calcuBtn {
- position: absolute;
- right: 0;
- top: 12px;
- display: inline-block;
- width: 70px;
- height: 36px;
- line-height: 36px;
- text-align: center;
- background: #267FD7;
- color: #fff;
- border-radius: 4px;
- }
- .groupRowWrapper {
- margin-top: 15px;
- }
- .noSelect {
- border: 1px solid red;
- box-sizing: border-box;
- }
-
- </style>
- </head>
- <body>
- <div class="container">
- <h1></h1>
- <div class="content"></div>
- </div>
-
- <!-- <script type="text/javascript" src="js/jquery-1.9.1.min.js"></script>
- <script type="text/javascript">
- $(function(){
- // 从地址栏获取参数,请求量表内容
- function GetQueryString(name){
- var reg = new RegExp("(^|&)"+ name +"=([^&]*)(&|$)");
- var r = window.location.search.substr(1).match(reg);
- if(r!=null)return unescape(r[2]); return null;
- }
- var scaleInfo;
- var id = GetQueryString('id') || 40744;
- var name = GetQueryString('name') || "密西根糖尿病周围神经病评分(MDNS)";
- var url = "http://192.168.2.236:5050/api/icss/push/pushInner";
- // 用GetQueryString方法从地址栏获取参数,暂时写死
- var params = {
- "age":28,
- "featureType":'21',
- "scaleId":id,
- "scaleName":name,
- "sex":1,
- "diag": "肺结核(复诊); ",
- "lis":[]
- }
- if(id){
- $.ajax({
- method:'post',
- url:url,
- data:JSON.stringify(params),
- dataType:'json',
- contentType:'application/json',
- success:function(res){
- if(res.code==0){
- scaleInfo = res.data.scale;
- console.log('量表数据为:',scaleInfo);
- }
- },
- error:function(err){
- console.log('请求失败:',err);
- }
- })
- }
- })
-
- </script> -->
- </body>
- </html>
|