Browse Source

修改报告发布文案

jwyu 1 year ago
parent
commit
c8be1f6951
2 changed files with 2 additions and 2 deletions
  1. 1 1
      src/views/report/EditReport.vue
  2. 1 1
      src/views/reportEn/AddReport.vue

+ 1 - 1
src/views/report/EditReport.vue

@@ -443,7 +443,7 @@ function onConfirmDSFBTime(time){
     >
         <div class="publish-report-pop-box">
             <div class="title">发布提示</div>
-            <p class="tips">是否立即发布报告,并推送模板消息?</p>
+            <p class="tips">{{reportData.PrePublishTime?'该报告已设置定时发布,是否立即发布报告并推送模板消息?':'是否立即发布报告,并推送模板消息?'}}</p>
             <div class="btns">
                 <div :class="['btn blue',reportData.MsgIsSend===1?'disabled':'']" @click="handleConfirmPublish(2)">发布&推送</div>
                 <div class="btn" @click="handleConfirmPublish(1)">仅发布</div>

+ 1 - 1
src/views/reportEn/AddReport.vue

@@ -290,7 +290,7 @@ async function handleReportOpt(e){
     if(e==='fb'){
         showDialog({
             title: '提示',
-            message: `是否确定立即发布报告?`,
+            message: reportData.value?.PrePublishTime?'该报告已设置定时发布,是否修改为立即发布?':`是否确定立即发布报告?`,
             showCancelButton:true
         }).then(()=>{
             reportPublish(res.Data.ReportId)