home.html
4.03 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
<style>
.system_change_log{
background: #fff;
color: #666;
box-shadow: 0 5px 15px rgba(0,0,0,0.08);
height: calc(100% + 10px);
margin-top: -10px;
font-size: 14px;
padding: 10px 0 0 15px;
overflow: auto;
}
.system_change_log>ul{
margin:0px;
list-style:none;
}
.system_change_log>ul>li.sub_title{
text-indent: 0;
}
.system_change_log>ul>li.sub_title>h6{
font-size: 12px;
font-family: 微软雅黑;
color: #000;
margin-top: 8px;
margin-bottom: 8px;
}
.system_change_log>ul>li{
margin: 5px 0;
text-indent: 25px;
}
.system_change_log .label{
width: 55px;
display: inline-block;
padding: 0 10px;
line-height: 1.5;
font-size: 12px;
color: #fff;
vertical-align: middle;
white-space: nowrap;
border-radius: 2px !important;
text-transform: uppercase;
text-align: center;
text-indent: 3px;
margin-right: 15px;
}
.system_change_log .label.s_c_add{
background-color: #32d296;
}
.system_change_log .label.s_c_change{
background-color: #1e87f0;
}
.system_change_log .label.s_c_remove{
background-color: #faa05a;
}
</style>
<div class="system_change_log">
<h2 style="text-indent: 35px;margin: 10px 0 5px;">2023-09-16 更新说明 Changelog</h2>
<br><br>
<ul>
<li class="sub_title"><h6>线调、油电管理</h6></li>
<li><span class="label s_c_change">修改</span>1.历史路单维护、进出场存油(恒定)、进出场存电(恒定)的编辑限制统一为T+2(以今日为锚点,可以编辑今日、昨日、前日的数据)</li>
</ul>
</div>
<script type="text/javascript">
$.ajax({
url: '/eci/validate_get_destroy_info',
dataType: "json",
success: function(rs) {
if (rs && rs.status === "SUCCESS") {
if (rs.data && rs.data.length && rs.data.length > 0) {
var htmlText = "";
var wrapData = [];
if (rs.data.length > 8) {
htmlText = "<span style='font-weight: bold; font-style: italic; '>部分停用信息如下:</span></br>";
wrapData = rs.data.slice(0, 8);
} else {
htmlText = "<span style='font-weight: bold; font-style: italic; '>所有停用信息如下:</span></br>";
wrapData = rs.data;
}
$.each(wrapData, function(index, value) {
wrapData[index] = "<span style='font-size: 14px;'>" + value + "</span>";
});
htmlText += wrapData.join("</br>");
swal({
title: "排班人员停用信息",
text: htmlText,
html: true,
type: "warning",
showCancelButton: true,
cancelButtonText: "关闭",
confirmButtonColor: "#3598dc",
confirmButtonText: "下载所有停用信息",
closeOnConfirm: false
}, function() {
window.location.href = "/eci/validate_get_destroy_info/download";
});
}
}
}
});
$.get("/user/validPWDExpired", function(msg) {
if ("ok" === msg) {
return;
}
var htmlText = [];
htmlText.push("<span style='font-weight: bold; font-style: italic; '>" + msg + "</span></br>");
swal({
title: "账户密码提示",
text: htmlText.join("</br>"),
html: true,
type: "warning",
showCancelButton: true,
cancelButtonText: "关闭",
confirmButtonColor: "#3598dc",
closeOnConfirm: false
});
});
</script>