瀏覽代碼

音频下载统一

Karsa 10 月之前
父節點
當前提交
a83f332f0c
共有 1 個文件被更改,包括 3 次插入10 次删除
  1. 3 10
      src/views/report_manage/reportV2/list.vue

+ 3 - 10
src/views/report_manage/reportV2/list.vue

@@ -628,7 +628,7 @@ export default {
         {label:"已推送消息",permission:this.permissionBtn.isShowBtn('reportManageBtn','reportManage_sendMsg'),States:[2,6],text:'ReportManage.smart_notification_pushed'},
         {label:"音频上传",permission:this.permissionBtn.isShowBtn('reportManageBtn','reportManage_audioUpload'),States:true,text:'ReportManage.smart_audio_upload_btn'},
         {label:"音频下载A",permission:this.permissionBtn.isShowBtn('reportManageBtn','reportManage_audioDownload'),States:true,text:'ReportManage.smart_audio_download_btn'},
-        {label:"音频下载",permission:this.permissionBtn.isShowBtn('reportManageBtn','reportManage_audioDownload'),States:true,text:'ReportManage.smart_audio_download_btn'},
+        // {label:"音频下载",permission:this.permissionBtn.isShowBtn('reportManageBtn','reportManage_audioDownload'),States:true,text:'ReportManage.smart_audio_download_btn'},
       ],
 
       waterMarkStr:"",
@@ -1140,16 +1140,9 @@ export default {
         }else if(but.label==='已推送消息'){
           return commonFilterPass && row.MsgIsSend!==0
         }else if(['音频上传'].includes(but.label)){
-          return commonFilterPass&&
-              (![this.$t('ReportManage.smart_btn.morning_paper'), this.$t('ReportManage.smart_btn.weekly')].includes(row.ClassifyNameFirst))&&row.HasAuth
+          return commonFilterPass&&row.HasAuth
         }else if(but.label==='音频下载A'){
-          return commonFilterPass &&
-              (![this.$t('ReportManage.smart_btn.morning_paper'), this.$t('ReportManage.smart_btn.weekly')].includes(row.ClassifyNameFirst))&&
-              row.VideoUrl
-        }else if(but.label==='音频下载'){
-          return commonFilterPass &&
-              [this.$t('ReportManage.smart_btn.morning_paper'), this.$t('ReportManage.smart_btn.weekly')].includes(row.ClassifyNameFirst)&&
-              row.ChapterVideoList.length > 0                 
+          return commonFilterPass && (row.VideoUrl || row.ChapterVideoList.length>0)
         }else if(but.label==='下载Pdf'){
           return commonFilterPass && row.DetailPdfUrl    
         }else if(but.label==='下载长图'){