require('./css/page.css');
const $ = require("jquery");

// var lis = [
//   {
//     detailName: "HGB*3/HCT",
//     maxValue: "",
//     minValue: "",
//     name: "血常规",
//     otherValue: "",
//     source: "0",
//     time: "2019-05-07 17:11",
//     uniqueName: "血常规-HGB*3/HCT",
//     units: "",
//     value: "4"
//   }
// ];
var lis = [
  {name:"血电解质3项",detailName:"钾(K)",uniqueName:"血电解质3项--钾(K)",source:"0",maxValue:5.5,minValue:3.5,time:"2019-08-30 15:31:49",units:"mmol/L",value:"3","otherValue":""},
  // {name:"血电解质3项",detailName:"钠(Na)",uniqueName:"血电解质3项--钠(Na)",source:"0",maxValue:145,minValue:"",time:"2019-08-30 15:31:49",units:"mmol/L",value:"120",otherValue:""},
  // {name:"尿常规11联",detailName:"尿蛋白(PRO-U)",uniqueName:"尿常规11联--尿蛋白(PRO)",source:"0",maxValue:1,minValue:"",time:"2019-08-30 15:31:49",units:"",value:"300",otherValue:""}
]
var tipsInfo = [
  {name:"血常规",type:12,position:"1"},
  {name:"尿常规",type:12,position:"1"},
  {name:"糖尿病",type:7,position:"1"}]

$(".iframeContainer").attr("src",'indexHorizontal.html?age=22&lisJson='+JSON.stringify(lis)+'&diagJson=糖尿病&tipsInfo='+JSON.stringify(tipsInfo)+'&pastJson=无心脏病&otherJson=无高血压&pacsJson=腹部B超:无异常, 报告日期:2019-05-07&sex=男&symptomJson=恶心呕吐腰痛&vitalJson=血压左上肢13/12mmHg')