|
@@ -856,6 +856,10 @@ export default {
|
|
|
publish:`/pptpublish?id=${this.pptItem.PptId}`,
|
|
|
present:`/pptpresent?id=${this.pptItem.PptId}`
|
|
|
}
|
|
|
+
|
|
|
+ let { href } = this.$router.resolve({
|
|
|
+ path: urlMap[item.key]
|
|
|
+ })
|
|
|
//要跳转页面的:预览发布,编辑,演示
|
|
|
if(urlMap[item.key]){
|
|
|
if(this.pptItem.PptVersion===2){
|
|
@@ -877,7 +881,8 @@ export default {
|
|
|
const res = await pptInterface.pptEditLock({PptId:Number(this.pptItem.PptId),Status:1})
|
|
|
if(res.Ret!==200) return
|
|
|
}
|
|
|
- window.open(urlMap[item.key],'_blank');
|
|
|
+ // window.open(urlMap[item.key],'_blank');
|
|
|
+ window.open(href,'_blank');
|
|
|
}else if(item.key==='publish'){
|
|
|
//this.$message.warning('该PPT页数超过60页或图表数量超过100张,无法发布,请修改后重试')
|
|
|
/* if(!this.pptItem.overLimitHint.chartNum){
|
|
@@ -888,13 +893,18 @@ export default {
|
|
|
this.$message.warning(this.$t('Slides.exceed_sixty_ppt_msg') )
|
|
|
return
|
|
|
} */
|
|
|
- window.open(urlMap[item.key],'_blank');
|
|
|
+ // window.open(urlMap[item.key],'_blank');
|
|
|
+ window.open(href,'_blank');
|
|
|
}
|
|
|
}else{
|
|
|
if(item.key==='publish'){
|
|
|
sessionStorage.setItem('ppt_id',this.pptItem.PptId);
|
|
|
sessionStorage.setItem('ppt_auth',this.pptItem.IsAuth);
|
|
|
- window.open('/pptdtl','_blank');
|
|
|
+ let { href } = this.$router.resolve({
|
|
|
+ path: '/pptdtl'
|
|
|
+ })
|
|
|
+ window.open(href,'_blank');
|
|
|
+
|
|
|
}
|
|
|
}
|
|
|
return
|