140 lines
4.0 KiB
Plaintext
140 lines
4.0 KiB
Plaintext
|
|
@{
|
|
ViewBag.Title = "企业体检预约";
|
|
}
|
|
@using System.Data;
|
|
<div id="pageloading"></div>
|
|
<div style="background-color:#2319dc">
|
|
<div class="head-bg">
|
|
<div class="head">
|
|
<div class="t-right">当前用户:@ViewBag.realname | <a href="javascript:void(0);" id="xgmm" onclick="f_lxgmm()">修改密码</a> | <a href="javascript:void(0);" onclick="f_loginout()">退出登录</a></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div id="main">
|
|
<div position="left" id="mainMenu">
|
|
<a class="l-link" href="javascript:f_addTab('a_lb','体检预约列表','TJYYLB')">体检预约列表</a>
|
|
<a class="l-link" href="javascript:f_addTab('a_dj','体检预约登记','TJYYDJ')">体检预约登记</a>
|
|
</div>
|
|
<div position="center" id="tabMain">
|
|
|
|
</div>
|
|
</div>
|
|
<div class="center">
|
|
技术支持:山东新医路信息科技有限公司 联系电话:
|
|
</div>
|
|
@section scripts{
|
|
<style type="text/css">
|
|
.l-link {
|
|
display: block;
|
|
height: 26px;
|
|
line-height: 26px;
|
|
padding-left: 10px;
|
|
text-decoration: underline;
|
|
color: #333;
|
|
}
|
|
#pageloading {
|
|
position: absolute;
|
|
left: 0px;
|
|
top: 0px;
|
|
background: white url('@Url.Content("~/Content/image/loading.gif")') no-repeat center;
|
|
width: 100%;
|
|
height: 100%;
|
|
z-index: 99999;
|
|
}
|
|
.l-link {
|
|
display: block;
|
|
line-height: 22px;
|
|
height: 22px;
|
|
padding-left: 16px;
|
|
border: 1px solid white;
|
|
margin: 4px;
|
|
}
|
|
|
|
.l-link-over {
|
|
background: #FFEEAC;
|
|
border: 1px solid #DB9F00;
|
|
}
|
|
</style>
|
|
<script type="text/javascript">
|
|
var tab;
|
|
var accordion;
|
|
$(function () {
|
|
|
|
$(".l-link").hover(function () {
|
|
$(this).addClass("l-link-over");
|
|
}, function () {
|
|
$(this).removeClass("l-link-over");
|
|
});
|
|
|
|
$("#main").ligerLayout({ leftWidth: 200, height: '100%', heightDiff: -34, space: 4, onHeightChanged: f_heightChanged });
|
|
var height = $(".l-layout-center").height();
|
|
|
|
$("#mainMenu").ligerAccordion({
|
|
height: height - 24, speed: null
|
|
});
|
|
//Tab
|
|
$("#tabMain").ligerTab({
|
|
height: height,
|
|
//showSwitchInTab: true,
|
|
showSwitch: true
|
|
});
|
|
tab = liger.get("tabMain");
|
|
accordion = liger.get("mainMenu");
|
|
$("#pageloading").hide();
|
|
});
|
|
function f_addTab(tabid, text, url) {
|
|
tab.addTabItem({
|
|
tabid: tabid,
|
|
text: text,
|
|
url: url
|
|
});
|
|
}
|
|
function f_heightChanged(options) {
|
|
if (tab)
|
|
tab.addHeight(options.diff);
|
|
if (accordion && options.middleHeight - 24 > 0)
|
|
accordion.setHeight(options.middleHeight - 24);
|
|
}
|
|
|
|
|
|
function f_loginout() {
|
|
$.ajax({
|
|
type: "post", cache: "false", async: false, dataType: "json",
|
|
url: '@Url.Action("LoginOut")',
|
|
success: function (msg) {
|
|
location.href = "@Url.Action("loginview")";
|
|
}, error: function (msg) {
|
|
|
|
}
|
|
});
|
|
}
|
|
var editdialog;
|
|
function f_lxgmm() {
|
|
editdialog = $.ligerDialog.open({ url: "@Url.Action("xgmm")", width: 300, height: 180, title: "修改密码" });
|
|
}
|
|
|
|
function setMBMessageHY() {
|
|
$.ajax({
|
|
type: "post", dataType: "json",
|
|
url: '@Url.Action("setMBMessageHY")',
|
|
success: function (msg) {
|
|
|
|
}, error: function (msg) {
|
|
|
|
}
|
|
});
|
|
}
|
|
|
|
function gb() {
|
|
editdialog.close();
|
|
}
|
|
</script>
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|