<!doctype html> <html> <head> <meta charset="utf-8" /> <title>患者填写情况</title> <meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no"> <meta name="apple-mobile-web-app-capable" content="yes"> <meta name="apple-mobile-web-app-status-bar-style" content="black"> <!-- js引用 --> <script src="../../js/config.js"></script> <script src="../../js/h5toapp.js"></script> <script src="../../js/h5to.js"></script> <!-- 组件js引用 --> <script src="../../js/mui.min.js"></script> <!-- ç»„ä»¶æ ‡å‡†css引用 --> <link rel="stylesheet" href="../../css/mui.min.css"> <link rel="stylesheet" href="../../css/mui.picker.min.css"> <link rel="stylesheet" href="../../css/mui.poppicker.css"> <!-- css引用 --> <link href="../../css/currency.css" rel="stylesheet"> <link href="../../css/spinkit.css" rel="stylesheet"> <link href="../../css/icon/iconfont.css" rel="stylesheet"> <!-- ç•Œé¢æœ¬èº«css引用 --> <link href="./hztxqk.css" rel="stylesheet"> <style type="text/css"> .mui-input-row .mui-input-clear~.mui-icon-clear { line-height: 15px; } input::-webkit-input-placeholder { color: #9393AC; -webkit-text-fill-color: #9393AC; } </style> </head> <body class="app_page"> <div style="background-color: #F9FAFC; height: 100vh; width: 100%; margin: 0; overflow: auto;"> <div id="loading" class="example"> <div class="sk-plane loading_location"></div> </div> <div class="mui-content"> <div style="margin: 16px; box-sizing: border-box;"> <div class="mui-card"> <div class="z_menu_btn_row" style="height: 64px;line-height: normal;"> <div class="z_title_icon"> <img src="../../img/ic_health_guide.png" /> </div> <div id="down_frame_locate" class="z_menu_btn_row" style="height: 66px;line-height: normal;padding: 0;float: right"> <div class="z_menu_btn_row " style="height: 66px;line-height: 0;width: 256px;float: right;padding: 0;margin-left: 16px;"> <div class="sffy_title" onclick="f()"> <span id="select_txt" class="sffy_title_text">高血压1级</span> <div class="arrow_down" onclick=""> <img src="../../img/btnï¼generalï¼arrowï¼down.png" /> </div> </div> <div id="cover_background" style="width: 100vw;height: 100vh;display: none;position: fixed;z-index: 1;top: 0;left: 0;" onclick="click_hidden()"> <div class="sffy_dropdown" style="width: 343px;right: 16px;"> <div class="sffy_dropdown_style" style="margin-top: 11px;" onclick="click_option(0)"><span class="sffy_dropdown_text">高血压1级</span></div> <div class="sffy_dropdown_style" style="margin-top: 11px;" onclick="click_option(1)"><span class="sffy_dropdown_text">高血压2级</span></div> <div class="sffy_dropdown_style" style="margin-top: 11px;" onclick="click_option(2)"><span class="sffy_dropdown_text">高血压3级</span></div> <div class="sffy_dropdown_style" style="margin-top: 11px;" onclick="click_option(3)"><span class="sffy_dropdown_text">心血管外科</span></div> </div> </div> </div> </div> </div> </div> </div> <div style="margin: 16px; box-sizing: border-box;background:#F9FAFC;"> <div class="z_body"> <div class="z_yqsd"> <div class="z_body_title">预期收到:</div> <div class="z_body_content">17</div> </div> <div class="z_sjtx"> <div class="z_body_title">实际填写:</div> <div class="z_body_content">12</div> </div> <div class="z_swsd"> <div class="z_body_title">尚未收到:</div> <div class="z_body_content">5</div> </div> </div> </div> <div id="doctor_area"></div> </div> </div> <script type="text/javascript" src="../../js/mui.picker.min.js"></script> <script type="text/javascript" src="../../js/mui.poppicker.js"></script> <script type="text/javascript"> mui.init({ swipeBack: true //å¯ç”¨å³æ»‘å…³é—功能 }); var doctorInfo = [{ id: "1", doctorName: "å¼ ä¸‰ä¸°", disease: "高血压", date: "12:17", status: "查看" }, { id: "2", doctorName: "å¼ ä¸‰ä¸°", disease: "高血压", date: "尚未填写", status: "æé†’" }, ]; var doctorInfoOBJ = {}; var menurows = [{ id: "1", name: "医院主页", path: "./", _id: 1000 }, //查看医院主页 { id: "2", name: "éšè®¿é‡è¡¨", path: "./", _id: 2016 }, //智能导诊 ]; setRouteParams({userId: 46354,params: {}}); function initPage() { doctorInfoOBJ = {}; doctorInfo.map(e => { doctorInfoOBJ[e.id] = e; }) var doctor_list = document.getElementById('doctor_area'); var doctor_data = ""; for (var i = 0; i < doctorInfo.length; i++) { var doctor_data1 = ""; if (doctorInfo[i].date == "尚未填写") { doctor_data1 = '<div class="z_menu_btn_row" style="border-radius: 8px;margin:16px;height: 104px;line-height: normal;">' + '<div class="left_area">' + '<img src="../../img/head.png" />' + '</div>' + '<div class="left_area">' + '<div style="margin-top: 16px;">' + '<div class="doctor_name">' + "å§“å:" + doctorInfo[i].doctorName + '</div>' + '<div class="doctor_disease" >' + "疾病:" + doctorInfo[i].disease + '</div>' + '<div class="doctor_date">' + '<div style="float:left;color:#FE9870">'+"æäº¤æ—¶é—´ï¼š" +'</div>' + '<div style="float:left;-webkit-text-fill-color:#FA4169">'+ doctorInfo[i].date + '</div>' + '</div>' + '</div>' + '</div>' + '<div class="right_area" style="margin: 40px 0;">' + '<div class="appointment_button" onclick="click_row_appointment(' + "'" + doctorInfo[i].id + "'" + ')">' + doctorInfo[i].status + '</div>' + '</div>' + '</div>' } else { doctor_data1 = '<div class="z_menu_btn_row" style="border-radius: 8px;margin:16px;height: 104px;line-height: normal;">' + '<div class="left_area">' + '<img src="../../img/head.png" />' + '</div>' + '<div class="left_area">' + '<div style="margin-top: 16px;">' + '<div class="doctor_name">' + "å§“å:" + doctorInfo[i].doctorName + '</div>' + '<div class="doctor_disease" >' + "疾病:" + doctorInfo[i].disease + '</div>' + '<div class="doctor_date">' + '<div style="float:left;color:#FE9870">'+"æäº¤æ—¶é—´ï¼š"+doctorInfo[i].date +'</div>' + '</div>' + '</div>' + '</div>' + '<div class="right_area" style="margin: 40px 0;">' + '<div class="appointment_button1" onclick="click_row_appointment(' + "'" + doctorInfo[i].id + "'" + ')">' + doctorInfo[i].status + '</div>' + '</div>' + '</div>' } doctor_data += doctor_data1 } doctor_list.innerHTML = doctor_data; } function click_row(idStr) { var row = doctorInfoOBJ[idStr]; var pam = { _id: 1056, params: { userId: login_data.userId } }; app_click("route", pam, callback); } function click_row_appointment(idStr) { var row = doctorInfoOBJ[idStr]; var pam = { _id: 2016, params: { userId: login_data.userId } }; app_click("route", pam, callback); } function click_row_direct(row) { var pam = { _id: row._id, params: { userId: login_data.userId } }; app_click("route", pam, callback); } function click_hidden() { document.getElementsByClassName('sffy_dropdown')[0].classList.toggle('sffy_down', false); document.getElementById('cover_background').style.display = "none"; } function f() { var domObj = document.getElementById('down_frame_locate'); var aa = domObj.getBoundingClientRect().top; document.getElementsByClassName('sffy_dropdown')[0].style.top = aa + 64 + "px"; document.getElementById('cover_background').style.display = "flex"; document.getElementsByClassName('sffy_dropdown')[0].classList.toggle('sffy_down'); if (document.getElementsByClassName('sffy_dropdown')[0].classList.contains('sffy_down')) { setTimeout(function() { document.getElementsByClassName('sffy_dropdown')[0].style.overflow = 'overlay'; document.getElementsByClassName('sffy_dropdown')[0].style.border = '1px solid #F2F2F2'; }, 100) } else { document.getElementsByClassName('sffy_dropdown')[0].style.overflow = 'hidden'; document.getElementsByClassName('sffy_dropdown')[0].style.border = '0px solid #F2F2F2'; } } function click_option(e) { if (e == 0) { document.getElementById('select_txt').innerText = "高血压1级"; } else if (e == 1) { document.getElementById('select_txt').innerText = "高血压2级"; } else if (e == 2) { document.getElementById('select_txt').innerText = "高血压3级"; } else if (e == 3) { document.getElementById('select_txt').innerText = "心血管外科"; } document.getElementsByClassName('sffy_dropdown')[0].style.overflow = 'hidden'; document.getElementsByClassName('sffy_dropdown')[0].style.border = '0px solid #F2F2F2'; document.getElementsByClassName('sffy_dropdown')[0].classList.toggle('sffy_down'); } function loadData() { doLoadData(); hideloading("loading"); } function doLoadData() { } mui.ready(function() { onInitReady(function() { initPage(); loadData(); }); }); </script> </body> </html>