fix : 样式修改

This commit is contained in:
2024-03-04 15:47:47 +08:00
parent 89161ea797
commit 0bae6752ac

View File

@@ -106,7 +106,7 @@
</el-form-item>
</el-form>
<div class="device-table">
<el-table stripe
<el-table stripe v-loading="loading"
style="background-color: #011c29;--el-table-border-color: none;"
:header-cell-style="{backgroundColor: '#064B66',color: '#fff',fontSize: '40px',borderBottom: 'none' }"
:data="alarmList">
@@ -183,7 +183,7 @@ const isDetailVisited = ref(false);
const showFan = ref(false);
const drawerLeft = ref(true);
const showTunnelTitle = ref(true);
// const loading = ref(false);
const loading = ref(false);
const initialIndex = ref(0)
const showFanLoading = ref(0)
const showWindLoading = ref(0)
@@ -326,14 +326,14 @@ const handleChangeState = (row) => {
});
}
const getAlarmList = () => {
// loading.value = true
loading.value = true
getAlarmInfo({
tunnelId: tunnelId.value,
lookupStatus: queryParams.lookupStatus,
...pageInfo
}).then(res => {
if (res.code === 1000) {
// loading.value = false
loading.value = false
alarmList.value = res.data.rows
total.value = res.data.total
}