|
@@ -18,6 +18,7 @@ import collectIcon from '@/assets/collect2.png'
|
|
import collectSIcon from '@/assets/collect2-s.png'
|
|
import collectSIcon from '@/assets/collect2-s.png'
|
|
import {addTokenToIframe} from '@/utils/common.js'
|
|
import {addTokenToIframe} from '@/utils/common.js'
|
|
import { onClickOutside } from '@vueuse/core'
|
|
import { onClickOutside } from '@vueuse/core'
|
|
|
|
+import reportCancel from './components/reportCancel.vue'
|
|
moment.locale('zh-cn')
|
|
moment.locale('zh-cn')
|
|
|
|
|
|
const route=useRoute()
|
|
const route=useRoute()
|
|
@@ -59,6 +60,7 @@ const getReportPPTImgs=async ()=>{
|
|
// 获取报告详情
|
|
// 获取报告详情
|
|
let info=ref(null)
|
|
let info=ref(null)
|
|
let audioData=ref(null)
|
|
let audioData=ref(null)
|
|
|
|
+let isReportPublishCancel=ref(false)//报告取消发布了
|
|
const getReportDetail=async ()=>{
|
|
const getReportDetail=async ()=>{
|
|
const res=await apiReportDetail({
|
|
const res=await apiReportDetail({
|
|
report_id:Number(reportId.value)
|
|
report_id:Number(reportId.value)
|
|
@@ -145,6 +147,8 @@ const getReportDetail=async ()=>{
|
|
}
|
|
}
|
|
wx.miniProgram.postMessage({ data: postData })
|
|
wx.miniProgram.postMessage({ data: postData })
|
|
|
|
|
|
|
|
+ }else if(res.code===4002){
|
|
|
|
+ isReportPublishCancel.value=true
|
|
}
|
|
}
|
|
}
|
|
}
|
|
getReportDetail()
|
|
getReportDetail()
|
|
@@ -656,6 +660,7 @@ const closeShowAttentionPop=()=>{
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
+ <report-cancel v-if="isReportPublishCancel"/>
|
|
|
|
|
|
<!-- 图片预览 -->
|
|
<!-- 图片预览 -->
|
|
<el-image-viewer
|
|
<el-image-viewer
|