wolyshaw пре 4 година
родитељ
комит
0cb7422d84

+ 1 - 0
src/views/resetTeaming/components/resetPayList.vue

@@ -147,6 +147,7 @@
         :teamType="teamType"
         :isNewGropu="isNewGropu"
         @lookDetail="lookDetail"
+        @onPreview="onPreview"
         @openChioseStudent="openChioseStudent"
         @resetPay="resetPay"
         @close="itemsVisible = false"

+ 4 - 0
src/views/resetTeaming/modals/pay-items.vue

@@ -101,6 +101,10 @@
             <el-button type="text"
                          v-if="!isNewGropu&&teamStatus&&scope.row.paymentType!='MUSIC_APPLY'&&payUserType === 'STUDENT'"
                          @click="$listeners.onCreateQRCode(scope.row)">续费二维码</el-button>
+            <el-button type="text"
+                         v-if="$listeners.onPreview && payUserType === 'STUDENT'"
+                         v-permission="'musicGroup/findMusicGroupSubjectInfo/966'"
+                         @click="$listeners.onPreview(scope.row)">预览</el-button>
             <!-- <el-button type="text" v-if="!isNewGropu" @click="onCreateQRCode(scope.row)">续费二维码</el-button> -->
           </div>
         </template>