Browse Source

修改监控中心样式

temp
fks-yangshouda 3 months ago
parent
commit
3fa3655200
  1. BIN
      hx-ai-intelligent/public/asset/file/groupList.xlsx
  2. 6
      hx-ai-intelligent/src/view/equipmentManage/group/config.ts
  3. 3
      hx-ai-intelligent/src/view/equipmentManage/group/editCarbonEquipment.vue
  4. 2
      hx-ai-intelligent/src/view/monitor/energyMonitor/graphGraph/index.vue

BIN
hx-ai-intelligent/public/asset/file/groupList.xlsx

Binary file not shown.

6
hx-ai-intelligent/src/view/equipmentManage/group/config.ts

@ -346,8 +346,8 @@ export const tableConfig = (el, elGroup, elFormula, defaultParams) => {
api: group.importGroup, // 导入接口名 api: group.importGroup, // 导入接口名
// dynamicParams: { defaultParams: defaultParams }, // dynamicParams: { defaultParams: defaultParams },
params: defaultParams.value, params: defaultParams.value,
title: '设备信息', // 弹窗title title: '计算节点', // 弹窗title
templateName: 'whiteListUser', // 所使用的文件名称 templateName: 'groupList', // 所使用的文件名称
indexName: '设备id', // 匹配类型字段 indexName: '设备id', // 匹配类型字段
message: [ message: [
{ label: '1、若必填项未填写,则不能进行导入操作' }, { label: '1、若必填项未填写,则不能进行导入操作' },
@ -364,7 +364,7 @@ export const tableConfig = (el, elGroup, elFormula, defaultParams) => {
type: 'primary', type: 'primary',
handle: () => { handle: () => {
// http.get('/asset/file/whiteListUser.xlsx'); // http.get('/asset/file/whiteListUser.xlsx');
doWnload('/hx-ai-intelligent/asset/file/whiteListUser.xlsx'); doWnload('/hx-ai-intelligent/asset/file/groupList.xlsx');
}, },
}, },
], ],

3
hx-ai-intelligent/src/view/equipmentManage/group/editCarbonEquipment.vue

@ -158,4 +158,7 @@
::v-deep .ant-table-pagination.ant-pagination { ::v-deep .ant-table-pagination.ant-pagination {
margin: 26px 0 !important; /* 根据需要调整 padding 大小 */ margin: 26px 0 !important; /* 根据需要调整 padding 大小 */
} }
:deep(.ns-list-table[data-v-64b9682f]:not(.ant-drawer-body > *):not(.ant-form > *)) {
background-color: #ffffff !important;
}
</style> </style>

2
hx-ai-intelligent/src/view/monitor/energyMonitor/graphGraph/index.vue

@ -116,7 +116,7 @@
const date = params[0].name; const date = params[0].name;
const values = params const values = params
.map((param: any) => { .map((param: any) => {
const unit = data.value.find((d) => d.date === date)?.unit || ''; const unit = data.value[0]?.unit || '';
return `<tr> return `<tr>
<td>${param.marker}${param.seriesName}</td> <td>${param.marker}${param.seriesName}</td>
<td style="text-align: right;">${param.value} ${unit}</td> <td style="text-align: right;">${param.value} ${unit}</td>

Loading…
Cancel
Save