baigl #325
|
@ -95,7 +95,8 @@
|
|||
<div class="prepare-body-header">
|
||||
<div>
|
||||
<label style="font-size: 15px">共{{ currentWorkList.length }}个作业</label>
|
||||
<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
|
||||
},
|
||||
// 打开作业编辑窗口
|
||||
|
|
Loading…
Reference in New Issue