This commit is contained in:
zk
2023-12-11 10:06:57 +08:00
parent 4a616ed1c8
commit e576d20c00
2 changed files with 18 additions and 19 deletions
+16 -17
View File
@@ -1,8 +1,8 @@
<template> <template>
<div class="terminal-container"> <div class="terminal-container">
<public-title title="健康终端报警" :isShowMore="true" @clickMore="handleDialog"> <public-title title="健康终端报警">
<template #right> <template #right>
<span style="font-size: 14px; font-weight: 100; cursor: pointer; margin-right: 3px" @click="viewDetail">查看详情</span> <span class="right-text" @click="viewDetail">查看详情</span>
</template> </template>
</public-title> </public-title>
<div class="inner"> <div class="inner">
@@ -18,13 +18,13 @@
</div> </div>
</vue3-seamless-scroll> </vue3-seamless-scroll>
</div> </div>
<Dialog :openVis="open" width="65%" title="健康终端报警列表" @close="handleClose"> <!-- <Dialog :openVis="open" width="65%" title="健康终端报警列表" @close="handleClose">-->
<template #container> <!-- <template #container>-->
<div class="dialog-con"> <!-- <div class="dialog-con">-->
<a-table :dataSource="dataSource" :columns="columns" :scroll="{ y: '56vh' }" :pagination="false" /> <!-- <a-table :dataSource="dataSource" :columns="columns" :scroll="{ y: '56vh' }" :pagination="false" />-->
</div> <!-- </div>-->
</template> <!-- </template>-->
</Dialog> <!-- </Dialog>-->
<Dialog :openVis="openInfor" width="30%" title="健康报警员工信息" @close="handlePoliceClose"> <Dialog :openVis="openInfor" width="30%" title="健康报警员工信息" @close="handlePoliceClose">
<template #container> <template #container>
<div class="police-con"> <div class="police-con">
@@ -92,14 +92,6 @@
}, },
]); ]);
function handleDialog() {
open.value = true;
}
function handleClose() {
open.value = false;
}
/** /**
* @desc open员工信息 * @desc open员工信息
*/ */
@@ -147,6 +139,13 @@
} }
</script> </script>
<style scoped lang="less"> <style scoped lang="less">
.right-text {
font-size: 14px;
font-weight: 100;
cursor: pointer;
margin-right: 3px;
}
.inner { .inner {
height: calc(100% - 40px); height: calc(100% - 40px);
display: flex; display: flex;
+2 -2
View File
@@ -168,7 +168,7 @@
.body-d { .body-d {
display: flex; display: flex;
height: calc(100% - 120px); height: calc(100% - 120px);
padding-top: 10px; //padding-top: 10px;
> :nth-child(1) { > :nth-child(1) {
width: 25%; width: 25%;
@@ -226,4 +226,4 @@
background: url('../assets/images/bottom-b.png') no-repeat; background: url('../assets/images/bottom-b.png') no-repeat;
background-size: 100% 100%; background-size: 100% 100%;
} }
</style> </style>