|  | @@ -6,9 +6,8 @@
 | 
	
		
			
				|  |  |          <div class="title">报考专业</div>
 | 
	
		
			
				|  |  |          <van-field readonly required @click="onGetSheetList('examSubject')" name="subjectId" label="报考专业" placeholder="请选择" v-model="formText.subjectName" is-link />
 | 
	
		
			
				|  |  |          <van-field readonly required @click="onGetSheetList('level')" name="levelId" label="报考级别" placeholder="请选择" v-model="formText.levelName" is-link />
 | 
	
		
			
				|  |  | -        <div v-if="form.levelId">
 | 
	
		
			
				|  |  | -            <div class="title">报考曲目</div>
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | +        <div class="title">报考曲目</div>
 | 
	
		
			
				|  |  | +        <div v-if="form.levelId" class="van-hairline--bottom">
 | 
	
		
			
				|  |  |              <div class="van-hairline--bottom" v-if="practiceSongIdList" key="practiceNum">
 | 
	
		
			
				|  |  |                  <van-field required readonly v-for="(item, index) in practiceNum" :key="index" :label="`练习曲${numberToCN(index)}名称及作者`" v-model.trim="practiceSelect[index]" @click="onChangePractice('practice', index)" placeholder="请选择" is-link />
 | 
	
		
			
				|  |  |              </div>
 | 
	
	
		
			
				|  | @@ -31,9 +30,9 @@
 | 
	
		
			
				|  |  |                  </van-field>
 | 
	
		
			
				|  |  |              </div>
 | 
	
		
			
				|  |  |          </div>
 | 
	
		
			
				|  |  | -        <div class="title">上传证书</div>
 | 
	
		
			
				|  |  | -            <!-- <van-field readonly clickable name="nation" label="上次考级级别" placeholder="请选择级别" is-link /> -->
 | 
	
		
			
				|  |  | -        <van-field readonly clearable name="code" label="上次考级证书" >
 | 
	
		
			
				|  |  | +        <!-- <div class="title">上传证书</div> -->
 | 
	
		
			
				|  |  | +        <!-- <van-field readonly clickable name="nation" label="上次考级级别" placeholder="请选择级别" is-link /> -->
 | 
	
		
			
				|  |  | +        <van-field readonly clearable name="code" label="上次专业证书" >
 | 
	
		
			
				|  |  |              <template #input>
 | 
	
		
			
				|  |  |                  <van-uploader
 | 
	
		
			
				|  |  |                      name="certificate"
 | 
	
	
		
			
				|  | @@ -48,7 +47,7 @@
 | 
	
		
			
				|  |  |          <div class="title">乐理知识</div>
 | 
	
		
			
				|  |  |          <van-field required @click="onGetSheetList('examMusicTheory')" readonly clickable name="nation" label="专业级别" v-model="formText.examMusicTheoryName" placeholder="请选择专业级别" is-link />
 | 
	
		
			
				|  |  |          <!-- <van-field readonly clickable name="nation" label="上次考级级别" placeholder="请选择" is-link /> -->
 | 
	
		
			
				|  |  | -        <van-field readonly :required="form.examMusicTheoryId == 999 ? true : false" clearable name="code" label="上次考级证书" >
 | 
	
		
			
				|  |  | +        <van-field readonly :required="form.examMusicTheoryId == 999 ? true : false" clearable name="code" label="上次乐理证书" >
 | 
	
		
			
				|  |  |              <template #input>
 | 
	
		
			
				|  |  |                  <van-uploader
 | 
	
		
			
				|  |  |                      name="certificate2"
 | 
	
	
		
			
				|  | @@ -474,6 +473,11 @@ export default {
 | 
	
		
			
				|  |  |                  this.performNum = value.performNum
 | 
	
		
			
				|  |  |                  this.performSongIdList = value.performSongIdList
 | 
	
		
			
				|  |  |                  sheetForm.sheetStatus = false
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +                this.practiceSelect = []
 | 
	
		
			
				|  |  | +                this.practiceUpload = []
 | 
	
		
			
				|  |  | +                this.performNumSelect = []
 | 
	
		
			
				|  |  | +                this.performNumUpload = []
 | 
	
		
			
				|  |  |                  this.getExamSubjectSong()
 | 
	
		
			
				|  |  |              } else if(sheetForm.currentType == "examMusicTheory") {
 | 
	
		
			
				|  |  |                  form.examMusicTheoryId = value.value
 | 
	
	
		
			
				|  | @@ -659,21 +663,21 @@ export default {
 | 
	
		
			
				|  |  |              }
 | 
	
		
			
				|  |  |              const nameAuthor = songUpload.name + (songUpload.author ? "-" + songUpload.author : "")
 | 
	
		
			
				|  |  |              if(songUpload.indexName == "practiceNum") {
 | 
	
		
			
				|  |  | -                if(!this.practiceUpload[songUpload.index]) {
 | 
	
		
			
				|  |  | -                    this.$toast("请上传文件")
 | 
	
		
			
				|  |  | -                    return
 | 
	
		
			
				|  |  | -                } else {
 | 
	
		
			
				|  |  | +                if(this.practiceUpload[songUpload.index] && this.practiceUpload[songUpload.index].url) {
 | 
	
		
			
				|  |  |                      this.practiceSelect[songUpload.index] = nameAuthor
 | 
	
		
			
				|  |  |                      this.practiceSelectUploadList[songUpload.index] = JSON.parse(JSON.stringify(songUpload))
 | 
	
		
			
				|  |  | -                }
 | 
	
		
			
				|  |  | -            } else if(songUpload.indexName == "performNum") {
 | 
	
		
			
				|  |  | -                if(!this.performNumUpload[songUpload.index]) {
 | 
	
		
			
				|  |  | +                } else {
 | 
	
		
			
				|  |  |                      this.$toast("请上传文件")
 | 
	
		
			
				|  |  |                      return
 | 
	
		
			
				|  |  | -                } else {
 | 
	
		
			
				|  |  | +                }
 | 
	
		
			
				|  |  | +            } else if(songUpload.indexName == "performNum") {
 | 
	
		
			
				|  |  | +                if(this.performNumUpload[songUpload.index] && this.performNumUpload[songUpload.index].url) {
 | 
	
		
			
				|  |  |                      this.performNumSelect[songUpload.index] = nameAuthor
 | 
	
		
			
				|  |  |                      this.performNumSelectUploadList[songUpload.index] = JSON.parse(JSON.stringify(songUpload))
 | 
	
		
			
				|  |  | -                }
 | 
	
		
			
				|  |  | +                } else {
 | 
	
		
			
				|  |  | +                    this.$toast("请上传文件")
 | 
	
		
			
				|  |  | +                    return
 | 
	
		
			
				|  |  | +                } 
 | 
	
		
			
				|  |  |              }
 | 
	
		
			
				|  |  |              songUpload.name = null
 | 
	
		
			
				|  |  |              songUpload.author = null
 |