From 2f77ea87d42b350a97a5febd60e6b0ea568205dc Mon Sep 17 00:00:00 2001 From: "@fawn-nine" <1271023382@qq.com> Date: Mon, 10 Jul 2023 13:22:49 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BE=AE=E8=B0=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/page/Complete_profile.vue | 2 +- src/components/page/ReferenceEditor.vue | 81 ++++++++++++------- src/components/page/articleList.vue | 2 +- src/components/page/articleListEditor_A.vue | 17 +++- src/components/page/articleListEditor_E.vue | 2 +- src/components/page/editPublicRefRdit.vue | 90 +++++++++++++-------- vue.config.js | 34 ++++---- 7 files changed, 142 insertions(+), 86 deletions(-) diff --git a/src/components/page/Complete_profile.vue b/src/components/page/Complete_profile.vue index c00d77e..d5da6ff 100644 --- a/src/components/page/Complete_profile.vue +++ b/src/components/page/Complete_profile.vue @@ -8,7 +8,7 @@ -

2.Congratulations! Your manuscript has entered into Pre-accept status. Now please check and complete the necessary information of your manuscript for final publication.

+

Congratulations! Your manuscript has entered into Pre-accept status. Now please check and complete the necessary information of your manuscript for final publication.

diff --git a/src/components/page/ReferenceEditor.vue b/src/components/page/ReferenceEditor.vue index 1cb9708..1273771 100644 --- a/src/components/page/ReferenceEditor.vue +++ b/src/components/page/ReferenceEditor.vue @@ -93,7 +93,7 @@

