人员出入管理

This commit is contained in:
cwchen 2024-06-17 09:55:27 +08:00
parent 046b16f109
commit 2f73405e30
4 changed files with 32 additions and 29 deletions

View File

@ -26,11 +26,12 @@ body {
height: 47%; height: 47%;
display: flex; display: flex;
justify-content: space-around; justify-content: space-around;
display: none;
} }
.bot-box { .bot-box {
width: 100%; width: 98%;
height: 47%; height: 98%;
display: flex; display: flex;
justify-content: space-around; justify-content: space-around;
} }
@ -44,7 +45,7 @@ body {
.top-box-left-top { .top-box-left-top {
width: 100%; width: 100%;
height: 48%; height: 40%;
display: flex; display: flex;
} }
@ -60,7 +61,7 @@ body {
letter-spacing: 1px; letter-spacing: 1px;
font-size: 16px; font-size: 16px;
font-weight: 500; font-weight: 500;
height: 5%; height: 14%;
width: 100%; width: 100%;
} }
@ -69,18 +70,19 @@ body {
flex-direction: row; flex-direction: row;
height: 30%; height: 30%;
width: 100%; width: 100%;
margin-top: 6%; /* margin-top: 6%; */
align-items: center;
} }
.imgs { .imgs {
width: 60%; width: 40px;
height: 70%; height: 48px;
margin: 5% 5%; margin: 5% 5%;
text-align: center; text-align: center;
} }
.today-img { .today-img {
padding: 5% 2% 2% 2%; /* padding: 5% 2% 2% 2%; */
background: url("../../img/accessMge/today.png") no-repeat 0 0 / 100% 100%; background: url("../../img/accessMge/today.png") no-repeat 0 0 / 100% 100%;
display: flex; display: flex;
justify-content: center; justify-content: center;
@ -115,14 +117,14 @@ body {
letter-spacing: 1px; letter-spacing: 1px;
font-size: 16px; font-size: 16px;
font-weight: 500; font-weight: 500;
height: 5%; height: 14%;
width: 100%; width: 100%;
} }
.cumulative-img { .cumulative-img {
padding: 0.5% 0% 0% 0%; /* padding: 0.5% 0% 0% 0%; */
width: 12%; width: 40px;
height: 100%; height: 48px;
margin: 5.5% 3% 5% 3%; margin: 5.5% 3% 5% 3%;
text-align: center; text-align: center;
background: url("../../img/accessMge/cumulative.png") no-repeat 0 0 / 100% 100%; background: url("../../img/accessMge/cumulative.png") no-repeat 0 0 / 100% 100%;
@ -159,6 +161,7 @@ body {
width: 100% !important; width: 100% !important;
height: 100% !important; height: 100% !important;
display: flex !important; display: flex !important;
flex-wrap: wrap;
} }
.none-data { .none-data {
@ -171,17 +174,17 @@ body {
} }
.capacityItem { .capacityItem {
width: 200px; width: 180px;
height: 130px; height: 150px;
margin-right: 10px; /* margin-right: 10px; */
background-color: transparent; background-color: transparent;
flex-direction: column; flex-direction: column;
justify-content: space-around; justify-content: space-around;
} }
.capacityItem img { .capacityItem img {
width: 180px; width: 170px;
height: 100px; height: 120px;
} }
.abnormalAlarmImg { .abnormalAlarmImg {
@ -194,7 +197,7 @@ body {
.top-box-left-bot { .top-box-left-bot {
margin-top: 2%; margin-top: 2%;
width: 100%; width: 100%;
height: 48%; height: 56%;
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 38 KiB

After

Width:  |  Height:  |  Size: 50 KiB

View File

@ -314,20 +314,20 @@ function getPerStatisticsPhoto(accessType, timeType) {
if (result.data.warnList && result.data.warnList.length > 0) { if (result.data.warnList && result.data.warnList.length > 0) {
let html = ''; let html = '';
let list = result.data.warnList; let list = result.data.warnList;
let zs = Math.floor(list.length / 5); let zs = Math.floor(list.length / 15);
let xs = Math.floor(list.length % 5); let xs = Math.floor(list.length % 15);
if (zs > 0) { if (zs > 0) {
for (let i = 1; i <= zs; i++) { for (let i = 1; i <= zs; i++) {
html += '<div>' html += '<div>'
+ '<div class="pageCapacity">' + '<div class="pageCapacity">'
+ handleData(5, i, list) + handleData(15, i, list)
+ '</div>' + '</div>'
+ '</div>' + '</div>'
} }
if (xs > 0) { if (xs > 0) {
html += '<div>' html += '<div>'
+ '<div class="pageCapacity">' + '<div class="pageCapacity">'
+ handleData2(5, zs, xs, list) + handleData2(15, zs, xs, list)
+ '</div>' + '</div>'
+ '</div>' + '</div>'
} }
@ -342,7 +342,7 @@ function getPerStatisticsPhoto(accessType, timeType) {
carousel.render({ carousel.render({
elem: '#ID-carousel-demo-image', elem: '#ID-carousel-demo-image',
width: '1000px', width: '1000px',
height: '160px', height: '460px',
interval: 5000, interval: 5000,
// indicator:'none' // indicator:'none'
}); });
@ -433,7 +433,7 @@ function getPerStatisticsList(bidCode) {
url: url, url: url,
skin: 'line', skin: 'line',
page: true, page: true,
height: 'full-560', height: 'full-140',
headers: { headers: {
decrypt: "decrypt", decrypt: "decrypt",
"Authorization": token "Authorization": token

View File

@ -196,13 +196,13 @@
<div class="cumulative-img"> <div class="cumulative-img">
<span class="font-style" id="threesrPer"></span> <span class="font-style" id="threesrPer"></span>
</div> </div>
<span class="span-style"></span> <!-- <span class="span-style"></span> -->
<div class="cumulative-img"> <div class="cumulative-img">
<span class="font-style" id="foursrPer"></span> <span class="font-style" id="foursrPer"></span>
</div> </div>
<span class="span-style"></span> <span class="span-style"></span>
</div> </div>
<div class="cumulative-font" style="margin-top: 10%;">当月累计出场</div> <div class="cumulative-font" style="margin-top: 6%;">当月累计出场</div>
<div class="direction" style="margin-top: 0%;"> <div class="direction" style="margin-top: 0%;">
<div class=" cumulative-img"> <div class=" cumulative-img">
<span class="font-style" id="onescPer"></span> <span class="font-style" id="onescPer"></span>
@ -213,7 +213,7 @@
<div class=" cumulative-img"> <div class=" cumulative-img">
<span class="font-style" id="threescPer"></span> <span class="font-style" id="threescPer"></span>
</div> </div>
<span class="span-style"></span> <!-- <span class="span-style"></span> -->
<div class=" cumulative-img"> <div class=" cumulative-img">
<span class="font-style" id="fourscPer"></span> <span class="font-style" id="fourscPer"></span>
</div> </div>
@ -222,7 +222,7 @@
</div> </div>
<div class="top-box-left-top-bot"> <div class="top-box-left-top-bot">
<div class="img-style" id="photos"> <div class="img-style" id="photos">
<div class="layui-carousel" id="ID-carousel-demo-image2"> <div class="layui-carousel" id="ID-carousel-demo-image2" style="margin-top: 20%;">
<div id="img-carousel2" carousel-item> <div id="img-carousel2" carousel-item>
</div> </div>
</div> </div>
@ -282,7 +282,7 @@
</div> </div>
</form> </form>
<div class="right-down-right"> <div class="right-down-right" style="overflow: visible;">
<table id="demo2" lay-filter="test"></table> <table id="demo2" lay-filter="test"></table>
</div> </div>