index.html
1.9 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
<title>维护工单信息</title>
</head>
<body>
<h2 class="head">维护工单</h2>
<div class="contboc">
<div class="box">
<p>
<span>{$info.maintaintime_text}</span>
<span class="type">{$info.status_text}</span>
</p>
<p>水库名称:{$info.reservoirname}</p>
<p>执行人:{$info.reservoirrunrule.executor}</p>
<p>保养日期:{$info.maintaintime_text}</p>
</div>
<div class="box">
<h3>项目任务</h3>
<p>项目标题:{$info.reservoirrunproject.name}</p>
<p>任务备注:</p>
<p>{$info.reservoirrunproject.note}</p>
</div>
<div class="box">
<h3>计划安排</h3>
<p>计划名称:{$info.reservoirrunrule.name}</p>
<p>保养周期:一{$info.reservoirrunrule.count_text}/次</p>
<p>计划状态:{$info.reservoirrunrule.status_text}</p>
</div>
{if $info.status == '2'}<a href="{:url('run/repair/detail')}?id={$id}" class="gointo">去维护</a>{/if}
</div>
</body>
</html>
<style type="text/css">
*{
padding: 0;
margin: 0;
box-sizing: border-box;
}
.head{
text-align: center;
background-color: #2196f3;
color: #fff;
padding: 12px;
font-size: 16px;
}
.contboc .box{
background-color: aliceblue;
margin: 8px auto;
width: 96%;
padding: 16px;
border-radius: 4px;
}
.contboc .box h3{
font-size: 16px;
color:#2196f3;
padding-bottom: 10px;
}
.contboc .box p{
font-size: 14px;
line-height: 30px;
}
.contboc .box p .type{
background-color: #4caf50;
color: #fff;
padding:0px 16px;
border-radius: 2px;
float: right;
font-size: 12px;
}
.gointo{
margin: auto;
width: 60%;
display: block;
text-decoration: none;
color: #fff;
background-color: #2196F3;
text-align: center;
padding: 6px;
border-radius: 18px;
line-height: 25px;
margin-top: 2rem;
font-size: 14px;
}
</style>