- If you want to discard all references and import a new batch of reference information, please click Delete and re-import.

  • -

    - Please do not forget to recheck all references in the status.

    +

    - Please do not forget to recheck all references in the status,especially abbreviated journal title.

  • @@ -161,11 +161,12 @@ -
    - +
    + Formate +

    You can click the 'Formate' on the right to automatically identify and quickly fill in all the current fields

    @@ -174,24 +175,32 @@
    - -

    Six or less authors are required to list all authors while more than six authors are required to list three of them with “et al”

    + +

    Six or less authors are required to list all authors while more than six authors are required to list three of them with “et al”.

    - - -

    Abbreviated Journal Title

    + + + +

    Full Name of Book.

    - -

    Year;Volume(issue):Inclusive page numbers.

    +
    + +

    Year;Volume(issue):Inclusive page numbers.

    +
    +
    + +

    City, State (or Country if not in the US) of publisher:Publisher’s name;copyright year.

    +
    - - + + +

    Abbreviated Journal Title.

    - +
    @@ -327,17 +336,17 @@ }, refenceFormrules:{ - doi:[ - { required: true, message: 'The Doi cannot be empty', trigger: 'blur' }, - ], + // doi:[ + // { required: true, message: 'The Doi cannot be empty', trigger: 'blur' }, + // ], joura:[ - { required: true, message: 'The Joura cannot be empty', trigger: 'blur' }, + { required: true, message: 'The Journal cannot be empty', trigger: 'blur' }, ], author:[ { required: true, message: 'The Author(s) cannot be empty', trigger: 'blur' }, ], title:[ - { required: true, message: 'The title cannot be empty', trigger: 'blur' }, + { required: true, message: 'Please fill in this field', trigger: 'blur' }, ], doilink:[ { required: true, message: 'The doi/url cannot be empty', trigger: 'blur' }, @@ -391,20 +400,30 @@ gotoFormate(){ this.$refs['refenceForm'].validateField('doi', (callback)=>{ if(callback == ''){ + this.holeLoading = true this.$api .post('/api/Preaccept/searchDoi',{'doi': this.refenceForm.doi}) .then(res => { - console.log(res) + this.holeLoading = false + // console.log(res) if(res.code == 0 ){ - //this.tableData = res.data.refers + + this.$nextTick(()=>{ + this.refenceForm.author = res.data.formate.author + this.refenceForm.title = res.data.formate.title + this.refenceForm.joura = res.data.formate.joura + this.refenceForm.dateno = res.data.formate.dateno + this.refenceForm.doilink = res.data.formate.doilink + }) }else{ this.$message.error(res.msg) - } - + } + }).catch((e)=>{ + this.$message.error(e.msg) this.holeLoading = false - }).catch(()=>{}) + }) }else{ - console.log('不合格') + this.$message.error('The Doi cannot be empty!') } }) }, @@ -829,11 +848,11 @@ changeOrder(row, opName){ let optitle = '' opName == 'up' ? optitle = 'Move up this line?' : optitle = 'Move down this line?' - this.$confirm(optitle, 'Tips', { - confirmButtonText: 'Sure', - cancelButtonText: 'Cancel', - type: 'warning' - }).then(() => { + // this.$confirm(optitle, 'Tips', { + // confirmButtonText: 'Sure', + // cancelButtonText: 'Cancel', + // type: 'warning' + // }).then(() => { this.$api .post('api/Preaccept/sortRefer', { 'p_refer_id': row.p_refer_id, @@ -841,7 +860,7 @@ }) .then(res => { if (res.code == 0) { - this.$message.success('successed!') + // this.$message.success('successed!') this.getRefData() } else { this.$message.error(res.msg); @@ -854,7 +873,7 @@ // type: 'success', // message: 'remove successed!' // }); - }).catch(()=>{}); + // }).catch(()=>{}); } }, computed: { diff --git a/src/components/page/articleList.vue b/src/components/page/articleList.vue index 85d48c6..c864b91 100644 --- a/src/components/page/articleList.vue +++ b/src/components/page/articleList.vue @@ -68,7 +68,7 @@ Journal : {{item.journalname}}

    -

    +

    Update Time : diff --git a/src/components/page/articleListEditor_A.vue b/src/components/page/articleListEditor_A.vue index b23b43b..e146d80 100644 --- a/src/components/page/articleListEditor_A.vue +++ b/src/components/page/articleListEditor_A.vue @@ -214,10 +214,11 @@ v-if="item.reportList.length>0"> Initial review score : {{item.scoring}} +

    Initial review score : - {{item.scoring}} + {{item.scoring}}

    {{item.H.google_editor}}

    @@ -966,6 +967,20 @@ console.log(err); }); }, + // 更新评分 + refreshScore(row){ + this.$api + .post('api/Article/refuseScore', { + 'article_id': row.article_id + }) + .then(res => { + console.log(res) + this.getdate() + }) + .catch(err => { + console.log(err); + }); + }, // 跳入预收录编辑页面 changeEnter(val) { console.log(val,'val') diff --git a/src/components/page/articleListEditor_E.vue b/src/components/page/articleListEditor_E.vue index e2505ed..513e6a5 100644 --- a/src/components/page/articleListEditor_E.vue +++ b/src/components/page/articleListEditor_E.vue @@ -402,7 +402,7 @@ import { watch } from 'vue'; return this.baseUrl + 'api/Article/up_file/type/coverLetter'; }, upload_manuscirpt: function() { - return this.baseUrl + '/api/Production/up_last_artFile'; + return this.baseUrl + 'api/Production/up_last_artFile'; }, }, methods: { diff --git a/src/components/page/editPublicRefRdit.vue b/src/components/page/editPublicRefRdit.vue index a9992e3..50329d6 100644 --- a/src/components/page/editPublicRefRdit.vue +++ b/src/components/page/editPublicRefRdit.vue @@ -169,7 +169,7 @@ -

    Now you are starting to add or modify this reference. If this reference has a DOI, you can directly copy it into the DOI input box and submit it. If this reference doesn’t have the DOI, please turn on the No DOI button, and write all details of this reference according to the hints.

    +

    Now you are starting to add or modify this reference. If this reference has a DOI, you can directly copy it into the DOI input box and submit it. If this reference doesn’t have the DOI, please turn on the No DOI button, and write all details of this reference according to the hints.

    @@ -184,11 +184,12 @@
    -
    - +
    + Formate +

    You can click the 'Formate' on the right to automatically identify and quickly fill in all the current fields

    @@ -197,24 +198,32 @@
    - -

    Six or less authors are required to list all authors while more than six authors are required to list three of them with “et al”

    + +

    Six or less authors are required to list all authors while more than six authors are required to list three of them with “et al”.

    - - -

    Abbreviated Journal Title

    + + + +

    Full Name of Book.

    - -

    Year;Volume(issue):Inclusive page numbers.

    +
    + +

    Year;Volume(issue):Inclusive page numbers.

    +
    +
    + +

    City, State (or Country if not in the US) of publisher:Publisher’s name;copyright year.

    +
    - - + + +

    Abbreviated Journal Title.

    - +
    @@ -302,17 +311,17 @@ export default { }, refenceFormrules:{ - doi:[ - { required: true, message: 'The Doi cannot be empty', trigger: 'blur' }, - ], + // doi:[ + // { required: true, message: 'The Doi cannot be empty', trigger: 'blur' }, + // ], joura:[ - { required: true, message: 'The Joura cannot be empty', trigger: 'blur' }, + { required: true, message: 'The Journal cannot be empty', trigger: 'blur' }, ], author:[ { required: true, message: 'The Author(s) cannot be empty', trigger: 'blur' }, ], title:[ - { required: true, message: 'The title cannot be empty', trigger: 'blur' }, + { required: true, message: 'Please fill in this field', trigger: 'blur' }, ], doilink:[ { required: true, message: 'The doi/url cannot be empty', trigger: 'blur' }, @@ -490,7 +499,7 @@ export default { this.editboxVisible = true // console.log(this.refenceForm.content,55555) this.$nextTick(() => { - console.log(row,'row') + // console.log(row,'row') this.refenceForm.doi = row.refer_doi this.refenceForm.p_refer_id = row.p_refer_id this.SourceType = row.refer_type @@ -703,22 +712,34 @@ export default { }, // 格式化 gotoFormate(){ - this.$refs['refenceForm'].validateField('doi', (callback)=>{ + this.$refs['refenceForm'].validateField('doi', (callback)=>{ if(callback == ''){ + this.addLoading = true this.$api .post('/api/Preaccept/searchDoi',{'doi': this.refenceForm.doi}) .then(res => { - console.log(res) + this.addLoading = false + //console.log(res) if(res.code == 0 ){ - //this.tableData = res.data.refers + //this.tableData = res.data.refers + this.$nextTick(()=>{ + this.refenceForm.author = res.data.formate.author + this.refenceForm.title = res.data.formate.title + this.refenceForm.joura = res.data.formate.joura + this.refenceForm.dateno = res.data.formate.dateno + this.refenceForm.doilink = res.data.formate.doilink + }) + }else{ this.$message.error(res.msg) - } - - this.holeLoading = false - }).catch(()=>{}) + } + }).catch((e)=>{ + this.$message.error(e.msg) + this.addLoading = false + }) }else{ - console.log('不合格') + // console.log('不合格') + this.$message.error('The Doi cannot be empty!') } }) }, @@ -774,11 +795,11 @@ export default { changeOrder(row, opName){ let optitle = '' opName == 'up' ? optitle = 'Move up this line?' : optitle = 'Move down this line?' - this.$confirm(optitle, 'Tips', { - confirmButtonText: 'Sure', - cancelButtonText: 'Cancel', - type: 'warning' - }).then(() => { + // this.$confirm(optitle, 'Tips', { + // confirmButtonText: 'Sure', + // cancelButtonText: 'Cancel', + // type: 'warning' + // }).then(() => { this.$api .post('api/Preaccept/sortRefer', { 'p_refer_id': row.p_refer_id, @@ -786,7 +807,7 @@ export default { }) .then(res => { if (res.code == 0) { - this.$message.success('successed!') + // this.$message.success('successed!') this.changeRefer() // this.getRefData() } else { @@ -800,7 +821,7 @@ export default { // type: 'success', // message: 'remove successed!' // }); - }).catch(()=>{}); + // }).catch(()=>{}); } }, watch: { @@ -1358,6 +1379,7 @@ export default { margin-bottom: 20px; } + .zhushi{color: #999; font-size: 12px;} .aArt_abst .titTop b { font-weight: normal; display: inline-block; diff --git a/vue.config.js b/vue.config.js index d5f5f32..2aa0e42 100644 --- a/vue.config.js +++ b/vue.config.js @@ -4,23 +4,23 @@ module.exports = { assetsDir: 'static', productionSourceMap: false, devServer: { - public: 'http://192.168.110.159:8080/', // 你自己本地的ip地址:端口号 - // port: '8080', - // open: true, - // overlay: { - // warnings: false, - // errors: true - // }, - // proxy: { - // '/api': { - // // target: 'https://www.tmrjournals.cn', - // target: 'https://submission.tmrjournals.com/', - // changeOrigin: true, - // pathRewrite: { - // '^/api': '' - // } - // } - // } + // public: 'http://192.168.110.159:8080/', // 你自己本地的ip地址:端口号 + port: '8080', + open: true, + overlay: { + warnings: false, + errors: true + }, + proxy: { + '/api': { + // target: 'https://www.tmrjournals.cn', + target: 'https://submission.tmrjournals.com/', + changeOrigin: true, + pathRewrite: { + '^/api': '' + } + } + } }, // devServer: {