Compare commits

...

5 Commits

Author SHA1 Message Date
baigl 94e23c3d69 Merge pull request 'baigl' (#167) from baigl into main
Reviewed-on: #167
2024-12-20 17:19:17 +08:00
白了个白 ea5ed4b6ac Merge branch 'main' of http://27.128.240.72:3000/zhuhao/AIx_Smarttalk_WS into baigl 2024-12-20 17:18:32 +08:00
白了个白 6b45fa61dd 1 2024-12-20 17:17:35 +08:00
白了个白 7aa75794dc 科学实验:批改优化 2024-12-20 17:16:57 +08:00
白了个白 f7a3aa6e53 科学实验:学科写死 2024-12-20 16:37:08 +08:00
2 changed files with 46 additions and 29 deletions

View File

@ -709,6 +709,7 @@ const acceptParams = async (params) => {
} else {
//
if (params.studentObj.worktype == '常规作业' || params.studentObj.worktype == '科学实验') {
if(params.studentObj.worktype == '常规作业'){
try {
// datacontent TODO
const res = await getClassworkdata(params.studentObj.id);
@ -733,6 +734,9 @@ const acceptParams = async (params) => {
} catch (error) {
console.error('Invalid JSON:', error)
}
}else{
// TODO 2024-12-20
}
params.studentQuizAllList.forEach((item) => {
classWorkFormScore.teacherRating.push({

View File

@ -61,12 +61,25 @@ const checkList = ref([])// 当前年级对应学科的课程,
//
const getSubject = () => {
//
if(!userStore.subject) return
listEvaluation({ itemkey: 'subject', pageSize: 500 }).then((res) => {
const arr = userStore.subject.split(',')
subjectList.value = res.rows.filter(item => arr.includes(String(item.id))).map(items => items)
console.log(subjectList,'subjectList');
// if(!userStore.subject) return
// listEvaluation({ itemkey: 'subject', pageSize: 500 }).then((res) => {
// const arr = userStore.subject.split(',')
// subjectList.value = res.rows.filter(item => arr.includes(String(item.id))).map(items => items)
// console.log(subjectList,'subjectList');
// })
// list
const edustageList = ['小学','初中','高中'];
const subList = ['数学','物理','化学','生物','科学'];
edustageList.forEach((item) => {
subList.forEach((subItems) => {
subjectList.value.push({
edustage: item,
edusubject: subItems,
itemtitle: subItems
})
})
})
console.log(subjectList,'subjectList');
//
handleUserEduStage(useClassTaskStore().experimentObj.edustage)
}