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 }}
|
||||
|
@@ -18,10 +18,9 @@
|
||||
type="file"
|
||||
accept=".xlsx, .xls"
|
||||
class="input-file"
|
||||
@change="handleInputClick"
|
||||
/>
|
||||
@change="handleInputClick" />
|
||||
<div class="input-message">
|
||||
<ExclamationCircleOutlined :style="{ color: '#0ed2bf', fontSize: '60px' }" />
|
||||
<ExclamationCircleOutlined :style="{ color: '#0ed2bf', fontSize: '50px' }" />
|
||||
<span>点击或将文件拖拽到这里上传</span>
|
||||
<span>支持扩展名: .xlsx, .xls</span>
|
||||
</div>
|
||||
@@ -156,7 +155,7 @@
|
||||
false,
|
||||
false,
|
||||
0,
|
||||
null
|
||||
null,
|
||||
);
|
||||
obj.dispatchEvent(ev);
|
||||
//防止同步任务过快,导致在列表页面没有最新数据
|
||||
|
@@ -28,7 +28,7 @@
|
||||
@change="handleInputClick" />
|
||||
<div class="input-message">
|
||||
<!-- <ExclamationCircleOutlined :style="{ color: '#0ed2bf', fontSize: '60px' }" /> -->
|
||||
<ContainerOutlined :style="{ color: '#0ed2bf', fontSize: '60px' }" />
|
||||
<ContainerOutlined :style="{ color: '#0ed2bf', fontSize: '40px' }" />
|
||||
<span style="margin-top: 10px">点击或将文件拖拽到这里上传</span>
|
||||
<span>支持扩展名: .xlsx, .xls</span>
|
||||
</div>
|
||||
@@ -282,6 +282,7 @@
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
text-align: center;
|
||||
padding: 20px 0px;
|
||||
}
|
||||
|
||||
.file-name {
|
||||
|
Reference in New Issue
Block a user