页面样式微调

This commit is contained in:
仲么了
2024-02-02 09:58:14 +08:00
parent 8e9634c375
commit 570f21bbc4
6 changed files with 67 additions and 57 deletions

View File

@@ -82,7 +82,7 @@ const tableStore = new TableStore({
{ title: '相别', field: 'phaseName', width: 80 },
{ title: '单位', field: 'unit', width: 80 },
{ title: '基础数据类型', field: 'type', width: 80 },
{ title: '数据谐波次数', field: 'harmStart' },
{ title: '数据谐波次数', field: 'harmStartEnd' },
{ title: '数据统计方法', field: 'statMethod' },
{ title: '数据存储', field: 'classIdName' },
{ title: '数据来源', field: 'resourcesIdName' },
@@ -129,6 +129,7 @@ const tableStore = new TableStore({
item.classIdName = DataSelect.find((child: any) => child.id == item.classId)?.name || '/'
item.resourcesIdName = ResourcesIdSelect.find((child: any) => child.id == item.resourcesId)?.name || '/'
item.phaseName = item.phase === 'M' ? '/' : item.phase || '/'
item.harmStartEnd = item.harmEnd ? item.harmStart + '-' + item.harmEnd : '/'
for (let key in item) {
if (typeof item[key] !== 'number') {
item[key] = item[key] || '/'