-
Notifications
You must be signed in to change notification settings - Fork 3
/
student.html
196 lines (176 loc) · 6.71 KB
/
student.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="renderer" content="webkit">
<title>学生健康信息数据库</title>
<meta name="keywords" content="学生健康信息数据库,疫情打卡系统,同济大学,嘉定校区,同济大学嘉定校区,同济大学软件学院,数据库课设,同济大学软件学院数据库课设">
<meta name="description" content="学生健康信息数据库/疫情打卡系统是同济大学软件学院数据库课设某项目组的作品">
<!--[if lt IE 9]>
<meta http-equiv="refresh" content="0;ie.html"/><![endif]-->
<!--<link rel="shortcut icon" href="favicon.ico">-->
<link href="pages/lib/bootstrap.css" rel="stylesheet">
<link href="pages/Template/css/common/font-awesome.css" rel="stylesheet">
<link href="pages/Template/css/common/style.css" rel="stylesheet">
<script src="pages/lib/vue.js"></script>
</head>
<body class="fixed-sidebar full-height-layout gray-bg" style="overflow:hidden">
<div id="wrapper">
<!--左侧导航开始-->
<nav class="navbar-default navbar-static-side" role="navigation">
<div class="nav-close"><i class="fa fa-times-circle"></i>
</div>
<div class="sidebar-collapse">
<ul class="nav" id="side-menu">
<li class="nav-header">
<div class="dropdown profile-element">
<a data-toggle="dropdown" class="dropdown-toggle" href="#">
<span class="clear">
<span class="block m-t-xs" style="font-size:20px;">
<div style="width:170px;text-align: center">
<strong class="font-bold" style="font-style: italic;">TJ Health Database</strong>
</div>
</span>
</span>
</a>
</div>
<div class="logo-element">
<div class="logo">
<img class="head" v-bind:src="profile_photo">
</div>
<div class="nick-name">{{student_number}}</div>
<div>{{identity}}</div><br>
<a href="index.html">退出登录</a>
</div>
</li>
<!--下面这一行如果去掉那侧边栏收起来之后就回不来了-->
<a class="navbar-minimalize" href="#"></a>
<li>
<a class="J_menuItem" v-bind:href="urlofchatroom">
<i class="fa fa-home"></i>
<span class="nav-label">疫情交流室</span>
</a>
</li>
<li>
<a class="J_menuItem" href="zl/4.html">
<i class="fa fa fa-user-times"></i>
<span class="nav-label">查看学院负责人</span>
</a>
</li>
<li>
<a class="J_menuItem" href="zmz/16.html">
<i class="fa fa fa-user-times"></i>
<span class="nav-label">每日信息填报</span>
</a>
</li>
<li>
<a href="#">
<i class="fa fa fa-user-times"></i>
<span class="nav-label">申请出校返校</span>
<span class="fa arrow"></span>
</a>
<ul class="nav nav-second-level">
<li>
<a class="J_menuItem" onclick="addTabs('ljw/14-1.html', '返校申请', 'ljw/14-1.html')">返校申请</a>
</li>
<li>
<a class="J_menuItem" onclick="addTabs('ljw/14-2.html', '出校申请', 'ljw/14-2.html')">出校申请</a>
</li>
</ul>
</li>
<li>
<a href="#">
<i class="fa fa fa-user-times"></i>
<span class="nav-label">申请病假销假</span>
<span class="fa arrow"></span>
</a>
<ul class="nav nav-second-level">
<li>
<a class="J_menuItem" onclick="addTabs('ljw/12-1.html', '返校申请', 'ljw/12-1.html')">申请病假</a>
</li>
<li>
<a class="J_menuItem" onclick="addTabs('ljw/12-2.html', '出校申请', 'ljw/12-2.html')">申请销假</a>
</li>
</ul>
</li>
<li>
<a href="#">
<i class="fa fa fa-users"></i>
<span class="nav-label">设施使用</span>
<span class="fa arrow"></span>
</a>
<ul class="nav nav-second-level">
<li>
<a class="J_menuItem" onclick="addTabs('yk/7.html', '查看设施开放情况', 'yk/7.html')">查看设施开放情况</a>
</li>
<li>
<a class="J_menuItem" v-bind:href="theUrlOf5">设施预约</a>
</li>
<li>
<a class="J_menuItem" v-bind:href="theUrlOf8">设施打卡</a>
</li>
<li>
<a class="J_menuItem" onclick="addTabs('yk/9.html', '查询违约记录','yk/9.html')">查询违约记录</a>
</li>
</ul>
</li>
</ul>
</div>
</nav>
<!--左侧导航结束-->
<!--右侧部分开始-->
<div id="page-wrapper" class="gray-bg dashbard-1">
<div class="row J_mainContent" id="content-main">
<iframe id="J_iframe" width="100%" height="100%" v-bind:src="urlofchatroom" frameborder="0"
data-id="user-list.html" seamless></iframe>
</div>
</div>
<!--右侧部分结束-->
</div>
<!-- 全局js -->
<script src="pages/lib/jquery.js"></script>
<script src="pages/lib/bootstrap.js"></script>
<script src="pages/Template/lib/plugins/metisMenu/jquery.metisMenu.js"></script>
<script src="pages/Template/lib/plugins/slimscroll/jquery.slimscroll.min.js"></script>
<script src="pages/Template/lib/plugins/layer/layer.min.js"></script>
<!-- 自定义js -->
<script src="pages/Template/js/main.js"></script>
<script type="text/javascript" src="pages/Template/js/index.js"></script>
<!-- 第三方插件 -->
<script src="pages/Template/lib/plugins/pace/pace.min.js"></script>
<script src="pages/Template/lib/tabs/bootstrap-tab.js"></script>
<script>
function addTabs(id, text, url) {
console.log(url)
$("#J_iframe").prop('src', url);
}
var ch = window.innerHeight;
$("#content-main").height(ch + 'px');
</script>
<script>
var abc = new Vue({
el: "#wrapper",
data: {
theusername: "我们的DBA",
identity: "学生",
student_number: "",
profile_photo: "",
urlofchatroom: "pages/chat.html",
theUrlOf5:"yk/5.html",
theUrlOf8:"yk/8.html"
},
mounted: function () {
var urlA = location.search.split('?');
this.student_number = urlA[1];
//console.log(this.student_number);
this.profile_photo = "pages/Template/images/" + this.student_number + ".jpg";
this.urlofchatroom = "pages/chat.html?" + this.student_number;//这句是为了chat.html这个页面能获取到url里学号的信息
this.theUrlOf5="yk/5.html?" + this.student_number;
this.theUrlOf8="yk/8.html?" + this.student_number;
},
methods: {}
})
</script>
</body>
</html>