You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

639 lines
35 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="renderer" content="webkit">
<meta name="referrer" content="always">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="renderer" content="webkit">
<title>RMS药剂系统后台管理 - 主页</title>
<script type="text/javascript">
</script>
{% load static %}
<link rel="shortcut icon" href="favicon.ico">
<link href="{% static 'css/bootstrap.min.css' %}" rel="stylesheet">
<link href="{% static 'css/font-awesome.min.css' %}" rel="stylesheet">
<link href="{% static 'css/animate.css' %}" rel="stylesheet">
<link href="{% static 'css/style.css' %}" rel="stylesheet">
<link href="{% static 'css/plugins/icon/iconfont.css' %}" rel="stylesheet">
<style>
.navbar-default::-webkit-scrollbar {
width: 1px;
height: 1px;
}
</style>
</head>
<body class="fixed-sidebar full-height-layout gray-bg animated fadeInUp" style="overflow:hidden">
<div id="wrapper">
<!--左侧导航开始-->
<nav class="navbar-default navbar-static-side" role="navigation" style="overflow-y: auto">
<div class="nav-header">
<div id="log-box" style="background-color:#1c84c6; height:60px;"><div style="color:#FFF;line-height:60px;font-size:18px;text-indent:15px;font-weight:bolder; white-space:nowrap;">RMS后台管理系统</div></div>
<div class="logo-element">
RMS
</div>
</div>
<div class="dropdown profile-element leftUserInfo" style="padding-top:20px;padding-bottom:15px">
<span style="float:left;display:block;padding-top:3px;margin-left:15px">
<img alt="image" style="width:35px;height:35px" id="avatar" class="img-circle" src="{% static 'Common/Images/user-avatar.png' %}" /></span>
<a href="" class="J_menuItem" style="display:block;float:left;margin-left:10px">
<span class="clear">
<span class="block m-t-xs"><strong class="font-bold"></strong></span>
<span class="text-muted text-xs block"><b class="caret"></b></span>
</span>
</a>
<div style="clear:both"></div>
<ul class="dropdown-menu animated fadeInRight m-t-xs">
<li>
<a class="J_menuItem" href="{% url 'home:myInfo' %}" dtxt="个人资料" target="iframe0">基本信息</a>
</li>
<li>
<a class="J_menuItem" href="{% url 'home:myInfo' %}" dtxt="个人资料" target="iframe0">修改密码</a>
</li>
<li>
<a class="J_menuItem" href="{% url 'home:myInfo' %}" dtxt="个人资料" target="iframe0">设置头像</a>
</li>
<li class="divider"></li>
<li>
<a href="">安全退出</a>
</li>
</ul>
</div>
<div class="nav-close">
<i class="fa fa-times-circle"></i>
</div>
<div class="sidebar-collapse">
<ul class="nav" id="side-menu">
{% if roleName == "普通用户" %}
<li>
<a class="J_menuItem" href="{% url 'main' %}" dtxt="个人概况统计"><i class="fa fa-home"></i> <span class="nav-label">个人概况统计</span></a>
</li>
<li>
<a class="J_menuItem" href="~/MyData/DrugList" dtxt="在库药剂查询" target="iframe0"><i class="fa fa-plus-square"></i> <span class="nav-label">在库药剂查询</span></a>
</li>
<li>
<a class="J_menuItem" href="~/MyData/DrugRecord" dtxt="我的流转记录" target="iframe0"><i class="fa fa-list-alt"></i> <span class="nav-label">我的流转记录</span></a>
</li>
<li>
<a class="J_menuItem" href="~/MyData/WarningList" dtxt="我的预警信息" target="iframe0"><i class="fa fa-warning"></i> <span class="nav-label">我的预警信息</span></a>
</li>
{% else %}
<li>
<a class="J_menuItem" href="{% url 'main' %}" dtxt="概况统计" target="iframe0"><i class="fa fa-home fa-lg fa-fw"></i> <span class="nav-label">概况统计</span></a>
</li>
<li>
<a class="J_menuItem" href="{% url 'drug_scanBarCode' %}" dtxt="扫码查询" target="iframe0"><i class="fa fa-barcode fa-lg fa-fw"></i> <span class="nav-label">扫码查询</span></a>
</li>
<li>
<a class="J_menuItem" href="{% url 'drugTemplate_index' %}" dtxt="药剂入库" target="iframe0"><i class="fa fa-mail-forward fa-lg fa-fw"></i> <span class="nav-label">药剂入库</span></a>
</li>
<li>
<a class="J_menuItem" href="{% url 'drug:drug_weigh' %}" dtxt="药剂称重" target="iframe0"><i class="fa fa-balance-scale fa-lg fa-fw"></i> <span class="nav-label">药剂称重</span></a>
</li>
<li>
<a href="javascript:void(0)" id="med-manager"><i class="fa fa-plus-square fa-lg fa-fw"></i> <span class="nav-label" target="iframe0">药剂管理</span></a>
<ul class="nav nav-second-level" id="med-show" style="display: none">
<li>
<a class="J_menuItem" href="{% url 'drug_index' %}" dtxt="药剂数据" target="iframe0">药剂数据</a>
</li>
<li>
<a class="J_menuItem" href="{% url 'drug:drugTypeIndex' %}" dtxt="药剂类别" target="iframe0">药剂类别</a>
</li>
<!--<li>-->
<!--<a class="J_menuItem" href="~/Template/Index" dtxt="药剂模板" target="iframe0">药剂模板</a>-->
<!--</li>-->
</ul>
</li>
<li>
<a class="J_menuItem" href="{% url 'cabinet:index' %}" dtxt="药柜管理" target="iframe0"><i class="fa fa-tasks fa-lg fa-fw"></i> <span class="nav-label">药柜管理</span></a>
</li>
<li>
<a class="J_menuItem" href="{% url 'warning:index' %}" dtxt="预警管理" target="iframe0"><i class="fa fa-warning fa-lg fa-fw"></i> <span class="nav-label">预警管理</span></a>
</li>
<li>
<a class="J_menuItem" href="{% url 'humiture:index' %}" dtxt="温湿度记录" target="iframe0"><i class="fa fa-eyedropper fa-lg fa-fw"></i> <span class="nav-label">温湿度记录</span></a>
</li>
<li>
<a class="J_menuItem" href="{% url 'dataReport:index' %}" dtxt="报表统计" target="iframe0"><i class="fa fa-bar-chart fa-lg fa-fw"></i> <span class="nav-label">报表统计</span></a>
</li>
<li>
<a class="J_menuItem" href="{% url 'stockTaking:index' %}" dtxt="库存盘点" target="iframe0">
{# <i class="fa fa-university" aria-hidden="true"></i><span class="nav-label"> 库存盘点</span></a>#}
<i class="fa fa-university fa-lg fa-fw"></i><span class="nav-label" style="padding-top: -20px!important;"> 库存盘点</span></a>
</li>
<li>
<a class="J_menuItem" href="{% url 'user:index' %}" dtxt="用户管理" target="iframe0"><i class="fa fa-user-plus fa-lg fa-fw fa-fw"></i> <span class="nav-label">用户管理</span></a>
</li>
{% endif %}
{% if roleName == "维护人员" %}
<li>
<a class="J_menuItem" href="{% url 'version:index' %}" dtxt="版本管理" target="iframe0"><i class="fa fa-map-o fa-lg fa-fw fa-fw"></i> <span class="nav-label">版本管理</span></a>
</li>
<!-- <li>
<a class="J_menuItem" href="~/Module/Index" dtxt="模块管理" target="iframe0"><i class="fa fa-columns"></i> <span class="nav-label">模块管理</span></a>
</li>
<li>
<a class="J_menuItem" href="~/ClientHelper/Index" dtxt="帮助资料" target="iframe0"><i class="fa fa-h-square"></i> <span class="nav-label">帮助资料</span></a>
</li>
<li>
<a class="J_menuItem" href="layouts.html"><i class="fa fa-hand-paper-o"></i> <span class="nav-label">权限管理</span></a>
</li>-->
{% endif %}
<li>
<a class="J_menuItem" href="{% url 'log_index' %}" dtxt="日志数据" target="iframe0"><i class="fa fa-info-circle fa-lg fa-fw"></i> <span class="nav-label">日志数据</span></a>
</li>
</ul>
</div>
</nav>
<!--左侧导航结束-->
<!--右侧部分开始-->
<div id="page-wrapper" class="gray-bg dashbard-1">
<div class="row border-bottom">
<nav class="navbar navbar-static-top" role="navigation" style="margin-bottom: 0">
<div class="navbar-header">
<a class="navbar-minimalize minimalize-styl-2 btn btn-primary " href="#"><i class="fa fa-bars"></i> </a>
<form role="search" class="navbar-form-custom" method="post" action="">
<div class="form-group">
<div class="form-control" style="line-height:45px;font-weight:100;color:#337ab7;font-size: 24px;"><span id="navTitle">概况统计</span></div>
</div>
</form>
</div>
<ul class="nav navbar-top-links navbar-right">
<li class="hidden-xs">
{% if roleName == "普通用户" %}
<a class="J_menuItem count-info warning-count" dtxt="我的预警信息" href="/warning/index?tag=1">
<i class="fa fa-bell"></i> <span class="label label-danger">{{ warning_nb }}</span>
</a>
{% else %}
<a class="J_menuItem count-info warning-count" dtxt="预警管理" href="/warning/index?tag=1" target="iframe0">
<i class="fa fa-bell"></i><span class="label label-danger" id="war_number">{{ warning_nb }}</span>
</a>
{% endif %}
</li>
<li class="hidden-xs">
<a href="{% url 'home:myInfo' %}" target="iframe0" class="J_menuItem"><i class="fa fa-user" dtxt="个人资料"></i> 个人资料</a>
</li>
<li class="hidden-xs">
<a href="{% url 'account_logout' %}"><i class="fa fa-close"></i> 退出系统</a>
</li>
<!--<li class="dropdown">-->
<!--<a class="dropdown-toggle count-info" data-toggle="dropdown" href="#">-->
<!--<i class="fa fa-bell"></i> <span class="label label-warning"></span>-->
<!--</a>-->
<!--<ul class="dropdown-menu dropdown-alerts animated fadeInRight">-->
<!--<li>-->
<!--<a href="mailbox.html">-->
<!--<div>-->
<!--<i class="fa fa-envelope fa-fw"></i> 您有16条未读消息-->
<!--<span class="pull-right text-muted small">4分钟前</span>-->
<!--</div>-->
<!--</a>-->
<!--</li>-->
<!--<li class="divider"></li>-->
<!--<li>-->
<!--<a href="profile.html">-->
<!--<div>-->
<!--<i class="fa fa-qq fa-fw"></i> 3条新回复-->
<!--<span class="pull-right text-muted small">12分钟钱</span>-->
<!--</div>-->
<!--</a>-->
<!--</li>-->
<!--<li class="divider"></li>-->
<!--<li>-->
<!--<div class="text-center link-block">-->
<!--<a class="J_menuItem" href="notifications.html">-->
<!--<strong>查看所有 </strong>-->
<!--<i class="fa fa-angle-right"></i>-->
<!--</a>-->
<!--</div>-->
<!--</li>-->
<!--</ul>-->
<!--</li>-->
<!--<li class="hidden-xs">
<a href="index_v1.html" class="J_menuItem" data-index="0"><i class="fa fa-cart-arrow-down"></i> 购买</a>
</li>
<li class="dropdown hidden-xs">
<a class="right-sidebar-toggle" aria-expanded="false">
<i class="fa fa-tasks"></i> 主题
</a>
</li>-->
</ul>
</nav>
</div>
<div class="row J_mainContent" id="content-main">
<iframe class="J_iframe" name="iframe0" id="iframe0" width="100%" height="100%" src="{% url 'main' %}" seamless></iframe>
</div>
<div class="footer navbar-fixed-bottom" >
<div class="pull-right" style="margin-right: 20px;">
&copy; 2013-2018 <a href="http://www.china-toptec.com/" target="_blank">杭州研一智控有限公司</a>
</div>
</div>
</div>
<!--右侧部分结束-->
<!--右侧边栏开始-->
<div id="right-sidebar">
<div class="sidebar-container">
<ul class="nav nav-tabs navs-3">
<li class="active">
<a data-toggle="tab" href="#tab-1">
<i class="fa fa-gear"></i> 主题
</a>
</li>
<li class="">
<a data-toggle="tab" href="#tab-2">
通知
</a>
</li>
<li>
<a data-toggle="tab" href="#tab-3">
项目进度
</a>
</li>
</ul>
<div class="tab-content">
<div id="tab-1" class="tab-pane active">
<div class="sidebar-title">
<h3> <i class="fa fa-comments-o"></i> 主题设置</h3>
<small><i class="fa fa-tim"></i> 你可以从这里选择和预览主题的布局和样式,这些设置会被保存在本地,下次打开的时候会直接应用这些设置。</small>
</div>
<div class="skin-setttings">
<div class="title">主题设置</div>
<div class="setings-item">
<span>收起左侧菜单</span>
<div class="switch">
<div class="onoffswitch">
<input type="checkbox" name="collapsemenu" class="onoffswitch-checkbox" id="collapsemenu">
<label class="onoffswitch-label" for="collapsemenu">
<span class="onoffswitch-inner"></span>
<span class="onoffswitch-switch"></span>
</label>
</div>
</div>
</div>
<div class="setings-item">
<span>固定顶部</span>
<div class="switch">
<div class="onoffswitch">
<input type="checkbox" name="fixednavbar" class="onoffswitch-checkbox" id="fixednavbar">
<label class="onoffswitch-label" for="fixednavbar">
<span class="onoffswitch-inner"></span>
<span class="onoffswitch-switch"></span>
</label>
</div>
</div>
</div>
<div class="setings-item">
<span>
固定宽度
</span>
<div class="switch">
<div class="onoffswitch">
<input type="checkbox" name="boxedlayout" class="onoffswitch-checkbox" id="boxedlayout">
<label class="onoffswitch-label" for="boxedlayout">
<span class="onoffswitch-inner"></span>
<span class="onoffswitch-switch"></span>
</label>
</div>
</div>
</div>
<div class="title">皮肤选择</div>
<div class="setings-item default-skin nb">
<span class="skin-name ">
<a href="#" class="s-skin-0">
默认皮肤
</a>
</span>
</div>
<div class="setings-item blue-skin nb">
<span class="skin-name ">
<a href="#" class="s-skin-1">
蓝色主题
</a>
</span>
</div>
<div class="setings-item yellow-skin nb">
<span class="skin-name ">
<a href="#" class="s-skin-3">
黄色/紫色主题
</a>
</span>
</div>
</div>
</div>
<div id="tab-2" class="tab-pane">
<div class="sidebar-title">
<h3> <i class="fa fa-comments-o"></i> 最新通知</h3>
<small><i class="fa fa-tim"></i> 您当前有10条未读信息</small>
</div>
<div>
<div class="sidebar-message">
<a href="#">
<div class="pull-left text-center">
<img alt="image" class="img-circle message-avatar" src="">
<div class="m-t-xs">
<i class="fa fa-star text-warning"></i>
<i class="fa fa-star text-warning"></i>
</div>
</div>
<div class="media-body">
据天津日报报道瑞海公司董事长于学伟副董事长董社轩等10人在13日上午已被控制。
<br>
<small class="text-muted">今天 4:21</small>
</div>
</a>
</div>
<div class="sidebar-message">
<a href="#">
<div class="pull-left text-center">
<img alt="image" class="img-circle message-avatar" src="">
</div>
<div class="media-body">
HCY48之音乐大魔王会员专属皮肤已上线快来一键换装拥有他宣告你对华晨宇的爱吧
<br>
<small class="text-muted">昨天 2:45</small>
</div>
</a>
</div>
<div class="sidebar-message">
<a href="#">
<div class="pull-left text-center">
<img alt="image" class="img-circle message-avatar" src="">
<div class="m-t-xs">
<i class="fa fa-star text-warning"></i>
<i class="fa fa-star text-warning"></i>
<i class="fa fa-star text-warning"></i>
</div>
</div>
<div class="media-body">
写的好!与您分享
<br>
<small class="text-muted">昨天 1:10</small>
</div>
</a>
</div>
<div class="sidebar-message">
<a href="#">
<div class="pull-left text-center">
<img alt="image" class="img-circle message-avatar" src="">
</div>
<div class="media-body">
国外极限小子的炼成!这还是亲生的吗!!
<br>
<small class="text-muted">昨天 8:37</small>
</div>
</a>
</div>
<div class="sidebar-message">
<a href="#">
<div class="pull-left text-center">
<img alt="image" class="img-circle message-avatar" src="">
</div>
<div class="media-body">
一只流浪狗被收留后,为了减轻主人的负担,坚持自己觅食,甚至......有些东西,可能她比我们更懂。
<br>
<small class="text-muted">今天 4:21</small>
</div>
</a>
</div>
<div class="sidebar-message">
<a href="#">
<div class="pull-left text-center">
<img alt="image" class="img-circle message-avatar" src="">
</div>
<div class="media-body">
这哥们的新视频又来了,创意杠杠滴,帅炸了!
<br>
<small class="text-muted">昨天 2:45</small>
</div>
</a>
</div>
<div class="sidebar-message">
<a href="#">
<div class="pull-left text-center">
<img alt="image" class="img-circle message-avatar" src="">
<div class="m-t-xs">
<i class="fa fa-star text-warning"></i>
<i class="fa fa-star text-warning"></i>
<i class="fa fa-star text-warning"></i>
</div>
</div>
<div class="media-body">
最近在补追此剧,特别喜欢这段表白。
<br>
<small class="text-muted">昨天 1:10</small>
</div>
</a>
</div>
<div class="sidebar-message">
<a href="#">
<div class="pull-left text-center">
<img alt="image" class="img-circle message-avatar" src="">
</div>
<div class="media-body">
我发起了一个投票 【你认为下午大盘会翻红吗?】
<br>
<small class="text-muted">星期一 8:37</small>
</div>
</a>
</div>
</div>
</div>
<div id="tab-3" class="tab-pane">
<div class="sidebar-title">
<h3> <i class="fa fa-cube"></i> 最新任务</h3>
<small><i class="fa fa-tim"></i> 您当前有14个任务10个已完成</small>
</div>
<ul class="sidebar-list">
<li>
<a href="#">
<div class="small pull-right m-t-xs">9小时以后</div>
<h4>市场调研</h4> 按要求接收教材;
<div class="small">已完成: 22%</div>
<div class="progress progress-mini">
<div style="width: 22%;" class="progress-bar progress-bar-warning"></div>
</div>
<div class="small text-muted m-t-xs">项目截止: 4:00 - 2015.10.01</div>
</a>
</li>
<li>
<a href="#">
<div class="small pull-right m-t-xs">9小时以后</div>
<h4>可行性报告研究报上级批准 </h4> 编写目的编写本项目进度报告的目的在于更好的控制软件开发的时间,对团队成员的 开发进度作出一个合理的比对
<div class="small">已完成: 48%</div>
<div class="progress progress-mini">
<div style="width: 48%;" class="progress-bar"></div>
</div>
</a>
</li>
<li>
<a href="#">
<div class="small pull-right m-t-xs">9小时以后</div>
<h4>立项阶段</h4> 东风商用车公司 采购综合综合查询分析系统项目进度阶段性报告武汉斯迪克科技有限公司
<div class="small">已完成: 14%</div>
<div class="progress progress-mini">
<div style="width: 14%;" class="progress-bar progress-bar-info"></div>
</div>
</a>
</li>
<li>
<a href="#">
<span class="label label-primary pull-right">NEW</span>
<h4>设计阶段</h4>
<!--<div class="small pull-right m-t-xs">9小时以后</div>-->
项目进度报告(Project Progress Report)
<div class="small">已完成: 22%</div>
<div class="small text-muted m-t-xs">项目截止: 4:00 - 2015.10.01</div>
</a>
</li>
<li>
<a href="#">
<div class="small pull-right m-t-xs">9小时以后</div>
<h4>拆迁阶段</h4> 科研项目研究进展报告 项目编号: 项目名称: 项目负责人:
<div class="small">已完成: 22%</div>
<div class="progress progress-mini">
<div style="width: 22%;" class="progress-bar progress-bar-warning"></div>
</div>
<div class="small text-muted m-t-xs">项目截止: 4:00 - 2015.10.01</div>
</a>
</li>
<li>
<a href="#">
<div class="small pull-right m-t-xs">9小时以后</div>
<h4>建设阶段 </h4> 编写目的编写本项目进度报告的目的在于更好的控制软件开发的时间,对团队成员的 开发进度作出一个合理的比对
<div class="small">已完成: 48%</div>
<div class="progress progress-mini">
<div style="width: 48%;" class="progress-bar"></div>
</div>
</a>
</li>
<li>
<a href="#">
<div class="small pull-right m-t-xs">9小时以后</div>
<h4>获证开盘</h4> 编写目的编写本项目进度报告的目的在于更好的控制软件开发的时间,对团队成员的 开发进度作出一个合理的比对
<div class="small">已完成: 14%</div>
<div class="progress progress-mini">
<div style="width: 14%;" class="progress-bar progress-bar-info"></div>
</div>
</a>
</li>
</ul>
</div>
</div>
</div>
</div>
<!--右侧边栏结束-->
</div>
<!-- 全局js -->
<script src="{% static 'js/jquery.min.js' %}"></script>
<script src="{% static 'js/warning.js' %}"></script>
<script src="{% static 'js/bootstrap.min.js' %}"></script>
<script src="{% static 'js/plugins/metisMenu/jquery.metisMenu.js' %}"></script>
<script src="{% static 'js/plugins/slimscroll/jquery.slimscroll.min.js' %}"></script>
<script src="{% static 'js/plugins/layer/layer.min.js' %}"></script>
<!-- 第三方插件 -->
<script src="{% static 'js/plugins/pace/pace.min.js' %}"></script>
<script type="text/javascript">
var flag_ = false;
$('#med-manager').click(function () {
if(flag_){
flag_ = false;
$('#med-show').css('display', 'none')
}else{
flag_ = true;
$('#med-show').css('display', 'block')
}
});
$(function () {
var currentTime = 0;
getWarningCount();
setInterval(function () {
currentTime++;
if (currentTime % 5 == 0) {
getWarningCount();
}
}, 3000);
});
function getWarningCount() {
$.get($(".warning-count").attr("val"), function (obj) {
$(".warning-count .label").text(obj.data);
if (obj.data == 0) {
$(".warning-count .label").hide();
}
else {
$(".warning-count .label").show();
}
});
}
</script>
</body>
</html>