diff --git a/src/components/page/ReferenceEditor.vue b/src/components/page/ReferenceEditor.vue index 233ad51..2594ec3 100644 --- a/src/components/page/ReferenceEditor.vue +++ b/src/components/page/ReferenceEditor.vue @@ -98,9 +98,8 @@
Online
-Pre-publish
+Publish
diff --git a/src/components/page/articleListEditor_E.vue b/src/components/page/articleListEditor_E.vue index 8f64ac7..73d7165 100644 --- a/src/components/page/articleListEditor_E.vue +++ b/src/components/page/articleListEditor_E.vue @@ -50,9 +50,9 @@Layout: - + - +
@@ -228,20 +228,20 @@
@@ -395,7 +395,8 @@ import { watch } from 'vue';
form:{
manuscirpt: '',
},
- fileData:'' // 上传后返回的文件url
+ fileData:'', // 上传后返回的文件url
+ mains:[] // html 数据
};
},
created() {
@@ -678,6 +679,7 @@ import { watch } from 'vue';
});
}
},
+
// 关闭相关文章
RelatCancle() {
@@ -811,6 +813,25 @@ import { watch } from 'vue';
});
},
+ // 点击HTML查询数据
+ getMainsInfo(e){
+ this.$api
+ .post('api/Publish/getArticleMains', {
+ 'article_id': e.article_id
+ })
+ .then(res => {
+ if (res.code == 0) {
+ // console.log(res,'res')
+ this.mains = res.data.mains
+ } else {
+ this.$message.error(res.msg);
+ }
+ })
+ .catch(err => {
+ this.$message.error(err);
+ });
+ },
+
// 文章html弹出层
htmlContet(e) {
this.articleId = e.article_id
@@ -822,7 +843,9 @@ import { watch } from 'vue';
this.UpHtpFIle.title = e.title
this.UpHtpFIle.mains = e.mains
this.UpLoadFile.article_id = e.article_id
+ this.getMainsInfo(e)
this.HtmlVisible = true
+
},
// 生成html
// CreateHtml(){
diff --git a/src/components/page/editorBorder.vue b/src/components/page/editorBorder.vue
index 766988f..8f763a2 100644
--- a/src/components/page/editorBorder.vue
+++ b/src/components/page/editorBorder.vue
@@ -214,7 +214,7 @@