统计代码优化

This commit is contained in:
shixiaoman
2021-11-26 10:40:20 +08:00
parent 028aa411ce
commit 32b0b8c5ea
8 changed files with 44 additions and 44 deletions

View File

@@ -7,8 +7,8 @@
:wrapper-col="{ md: { span: 16 }, sm: { span: 24 } }">
<a-row>
<a-form-item label="断面名称">
<a-select v-model:value="where.sectionName" allowClear showSearch>
<a-select-option v-for="item in sectionInfo" :key="item.sectionName">{{ item.sectionName }}
<a-select v-model:value="where.name" allowClear showSearch>
<a-select-option v-for="item in sectionInfo" :key="item.stationName">{{ item.stationName }}
</a-select-option>
</a-select>
</a-form-item>
@@ -89,47 +89,47 @@
},
{
title: ' ',
dataIndex: 'riverName',
key: 'riverName',
dataIndex: '',
key: '',
children: [{
title: '自动站名称',
dataIndex: 'stationName',
align:'center',
key: 'stationName',
children: [{
title: '《地表水环境质量标准》一类水质标准',
children: [{
title: '《地表水环境质量标准》二类水质标准',
children: [{
title: '《地表水环境质量标准》三类水质标准',
children: [{
title: '《地表水环境质量标准》四类水质标准',
}],
}],
}],
}],
// children: [{
// title: '《地表水环境质量标准》一类水质标准',
// children: [{
// title: '《地表水环境质量标准》二类水质标准',
// children: [{
// title: '《地表水环境质量标准》三类水质标准',
// children: [{
// title: '《地表水环境质量标准》四类水质标准',
// }],
// }],
// }],
// }],
}]
},
// {
// title: ' ',
// dataIndex: 'riverName',
// key: 'riverName',
// children: [{
// title: '水质考核目标',
// dataIndex: 'waterTarget',
// key: 'waterTarget',
// }]
// },
// {
// title: ' ',
// dataIndex: 'riverName',
// key: 'riverName',
// children: [{
// title: '水质类别',
// dataIndex: 'waterQualityType',
// key: 'waterQualityType',
// }],
// }
{
title: ' ',
dataIndex: '',
key: '',
children: [{
title: '水质考核目标',
dataIndex: 'waterTarget',
key: 'waterTarget',
}]
},
{
title: ' ',
dataIndex: '',
key: '',
children: [{
title: '水质类别',
dataIndex: 'waterQualityType',
key: 'waterQualityType',
}],
}
, {
title: '主要水质指标月均值',

View File

@@ -7,8 +7,8 @@
:wrapper-col="{ md: { span: 16 }, sm: { span: 24 } }">
<a-row>
<a-form-item label="断面名称">
<a-select v-model:value="where.sectionName" allowClear showSearch>
<a-select-option v-for="item in sectionInfo" :key="item.sectionName">{{ item.sectionName }}
<a-select v-model:value="where.name" allowClear showSearch>
<a-select-option v-for="item in sectionInfo" :key="item.stationName">{{ item.stationName }}
</a-select-option>
</a-select>
</a-form-item>