tijian_tieying/web/Web/Main/MyDesk2.aspx
2025-02-20 12:14:39 +08:00

307 lines
10 KiB
Plaintext

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="MyDesk2.aspx.cs" Inherits="Main_MyDesk2" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title></title>
<link href="../JS/jqueryCalendar/calendar.css" rel="stylesheet" />
<script src="../JS/jqueryCalendar/jquery.js"></script>
<script src="../JS/jqueryCalendar/calendar.js" charset="UTF-8"></script>
<style type="text/css">
html {
height: 98%;
font-family: "微软雅黑", "宋体",Consolas,Verdana;
font-size: 14px;
}
body {
margin: 0px;
padding: 0px;
height: 100%;
}
ul, ol, li {
list-style: none;
padding: 0;
margin: 0;
}
.panel-head {
vertical-align: middle;
height: 22px;
padding-top: 5px;
padding-bottom: 7px;
border-bottom: 1px solid #999
}
.td-desk {
background-color: #fff;
padding: 3px;
vertical-align: top;
}
.img-desk {
vertical-align: middle;
width: 20px;
}
.div-gn {
position: relative;
overflow: hidden;
width: 20%;
border-bottom: 1px dashed #ddd;
border-right: 1px dashed #ddd;
text-align: center;
vertical-align: middle;
padding: 9px;
float: left;
}
.img-gn {
width: 50px;
}
.jiao {
position: absolute;
top: 5px;
right: -16px;
width: 60px;
height: 18px;
background: red;
transform: rotate(45deg);
color: #fff;
font-size: 12px;
}
.calendar-hd {
padding: 5px 0;
height: 25px;
}
a {
color: #555;
text-decoration: none;
}
a:hover {
color: #0094ff;
}
.ula {
margin: 8px 20px;
}
.lia {
list-style-type: square;
padding-bottom: 7px;
height: 20px;
line-height: 25px;
overflow: hidden;
}
.auto-style1 {
background-color: #fff;
padding: 3px;
vertical-align: top;
height: 67px;
}
</style>
<script type="text/javascript">
$(function () {
$('#cal').calendar({
width: 280,
height: 220,
data: [
{
date: '2019/5/20',
value: '日程'
}
],
onSelected: function (view, date, data) {
console.log('date:' + date)
}
});
})
function gnclick2(type, title, url) {
if (!window.parent.gnclick)
return;
if (title && url) {
window.parent.gnclick(type, title, url)
}
}
function gnclick3(type) {
if (!window.parent.gnclick)
return;
var title = "";
var url = "";
switch (type) {
case 1:
title = "我的申请";
url = "/dccdc/sq2/sqhb";
break;
case 2:
title = "我的报销";
url = "/dccdc/sq2/bxhb";
break;
case 3:
title = "我的借款申请";
url = "/dccdc/sq2/sqjk";
break;
case 4:
title = "我的预算申请";
url = "/dccdc/sq2/sqys ";
break;
case 5:
title = "待审核申请";
url = "/dccdc/sq2/sqshhb";
break;
case 6:
title = "待审核报销";
url = "/dccdc/sq2/bxshhb";
break;
case 7:
title = "我的借款审核";
url = "/dccdc/sq2/sqjksh";
break;
case 8:
title = "我的预算审核";
url = "/dccdc/sq2/sqyssp";
break;
}
if (title && url)
window.parent.gnclick(type, title, url)
}
function refresh() {
window.location.reload();
}
</script>
</head>
<body style="background-color: #D1D2D7;">
<table style="width: 100%; height: 100%" cellspacing="6px">
<tr>
<td colspan="3" class="td-desk" style="width: 33.3%; height: 260px">
<div>
<div class="panel-head">
<img class="img-desk" src="../images/mainhead/pp1.png" />
疾控动态
</div>
<div>
<%=getwz2() %>
</div>
</div>
</td>
<td colspan="3" class="td-desk" style="width: 33.3%">
<div>
<div class="panel-head">
<img class="img-desk" src="../images/mainhead/pp1.png" />
监督信息
</div>
<div>
<%=getwz1() %>
</div>
</div>
</td>
<td colspan="3" class="td-desk" style="width: 33.3%">
<div id="cal"></div>
</td>
</tr>
<tr>
<td colspan="3" class="auto-style1">
<div style="height: 100%">
<div class="panel-head">
<img class="img-desk" src="../images/mainhead/pp1.png" />
流程中心 代办申请工作
</div>
<div style="height: 90%">
<iframe scrolling='true' width='100%' height='100%' frameborder='0' src='/dccdc/sq2/oaindex?type=1'></iframe>
</div>
</div>
</td>
<td colspan="3" class="auto-style1">
<div style="height: 100%">
<div class="panel-head">
<img class="img-desk" src="../images/mainhead/pp1.png" />
流程中心 代办报销工作
</div>
<div style="height: 90%">
<iframe scrolling='true' width='100%' height='100%' frameborder='0' src='/dccdc/sq2/oaindex?type=2'></iframe>
</div>
</div>
</td>
<td colspan="3" class="auto-style1">
<div>
<div class="panel-head">
<img class="img-desk" src="../images/mainhead/pp1.png" />
常用功能<a href="#" onclick="refresh()" style="float: right; margin-right: 10px">【刷新】 </a>
<a href="SelectLink.aspx" style="float: right; margin-right: 10px" target="_blank">选择常用功能 </a>
</div>
<div>
<%=getlinks() %>
</div>
<%--<div>
<div class="div-gn">
<a href="#" onclick="gnclick3(1)">
<img class="img-gn" src="../images/mainhead/a1.png" /><br />
我的申请
</a>
<div class="jiao">111</div>
</div>
<div class="div-gn">
<a href="#" onclick="gnclick3(2)">
<img class="img-gn" src="../images/mainhead/a2.png" /><br />
我的报销
</a>
<div class="jiao">2</div>
</div>
<div class="div-gn">
<a href="#" onclick="gnclick3(3)">
<img class="img-gn" src="../images/mainhead/a3.png" /><br />
借款申请
</a>
</div>
<div class="div-gn">
<a href="#" onclick="gnclick3(4)">
<img class="img-gn" src="../images/mainhead/a4.png" /><br />
预算申请
</a>
</div>
<div class="div-gn">
<a href="#" onclick="gnclick3(5)">
<img class="img-gn" src="../images/mainhead/a5.png" /><br />
待审核申请
</a>
<div class="jiao">3333</div>
</div>
<div class="div-gn">
<a href="#" onclick="gnclick3(6)">
<img class="img-gn" src="../images/mainhead/a6.png" /><br />
待审核报销
</a>
</div>
<div class="div-gn">
<a href="#" onclick="gnclick3(7)">
<img class="img-gn" src="../images/mainhead/a7.png" /><br />
借款审核
</a>
</div>
<div class="div-gn">
<a href="#" onclick="gnclick3(8)">
<img class="img-gn" src="../images/mainhead/a8.png" /><br />
预算审核
</a>
</div>--%>
</div>
</td>
</tr>
</table>
</body>
</html>