Forráskód Böngészése

修改接口参数

lex-xin 4 éve
szülő
commit
8adcb406b7

+ 2 - 0
src/views/reaplceMusicPlayer/modals/detail.vue

@@ -312,6 +312,7 @@ export default {
       this.search();
     },
     resetMusic(row) {
+      row.organId = this.detail.organId
       this.resetRow = row;
       this.dialogVisible = true;
     },
@@ -324,6 +325,7 @@ export default {
         try {
           const res = await getInstrumentSoundList({
             subjectId: val,
+            organId: this.detail.organId,
             page: 1,
             rows: 999,
           });

+ 2 - 0
src/views/reaplceMusicPlayer/modals/resetInfo.vue

@@ -69,6 +69,7 @@ export default {
     };
   },
   async mounted() {
+    console.log(this.detail)
     await this.$store.dispatch("setSubjects");
     this.changeSound(this.detail.subjectId);
     this.form.subjectId = this.detail.subjectId;
@@ -81,6 +82,7 @@ export default {
         try {
           const res = await getInstrumentSoundList({
             subjectId: val,
+            organId: this.detail.organId,
             page: 1,
             rows: 999,
           });