|
@@ -48,7 +48,7 @@
|
|
</template>
|
|
</template>
|
|
</van-cell> -->
|
|
</van-cell> -->
|
|
|
|
|
|
- <div class="accompanyHeader">云练习曲目选择<span>(若作业内容非云练习曲目则无需选择)</span></div>
|
|
|
|
|
|
+ <div class="accompanyHeader">云练习曲目选择<span>(若练习内容非云练习曲目则无需选择)</span></div>
|
|
<van-tabs v-model="tabActive" color="#01C1B5">
|
|
<van-tabs v-model="tabActive" color="#01C1B5">
|
|
<van-tab v-for="(item, i) in params.subjectList" :title="item.subjectName" :name="item.id" :key="i" class="van-hairline--bottom">
|
|
<van-tab v-for="(item, i) in params.subjectList" :title="item.subjectName" :name="item.id" :key="i" class="van-hairline--bottom">
|
|
<van-cell class="endTime" v-for="(music, index) in item.musicScoreIdList" :key="index" style="margin-top: 0; padding: 0.12rem 0.21rem" title="训练曲目" @click="onSelectAccompany(item, index)" readonly is-link placeholder="请选择训练曲目">
|
|
<van-cell class="endTime" v-for="(music, index) in item.musicScoreIdList" :key="index" style="margin-top: 0; padding: 0.12rem 0.21rem" title="训练曲目" @click="onSelectAccompany(item, index)" readonly is-link placeholder="请选择训练曲目">
|
|
@@ -85,7 +85,7 @@
|
|
|
|
|
|
<van-popup position="bottom" v-model="accompanimentStatus" :style="{ height: '100%' }" style="border-radius: 0; overflow: inherit">
|
|
<van-popup position="bottom" v-model="accompanimentStatus" :style="{ height: '100%' }" style="border-radius: 0; overflow: inherit">
|
|
<!-- <van-sticky>
|
|
<!-- <van-sticky>
|
|
- <m-header name="作业曲目" :backUrl="backUrl" />
|
|
|
|
|
|
+ <m-header name="练习曲目" :backUrl="backUrl" />
|
|
</van-sticky> -->
|
|
</van-sticky> -->
|
|
<!-- <accompaniment-modal @onSelectMusic="onSelectMusic" ref="accompaniment" style="margin-bottom: 0.8rem;" :searchSubjectId="tabActive" /> -->
|
|
<!-- <accompaniment-modal @onSelectMusic="onSelectMusic" ref="accompaniment" style="margin-bottom: 0.8rem;" :searchSubjectId="tabActive" /> -->
|
|
<!-- style="margin-bottom: 0.8rem;" -->
|
|
<!-- style="margin-bottom: 0.8rem;" -->
|
|
@@ -149,7 +149,7 @@ export default {
|
|
},
|
|
},
|
|
title: "",
|
|
title: "",
|
|
content: "", // 课程编号
|
|
content: "", // 课程编号
|
|
- expiryDate: null, // 作业截止日期
|
|
|
|
|
|
+ expiryDate: null, // 练习截止日期
|
|
accompanimentStatus: false, // 伴奏弹窗
|
|
accompanimentStatus: false, // 伴奏弹窗
|
|
tabActive: 0,
|
|
tabActive: 0,
|
|
tabOriginActive: 0,
|
|
tabOriginActive: 0,
|
|
@@ -230,7 +230,7 @@ export default {
|
|
this.params = params;
|
|
this.params = params;
|
|
});
|
|
});
|
|
|
|
|
|
- // 获取当前课程的作业列表
|
|
|
|
|
|
+ // 获取当前课程的练习列表
|
|
let _this = this;
|
|
let _this = this;
|
|
listenerMessage("getAccompany", (res) => {
|
|
listenerMessage("getAccompany", (res) => {
|
|
console.log(res);
|
|
console.log(res);
|
|
@@ -338,7 +338,7 @@ export default {
|
|
// console.log('选择曲目')
|
|
// console.log('选择曲目')
|
|
this.$dialog
|
|
this.$dialog
|
|
.confirm({
|
|
.confirm({
|
|
- message: notAccompanySong.join(",") + "声部未选择云练习训练曲目,是否继续布置作业?",
|
|
|
|
|
|
+ message: notAccompanySong.join(",") + "声部未选择云练习训练曲目,是否继续布置练习?",
|
|
confirmButtonColor: "#01C1B5",
|
|
confirmButtonColor: "#01C1B5",
|
|
})
|
|
})
|
|
.then(() => {
|
|
.then(() => {
|
|
@@ -368,7 +368,7 @@ export default {
|
|
let result = res.data;
|
|
let result = res.data;
|
|
this.$toast.clear();
|
|
this.$toast.clear();
|
|
if (result.code == 200) {
|
|
if (result.code == 200) {
|
|
- this.$toast("作业布置成功");
|
|
|
|
|
|
+ this.$toast("练习布置成功");
|
|
setTimeout(() => {
|
|
setTimeout(() => {
|
|
let query = this.$route.query;
|
|
let query = this.$route.query;
|
|
const path = query.isNewJoin == 1 ? "/afterClassEvaluateDetail" : "/courseEvaluation";
|
|
const path = query.isNewJoin == 1 ? "/afterClassEvaluateDetail" : "/courseEvaluation";
|