修改数据中心问题

This commit is contained in:
GGJ
2024-11-08 16:30:12 +08:00
parent a4b6bb111b
commit 7640b53b20
12 changed files with 874 additions and 456 deletions

View File

@@ -183,7 +183,7 @@ const handleClick = (tab: any, e: any) => {
// const datePickerRef = ref()
const tableHeaderRef = ref()
const tableStore = new TableStore({
// publicHeight: 60,
publicHeight: 65,
showPage: false,
url: '/device-boot/terminalOnlineRateData/getOnlineRateData',
method: 'POST',
@@ -254,9 +254,10 @@ const tableStore = new TableStore({
title: '评估',
field: 'valueOver',
align: 'center',
effect:"dark",
render: 'tag',
custom: {
null: 'danger',
null: 'info',
0: 'danger',
1: 'success',
2: 'primary',
@@ -296,10 +297,7 @@ const tableStore = new TableStore({
}, 0)
}
})
const handleSearch = () => {
formData.value.searchBeginTime = datePickerRef.value.timeValue[0]
formData.value.searchEndTime = datePickerRef.value.timeValue[1]
}
tableStore.table.params.deptIndex = ''
tableStore.table.params.statisticalType = []
tableStore.table.params.scale = []
@@ -344,17 +342,5 @@ watch(
)
</script>
<style lang="scss" scoped>
.online {
width: 100%;
height: 100%;
.online_header {
width: 100%;
max-height: 140px;
padding: 10px;
box-sizing: border-box;
}
.online_main {
padding: 0 10px;
}
}
</style>