diff --git a/src/renderer/src/api/education/knowledgePoint.js b/src/renderer/src/api/education/knowledgePoint.js index 0db8521..b70941b 100644 --- a/src/renderer/src/api/education/knowledgePoint.js +++ b/src/renderer/src/api/education/knowledgePoint.js @@ -2,12 +2,21 @@ import request from '@/utils/request' // 查询知识点列表 export function listKnowlegepoint(query) { - return request({ - url: '/point/list', - method: 'get', - params: query - }) - } + return request({ + url: '/point/list', + method: 'get', + params: query + }) +} + +// 查询知识点列表 +export function listKnowlegepointFormat(query) { + return request({ + url: '/point/formatList', + method: 'get', + params: query + }) +} // 查询一级知识点查下级所有层级 diff --git a/src/renderer/src/components/exam-question/examDetailsDrawer.vue b/src/renderer/src/components/exam-question/examDetailsDrawer.vue index 12de43c..28ea8d8 100644 --- a/src/renderer/src/components/exam-question/examDetailsDrawer.vue +++ b/src/renderer/src/components/exam-question/examDetailsDrawer.vue @@ -71,4 +71,9 @@ defineExpose({ justify-content: flex-end; box-sizing: border-box; } + + :deep(.format-work-desc > :is(div):first-child){ + display: inline-block; + } + \ No newline at end of file diff --git a/src/renderer/src/hooks/useProcessList.js b/src/renderer/src/hooks/useProcessList.js index e7329eb..8cd80ad 100644 --- a/src/renderer/src/hooks/useProcessList.js +++ b/src/renderer/src/hooks/useProcessList.js @@ -59,14 +59,14 @@ export const processList = (row, aloneOption=false) => { for(; j${char}.${workDescArr[j]}`; + tmp += `
${char}.${workDescArr[j]}
`; } else { if(j%2 == 0){ tmp += `
`; } - tmp += `
${char}.${workDescArr[j]}
`; + tmp += `
${char}.${workDescArr[j]}
`; if(j%2 == 1){ tmp += '
'; } @@ -153,14 +153,14 @@ export const processList = (row, aloneOption=false) => { for(; j${char}.${optionsArr[j]}`; + tmp += `
${char}.${optionsArr[j]}
`; } else { if(j%2 == 0){ tmp += `
`; } - tmp += `
${char}.${optionsArr[j]}
`; + tmp += `
${char}.${optionsArr[j]}
`; if(j%2 == 1){ tmp += '
'; } @@ -280,14 +280,14 @@ export const processList = (row, aloneOption=false) => { for(; j${char}.${workDescArr[j]}`; + tmp += `
${char}.${workDescArr[j]}
`; } else { if(j%2 == 0){ tmp += `
`; } - tmp += `
${char}.${workDescArr[j]}
`; + tmp += `
${char}.${workDescArr[j]}
`; if(j%2 == 1){ tmp += '
'; } diff --git a/src/renderer/src/views/classTask/newClassTaskAssign/myQuestion/index.vue b/src/renderer/src/views/classTask/newClassTaskAssign/myQuestion/index.vue index 234693f..27be20e 100644 --- a/src/renderer/src/views/classTask/newClassTaskAssign/myQuestion/index.vue +++ b/src/renderer/src/views/classTask/newClassTaskAssign/myQuestion/index.vue @@ -488,6 +488,10 @@ watch(() => props.bookobj.levelSecondId, (newVal, oldVal) => { width: 100%; height: calc(100% - 100px); } + + :deep(.format-work-desc > :is(div):first-child){ + display: inline-block; + } // :deep(.el-dialog .question-dialog){ // height: 80vh !important; diff --git a/src/renderer/src/views/classTask/newClassTaskAssign/questionUpload/index.vue b/src/renderer/src/views/classTask/newClassTaskAssign/questionUpload/index.vue index d3a7cae..46b94b8 100644 --- a/src/renderer/src/views/classTask/newClassTaskAssign/questionUpload/index.vue +++ b/src/renderer/src/views/classTask/newClassTaskAssign/questionUpload/index.vue @@ -99,6 +99,8 @@ const router = useRouter() const { proxy } = getCurrentInstance() const props = defineProps({ }) + +const curLessionList = ref([]); const activeParams = reactive({ version: {}, lession: {}, diff --git a/src/renderer/src/views/classTask/newClassTaskAssign/questionUpload/quesItem/index.vue b/src/renderer/src/views/classTask/newClassTaskAssign/questionUpload/quesItem/index.vue index 52d87fc..d1a8f5d 100644 --- a/src/renderer/src/views/classTask/newClassTaskAssign/questionUpload/quesItem/index.vue +++ b/src/renderer/src/views/classTask/newClassTaskAssign/questionUpload/quesItem/index.vue @@ -405,9 +405,10 @@ + + + \ No newline at end of file