diff --git a/src/components/page/PreIngestedEditor.vue b/src/components/page/PreIngestedEditor.vue index 272ff64..9c07386 100644 --- a/src/components/page/PreIngestedEditor.vue +++ b/src/components/page/PreIngestedEditor.vue @@ -1415,47 +1415,6 @@ export default { select_tem() {}, // 6----创建文章 - EstaBlish() { - this.$api - .post('api/Production/checkRefer', { - p_article_id: this.p_article_id - }) - .then((res) => { - if (res.code == 0) { - const loading = this.$loading({ - lock: true, - text: 'Loading...', - spinner: 'el-icon-loading', - background: 'rgba(0, 0, 0, 0.7)' - }); - this.$api - .post('api/Production/doTypeSettingNew', { - article_id: this.detailMes.article_id - }) - .then((res) => { - if (res.code == 0) { - this.getWorldPdf(); - this.$message.success('Successfully generated manuscript!'); - loading.close(); - } else { - this.$message.error(res.msg); - loading.close(); - } - }) - .catch((err) => { - this.$message.error(err); - loading.close(); - }); - } else { - this.$message.error(res.msg); - return; - } - }) - .catch((err) => { - this.$message.error(err); - }); - }, - // 6----校对文章 htmlContet() { window.open( diff --git a/src/components/page/PreIngestedEditorProduce.vue b/src/components/page/PreIngestedEditorProduce.vue index 397596a..73c5579 100644 --- a/src/components/page/PreIngestedEditorProduce.vue +++ b/src/components/page/PreIngestedEditorProduce.vue @@ -1510,47 +1510,7 @@ export default { // 6----模板选择 select_tem() {}, - // 6----创建文章 - EstaBlish() { - this.$api - .post('api/Production/checkRefer', { - p_article_id: this.p_article_id - }) - .then((res) => { - if (res.code == 0) { - const loading = this.$loading({ - lock: true, - text: 'Loading...', - spinner: 'el-icon-loading', - background: 'rgba(0, 0, 0, 0.7)' - }); - this.$api - .post('api/Production/doTypeSettingNew', { - article_id: this.detailMes.article_id - }) - .then((res) => { - if (res.code == 0) { - this.getWorldPdf(); - this.$message.success('Successfully generated manuscript!'); - loading.close(); - } else { - this.$message.error(res.msg); - loading.close(); - } - }) - .catch((err) => { - this.$message.error(err); - loading.close(); - }); - } else { - this.$message.error(res.msg); - return; - } - }) - .catch((err) => { - this.$message.error(err); - }); - }, + diff --git a/src/components/page/articleAdd.vue b/src/components/page/articleAdd.vue index 7160ddd..47dcb1d 100644 --- a/src/components/page/articleAdd.vue +++ b/src/components/page/articleAdd.vue @@ -812,7 +812,7 @@