刷新饼图

This commit is contained in:
sjl
2025-01-13 21:06:24 +08:00
parent 8b9abba74b
commit 1f3024eb91
9 changed files with 69 additions and 66 deletions

View File

@@ -94,7 +94,7 @@
<el-tab-pane :label='tabLabel1' :style='{ height: tabPaneHeight}'>
<!-- 列表数据 -->
<div class='container_table' :style='{ height: tableHeight }'>
<Table ref='tableRef1' :id='currentId' :isTimeCheck='isTimeCheck' :plan = 'select_Plan'></Table>
<Table ref='tableRef1' :id='currentId' :isTimeCheck='isTimeCheck' :plan = 'select_Plan' @batchGenerateClicked="handleBatchGenerate"></Table>
</div>
</el-tab-pane>
</el-tabs>
@@ -441,7 +441,11 @@ onUnmounted(() => {
}
})
const handleBatchGenerate = () => {
console.log('批量生成按钮被点击了');
// 在这里添加其他逻辑,比如显示对话框、更新状态等
getPieData(currentId.value)
};
</script>
<style lang='scss' scoped>