baigl #325

Merged
baigl merged 9 commits from baigl into main 2024-10-17 10:44:10 +08:00
1 changed files with 11 additions and 4 deletions
Showing only changes of commit f3d59ca8ee - Show all commits

View File

@ -95,7 +95,8 @@
<div class="prepare-body-header">
<div>
<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 class="prepare-work-wrap">
@ -126,7 +127,7 @@
</div>
<MoveFile v-model="isMoveDialogOpen" @on-submit="chooseMoveCata" />
<uploadDialog v-model="isDialogOpen" @submit-file="submitFile" />
<SetHomework v-model="setDialog" :entpcourseid="entpcourseid" :row="row" />
<SetHomework v-model="setDialog" :entpcourseid="entpcourseid" :rows="rows" />
</div>
<reserv
ref="reservDialog"
@ -228,7 +229,7 @@ export default {
entpcourseid: '',
//
setDialog: false,
row: '',
rows: '',
isOpenHomework: false,
//
activeClass: null,
@ -675,6 +676,11 @@ export default {
cookieData: { ...configObj.data }
})
},
//
goNewClassTask(){
// router.push({ path: '/newClassTask' });
this.$router.push({ path: '/newClassTask' });
},
getWeekday1(date) {
const weekdays = ['周日', '周一', '周二', '周三', '周四', '周五', '周六']
const weekday = new Date(date).getDay()
@ -682,7 +688,8 @@ export default {
},
//
openSet(row) {
this.row = row
// row list
this.rows = [row]
this.setDialog = true
},
//