|
@@ -124,9 +124,9 @@
|
|
// import tableRes from '@/data/table.json'
|
|
// import tableRes from '@/data/table.json'
|
|
// import areaDataRes from '@/data/areaData.json'
|
|
// import areaDataRes from '@/data/areaData.json'
|
|
/**配置参数 */
|
|
/**配置参数 */
|
|
- const tableHeight = ref(window.innerHeight - 180 + 'px')
|
|
|
|
- const excelHeight = ref((window.innerHeight - 150) / 2 + 'px')
|
|
|
|
- const treeHeight = ref((window.innerHeight - 150) / 2 + 'px')
|
|
|
|
|
|
+ const tableHeight = ref(window.innerHeight - 170 + 'px')
|
|
|
|
+ const excelHeight = ref((window.innerHeight - 131) / 2 + 'px')
|
|
|
|
+ const treeHeight = ref((window.innerHeight - 131) / 2 + 'px')
|
|
/**excel 开始 */
|
|
/**excel 开始 */
|
|
const excelCheckboxShow = ref(false)
|
|
const excelCheckboxShow = ref(false)
|
|
const excelType = ref('')
|
|
const excelType = ref('')
|
|
@@ -704,13 +704,13 @@
|
|
theme.value = store.state.theme
|
|
theme.value = store.state.theme
|
|
echartsTheme.value = !theme.value ? 'dark' : ''
|
|
echartsTheme.value = !theme.value ? 'dark' : ''
|
|
dataRadom.value = (new Date().getTime()).toString()
|
|
dataRadom.value = (new Date().getTime()).toString()
|
|
- tableHeight.value = window.innerHeight - 180 + 'px'
|
|
|
|
- excelHeight.value = (window.innerHeight - 150) / 2 + 'px'
|
|
|
|
- treeHeight.value = (window.innerHeight - 150) / 2 + 'px'
|
|
|
|
|
|
+ tableHeight.value = window.innerHeight - 170 + 'px'
|
|
|
|
+ excelHeight.value = (window.innerHeight - 131) / 2 + 'px'
|
|
|
|
+ treeHeight.value = (window.innerHeight - 131) / 2 + 'px'
|
|
window.addEventListener('resize', () => {
|
|
window.addEventListener('resize', () => {
|
|
- tableHeight.value = window.innerHeight - 180 + 'px'
|
|
|
|
- excelHeight.value = (window.innerHeight - 150) / 2 + 'px'
|
|
|
|
- treeHeight.value = (window.innerHeight - 150) / 2 + 'px'
|
|
|
|
|
|
+ tableHeight.value = window.innerHeight - 170 + 'px'
|
|
|
|
+ excelHeight.value = (window.innerHeight - 131) / 2 + 'px'
|
|
|
|
+ treeHeight.value = (window.innerHeight - 131) / 2 + 'px'
|
|
})
|
|
})
|
|
/**test */
|
|
/**test */
|
|
// funExcelChange({
|
|
// funExcelChange({
|
|
@@ -747,24 +747,25 @@
|
|
|
|
|
|
.main {
|
|
.main {
|
|
display: flex;
|
|
display: flex;
|
|
- justify-content: space-between;
|
|
|
|
- // width: calc(100% - 40px);
|
|
|
|
width: 100%;
|
|
width: 100%;
|
|
|
|
|
|
.treeDataMain,
|
|
.treeDataMain,
|
|
.excelDataMain,
|
|
.excelDataMain,
|
|
.tableDataMain {
|
|
.tableDataMain {
|
|
- padding: 10px;
|
|
|
|
border-radius: 10px;
|
|
border-radius: 10px;
|
|
}
|
|
}
|
|
|
|
|
|
.treeDataMain {
|
|
.treeDataMain {
|
|
- width: calc(20% - 20px);
|
|
|
|
|
|
+ margin-right: 10px;
|
|
|
|
+ padding: 10px 0 10px 10px;
|
|
|
|
+ width: calc(19% - 20px);
|
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
.excelDataMain {
|
|
.excelDataMain {
|
|
- width: calc(13% - 20px);
|
|
|
|
|
|
+ margin-right: 10px;
|
|
|
|
+ padding: 10px 0 10px 10px;
|
|
|
|
+ width: calc(15% - 20px);
|
|
|
|
|
|
.excelDataMain_top {
|
|
.excelDataMain_top {
|
|
padding: 5px 0;
|
|
padding: 5px 0;
|
|
@@ -776,6 +777,7 @@
|
|
}
|
|
}
|
|
|
|
|
|
.tableDataMain {
|
|
.tableDataMain {
|
|
|
|
+ padding: 10px;
|
|
width: calc(66% - 20px);
|
|
width: calc(66% - 20px);
|
|
position: relative;
|
|
position: relative;
|
|
|
|
|