Compare commits
3 Commits
cefc29df6a
...
eefc4d75f8
Author | SHA1 | Date |
---|---|---|
zouyf | eefc4d75f8 | |
“zouyf” | db99dbf0d8 | |
“zouyf” | 3b6878ece5 |
|
@ -740,6 +740,10 @@ const updateForm= async(item, submitIndex=0, submitType=1) =>{
|
||||||
let titleSubjList = ''; // 主观题的题目 (这里是 背景资料+题目组合的,主观题要处理一下)
|
let titleSubjList = ''; // 主观题的题目 (这里是 背景资料+题目组合的,主观题要处理一下)
|
||||||
const newSubjListparams = []; // 主观题的题目list
|
const newSubjListparams = []; // 主观题的题目list
|
||||||
|
|
||||||
|
// 将菁优网的填空下划线标签转为下划线(上传时需再重新替换回来)
|
||||||
|
item.title = item.title.replace(/<!--BA--><div class="quizPutTag" contenteditable="true">(?: )?<\/div><!--EA-->/g, '_____');
|
||||||
|
|
||||||
|
|
||||||
if(item.worktype == '复合题') {
|
if(item.worktype == '复合题') {
|
||||||
// 同步更新[基础题]的初始结构
|
// 同步更新[基础题]的初始结构
|
||||||
newList = [{text:""}];
|
newList = [{text:""}];
|
||||||
|
@ -951,7 +955,6 @@ const updateForm= async(item, submitIndex=0, submitType=1) =>{
|
||||||
workAnswerArr.forEach(it => selList.push(it));
|
workAnswerArr.forEach(it => selList.push(it));
|
||||||
}
|
}
|
||||||
else if( item.worktype == '填空题' || item.worktype == '判断题'){
|
else if( item.worktype == '填空题' || item.worktype == '判断题'){
|
||||||
item.title = item.title.replace(/<!--BA--><div class="quizPutTag" contenteditable="true">(?: )?<\/div><!--EA-->/g, '_____');
|
|
||||||
// 处理选项 ()
|
// 处理选项 ()
|
||||||
workAnswerArr.forEach((it,id)=>{
|
workAnswerArr.forEach((it,id)=>{
|
||||||
const s = {
|
const s = {
|
||||||
|
|
|
@ -111,6 +111,7 @@ import { updateClasswork, listEvaluationclue, listClassworkeval,delClassworkeval
|
||||||
import { listEvaluation } from '@/api/subject'
|
import { listEvaluation } from '@/api/subject'
|
||||||
import { listKnowledgePoint } from "@/api/knowledge/knowledgePoint";
|
import { listKnowledgePoint } from "@/api/knowledge/knowledgePoint";
|
||||||
|
|
||||||
|
import { getBindlist } from '@/api/education/knowledgePoint'
|
||||||
import examDetailsDrawer from '@/components/exam-question/examDetailsDrawer.vue'
|
import examDetailsDrawer from '@/components/exam-question/examDetailsDrawer.vue'
|
||||||
import { processList } from '@/hooks/useProcessList'
|
import { processList } from '@/hooks/useProcessList'
|
||||||
import { useGetHomework } from '@/hooks/useGetHomework'
|
import { useGetHomework } from '@/hooks/useGetHomework'
|
||||||
|
@ -155,6 +156,7 @@ const entpCourseWorkPointList = ref([
|
||||||
{label: '不限', value: []},
|
{label: '不限', value: []},
|
||||||
]); // 习题查询条件 - 知识点
|
]); // 习题查询条件 - 知识点
|
||||||
const knowledgePointProps = ref({value: 'thirdId', label: 'title'});
|
const knowledgePointProps = ref({value: 'thirdId', label: 'title'});
|
||||||
|
//const knowledgePointProps = ref({value: 'thirdId', label: 'knowTitle'});
|
||||||
const entpCourseWorkYearList =ref([
|
const entpCourseWorkYearList =ref([
|
||||||
{label: '不限', value: '-1'},
|
{label: '不限', value: '-1'},
|
||||||
{label: '2024', value: '2024'},
|
{label: '2024', value: '2024'},
|
||||||
|
@ -358,8 +360,18 @@ const handleQueryFromEntpCourseWork= async (queryType) => {
|
||||||
/**
|
/**
|
||||||
* 3、知识点
|
* 3、知识点
|
||||||
*/
|
*/
|
||||||
const getEntpCourseWorkPointList = () => {
|
const getEntpCourseWorkPointList = async () => {
|
||||||
// 更新考点
|
// 更新考点
|
||||||
|
|
||||||
|
// const res = await getBindlist({ eid: props.bookobj.levelSecondId });
|
||||||
|
// if (!res.data || res.data.length < 1) {
|
||||||
|
// ElMessage.warning('当前章节下无知识点');
|
||||||
|
// entpCourseWorkPointList.value = [];
|
||||||
|
// }
|
||||||
|
// else {
|
||||||
|
// entpCourseWorkPointList.value = res.data;
|
||||||
|
// }
|
||||||
|
|
||||||
// 拿到当前章节下得所有知识点
|
// 拿到当前章节下得所有知识点
|
||||||
listEvaluation({ itemkey: "subject", pageSize: 10, edustage: userStore.edustage, edusubject: userStore.edusubject }).then((res) => {
|
listEvaluation({ itemkey: "subject", pageSize: 10, edustage: userStore.edustage, edusubject: userStore.edusubject }).then((res) => {
|
||||||
const evalId = res.rows
|
const evalId = res.rows
|
||||||
|
|
Loading…
Reference in New Issue