纽威
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.

412 lines
21 KiB

3 years ago
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title></title>
  5. <link href="~/Content/css/framework-font.css" rel="stylesheet" />
  6. <link href="~/Content/css/framework-ui.css" rel="stylesheet" />
  7. <script src="~/Content/js/jquery/jquery-2.1.1.min.js"></script>
  8. <link href="~/Content/css/framework-theme.css" rel="stylesheet" />
  9. <link href="~/Content/js/bootstrap/bootstrap.min.css" rel="stylesheet" />
  10. <link href="~/Content/css/framework-theme.css" rel="stylesheet" />
  11. <script src="~/Content/js/charts/Chart.js"></script>
  12. <script>
  13. //$(function () {
  14. // GetSalaryChart();
  15. // GetLeaveChart();
  16. // var speed = 10//速度数值越大速度越慢
  17. // var demo2 = document.getElementById("demo2");
  18. // var demo = document.getElementById("demo");
  19. // var demo1 = document.getElementById("demo1");
  20. // demo2.innerHTML = demo1.innerHTML;
  21. // function Marquee() {
  22. // if (demo2.offsetWidth - demo.scrollLeft <= 0)
  23. // demo.scrollLeft -= demo1.offsetWidth
  24. // else {
  25. // demo.scrollLeft++
  26. // }
  27. // }
  28. // var MyMar = setInterval(Marquee, speed)
  29. // demo.onmouseover = function () { clearInterval(MyMar) }
  30. // demo.onmouseout = function () { MyMar = setInterval(Marquee, speed) }
  31. //});
  32. function GetSalaryChart() {
  33. var randomScalingFactor = function () { return Math.round(Math.random() * 100) };
  34. var lineChartData = {
  35. labels: ["1月", "2月", "3月", "4月", "5月", "6月", "7月", "8月", "8月", "10月", "11月", "12月"],
  36. datasets: [
  37. {
  38. label: "My First dataset",
  39. fillColor: "rgba(220,220,220,0.2)",
  40. strokeColor: "rgba(220,220,220,1)",
  41. pointColor: "rgba(220,220,220,1)",
  42. pointStrokeColor: "#fff",
  43. pointHighlightFill: "#fff",
  44. pointHighlightStroke: "rgba(220,220,220,1)",
  45. data: [randomScalingFactor(), randomScalingFactor(), randomScalingFactor(), randomScalingFactor(), randomScalingFactor(), randomScalingFactor(), randomScalingFactor(), randomScalingFactor(), randomScalingFactor(), randomScalingFactor(), randomScalingFactor(), randomScalingFactor()]
  46. },
  47. {
  48. label: "My Second dataset",
  49. fillColor: "rgba(151,187,205,0.2)",
  50. strokeColor: "rgba(151,187,205,1)",
  51. pointColor: "rgba(151,187,205,1)",
  52. pointStrokeColor: "#fff",
  53. pointHighlightFill: "#fff",
  54. pointHighlightStroke: "rgba(151,187,205,1)",
  55. data: [randomScalingFactor(), randomScalingFactor(), randomScalingFactor(), randomScalingFactor(), randomScalingFactor(), randomScalingFactor(), randomScalingFactor(), randomScalingFactor(), randomScalingFactor(), randomScalingFactor(), randomScalingFactor(), randomScalingFactor()]
  56. }
  57. ]
  58. }
  59. //var ctx = document.getElementById("salarychart").getContext("2d");
  60. //window.myLine = new Chart(ctx).Line(lineChartData, {
  61. // responsive: false,
  62. // bezierCurve: false
  63. //});
  64. }
  65. function GetLeaveChart() {
  66. var randomScalingFactor = function () { return Math.round(Math.random() * 100) };
  67. var a_value = randomScalingFactor();
  68. var b_value = randomScalingFactor();
  69. var c_value = randomScalingFactor();
  70. var d_value = randomScalingFactor();
  71. var doughnutData = [
  72. {
  73. value: a_value,
  74. color: "#F7464A",
  75. highlight: "#FF5A5E",
  76. label: "事假"
  77. },
  78. {
  79. value: b_value,
  80. color: "#46BFBD",
  81. highlight: "#5AD3D1",
  82. label: "病假"
  83. },
  84. {
  85. value: c_value,
  86. color: "#FDB45C",
  87. highlight: "#FFC870",
  88. label: "公休假"
  89. },
  90. {
  91. value: d_value,
  92. color: "#949FB1",
  93. highlight: "#A8B3C5",
  94. label: "调休假"
  95. }
  96. ];
  97. //var ctx = document.getElementById("leavechart").getContext("2d");
  98. //window.myDoughnut = new Chart(ctx).Doughnut(doughnutData, { responsive: false });
  99. //$("#a_value").html(a_value + "小时");
  100. //$("#b_value").html(b_value + "小时");
  101. //$("#c_value").html(c_value + "小时");
  102. //$("#d_value").html(d_value + "小时");
  103. }
  104. </script>
  105. </head>
  106. <body>
  107. <div id="areascontent">
  108. <div class="rows" style="margin-bottom: 1%; border: 1px solid #e6e6e6; overflow: hidden; padding-left: 1px;">
  109. <div class="panel panel-default">
  110. <div class="panel-heading">
  111. <i class="fa fa-line-chart fa-lg" style="padding-right: 5px;"></i>欢迎页面
  112. @*<div style="float: right; position: relative; top: -4px; right: 0px;">
  113. <iframe name="weather_inc" src="http://i.tianqi.com/index.php?c=code&id=1" width="400" height="35" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe>
  114. </div>*@
  115. </div>
  116. @*<div class="panel-body">
  117. <div class="dashboard-stats">
  118. <div class="dashboard-stats-item" style="background-color: #fc8675;">
  119. <h2 class="m-top-none">&nbsp;</h2>
  120. <h5>&nbsp;</h5>
  121. <div class="stat-icon">
  122. <i class="fa fa-user fa-3x"></i>
  123. </div>
  124. </div>
  125. </div>
  126. <div class="dashboard-stats">
  127. <div class="dashboard-stats-item" style="background-color: #6bafbd;">
  128. <h2 class="m-top-none">&nbsp;</h2>
  129. <h5>&nbsp;</h5>
  130. <div class="stat-icon">
  131. <i class="fa fa-hdd-o fa-3x"></i>
  132. </div>
  133. </div>
  134. </div>
  135. <div class="dashboard-stats">
  136. <div class="dashboard-stats-item" style="background-color: #f3ce85;">
  137. <h2 class="m-top-none">&nbsp;</h2>
  138. <h5>&nbsp;</h5>
  139. <div class="stat-icon">
  140. <i class="fa fa-shopping-cart fa-3x"></i>
  141. </div>
  142. </div>
  143. </div>
  144. <div class="dashboard-stats">
  145. <div class="dashboard-stats-item" style="background-color: #949FB1;">
  146. <h2 class="m-top-none">&nbsp;</h2>
  147. <h5>&nbsp;</h5>
  148. <div class="stat-icon">
  149. <i class="fa fa-gavel fa-3x"></i>
  150. </div>
  151. </div>
  152. </div>
  153. <div class="dashboard-stats">
  154. <div class="dashboard-stats-item" style="background-color: #65cea7; margin-right: 0px;">
  155. <h2 class="m-top-none">&nbsp;</h2>
  156. <h5>&nbsp;</h5>
  157. <div class="stat-icon">
  158. <i class="fa fa-truck fa-3x"></i>
  159. </div>
  160. </div>
  161. </div>
  162. </div>*@
  163. </div>
  164. </div>
  165. <div class="rows" style="margin-bottom: 1%; ">
  166. <div style="float: left; width: 90%;height:60%">
  167. <div style=" border: 1px solid #e6e6e6; background-color: #fff;">
  168. @*<img src="~/Content/img/banner3.jpg" />*@
  169. <DIV id=demo style="OVERFLOW: hidden;height:60% ">
  170. <table border="0" cellspacing="0" cellpadding="0">
  171. <tr>
  172. @*<td valign="top" id=demo1>*@
  173. <!-- 要循环滚动的图片 -->
  174. @*<table width="600" border="0" align="center" cellpadding="0" cellspacing="0">
  175. <tr>
  176. <td align="center">
  177. <a>
  178. <img src="~/Content/img/banner1.jpg" border="0" style="height:90%" />
  179. </a>
  180. </td>
  181. <td align="center" >
  182. <a>
  183. <img src="~/Content/img/banner2.jpg" border="0" style="height:90%" />
  184. </a>
  185. </td>
  186. <td align="center">
  187. <a >
  188. <img src="~/Content/img/banner3.jpg" border="0" style="height:90%" />
  189. </a>
  190. </td>
  191. <td align="center">
  192. <a>
  193. <img src="~/Content/img/banner4.jpg" border="0" style="height:90%" />
  194. </a>
  195. </td>
  196. </tr>
  197. </table>*@
  198. @*</td>*@
  199. <TD id=demo2 width=1></TD>
  200. </tr>
  201. </table>
  202. </DIV>
  203. </div>
  204. </div>
  205. @*<div style="float: right; width: 30%;">
  206. <div style="height: 350px; border: 1px solid #e6e6e6; background-color: #fff;">
  207. <div class="panel panel-default">
  208. <div class="panel-heading"><i class="fa fa-pie-chart fa-lg" style="padding-right: 5px;"></i>请假统计</div>
  209. <div class="panel-body" style="padding-top: 20px;">
  210. <canvas id="leavechart" style="height: 160px; width: 100%;"></canvas>
  211. <div style="text-align: center; padding-top: 20px;">
  212. <span><i class="fa fa-square" style="color: #F7464A; font-size: 20px; padding-right: 5px; vertical-align: middle; margin-top: -3px;"></i>事假</span>
  213. <span style="margin-left: 10px;"><i class="fa fa-square" style="color: #46BFBD; font-size: 20px; padding-right: 5px; vertical-align: middle; margin-top: -3px;"></i>病假</span>
  214. <span style="margin-left: 10px;"><i class="fa fa-square" style="color: #FDB45C; font-size: 20px; padding-right: 5px; vertical-align: middle; margin-top: -3px;"></i>公休假</span>
  215. <span style="margin-left: 10px;"><i class="fa fa-square" style="color: #949FB1; font-size: 20px; padding-right: 5px; vertical-align: middle; margin-top: -3px;"></i>调休假</span>
  216. </div>
  217. <div style="margin-top: 20px; padding-top: 18px; height: 60px; border-top: 1px solid #e6e6e6;">
  218. <div style="width: 25%; text-align: center; float: left;">
  219. <span id="a_value">16.5小时</span>
  220. <p style="color: #a1a1a1">事假</p>
  221. </div>
  222. <div style="width: 25%; text-align: center; float: left;">
  223. <span id="b_value">7.5小时</span>
  224. <p style="color: #a1a1a1">病假</p>
  225. </div>
  226. <div style="width: 25%; text-align: center; float: left;">
  227. <span id="c_value">13小时</span>
  228. <p style="color: #a1a1a1">公休假</p>
  229. </div>
  230. <div style="width: 25%; text-align: center; float: left;">
  231. <span id="d_value">19小时</span>
  232. <p style="color: #a1a1a1">调休假</p>
  233. </div>
  234. </div>
  235. </div>
  236. </div>
  237. </div>
  238. </div>*@
  239. </div>
  240. @*<div class="rows" style="overflow: hidden;">
  241. <div style="float: left; width: 34%; margin-right: 1%;">
  242. <div style="height: 265px; border: 1px solid #e6e6e6; background-color: #fff;">
  243. <div class="panel panel-default">
  244. <div class="panel-heading"><i class="fa fa-thumbs-o-up fa-lg" style="padding-right: 5px;"></i>最新签约</div>
  245. <div class="panel-body">
  246. <ul>
  247. <li><a href="#">南京森鹿皮件服饰有限公司</a><span class="time">2016-07-21</span></li>
  248. <li><a href="#">曲靖市绿能燃气运输有限公司</a><span class="time">2016-07-20</span></li>
  249. <li><a href="#">青海航天信息有限公司</a><span class="time">2016-07-19</span></li>
  250. <li><a href="#">吉林省蔬菜花卉科学研究院</a><span class="time">2016-07-17</span></li>
  251. <li><a href="#">青海省广播电视信息网络股份有限公司</a><span class="time">2016-07-17</span></li>
  252. <li><a href="#">国营长空精密机械制造公司</a><span class="time">2016-07-13</span></li>
  253. <li><a href="#">广东友元国土信息工程有限公司</a><span class="time">2016-07-12</span></li>
  254. <li><a href="#">广东友元国土信息工程有限公司</a><span class="time">2016-07-12</span></li>
  255. </ul>
  256. </div>
  257. </div>
  258. </div>
  259. </div>
  260. <div style="float: left; width: 34%; margin-right: 1%;">
  261. <div style="height: 265px; border: 1px solid #e6e6e6; background-color: #fff;">
  262. <div class="panel panel-default">
  263. <div class="panel-heading"><i class="fa fa-rss fa-lg" style="padding-right: 5px;"></i>通知公告</div>
  264. <div class="panel-body">
  265. <ul>
  266. <li><a href="#">【通知】新版员工守则,即日执行</a><span class="time">2016-07-21</span></li>
  267. <li><a href="#">【公告】OA办公使用指南</a><span class="time">2016-07-21</span></li>
  268. <li><a href="#">【公告】劳动节集体出游指南</a><span class="time">2016-07-21</span></li>
  269. <li><a href="#">【通知】2016年G20财长和央行行</a><span class="time">2016-07-21</span></li>
  270. <li><a href="#">【通知】2016年G20财长和央行行</a><span class="time">2016-07-21</span></li>
  271. <li><a href="#">【通知】品牌价值的最佳选择</a><span class="time">2016-07-21</span></li>
  272. <li><a href="#">【公告】采购商城全新升级自营业正品</a><span class="time">2016-07-21</span></li>
  273. <li><a href="#">【公告】采购商城全新升级自营业正品</a><span class="time">2016-07-21</span></li>
  274. </ul>
  275. </div>
  276. </div>
  277. </div>
  278. </div>
  279. <div style="float: right; width: 30%;">
  280. <div style="height: 265px; border: 1px solid #e6e6e6; background-color: #fff;">
  281. <div class="panel panel-default">
  282. <div class="panel-heading"><i class="fa fa-send fa-lg" style="padding-right: 5px;"></i>企业文化</div>
  283. <div class="panel-body">
  284. <ul>
  285. <li><a href="#">创新企业党建思想政治工作</a><span class="time">2016-07-02</span></li>
  286. <li><a href="#">现代国有企业道德体系初构</a><span class="time">2016-06-18</span></li>
  287. <li><a href="#">国有企业文化问题根源及文化重塑任务分析</a><span class="time">2016-06-26</span></li>
  288. <li><a href="#">国有企业文化建设必须突出员工文化</a><span class="time">2016-04-20</span></li>
  289. <li><a href="#">加强企业公民建设 推进企业和谐发展</a><span class="time">2016-03-08</span></li>
  290. <li><a href="#">不断提升大庆精神 实现企业持续发展</a><span class="time">2016-02-22</span></li>
  291. <li><a href="#">科学发展作指导 人水和谐路更宽</a><span class="time">2016-02-15</span></li>
  292. <li><a href="#">科学发展作指导 人水和谐路更宽</a><span class="time">2016-02-15</span></li>
  293. </ul>
  294. </div>
  295. </div>
  296. </div>
  297. </div>
  298. </div>*@
  299. </div>
  300. <style>
  301. #copyrightcontent {
  302. height: 30px;
  303. line-height: 29px;
  304. overflow: hidden;
  305. position: absolute;
  306. top: 100%;
  307. margin-top: -30px;
  308. width: 100%;
  309. background-color: #fff;
  310. border: 1px solid #e6e6e6;
  311. padding-left: 10px;
  312. padding-right: 10px;
  313. }
  314. .dashboard-stats {
  315. float: left;
  316. width: 20%;
  317. }
  318. .dashboard-stats-item {
  319. position: relative;
  320. overflow: hidden;
  321. color: #fff;
  322. cursor: pointer;
  323. height: 105px;
  324. margin-right: 25px;
  325. margin-bottom: 10px;
  326. padding: 20px 20px;
  327. }
  328. .dashboard-stats-item .m-top-none {
  329. margin-top: 2px;
  330. }
  331. .dashboard-stats-item h2 {
  332. font-size: 35px;
  333. font-family: inherit;
  334. line-height: 1.1;
  335. font-weight: 500;
  336. }
  337. .dashboard-stats-item h5 {
  338. font-size: 14px;
  339. font-family: inherit;
  340. margin-top: 3px;
  341. line-height: 1.1;
  342. }
  343. .dashboard-stats-item .stat-icon {
  344. position: absolute;
  345. top: 10px;
  346. right: 10px;
  347. font-size: 30px;
  348. opacity: .3;
  349. }
  350. .dashboard-stats i.fa.stats-icon {
  351. width: 50px;
  352. padding: 20px;
  353. font-size: 50px;
  354. text-align: center;
  355. color: #fff;
  356. height: 50px;
  357. border-radius: 10px;
  358. }
  359. .panel-default {
  360. border: none;
  361. border-radius: 0px;
  362. margin-bottom: 0px;
  363. box-shadow: none;
  364. -webkit-box-shadow: none;
  365. }
  366. .panel-default > .panel-heading {
  367. color: #777;
  368. background-color: #fff;
  369. border-color: #e6e6e6;
  370. padding: 10px 10px;
  371. }
  372. .panel-default > .panel-body {
  373. padding: 10px;
  374. padding-bottom: 0px;
  375. }
  376. .panel-default > .panel-body ul {
  377. overflow: hidden;
  378. padding: 0;
  379. margin: 0px;
  380. margin-top: -5px;
  381. }
  382. .panel-default > .panel-body ul li {
  383. line-height: 27px;
  384. list-style-type: none;
  385. white-space: nowrap;
  386. text-overflow: ellipsis;
  387. }
  388. .panel-default > .panel-body ul li .time {
  389. color: #a1a1a1;
  390. float: right;
  391. padding-right: 5px;
  392. }
  393. </style>
  394. </body>
  395. </html>