<!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">
|
|
<!-- 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="./hzqzxx.css" rel="stylesheet">
|
|
<style type="text/css">
|
|
</style>
|
</head>
|
|
<body>
|
<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: 24px 16px 16px 16px; box-sizing: border-box;">
|
<div class="z_card" style="height: 68px;">
|
<div class="z_hzsl_pic">
|
<div class="z_hzsl_icon">
|
<img id="hzqz" />
|
</div>
|
</div>
|
<div class="z_hzsl_title">
|
<span class="z_hzsl_title_content">患者数量:</span>
|
</div>
|
<div class="z_hzsl_text">
|
<span id='hzsl' class="z_hzsl_text_content"></span>
|
</div>
|
<div class="z_hzsl_detail" onclick="click_row(menurows[0])">
|
<span class="z_hzsl_detail_content">查看</span>
|
</div>
|
</div>
|
</div>
|
<div style="margin: 16px; box-sizing: border-box;">
|
<div class="z_card" style="height: 296px;">
|
<div class="z_menu_head">
|
<div class="z_sflb_pic">
|
<div class="z_sflb_icon">
|
<img src="../../img/编组%202备份.png" />
|
</div>
|
</div>
|
<div class="z_sflb_title">
|
<span class="z_sflb_title_content">通用随访量表</span>
|
</div>
|
</div>
|
<div class="z_menu_body"onclick="click_row(menurows[1])">
|
<div class="z_menu_body_txt">
|
<span class="z_menu_body_txt_content">血压量表(晨起)</span>
|
</div>
|
<div class="z_menu_body_icon">
|
<img src="../../img/ic_arrow_right.png" />
|
</div>
|
</div>
|
<div class="z_menu_body"onclick="click_row(menurows[2])">
|
<div class="z_menu_body_txt">
|
<span class="z_menu_body_txt_content">血压量表(睡前)</span>
|
</div>
|
<div class="z_menu_body_icon">
|
<img src="../../img/ic_arrow_right.png" />
|
</div>
|
</div>
|
<div class="z_menu_body"onclick="click_row(menurows[3])">
|
<div class="z_menu_body_txt">
|
<span class="z_menu_body_txt_content">房颤患者自测表</span>
|
</div>
|
<div class="z_menu_body_icon">
|
<img src="../../img/ic_arrow_right.png" />
|
</div>
|
</div>
|
<div class="z_menu_body"onclick="click_row(menurows[4])">
|
<div class="z_menu_addMore">
|
<span class="z_menu_addMore_content">添加更多</span>
|
</div>
|
</div>
|
</div>
|
</div>
|
</div>
|
</div>
|
|
|
<script type="text/javascript">
|
var hzqz = "../../img/多人_患者_群访备份.png";
|
var hzsl = 3321;
|
|
var menurows = [
|
{id: "0",name: "患者列表",path: "./hzlb",_id: 1029},
|
{id: "1",name: "晨起血压量表",path: "./sflbxq",_id: 1020},
|
{id: "2",name: "睡前血压量表",path: "./sflbxq",_id: 1020},
|
{id: "3",name: "自测表",path: "./sflbxq",_id: 1020},
|
{id: "4",name: "添加随访量表",path: "./xzsflb",_id: 1030},
|
];
|
|
// window.onload = function() {
|
// muiInfo();
|
// loadinfo();
|
// /* getRem(720,100, function() {
|
// }); */
|
// }
|
|
// 停止loading
|
var int=self.setInterval("infosetuser()",100);
|
function infosetuser() {
|
if (login_data.userId != "123456") {
|
alert(login_data.userId);
|
window.clearInterval(int);
|
muiInfo();
|
loadinfo();
|
}
|
}
|
|
|
function muiInfo() {
|
mui.init({
|
swipeBack: true //启用右滑关闭功能
|
});
|
}
|
|
function loadinfo() {
|
|
document.getElementById('hzqz').src = hzqz;
|
document.getElementById('hzsl').innerText = hzsl;
|
|
|
clickEventList();
|
hideloading("loading");
|
}
|
|
function click_row(row) {
|
var pam = {
|
_id: row._id,
|
params:{
|
userId: login_data.userId
|
}
|
};
|
|
app_click("route", pam, callback);
|
}
|
|
function docallback(err, resultObj){
|
alert("123");
|
}
|
function err(err, resultObj){
|
alert("err");
|
}
|
|
// function click_row(row) {
|
// mui.openWindow({
|
// url: row.path + '.html'
|
// });
|
// }
|
|
function clickEventList() {
|
mui('body').on('tap', '.mui-popover-action li>a', function(event) {
|
event.cancelBubble = true; //阻止当前事件的冒泡
|
var a = this,
|
parent;
|
//根据点击按钮,反推当前是哪个actionsheet
|
for (parent = a.parentNode; parent != document.body; parent = parent.parentNode) {
|
if (parent.classList.contains('mui-popover-action')) {
|
break;
|
}
|
}
|
|
//关闭actionsheet
|
mui('#' + parent.id).popover('toggle');
|
if (parent.id == "myzsSelect") {
|
document.getElementById('myzs_name').innerHTML = a.innerHTML;
|
}
|
});
|
|
/* mui('body').on('tap', '.z_menu_btn_row', function() {
|
var a = this, parent;
|
//根据点击按钮,反推当前是哪个actionsheet
|
for (parent = a.parentNode; parent != document.body; parent = parent.parentNode) {
|
if (parent.classList.contains('mui-popover-action')) {
|
break;
|
}
|
}
|
|
//打开关于页面
|
mui.openWindow({
|
url: a.id + '.html'
|
});
|
|
}); */
|
|
|
|
|
}
|
</script>
|
</body>
|
|
</html>
|