|
@@ -12,6 +12,7 @@
|
|
@openBaseInfo="showReportBaseInfo=true"
|
|
@openBaseInfo="showReportBaseInfo=true"
|
|
@handlePreviewReport="handlePreviewReport"
|
|
@handlePreviewReport="handlePreviewReport"
|
|
@handlePublish="handlePublishOpt"
|
|
@handlePublish="handlePublishOpt"
|
|
|
|
+ @update="({Title}) => { reportInfo.Title=Title }"
|
|
/>
|
|
/>
|
|
|
|
|
|
<span
|
|
<span
|
|
@@ -499,11 +500,13 @@ export default {
|
|
if (res.Ret === 200) {
|
|
if (res.Ret === 200) {
|
|
this.$message.success(this.$t('MsgPrompt.publish_msg'))
|
|
this.$message.success(this.$t('MsgPrompt.publish_msg'))
|
|
|
|
|
|
- this.$refs.chapterContRef.handleMarkOver(this.reportInfo.ReportChapterId)
|
|
|
|
- setTimeout(() => {
|
|
|
|
- this.timer && clearInterval(this.timer);
|
|
|
|
- this.$router.replace({ path: '/reportNew' });
|
|
|
|
- }, 1000);
|
|
|
|
|
|
+ this.$refs.chapterContRef&&this.$refs.chapterContRef.getChapterList()
|
|
|
|
+
|
|
|
|
+ // this.$refs.chapterContRef.handleMarkOver(this.reportInfo.ReportChapterId)
|
|
|
|
+ // setTimeout(() => {
|
|
|
|
+ // this.timer && clearInterval(this.timer);
|
|
|
|
+ // this.$router.replace({ path: '/reportNew' });
|
|
|
|
+ // }, 1000);
|
|
}
|
|
}
|
|
},
|
|
},
|
|
|
|
|
|
@@ -651,7 +654,7 @@ export default {
|
|
resArr={
|
|
resArr={
|
|
compId:3,
|
|
compId:3,
|
|
compType:'chart',
|
|
compType:'chart',
|
|
- content:`${LINK_CHART_URL}?code=${temarr[0].UniqueCode}`,
|
|
|
|
|
|
+ content:`${LINK_CHART_URL}?code=${temarr[0].UniqueCode}&lang=${this.currentLang}`,
|
|
id:this.getCompId(`chart${temarr[0].UniqueCode}_`),
|
|
id:this.getCompId(`chart${temarr[0].UniqueCode}_`),
|
|
style:'height:350px',
|
|
style:'height:350px',
|
|
child:[]
|
|
child:[]
|
|
@@ -1366,6 +1369,11 @@ export default {
|
|
icon:require('@/assets/img/smartReport/icon09.png')
|
|
icon:require('@/assets/img/smartReport/icon09.png')
|
|
}
|
|
}
|
|
]
|
|
]
|
|
|
|
+ },
|
|
|
|
+
|
|
|
|
+ //语言版本
|
|
|
|
+ currentLang() {
|
|
|
|
+ return this.$store.state.lang
|
|
}
|
|
}
|
|
},
|
|
},
|
|
created() {
|
|
created() {
|