diff --git a/package.json b/package.json index 2d58596..9210eaf 100644 --- a/package.json +++ b/package.json @@ -26,6 +26,7 @@ "vue-quill-editor": "^3.0.6", "vue-router": "^3.0.3", "vue-schart": "^2.0.0", + "vue-ueditor-wrap": "^2.5.6", "vuedraggable": "^2.17.0" }, "devDependencies": { diff --git a/src/components/page/Dashboard_.vue b/src/components/page/Dashboard_.vue index aa2f921..77da103 100644 --- a/src/components/page/Dashboard_.vue +++ b/src/components/page/Dashboard_.vue @@ -206,7 +206,7 @@ - +
@@ -222,15 +222,23 @@
-->
{{authorTable.manuscriptNum}} -

Record of
submitted manuscript

+

Submitted manuscripts

{{authorTable.accept}} -

Record of
published articles

+

Published articles

+
+
+ {{authorTable.tj}} +

Recommended manuscripts

+
+
+ {{reviewTable.successReview}} +

Reviewed manuscripts

{{authorTable.index}} -

Citing
records

+

Cited articles

@@ -254,7 +262,7 @@ Click here to - view your citation records. + add your citation records.

@@ -264,7 +272,7 @@
- +
diff --git a/src/components/page/articleListEditor_B1.vue b/src/components/page/articleListEditor_B1.vue index 89064a6..650280b 100644 --- a/src/components/page/articleListEditor_B1.vue +++ b/src/components/page/articleListEditor_B1.vue @@ -13,7 +13,7 @@
- Push Online + Push Online11
@@ -727,7 +727,7 @@ Preview list Preview article Preview PDF - Push Online + Push Online11 @@ -1788,7 +1788,46 @@ //5----参考文献左侧步骤条 StepBNext(e) { - this.showB_step = e + if(e == 1){ + this.$confirm('This will clear the current reference information, are you sure you want to do this?', 'Prompt', { + confirmButtonText: 'Sure', + cancelButtonText: 'Cancle', + type: 'warning' + }).then(() => { + this.clearRefences() + }).catch(() => { + + }); + }else{ + this.showB_step = e + } + + }, + + // 清空引用数据 + clearRefences(){ + const loading = this.$loading({ + lock: true, + text: 'please wait', + spinner: 'el-icon-loading', + background: 'rgba(0, 0, 0, 0.7)' + }); + this.$api + .post('api/Preaccept/discardRefersByParticleid', { + 'p_article_id': this.p_article_id + }) + .then(res => { + loading.close(); + if (res.code == 0) { + this.showB_step = 1 + } else { + this.$message.error(res.msg); + } + }) + .catch(err => { + loading.close(); + console.log(err); + }); }, //5----按钮每一步操作 @@ -2518,13 +2557,15 @@ cancelButtonText: 'Cancel', type: 'warning' }) - .then(() => { + .then(() => { + const loading = this.$loading({ lock: true, text: 'Loading...', spinner: 'el-icon-loading', background: 'rgba(0, 0, 0, 0.7)' }); + this.$api .post('api/Production/pushArticleToSystem', { 'p_article_id': this.detailMes.p_article_id diff --git a/src/components/page/articleListEditor_E.vue b/src/components/page/articleListEditor_E.vue index 513e6a5..ed97fed 100644 --- a/src/components/page/articleListEditor_E.vue +++ b/src/components/page/articleListEditor_E.vue @@ -367,6 +367,7 @@ import { watch } from 'vue'; UpHtpFIle: { title: '', article_id: '', + p_article_id:null, htmlfile: '', mains: [], refers:[], //引用参数 @@ -430,12 +431,12 @@ import { watch } from 'vue'; goEditRefernces(){ // let pid = null this.HtmlVisible = false - //this.UpHtpFIle.refers.length > 0 ? pid = this.UpHtpFIle.refers[0].p_article_id : + //this.UpHtpFIle.refers.length > 0 ? pid = this.UpHtpFIle.refers[0].p_article_id : \ this.$router.push({ name: 'publishRefernceEditor', query: { id: this.articleId, - pid: this.UpHtpFIle.refers[0].p_article_id + pid: this.UpHtpFIle.p_article_id } }) }, @@ -793,6 +794,7 @@ import { watch } from 'vue'; this.articleId = e.article_id this.UpHtpFIle.article_id = e.article_id this.UpHtpFIle.refers = e.refers + this.UpHtpFIle.p_article_id = e.p_article_id this.UpHtpFIle.doi = e.doi this.UpHtpFIle.htmlfile = e.file_html this.UpHtpFIle.title = e.title diff --git a/src/components/page/editPublicRefRdit.vue b/src/components/page/editPublicRefRdit.vue index bcfdd26..b95d7dc 100644 --- a/src/components/page/editPublicRefRdit.vue +++ b/src/components/page/editPublicRefRdit.vue @@ -48,7 +48,12 @@ + + +

Special way to add

+ +