Browse Source

fix:按照需要修改样式

temp
zhaohy 3 months ago
parent
commit
6851afdee6
  1. 5
      hx-ai-intelligent/src/components/ns-steps.vue
  2. 3
      hx-ai-intelligent/src/view/alarmManagement/alarmSettings/energyAlarm/configureEnergyAlarms.vue
  3. 4
      hx-ai-intelligent/src/view/alarmManagement/alarmSettings/equipmentAlarm/configureDeviceAlarms.vue
  4. 6
      hx-ai-intelligent/src/view/alarmManagement/alarmSettings/notificationManagement/index.vue
  5. 7
      lib/component/form/upload-modal/upload-modal.vue
  6. 3
      lib/component/xlsx/xlsx-import.vue

5
hx-ai-intelligent/src/components/ns-steps.vue

@ -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>

3
hx-ai-intelligent/src/view/alarmManagement/alarmSettings/energyAlarm/configureEnergyAlarms.vue

@ -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',

4
hx-ai-intelligent/src/view/alarmManagement/alarmSettings/equipmentAlarm/configureDeviceAlarms.vue

@ -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',

6
hx-ai-intelligent/src/view/alarmManagement/alarmSettings/notificationManagement/index.vue

@ -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 }}

7
lib/component/form/upload-modal/upload-modal.vue

@ -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);
//

3
lib/component/xlsx/xlsx-import.vue

@ -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 {

Loading…
Cancel
Save