|
@@ -12,6 +12,8 @@ export default function useSummaryLayout() {
|
|
setMainRightSize,
|
|
setMainRightSize,
|
|
setMainLeftTopSize,
|
|
setMainLeftTopSize,
|
|
setMainLeftBottomSize,
|
|
setMainLeftBottomSize,
|
|
|
|
+ setRightStdBillVisible,
|
|
|
|
+ setRightLibRationVisible
|
|
} = summaryLayoutStore
|
|
} = summaryLayoutStore
|
|
|
|
|
|
const subjectTreeSize = computed({
|
|
const subjectTreeSize = computed({
|
|
@@ -44,13 +46,25 @@ export default function useSummaryLayout() {
|
|
set: val => setMainLeftBottomSize(val),
|
|
set: val => setMainLeftBottomSize(val),
|
|
});
|
|
});
|
|
|
|
|
|
|
|
+ const rightStdBillVisible = computed({
|
|
|
|
+ get: () => summaryLayoutStore.rightStdBillVisible,
|
|
|
|
+ set: val => setRightStdBillVisible(val),
|
|
|
|
+ });
|
|
|
|
+
|
|
|
|
+ const rightLibRationVisible = computed({
|
|
|
|
+ get: () => summaryLayoutStore.rightLibRationVisible,
|
|
|
|
+ set: val => setRightLibRationVisible(val),
|
|
|
|
+ });
|
|
|
|
+
|
|
const costTableRef = ref<NeedRenderComponent>()
|
|
const costTableRef = ref<NeedRenderComponent>()
|
|
const bottomTabsRef = ref<NeedRenderComponent>()
|
|
const bottomTabsRef = ref<NeedRenderComponent>()
|
|
const stdBillRef = ref<NeedRenderComponent>()
|
|
const stdBillRef = ref<NeedRenderComponent>()
|
|
|
|
+ const libRationRef = ref<NeedRenderComponent>()
|
|
|
|
|
|
const handleSubjectTreeSize = (size: number) => {
|
|
const handleSubjectTreeSize = (size: number) => {
|
|
subjectTreeSize.value = size
|
|
subjectTreeSize.value = size
|
|
}
|
|
}
|
|
|
|
+
|
|
const handleMainContentSize = (size: number) => {
|
|
const handleMainContentSize = (size: number) => {
|
|
mainContentSize.value = size
|
|
mainContentSize.value = size
|
|
|
|
|
|
@@ -58,7 +72,9 @@ export default function useSummaryLayout() {
|
|
costTableRef.value && costTableRef.value.Render()
|
|
costTableRef.value && costTableRef.value.Render()
|
|
bottomTabsRef.value && bottomTabsRef.value.Render()
|
|
bottomTabsRef.value && bottomTabsRef.value.Render()
|
|
stdBillRef.value && stdBillRef.value.Render()
|
|
stdBillRef.value && stdBillRef.value.Render()
|
|
|
|
+ libRationRef.value && libRationRef.value.Render()
|
|
}
|
|
}
|
|
|
|
+
|
|
const handleMainLeftSize = (size: number) => {
|
|
const handleMainLeftSize = (size: number) => {
|
|
mainLeftSize.value = size
|
|
mainLeftSize.value = size
|
|
|
|
|
|
@@ -66,16 +82,20 @@ export default function useSummaryLayout() {
|
|
costTableRef.value && costTableRef.value.Render()
|
|
costTableRef.value && costTableRef.value.Render()
|
|
bottomTabsRef.value && bottomTabsRef.value.Render()
|
|
bottomTabsRef.value && bottomTabsRef.value.Render()
|
|
}
|
|
}
|
|
|
|
+
|
|
const handleMainRightSize = (size: number) => {
|
|
const handleMainRightSize = (size: number) => {
|
|
mainRightSize.value = size
|
|
mainRightSize.value = size
|
|
|
|
|
|
stdBillRef.value && stdBillRef.value.Render()
|
|
stdBillRef.value && stdBillRef.value.Render()
|
|
|
|
+ libRationRef.value && libRationRef.value.Render()
|
|
}
|
|
}
|
|
|
|
+
|
|
const handleMainLeftTopSize = (size: number) => {
|
|
const handleMainLeftTopSize = (size: number) => {
|
|
mainLeftTopSize.value = size
|
|
mainLeftTopSize.value = size
|
|
|
|
|
|
costTableRef.value && costTableRef.value.Render()
|
|
costTableRef.value && costTableRef.value.Render()
|
|
}
|
|
}
|
|
|
|
+
|
|
const handleMainLeftBottomSize = (size: number) => {
|
|
const handleMainLeftBottomSize = (size: number) => {
|
|
mainLeftBottomSize.value = size
|
|
mainLeftBottomSize.value = size
|
|
|
|
|
|
@@ -89,10 +109,14 @@ export default function useSummaryLayout() {
|
|
mainRightSize,
|
|
mainRightSize,
|
|
mainLeftTopSize,
|
|
mainLeftTopSize,
|
|
mainLeftBottomSize,
|
|
mainLeftBottomSize,
|
|
|
|
+ rightStdBillVisible,
|
|
|
|
+ rightLibRationVisible,
|
|
|
|
|
|
costTableRef,
|
|
costTableRef,
|
|
bottomTabsRef,
|
|
bottomTabsRef,
|
|
stdBillRef,
|
|
stdBillRef,
|
|
|
|
+ libRationRef,
|
|
|
|
+
|
|
handleSubjectTreeSize,
|
|
handleSubjectTreeSize,
|
|
handleMainContentSize,
|
|
handleMainContentSize,
|
|
handleMainLeftSize,
|
|
handleMainLeftSize,
|