index.vue 670 B

1234567891011121314151617181920212223
  1. <template>
  2. <div class="app-container state-err">
  3. <el-card class="state-row">
  4. <template #header>成史分析</template>
  5. <history-analyse ref="haRef" riskType="2"/>
  6. </el-card>
  7. <el-card class="state-row">
  8. <template #header>数值分析指标</template>
  9. <hz-analyse @success="handleReload" riskType="2"/>
  10. </el-card>
  11. </div>
  12. </template>
  13. <script setup lang="ts">
  14. import historyAnalyse from "../r3/components/historyAnalyse.vue"
  15. import hzAnalyse from "../r3/components/hzAnalyse.vue"
  16. const haRef = ref(null)
  17. function handleReload(){
  18. haRef.value.getAnalysis()
  19. }
  20. </script>
  21. <style lang="scss">
  22. @import "../r3/css/style.scss";
  23. </style>