|
@@ -362,7 +362,7 @@ export default {
|
|
|
Keyword:''
|
|
|
},
|
|
|
deletePageShow:false,//控制批量删除弹窗是否显示
|
|
|
- chartLoadingText:'拼命加载中...',
|
|
|
+ chartLoadingText:`${this.$t('Slides.loading_urgently')}...`,
|
|
|
loopTimer:null,//自动保存标识
|
|
|
|
|
|
search_page: 1,
|
|
@@ -409,7 +409,7 @@ export default {
|
|
|
async init(){
|
|
|
this.dataLoading = this.$loading({
|
|
|
lock: true,
|
|
|
- text: '正在获取ppt数据...',
|
|
|
+ text: `${this.$t('Slides.retrieving_ppt_data')}...`,
|
|
|
spinner: 'el-icon-loading',
|
|
|
customClass:'loading',
|
|
|
target:document.querySelector('.page-wrap'),
|
|
@@ -827,7 +827,7 @@ export default {
|
|
|
}
|
|
|
|
|
|
let temp_elements = null;
|
|
|
- this.chartLoadingText = '拼命加载中...'
|
|
|
+ this.chartLoadingText = `${this.$t('Slides.loading_urgently')}...`
|
|
|
// type:sandImage 沙盘图 chart 图表 sheet
|
|
|
if(type=='chart'){
|
|
|
//判断选择的图表是否已经插入
|
|
@@ -1075,7 +1075,7 @@ export default {
|
|
|
//保存时的校验规则:封面信息,至少一页
|
|
|
save_checkPPT(){
|
|
|
if(!this.firstPage.Title){
|
|
|
- return {result:false,hintText:'请输入封面标题!'}
|
|
|
+ return {result:false,hintText:this.$t('Slides.please_input_cover_title')+'!'}
|
|
|
}/* else if(!this.firstPage.ReportType){
|
|
|
return {result:false,hintText:'请输入ppt类型!'}
|
|
|
} */
|
|
@@ -1088,7 +1088,7 @@ export default {
|
|
|
checkPPT(){
|
|
|
//检验首页
|
|
|
if(!this.firstPage.Title){
|
|
|
- return {result:false,hintText:'请输入封面标题!'}
|
|
|
+ return {result:false,hintText:this.$t('Slides.please_input_cover_title')+'!'}
|
|
|
}/* else if(!this.firstPage.ReportType){
|
|
|
return {result:false,hintText:'请输入ppt类型!'}
|
|
|
} */
|
|
@@ -1110,7 +1110,7 @@ export default {
|
|
|
},
|
|
|
async handlePublish(){
|
|
|
if(!this.isSave){
|
|
|
- this.$message.warning("请先保存!")
|
|
|
+ this.$message.warning(this.$t('Slides.please_save_first')+'!' )
|
|
|
return
|
|
|
}else{
|
|
|
const {result,hintText} = this.checkPPT()
|