|
|
|
|
@ -199,6 +199,16 @@ const tableHeader = computed(() => { |
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|
|
|
|
|
|
const compareDesc = computed(() => { |
|
|
|
|
if (compareSwitch.value === 'new') { |
|
|
|
|
return '排片占比(AI/目标日期最新排片数据)' |
|
|
|
|
} else if (compareSwitch.value === 'template') { |
|
|
|
|
return '排片占比(AI/模板日期排片数据)' |
|
|
|
|
} else { |
|
|
|
|
return '排片占比(AI/目标日期历史排片数据)' |
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|
|
|
|
|
|
// 定义生命周期,在加载时获取一次表格数据 |
|
|
|
|
onBeforeMount( |
|
|
|
|
async () => { |
|
|
|
|
@ -330,7 +340,7 @@ onBeforeMount( |
|
|
|
|
</el-row> |
|
|
|
|
<el-row> |
|
|
|
|
<el-col :span="3" align="right"> |
|
|
|
|
<el-text style="font-weight: bold">排片占比(AI/当前选择的对比数据):</el-text> |
|
|
|
|
<el-text style="font-weight: bold">{{ compareDesc }}</el-text> |
|
|
|
|
</el-col> |
|
|
|
|
<el-col :span="9" align="left"> |
|
|
|
|
<el-text>{{ aiCount }}</el-text> |
|
|
|
|
|