【修改】 1、前端配置项;2、PPT出题页面加载优化
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user