|
@@ -17,6 +17,11 @@
|
|
|
{{ dateSection.showStartDate }} <span class="arrowDown"></span>
|
|
|
</template>
|
|
|
</van-cell>
|
|
|
+ <van-cell class="endTime" title="作业曲目" @click="onEndTime" readonly placeholder="请选择作业曲目" >
|
|
|
+ <template #default>
|
|
|
+ {{ dateSection.showStartDate }} <span class="arrowDown"></span>
|
|
|
+ </template>
|
|
|
+ </van-cell>
|
|
|
<div class="button-group">
|
|
|
<van-button type="primary" round size="large" @click="onSubmit">确定</van-button>
|
|
|
</div>
|
|
@@ -33,6 +38,10 @@
|
|
|
@cancel="dateSection.status = false"
|
|
|
/>
|
|
|
</van-popup>
|
|
|
+
|
|
|
+ <van-popup position="bottom" v-model="accompanimentStatus" style="height: 100%; border-radius: 0; ">
|
|
|
+ <accompaniment-modal />
|
|
|
+ </van-popup>
|
|
|
</div>
|
|
|
</template>
|
|
|
<script>
|
|
@@ -40,9 +49,10 @@ import MHeader from "@/components/MHeader"
|
|
|
import { browser, _throttle } from '@/common/common'
|
|
|
import dayjs from "dayjs";
|
|
|
import { addHomeWork } from '@/api/audition'
|
|
|
+import AccompanimentModal from './modal/accompanimentModal'
|
|
|
export default {
|
|
|
name: "teacherList",
|
|
|
- components: { MHeader },
|
|
|
+ components: { MHeader, AccompanimentModal },
|
|
|
data() {
|
|
|
let tempDate = new Date() // 默认显示T+3
|
|
|
tempDate.setDate(tempDate.getDate() + 3)
|
|
@@ -58,6 +68,7 @@ export default {
|
|
|
},
|
|
|
content: null, // 课程编号
|
|
|
expiryDate: null, // 作业截止日期
|
|
|
+ accompanimentStatus: true, // 伴奏弹窗
|
|
|
};
|
|
|
},
|
|
|
mounted() {
|