-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathindex.html
More file actions
199 lines (168 loc) · 3.26 KB
/
index.html
File metadata and controls
199 lines (168 loc) · 3.26 KB
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
197
198
199
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<script language="javascript" src="jquery-1.4.4.min.js"></script>
<script language="javascript" src="jquery.jqprint-0.3.js"></script>
<script src="http://code.jquery.com/jquery-migrate-1.1.0.js"></script>
<link href="print.css" rel="stylesheet" media="print">
<script language="javascript">
$(document).ready(function(){
$(".book").jqprint({debug: true,importCSS: true, printContainer: true, operaSupport: true});
})
</script>
<style>
@page {
size: A4;
margin: 0;
}
@media print {
.page {
margin: 0;
border: initial;
border-radius: initial;
width: initial;
min-height: initial;
box-shadow: initial;
background: initial;
page-break-after: always;
}
.w3cbbs { page-break-after:always;}
body {
margin: 0;
padding: 0;
background-color: #FAFAFA;
font: 12pt "Tahoma";
}
* {
box-sizing: border-box;
-moz-box-sizing: border-box;
}
.page {
width: 21cm;
height: 29.7cm;
margin: 0 auto;
border: 1px #D3D3D3 solid;
border-radius: 5px;
background: white;
box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}
.subpage {
border: 5px red solid;
height: 100%;
}
}
</style>
</head>
<body>
<div class="book">
<div class="page w3cbbs">
<div class="subpage">
<table border="1" cellspacing="0" style="width:100%;margin-top:20px;margin-">
<tr height="25px" >
<td>报修单号</td>
<td colspan="3">{7}</td>
<td>学生签字</td>
<td></td>
</tr>
<tr height="25px">
<td rowspan="2" width="100px">
报修地址
</td>
<td id="printflag" rowspan="2" width="100px">
{0}
</td>
<td rowspan="2" width="100px">
报修时间
</td>
<td id="printtime" rowspan="2" width="100px">
{1}
</td>
<td width="100px">
申请人
</td>
<td id="printperson" width="100px">
{2}
</td>
</tr>
<tr height="25px">
<td>
联系方式
</td>
<td id="printphone">
{3}
</td>
</tr>
<tr height="100px">
<td>报修项目</td>
<td>{4}</td>
<td>报修内容</td>
<td>{5}</td>
<td rowspan="2" colspan="2">{6}</td>
</tr>
<tr height="100px">
<td>维修人员</td>
<td></td>
<td>开始时间<br>完成时间</td>
<td></td>
</tr>
<tr height="25px">
<td>使用材料</td>
<td>数量</td>
<td>单价</td>
<td>金额</td>
<td>材料提供</td>
<td>备注</td>
</tr>
<tr height="25px">
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr height="25px">
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr height="25px">
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr height="25px">
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
</table>
</div>
</div>
<div class="page w3cbbs">
<div class="subpage">Page 2</div>
</div>
<div class="page w3cbbs">
<div class="subpage">Page 3</div>
</div>
<div class="page w3cbbs">
<div class="subpage">Page 4</div>
</div>
<div class="page w3cbbs">
<div class="subpage">Page 5</div>
</div>
<div class="page w3cbbs">
<div class="subpage">Page 6</div>
</div>
</div>
</body>
</html>