【修改】 1、前端配置项;2、PPT出题页面加载优化

This commit is contained in:
dlaren
2025-09-10 15:41:32 +08:00
parent 502b4aa154
commit f64eb03ccd
6 changed files with 22 additions and 58 deletions

View File

@@ -142,7 +142,7 @@
style="width: 100%"
>
<!-- <el-table-column type="selection" width="55" /> -->
<el-table-column label="考点" align="center" prop="contentIn"/>
<el-table-column label="考点" align="center" prop="contentIn" />
<el-table-column label="权值" align="center" prop="scoreRate" width="100px" />
<el-table-column label="操作" align="center" width="100px">
<template #default="scope">
@@ -298,7 +298,7 @@
/>
</div>
<div style="flex: 1.5; overflow: auto; border: 1px solid #eee; padding: 8px; width: 90%;">
<div style="flex: 1.5; overflow: auto; border: 1px solid #eee; padding: 8px; width: 90%">
<h3>考点详情</h3>
<el-table :data="list" style="width: 100%">
<el-table-column prop="contentIn" label="值" />
@@ -529,10 +529,19 @@ const handleNodelClick = async (row: any) => {
// 获取名称
chineseName.value = '【' + row.belongTo + '】【' + row.name + '】'
textIndex.value = row.index
const res = await PptxApi.getSlideByNameList(row.type)
pptxPointsInfoList.value = []
pptxPointsInfoList.value.push(...handleTree(res))
dialogFormVisiblePptxInfos.value = true
const loading = ElLoading.service({
target: '.dialog-scroll-content', // 只遮罩左侧树区域
text: '正在读取详细考点…',
background: 'rgba(255,255,255,0.6)'
})
try {
const res = await PptxApi.getSlideByNameList(row.type)
pptxPointsInfoList.value = []
pptxPointsInfoList.value.push(...handleTree(res))
dialogFormVisiblePptxInfos.value = true
} finally {
loading.close()
}
}
const handleDelete = (row) => {
console.log(row)