提交更改
This commit is contained in:
@@ -92,8 +92,8 @@
|
||||
<p>历史趋势</p>
|
||||
</div>
|
||||
<div class="history_header">
|
||||
<el-form :model="searchForm" class="history_select" id="history_select" label-width="auto">
|
||||
<el-form-item label="统计指标">
|
||||
<el-form :model="searchForm" class="history_select" id="history_select">
|
||||
<el-form-item label="统计指标" label-width="80px">
|
||||
<el-select
|
||||
multiple
|
||||
:multiple-limit="3"
|
||||
@@ -111,8 +111,18 @@
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<div v-for="(item, index) in countData" :key="index">
|
||||
<el-form-item :label="item.name + '谐波次数'" v-if="item.countOptions.length != 0">
|
||||
<el-select v-model="item.count" multiple placeholder="请选择谐波次数">
|
||||
<el-form-item
|
||||
:label="item.name + '谐波次数'"
|
||||
v-if="item.countOptions.length != 0"
|
||||
label-width="180px"
|
||||
>
|
||||
<el-select
|
||||
v-model="item.count"
|
||||
multiple
|
||||
collapse-tags
|
||||
collapse-tags-tooltip
|
||||
placeholder="请选择谐波次数"
|
||||
>
|
||||
<el-option
|
||||
v-for="vv in item.countOptions"
|
||||
:key="vv"
|
||||
@@ -122,7 +132,7 @@
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
</div>
|
||||
<el-form-item label="值类型">
|
||||
<el-form-item label="值类型" label-width="80px">
|
||||
<el-select v-model="searchForm.type" placeholder="请选择值类型">
|
||||
<el-option
|
||||
v-for="item in typeOptions"
|
||||
@@ -160,7 +170,6 @@ import { queryStatistical } from '@/api/system-boot/csstatisticalset'
|
||||
import * as echarts from 'echarts'
|
||||
import { isNonNullChain } from 'typescript'
|
||||
import { position } from 'html2canvas/dist/types/css/property-descriptors/position'
|
||||
|
||||
import { read, writeFile, utils } from 'xlsx'
|
||||
const dictData = useDictData()
|
||||
defineOptions({
|
||||
@@ -317,7 +326,7 @@ const init = async () => {
|
||||
searchForm.value.index.map((item: any, indexs: any) => {
|
||||
indexOptions.value.map((vv: any) => {
|
||||
if (vv.id == item) {
|
||||
chartTitle.value += indexs == searchForm.value.index.length - 1 ? vv.name : vv.name+ '/'
|
||||
chartTitle.value += indexs == searchForm.value.index.length - 1 ? vv.name : vv.name + '/'
|
||||
}
|
||||
})
|
||||
})
|
||||
@@ -828,26 +837,26 @@ onMounted(() => {})
|
||||
}
|
||||
}
|
||||
|
||||
.monitor_info {
|
||||
::v-deep .monitor_info {
|
||||
width: 100%;
|
||||
}
|
||||
::v-deep .el-tabs__content {
|
||||
padding: 0 !important;
|
||||
max-height: 160px !important;
|
||||
}
|
||||
|
||||
.el-tabs__content {
|
||||
padding: 0 !important;
|
||||
max-height: 160px !important;
|
||||
}
|
||||
}
|
||||
.history_header {
|
||||
display: flex;
|
||||
// flex-wrap: wrap;
|
||||
#history_select {
|
||||
width: 90%;
|
||||
width: 95%;
|
||||
display: flex;
|
||||
justify-content: flex-start;
|
||||
overflow: auto;
|
||||
// flex-wrap: wrap;
|
||||
.el-form-item {
|
||||
flex: none;
|
||||
width: 380px !important;
|
||||
max-width: 380px !important;
|
||||
}
|
||||
.el-select {
|
||||
margin-right: 10px;
|
||||
|
||||
Reference in New Issue
Block a user