Merge pull request 'baigl' (#224) from baigl into main

Reviewed-on: #224
This commit is contained in:
baigl 2024-09-19 15:32:32 +08:00
commit a082b437b7
3 changed files with 12 additions and 1 deletions

View File

@ -141,6 +141,7 @@ const getClassWorkList = () => {
edustage: userStore.edustage,//
edusubject: userStore.edusubject,//
deaddate: tabActive.value === '进行中'? getTomorrow() : EndDate.value,//
status: '1', // 1-
orderby: 'concat(deaddate,uniquekey) DESC',
pageSize: 100
}).then((response) => {

View File

@ -211,6 +211,11 @@
<!-- 学生答题展示 -->
<div v-if="feedContentList.length > 0">
<div v-if="dialogProps.studentObj.worktype == '常规作业' && stuItem.rightanswer != ''&& stuItem.rightanswer != null">
<!-- 常规作业学生有的会答复 -->
<p style="padding: 10px 0;">学生答复内容</p>
<div style="padding: 0 20px">{{stuItem.rightanswer}}</div>
</div>
<p>学生答题附件内容</p>
<div class="image_list">
<div v-if="imageList.length > 0">
@ -247,6 +252,9 @@
</span>
</div>
</div>
<!-- 无附件内容 -->
<div v-if="imageList.length == 0 && fileList.length == 0" style="padding: 0 20px">未提交附件内容</div>
</div>
</div>
<div v-else>

View File

@ -166,12 +166,14 @@ const clickMenu = ({isOuter, path, disabled}) =>{
if(isOuter){
let configObj = outLink().getBaseData()
let fullPath = configObj.fullPath + path
if(path == '/teaching/classtaskassign?titleName=作业布置&openDialog=newClassTask'){
if(path == '/teaching/classtaskassign?titleName=作业布置&openDialog=newClassTask' || path == '/teaching/classtaskassign?titleName=作业布置'){
// ID
const { levelFirstId, levelSecondId } = JSON.parse(localStorage.getItem('unitId'))
let unitId = levelSecondId ? levelSecondId : levelFirstId
fullPath = fullPath + `&unitId=${unitId}`
console.log(fullPath)
}
fullPath = fullPath.replaceAll('//', '/')
//