修改监控中心样式
This commit is contained in:
BIN
hx-ai-intelligent/public/asset/file/groupList.xlsx
Normal file
BIN
hx-ai-intelligent/public/asset/file/groupList.xlsx
Normal file
Binary file not shown.
@@ -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');
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
@@ -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>
|
||||||
|
@@ -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>
|
||||||
|
Reference in New Issue
Block a user