fix:按照需要修改样式
This commit is contained in:
@@ -35,6 +35,7 @@
|
||||
</a-step>
|
||||
</template>
|
||||
</a-steps>
|
||||
<a-empty v-if="dataSource.length === 0" :description="'暂无数据'" />
|
||||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
@@ -99,4 +100,8 @@
|
||||
:deep(.ant-steps-item) {
|
||||
margin-top: 8px !important;
|
||||
}
|
||||
.ant-empty {
|
||||
margin-top: 50%;
|
||||
transform: translateY(-50%);
|
||||
}
|
||||
</style>
|
||||
|
@@ -108,7 +108,7 @@
|
||||
configureEnergyAlarmsData.value = value;
|
||||
show.value = true;
|
||||
tableConfig.value = {
|
||||
title: '告警规则',
|
||||
title: value.errorCode + '告警规则',
|
||||
api: energyAlarms.configGetTableList,
|
||||
headerActions: [
|
||||
{
|
||||
@@ -242,7 +242,6 @@
|
||||
],
|
||||
},
|
||||
formConfig: {
|
||||
title: value.errorCode,
|
||||
schemas: [
|
||||
{
|
||||
field: 'deviceName',
|
||||
|
@@ -81,7 +81,7 @@
|
||||
configureDeviceAlarmsData.value = value;
|
||||
show.value = true;
|
||||
tableConfig.value = {
|
||||
title: '告警规则',
|
||||
title: value.errorCode + '告警规则',
|
||||
api: deviceAlarms.configGetTableList,
|
||||
headerActions: [
|
||||
{
|
||||
@@ -214,7 +214,7 @@
|
||||
],
|
||||
},
|
||||
formConfig: {
|
||||
title: value.errorCode,
|
||||
title: '查询',
|
||||
schemas: [
|
||||
{
|
||||
field: 'deviceInfoCode',
|
||||
|
@@ -76,8 +76,10 @@
|
||||
<a-table
|
||||
:dataSource="dataSource"
|
||||
:columns="columns"
|
||||
:scroll="{ x: 1000, y: 700 }"
|
||||
:pagination="pagination">
|
||||
:scroll="{ x: 1000 }"
|
||||
:bordered="true"
|
||||
:pagination="pagination"
|
||||
:size="'middle'">
|
||||
<template #bodyCell="{ record, column }">
|
||||
<template v-if="column.dataIndex === 'address'">
|
||||
{{ record?.deptRoleInfoList || record.userRoleInfos?.[0].deptRoleInfoList }}
|
||||
|
Reference in New Issue
Block a user