教学实践:作业-推送布置修改;作业设计外链改为pc端作业设计

This commit is contained in:
白了个白 2024-10-16 14:19:30 +08:00
parent 6163fb06f9
commit f3d59ca8ee
1 changed files with 11 additions and 4 deletions

View File

@ -95,7 +95,8 @@
<div class="prepare-body-header"> <div class="prepare-body-header">
<div> <div>
<label style="font-size: 15px">{{ currentWorkList.length }}个作业</label>&nbsp; <label style="font-size: 15px">{{ currentWorkList.length }}个作业</label>&nbsp;
<el-button size="small" @click="handleOutLink('homeWork')">作业设计</el-button> <!-- <el-button size="small" @click="handleOutLink('homeWork')">作业设计</el-button> -->
<el-button size="small" @click="goNewClassTask()">作业设计</el-button>
</div> </div>
</div> </div>
<div class="prepare-work-wrap"> <div class="prepare-work-wrap">
@ -126,7 +127,7 @@
</div> </div>
<MoveFile v-model="isMoveDialogOpen" @on-submit="chooseMoveCata" /> <MoveFile v-model="isMoveDialogOpen" @on-submit="chooseMoveCata" />
<uploadDialog v-model="isDialogOpen" @submit-file="submitFile" /> <uploadDialog v-model="isDialogOpen" @submit-file="submitFile" />
<SetHomework v-model="setDialog" :entpcourseid="entpcourseid" :row="row" /> <SetHomework v-model="setDialog" :entpcourseid="entpcourseid" :rows="rows" />
</div> </div>
<reserv <reserv
ref="reservDialog" ref="reservDialog"
@ -228,7 +229,7 @@ export default {
entpcourseid: '', entpcourseid: '',
// //
setDialog: false, setDialog: false,
row: '', rows: '',
isOpenHomework: false, isOpenHomework: false,
// //
activeClass: null, activeClass: null,
@ -675,6 +676,11 @@ export default {
cookieData: { ...configObj.data } cookieData: { ...configObj.data }
}) })
}, },
//
goNewClassTask(){
// router.push({ path: '/newClassTask' });
this.$router.push({ path: '/newClassTask' });
},
getWeekday1(date) { getWeekday1(date) {
const weekdays = ['周日', '周一', '周二', '周三', '周四', '周五', '周六'] const weekdays = ['周日', '周一', '周二', '周三', '周四', '周五', '周六']
const weekday = new Date(date).getDay() const weekday = new Date(date).getDay()
@ -682,7 +688,8 @@ export default {
}, },
// //
openSet(row) { openSet(row) {
this.row = row // row list
this.rows = [row]
this.setDialog = true this.setDialog = true
}, },
// //