<template>
  <div class="app-container state-err">
    <el-card class="state-row">
      <template #header>成史分析</template>
      <history-analyse ref="haRef" riskType="2"/>
    </el-card>
    <el-card class="state-row">
      <template #header>数值分析指标</template>
      <hz-analyse @success="handleReload" riskType="2"/>
    </el-card>
  </div>
</template>
<script setup lang="ts">
import historyAnalyse from "../r3/components/historyAnalyse.vue"
import hzAnalyse from "../r3/components/hzAnalyse.vue"
const haRef = ref(null)
function handleReload(){
  haRef.value.getAnalysis()
}
</script>
<style lang="scss">
@import "../r3/css/style.scss";
</style>
