修改测试bug
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<div>
|
||||
<div :style="{ width: menuCollapse ? '40px' : '280px' }"
|
||||
style="transition: all 0.3s; overflow: hidden; height: 100%">
|
||||
style=" overflow: hidden; height: 100%">
|
||||
<Icon v-show="menuCollapse" @click="onMenuCollapse" :name="menuCollapse ? 'el-icon-Expand' : 'el-icon-Fold'"
|
||||
:class="menuCollapse ? 'unfold' : ''" size="18" class="fold ml10 mt20 menu-collapse"
|
||||
style="cursor: pointer" />
|
||||
|
||||
@@ -35,7 +35,7 @@ const tableStore = new TableStore({
|
||||
method: 'POST',
|
||||
paramsPOST: true,
|
||||
showPage: false,
|
||||
publicHeight: 365,
|
||||
publicHeight: 355,
|
||||
column: [
|
||||
// { width: '60', type: 'checkbox', fixed: 'left' },
|
||||
{
|
||||
@@ -160,12 +160,12 @@ const tableStore = new TableStore({
|
||||
})
|
||||
const setHeight = () => {
|
||||
if (props.activeColName == '0') {
|
||||
waveFormAnalysisRef.value && waveFormAnalysisRef.value.setHeight(360, 495)
|
||||
tableStore.table.height = mainHeight(385).height
|
||||
waveFormAnalysisRef.value && waveFormAnalysisRef.value.setHeight(350, 485)
|
||||
tableStore.table.height = mainHeight(380).height
|
||||
|
||||
} else {
|
||||
waveFormAnalysisRef.value && waveFormAnalysisRef.value.setHeight(360, 360)
|
||||
tableStore.table.height = mainHeight(250).height
|
||||
waveFormAnalysisRef.value && waveFormAnalysisRef.value.setHeight(350, 350)
|
||||
tableStore.table.height = mainHeight(240).height
|
||||
}
|
||||
}
|
||||
provide('tableStore', tableStore)
|
||||
|
||||
@@ -215,7 +215,7 @@ const voltageLevelList = dictData.getBasicData('Dev_Voltage_Stand')
|
||||
const volConTypeList = dictData.getBasicData('Dev_Connect')
|
||||
//值类型
|
||||
const pageHeight = mainHeight(20)
|
||||
const EcharHeight = ref(mainHeight(451))
|
||||
const EcharHeight = ref(mainHeight(436))
|
||||
const loading = ref(false)
|
||||
const searchForm: any = ref({})
|
||||
const typeOptions = [
|
||||
@@ -955,15 +955,15 @@ const selectChange = (e: boolean) => {
|
||||
|
||||
if (activeColName.value == '0') {
|
||||
if (flag.value) {
|
||||
EcharHeight.value = mainHeight(495)
|
||||
EcharHeight.value = mainHeight(480)
|
||||
} else {
|
||||
EcharHeight.value = mainHeight(451)
|
||||
EcharHeight.value = mainHeight(436)
|
||||
}
|
||||
} else {
|
||||
if (flag.value) {
|
||||
EcharHeight.value = mainHeight(355)
|
||||
EcharHeight.value = mainHeight(340)
|
||||
} else {
|
||||
EcharHeight.value = mainHeight(315)
|
||||
EcharHeight.value = mainHeight(300)
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -972,15 +972,15 @@ const handleChange = () => {
|
||||
|
||||
if (activeColName.value == '0') {
|
||||
if (flag.value) {
|
||||
EcharHeight.value = mainHeight(495)
|
||||
EcharHeight.value = mainHeight(480)
|
||||
} else {
|
||||
EcharHeight.value = mainHeight(451)
|
||||
EcharHeight.value = mainHeight(436)
|
||||
}
|
||||
} else {
|
||||
if (flag.value) {
|
||||
EcharHeight.value = mainHeight(355)
|
||||
EcharHeight.value = mainHeight(340)
|
||||
} else {
|
||||
EcharHeight.value = mainHeight(315)
|
||||
EcharHeight.value = mainHeight(300)
|
||||
}
|
||||
}
|
||||
setTimeout(() => {
|
||||
@@ -1051,8 +1051,8 @@ onMounted(() => {
|
||||
overflow: hidden;
|
||||
flex: 1 !important;
|
||||
height: calc(100vh - 135px);
|
||||
padding: 10px 10px 10px 10px;
|
||||
border: 2px solid #eeeeee;
|
||||
// padding: 10px 10px 10px 10px;
|
||||
// border: 2px solid #eeeeee;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user