测试问题整改
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
<my-echart
|
||||
v-loading="loading"
|
||||
class="mt10"
|
||||
:style="`height: calc(${tableStore.table.height} - 75px)`"
|
||||
:style="`height: calc(${tableStore.table.height} - 135px)`"
|
||||
:options="options"
|
||||
/>
|
||||
</template>
|
||||
@@ -65,19 +65,7 @@ const tableStore = new TableStore({
|
||||
title: {
|
||||
text: title
|
||||
},
|
||||
toolbox: {
|
||||
show: true,
|
||||
feature: {
|
||||
saveAsImage: {
|
||||
// bottom: '10px',
|
||||
show: true,
|
||||
title: '保存'
|
||||
// yAxisIndex: 'none'
|
||||
}
|
||||
},
|
||||
right: 10,
|
||||
top: 0
|
||||
},
|
||||
|
||||
tooltip: {
|
||||
formatter: function (params: any) {
|
||||
var tips = ''
|
||||
@@ -94,13 +82,7 @@ const tableStore = new TableStore({
|
||||
return tips
|
||||
}
|
||||
},
|
||||
grid: {
|
||||
top: '50px', // 等价于 y: '16%'
|
||||
left: '10px',
|
||||
right: '10px',
|
||||
bottom: '80px',
|
||||
containLabel: true
|
||||
},
|
||||
|
||||
xAxis: {
|
||||
name: titleX,
|
||||
data: tableStore.table.data.type
|
||||
|
||||
@@ -131,6 +131,9 @@ import TableHeader from '@/components/table/header/index.vue'
|
||||
import TableStore from '@/utils/tableStore'
|
||||
import Table from '@/components/table/index.vue'
|
||||
import charts from './components/charts.vue'
|
||||
defineOptions({
|
||||
name: 'harmonic-boot/area/harmonicDistortionRate'
|
||||
})
|
||||
const tableRef = ref()
|
||||
const onlineChartsRef = ref()
|
||||
const dictData = useDictData()
|
||||
@@ -185,7 +188,7 @@ const handleClick = (tab: any, e: any) => {
|
||||
// const datePickerRef = ref()
|
||||
const tableHeaderRef = ref()
|
||||
const tableStore = new TableStore({
|
||||
// publicHeight: 60,
|
||||
publicHeight: 60,
|
||||
showPage: false,
|
||||
url: '/harmonic-boot/tHDistortion/getTHDistortionData',
|
||||
method: 'POST',
|
||||
@@ -303,17 +306,17 @@ watch(
|
||||
)
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
.online {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
.online_header {
|
||||
width: 100%;
|
||||
max-height: 140px;
|
||||
padding: 10px;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.online_main {
|
||||
padding: 0 10px;
|
||||
}
|
||||
}
|
||||
// .online {
|
||||
// width: 100%;
|
||||
// height: 100%;
|
||||
// .online_header {
|
||||
// width: 100%;
|
||||
// max-height: 140px;
|
||||
// padding: 10px;
|
||||
// box-sizing: border-box;
|
||||
// }
|
||||
// .online_main {
|
||||
// padding: 0 10px;
|
||||
// }
|
||||
// }
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user