|
@@ -169,6 +169,17 @@
|
|
v-if="ciyunShow">
|
|
v-if="ciyunShow">
|
|
<iframe width="100%" height="834px" border="none" :src="'./ciyun/ciyunindex.html?partitionKey=1&searchType=2&articleId='+articleId"></iframe>
|
|
<iframe width="100%" height="834px" border="none" :src="'./ciyun/ciyunindex.html?partitionKey=1&searchType=2&articleId='+articleId"></iframe>
|
|
</el-dialog>
|
|
</el-dialog>
|
|
|
|
+ <el-dialog
|
|
|
|
+ :visible.sync="printFlag"
|
|
|
|
+ :show-close="false"
|
|
|
|
+ :close-on-click-modal="false"
|
|
|
|
+ width="100%"
|
|
|
|
+ top="0"
|
|
|
|
+ class="articleDetail-dialog"
|
|
|
|
+ v-if="printFlag"
|
|
|
|
+ >
|
|
|
|
+ <print-model :titleFontsize="wordFontsize+30" :wordFontsize="wordFontsize" :colorObj="bgColorList[activeIndex]" :articleType="articleType" :articleInfo="articleInfo" @closePrint="closePrint"></print-model>
|
|
|
|
+ </el-dialog>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
@@ -186,6 +197,7 @@ import InnerTextSearch from "./components/InnerTextSearch.vue"
|
|
import LexicalType from "./components/LexicalType.vue"
|
|
import LexicalType from "./components/LexicalType.vue"
|
|
import PracticeModel from "./components/PracticeModel.vue"
|
|
import PracticeModel from "./components/PracticeModel.vue"
|
|
import NotesModel from "./components/NotesModel.vue"
|
|
import NotesModel from "./components/NotesModel.vue"
|
|
|
|
+import printModel from "./components/PrintModel.vue"
|
|
import * as echarts from "echarts";
|
|
import * as echarts from "echarts";
|
|
import { getLogin } from "@/api/ajax";
|
|
import { getLogin } from "@/api/ajax";
|
|
import { getToken } from '@/utils/auth'
|
|
import { getToken } from '@/utils/auth'
|
|
@@ -207,7 +219,8 @@ export default {
|
|
InnerTextSearch,
|
|
InnerTextSearch,
|
|
LexicalType,
|
|
LexicalType,
|
|
PracticeModel,
|
|
PracticeModel,
|
|
- NotesModel
|
|
|
|
|
|
+ NotesModel,
|
|
|
|
+ printModel
|
|
},
|
|
},
|
|
data(){
|
|
data(){
|
|
return{
|
|
return{
|
|
@@ -653,6 +666,7 @@ export default {
|
|
articleNumber: 0,
|
|
articleNumber: 0,
|
|
articleInfoFlag: false, // 显示文章信息
|
|
articleInfoFlag: false, // 显示文章信息
|
|
ciyunShow: false, // 显示词云
|
|
ciyunShow: false, // 显示词云
|
|
|
|
+ printFlag: false, // 打印
|
|
}
|
|
}
|
|
},
|
|
},
|
|
watch: {
|
|
watch: {
|
|
@@ -957,10 +971,12 @@ export default {
|
|
},
|
|
},
|
|
changeArticleType(type,e){
|
|
changeArticleType(type,e){
|
|
if(type==='print'||type==='share'||type==='list'||type==='cloud'||type==='chart'){
|
|
if(type==='print'||type==='share'||type==='list'||type==='cloud'||type==='chart'){
|
|
- if(type==='share'||type==='cloud'){
|
|
|
|
|
|
+ if(type==='share'||type==='cloud'||type==='print'){
|
|
if(this.userMessage){
|
|
if(this.userMessage){
|
|
if(type==='cloud'){
|
|
if(type==='cloud'){
|
|
this.ciyunEvent()
|
|
this.ciyunEvent()
|
|
|
|
+ }else if(type==='print'){
|
|
|
|
+ this.printFlag = true
|
|
}else{
|
|
}else{
|
|
this.handleCreateShare()
|
|
this.handleCreateShare()
|
|
}
|
|
}
|
|
@@ -1159,6 +1175,9 @@ export default {
|
|
},
|
|
},
|
|
closeArticleInfo(){
|
|
closeArticleInfo(){
|
|
this.articleInfoFlag = false
|
|
this.articleInfoFlag = false
|
|
|
|
+ },
|
|
|
|
+ closePrint(){
|
|
|
|
+ this.printFlag = false
|
|
}
|
|
}
|
|
},
|
|
},
|
|
created(){
|
|
created(){
|
|
@@ -1176,6 +1195,7 @@ export default {
|
|
if(this.$route.query.iss_id){
|
|
if(this.$route.query.iss_id){
|
|
this.getIssueDetail()
|
|
this.getIssueDetail()
|
|
}
|
|
}
|
|
|
|
+
|
|
},
|
|
},
|
|
mounted(){
|
|
mounted(){
|
|
let this_ = this;
|
|
let this_ = this;
|