fix:增加type判断

This commit is contained in:
wyx
2023-03-03 10:43:07 +08:00
parent 123fbe5f28
commit 896a7c9c78
5 changed files with 8 additions and 6 deletions

View File

@@ -494,13 +494,15 @@ console.log("data==----->", data);
const { data: submitList } = useRequest(TASK_WORK_SUBMIT_LIST, {
workerId: workId,
type
});
console.log("submitList==----->", submitList);
// 判断是否已经提交过成绩
const submitScore = ref(false);
request(WhetherImportHomeWorkScore,{
"workId": workId
"workId": workId,
type
}).then(res=>{
console.log('学员端是否导入过成绩查询', res)
if(res.data){