加上清除逻辑
This commit is contained in:
@@ -52,11 +52,11 @@ const selectChange = (showSelect: any, height: any, datePickerValue?: any) => {
|
||||
headerHeight.value = height
|
||||
|
||||
// 如果有传入 datePicker 的值
|
||||
if (datePickerValue) {
|
||||
// 更新表格参数
|
||||
tableStore.table.params.searchBeginTime = datePickerValue.timeValue?.[0]
|
||||
tableStore.table.params.searchEndTime = datePickerValue.timeValue?.[1]
|
||||
}
|
||||
// if (datePickerValue) {
|
||||
// // 更新表格参数
|
||||
// tableStore.table.params.searchBeginTime = datePickerValue.timeValue?.[0]
|
||||
// tableStore.table.params.searchEndTime = datePickerValue.timeValue?.[1]
|
||||
// }
|
||||
}
|
||||
|
||||
// 计算是否全屏展示
|
||||
@@ -118,50 +118,9 @@ const initEcharts = () => {
|
||||
}
|
||||
}
|
||||
|
||||
// echartList.value.options.series[0].data = dataArray
|
||||
})
|
||||
}
|
||||
|
||||
// const echartList: any = ref({
|
||||
// title: {
|
||||
// text: '指标越限占比'
|
||||
// },
|
||||
|
||||
// xAxis: {
|
||||
// // name: '(区域)',
|
||||
// data: ['闪变', '谐波电压', '谐波电流', '电压偏差', '三相不平衡']
|
||||
// },
|
||||
|
||||
// yAxis: {
|
||||
// name: '%', // 给X轴加单位
|
||||
// interval: 20
|
||||
// },
|
||||
// grid: {
|
||||
// left: '10px',
|
||||
// right: '20px'
|
||||
// },
|
||||
// options: {
|
||||
// series: [
|
||||
// {
|
||||
// // name: '暂降次数',
|
||||
// type: 'bar',
|
||||
// name: '越限占比',
|
||||
// data: [],
|
||||
// barMaxWidth: 30
|
||||
|
||||
// // label: {
|
||||
// // show: true,
|
||||
// // position: 'top',
|
||||
// // textStyle: {
|
||||
// // //数值样式
|
||||
// // color: '#000'
|
||||
// // },
|
||||
// // fontSize: 12
|
||||
// // }
|
||||
// }
|
||||
// ]
|
||||
// }
|
||||
// })
|
||||
const OverLimitDetailsRef = ref()
|
||||
const tableStore: any = new TableStore({
|
||||
url: '/harmonic-boot/totalLimitStatistics/list',
|
||||
|
||||
Reference in New Issue
Block a user