lex-xin 3 년 전
부모
커밋
632350a968
5개의 변경된 파일14개의 추가작업 그리고 8개의 파일을 삭제
  1. 0 0
      dist/app.425e6abdf3d90fa65c1a.js
  2. 0 0
      dist/css/ArrangeWork.dc5da389.css
  3. 0 0
      dist/index.html
  4. 0 0
      dist/js/ArrangeWork.92c5455d.js
  5. 14 8
      src/views/audition/ArrangeWork.vue

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
dist/app.425e6abdf3d90fa65c1a.js


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
dist/css/ArrangeWork.dc5da389.css


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
dist/index.html


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
dist/js/ArrangeWork.92c5455d.js


+ 14 - 8
src/views/audition/ArrangeWork.vue

@@ -326,18 +326,19 @@ export default {
       console.log(res, "getAccompany");
       if (res && res.content) {
         console.log(res);
-        this.tabActiveList.musicScoreIdList[this.tabActiveIndex] = {
-          id: res.content.songId,
-          name: res.content.songName,
-          songPart: res.content.songPart,
-        };
+        // this.tabActiveList.musicScoreIdList[this.tabActiveIndex] = {
+        //   id: res.content.songId,
+        //   name: res.content.songName,
+        //   songPart: res.content.songPart,
+        // };
+        this.onSelectMusic(res);
         console.log(this.tabActiveList, "this.tabActiveList");
       }
     });
   },
   methods: {
     onSelectAccompany(item, index) {
-      // this.accompanimentStatus = true
+      this.accompanimentStatus = true;
       // 唤起弹窗
       postMessage({
         api: "openAccompany",
@@ -353,6 +354,7 @@ export default {
         music[0] = {
           id: null,
           name: null,
+          songPart: null,
         };
         this.$forceUpdate();
       } else {
@@ -375,9 +377,13 @@ export default {
       return val;
     },
     onSelectMusic(value) {
+      console.log(value);
       this.tabActiveList.musicScoreIdList[this.tabActiveIndex] = {
-        id: value.examSongId,
-        name: value.name,
+        // id: value.examSongId,
+        // name: value.name,
+        id: value.content.songId,
+        name: value.content.songName,
+        songPart: value.content.songPart,
       };
       this.accompanimentStatus = false;
     },

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.