feat: 驱动因子计划 — 模式切换+行业包+敏感性分析
This commit is contained in:
@@ -238,6 +238,10 @@
|
||||
</div>
|
||||
</el-tab-pane>
|
||||
|
||||
<el-tab-pane label="驱动因子预算" name="driver">
|
||||
<DriverFactorBudget />
|
||||
</el-tab-pane>
|
||||
|
||||
<el-tab-pane label="持续规划" name="rolling">
|
||||
<el-tabs v-model="rollingTab" type="border-card" style="margin-top:4px;">
|
||||
<el-tab-pane label="实际vs预测对比" name="comparison">
|
||||
@@ -428,6 +432,7 @@ import { ref, onMounted, computed, watch, nextTick } from 'vue'
|
||||
import { ElMessage, ElMessageBox } from 'element-plus'
|
||||
import { budgetApi, kpiApi, mapApi, actionPlanApi } from '../api/index'
|
||||
import MyDialog from '../components/MyDialog.vue'
|
||||
import DriverFactorBudget from '../components/DriverFactorBudget.vue'
|
||||
|
||||
const activeTab = ref('input')
|
||||
const currentYear = new Date().getFullYear()
|
||||
@@ -897,6 +902,9 @@ watch(activeTab, (tab) => {
|
||||
else if (tab === 'versions') loadVersions()
|
||||
else if (tab === 'execution') loadExecutionReport()
|
||||
else if (tab === 'method') refreshMethodComparison()
|
||||
else if (tab === 'driver') {
|
||||
// DriverFactorBudget handles its own loading on mount
|
||||
}
|
||||
else if (tab === 'rolling') {
|
||||
loadComparison()
|
||||
loadDeviationAlerts()
|
||||
|
||||
Reference in New Issue
Block a user