This commit is contained in:
@fawn-nine
2023-07-10 13:22:49 +08:00
parent 1f7e3c484b
commit 2f77ea87d4
7 changed files with 142 additions and 86 deletions

View File

@@ -8,7 +8,7 @@
</el-alert> </el-alert>
<el-col class="mt20"> <el-col class="mt20">
<p>2Congratulations! Your manuscript has entered into <b>Pre-accept</b> status. Now please check and complete the necessary information of your manuscript for final publication.</p> <p>Congratulations! Your manuscript has entered into <b>Pre-accept</b> status. Now please check and complete the necessary information of your manuscript for final publication.</p>
</el-col> </el-col>
</el-row> </el-row>
<!-- 内容 --> <!-- 内容 -->

View File

@@ -93,7 +93,7 @@
<p>- If you want to discard all references and import a new batch of reference information, please click <el-button type="text" @click="removeAll">Delete and re-import</el-button>.</p> <p>- If you want to discard all references and import a new batch of reference information, please click <el-button type="text" @click="removeAll">Delete and re-import</el-button>.</p>
</li> </li>
<li> <li>
<p>- Please do not forget to recheck all references in the <span class="status ok float" ><i class="el-icon-circle-check"></i></span> status.</p> <p>- Please do not forget to recheck all references in the <span class="status ok float" ><i class="el-icon-circle-check"></i></span> status,especially abbreviated journal title.</p>
</li> </li>
</ul> </ul>
</div> </div>
@@ -161,11 +161,12 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
<!-- Journal --> <!-- Journal -->
<div v-show="SourceType == 'journal' || SourceType == 'doi'" > <div v-show="SourceType == 'journal'" >
<el-form-item label="Doi:" required prop="doi" > <el-form-item label="Doi:" prop="doi" >
<el-input v-model="refenceForm.doi" > <el-input v-model="refenceForm.doi" >
<el-button @click="gotoFormate" slot="append" >Formate</el-button> <el-button @click="gotoFormate" slot="append" >Formate</el-button>
</el-input> </el-input>
<p class="zhushi">You can click the 'Formate' on the right to automatically identify and quickly fill in all the current fields</p>
</el-form-item> </el-form-item>
</div> </div>
<el-form-item > <el-form-item >
@@ -174,24 +175,32 @@
<!-- 中间部分 --> <!-- 中间部分 -->
<div v-show="SourceType !='other'"> <div v-show="SourceType !='other'">
<el-form-item label="Author(s):" required prop="author" > <el-form-item label="Author(s):" required prop="author" >
<el-input v-model="refenceForm.author" ></el-input> <el-input v-model="refenceForm.author" placeholder="Patel NM, Stottlemyer BA, Gray MP, Boyce RD, Kane Gill SL"></el-input>
<p class="zhushi">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</p> <p class="zhushi">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.</p>
</el-form-item> </el-form-item>
<el-form-item label="Title:" required prop="title" > <el-form-item :label="SourceType == 'journal' ? 'Title:' : 'Book'" required prop="title" >
<el-input v-model="refenceForm.title" placeholder="eg: Tradit Med Res"></el-input> <el-input v-if="SourceType == 'journal'" v-model="refenceForm.title" placeholder="eg: The role of autophagy in the treatment of osteoporosis by Chinese medicines (natural)"></el-input>
<p class="zhushi">Abbreviated Journal Title</p> <el-input v-if="SourceType == 'book'" v-model="refenceForm.title" placeholder="eg: Traditional Medicine Research"></el-input>
<p v-if="SourceType == 'book'" class="zhushi">Full Name of Book.</p>
</el-form-item> </el-form-item>
<el-form-item label="Publication Details:" required prop="dateno" > <el-form-item label="Publication Details:" required prop="dateno" >
<div v-if="SourceType == 'journal'">
<el-input v-model="refenceForm.dateno" placeholder="eg: 2023;8(9):49-62"></el-input> <el-input v-model="refenceForm.dateno" placeholder="eg: 2023;8(9):49-62"></el-input>
<p class="zhushi">Year;Volume(issue):Inclusive page numbers.</p> <p class="zhushi">Year;Volume(issue):Inclusive page numbers.</p>
</div>
<div v-if="SourceType == 'book'">
<el-input v-model="refenceForm.dateno" placeholder="eg: New York, NY:McGraw-Hill;2011"></el-input>
<p class="zhushi">City, State (or Country if not in the US) of publisher:Publishers name;copyright year.</p>
</div>
</el-form-item> </el-form-item>
</div> </div>
<div v-show="SourceType == 'journal'"> <div v-show="SourceType == 'journal'">
<el-form-item label="Joura:" required prop="joura" > <el-form-item label="Journal:" required prop="joura" >
<el-input v-model="refenceForm.joura" placeholder=""></el-input> <el-input v-model="refenceForm.joura" placeholder="eg: Tradit Med Res"></el-input>
<p class="zhushi">Abbreviated Journal Title.</p>
</el-form-item> </el-form-item>
<el-form-item label="DOI/URL:" required prop="doilink" > <el-form-item label="DOI/URL:" required prop="doilink" >
<el-input v-model="refenceForm.doilink" placeholder="eg:https://doi.org/10.1002/cncr.30667"></el-input> <el-input v-model="refenceForm.doilink" placeholder="eg: 10.1002/cncr.30667"></el-input>
</el-form-item> </el-form-item>
</div> </div>
<!-- Book --> <!-- Book -->
@@ -327,17 +336,17 @@
}, },
refenceFormrules:{ refenceFormrules:{
doi:[ // doi:[
{ required: true, message: 'The Doi cannot be empty', trigger: 'blur' }, // { required: true, message: 'The Doi cannot be empty', trigger: 'blur' },
], // ],
joura:[ joura:[
{ required: true, message: 'The Joura cannot be empty', trigger: 'blur' }, { required: true, message: 'The Journal cannot be empty', trigger: 'blur' },
], ],
author:[ author:[
{ required: true, message: 'The Author(s) cannot be empty', trigger: 'blur' }, { required: true, message: 'The Author(s) cannot be empty', trigger: 'blur' },
], ],
title:[ title:[
{ required: true, message: 'The title cannot be empty', trigger: 'blur' }, { required: true, message: 'Please fill in this field', trigger: 'blur' },
], ],
doilink:[ doilink:[
{ required: true, message: 'The doi/url cannot be empty', trigger: 'blur' }, { required: true, message: 'The doi/url cannot be empty', trigger: 'blur' },
@@ -391,20 +400,30 @@
gotoFormate(){ gotoFormate(){
this.$refs['refenceForm'].validateField('doi', (callback)=>{ this.$refs['refenceForm'].validateField('doi', (callback)=>{
if(callback == ''){ if(callback == ''){
this.holeLoading = true
this.$api this.$api
.post('/api/Preaccept/searchDoi',{'doi': this.refenceForm.doi}) .post('/api/Preaccept/searchDoi',{'doi': this.refenceForm.doi})
.then(res => { .then(res => {
console.log(res) this.holeLoading = false
// console.log(res)
if(res.code == 0 ){ 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{ }else{
this.$message.error(res.msg) this.$message.error(res.msg)
} }
}).catch((e)=>{
this.$message.error(e.msg)
this.holeLoading = false this.holeLoading = false
}).catch(()=>{}) })
}else{ }else{
console.log('不合格') this.$message.error('The Doi cannot be empty!')
} }
}) })
}, },
@@ -829,11 +848,11 @@
changeOrder(row, opName){ changeOrder(row, opName){
let optitle = '' let optitle = ''
opName == 'up' ? optitle = 'Move up this line?' : optitle = 'Move down this line?' opName == 'up' ? optitle = 'Move up this line?' : optitle = 'Move down this line?'
this.$confirm(optitle, 'Tips', { // this.$confirm(optitle, 'Tips', {
confirmButtonText: 'Sure', // confirmButtonText: 'Sure',
cancelButtonText: 'Cancel', // cancelButtonText: 'Cancel',
type: 'warning' // type: 'warning'
}).then(() => { // }).then(() => {
this.$api this.$api
.post('api/Preaccept/sortRefer', { .post('api/Preaccept/sortRefer', {
'p_refer_id': row.p_refer_id, 'p_refer_id': row.p_refer_id,
@@ -841,7 +860,7 @@
}) })
.then(res => { .then(res => {
if (res.code == 0) { if (res.code == 0) {
this.$message.success('successed!') // this.$message.success('successed!')
this.getRefData() this.getRefData()
} else { } else {
this.$message.error(res.msg); this.$message.error(res.msg);
@@ -854,7 +873,7 @@
// type: 'success', // type: 'success',
// message: 'remove successed!' // message: 'remove successed!'
// }); // });
}).catch(()=>{}); // }).catch(()=>{});
} }
}, },
computed: { computed: {

View File

@@ -68,7 +68,7 @@
<font style="color: #666b7a;">Journal : </font> <font style="color: #666b7a;">Journal : </font>
<b style="font-weight: normal;">{{item.journalname}}</b> <b style="font-weight: normal;">{{item.journalname}}</b>
</p> </p>
<p> <p v-if="item.state != 6">
<font style="color: #666b7a;"> <font style="color: #666b7a;">
<i class="el-icon-time" style="margin: 0 5px 0 0;"></i> <i class="el-icon-time" style="margin: 0 5px 0 0;"></i>
Update Time : Update Time :

View File

@@ -214,10 +214,11 @@
v-if="item.reportList.length>0"> v-if="item.reportList.length>0">
<font style="font-size: 14px;font-weight: normal;color: #333;">Initial review score :</font> <font style="font-size: 14px;font-weight: normal;color: #333;">Initial review score :</font>
{{item.scoring}} {{item.scoring}}
<i class="el-icon-refresh" @click="refreshScore(item)"></i>
</p> </p>
<p style="font-size: 18px;font-weight: bold;margin-bottom: 5px;" v-if="item.reportList.length==0"> <p style="font-size: 18px;font-weight: bold;margin-bottom: 5px;" v-if="item.reportList.length==0">
<font style="font-size: 14px;font-weight: normal;">Initial review score :</font> <font style="font-size: 14px;font-weight: normal;">Initial review score :</font>
{{item.scoring}} {{item.scoring}} <i class="el-icon-refresh" @click="refreshScore(item)"></i>
</p> </p>
<p v-if="item.scoring!=0&&item.H!=null" style="color: #999;">{{item.H.google_editor}} <p v-if="item.scoring!=0&&item.H!=null" style="color: #999;">{{item.H.google_editor}}
</p> </p>
@@ -966,6 +967,20 @@
console.log(err); 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) { changeEnter(val) {
console.log(val,'val') console.log(val,'val')

View File

@@ -402,7 +402,7 @@ import { watch } from 'vue';
return this.baseUrl + 'api/Article/up_file/type/coverLetter'; return this.baseUrl + 'api/Article/up_file/type/coverLetter';
}, },
upload_manuscirpt: function() { upload_manuscirpt: function() {
return this.baseUrl + '/api/Production/up_last_artFile'; return this.baseUrl + 'api/Production/up_last_artFile';
}, },
}, },
methods: { methods: {

View File

@@ -169,7 +169,7 @@
<!-- 编辑引用 --> <!-- 编辑引用 -->
<el-dialog v-loading="addLoading" :title= "dialogTitle + ' References'" :visible.sync="editboxVisible" width="800px" @close="cancelSave"> <el-dialog v-loading="addLoading" :title= "dialogTitle + ' References'" :visible.sync="editboxVisible" width="800px" @close="cancelSave">
<p class="yinyongPre c888">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 doesnt have the DOI, please turn on the No DOI button, and write all details of this reference according to the hints.</p> <p class="yinyongPre c888" style="margin-bottom: 20px; color: #888; line-height: 24px;">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 doesnt have the DOI, please turn on the No DOI button, and write all details of this reference according to the hints.</p>
<el-form :model="refenceForm" :rules="refenceFormrules" ref="refenceForm" label-width="150px" class="editForm mt10"> <el-form :model="refenceForm" :rules="refenceFormrules" ref="refenceForm" label-width="150px" class="editForm mt10">
<!-- 内容开关 --> <!-- 内容开关 -->
@@ -184,11 +184,12 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
<!-- Journal --> <!-- Journal -->
<div v-show="SourceType == 'journal' || SourceType == 'doi'" > <div v-show="SourceType == 'journal'" >
<el-form-item label="Doi:" required prop="doi" > <el-form-item label="Doi:" prop="doi" >
<el-input v-model="refenceForm.doi" > <el-input v-model="refenceForm.doi" >
<el-button @click="gotoFormate" slot="append" >Formate</el-button> <el-button @click="gotoFormate" slot="append" >Formate</el-button>
</el-input> </el-input>
<p class="zhushi">You can click the 'Formate' on the right to automatically identify and quickly fill in all the current fields</p>
</el-form-item> </el-form-item>
</div> </div>
<el-form-item > <el-form-item >
@@ -197,24 +198,32 @@
<!-- 中间部分 --> <!-- 中间部分 -->
<div v-show="SourceType !='other'"> <div v-show="SourceType !='other'">
<el-form-item label="Author(s):" required prop="author" > <el-form-item label="Author(s):" required prop="author" >
<el-input v-model="refenceForm.author" ></el-input> <el-input v-model="refenceForm.author" placeholder="Patel NM, Stottlemyer BA, Gray MP, Boyce RD, Kane Gill SL"></el-input>
<p class="zhushi">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</p> <p class="zhushi">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.</p>
</el-form-item> </el-form-item>
<el-form-item label="Title:" required prop="title" > <el-form-item :label="SourceType == 'journal' ? 'Title:' : 'Book'" required prop="title" >
<el-input v-model="refenceForm.title" placeholder="eg: Tradit Med Res"></el-input> <el-input v-if="SourceType == 'journal'" v-model="refenceForm.title" placeholder="eg: The role of autophagy in the treatment of osteoporosis by Chinese medicines (natural)"></el-input>
<p class="zhushi">Abbreviated Journal Title</p> <el-input v-if="SourceType == 'book'" v-model="refenceForm.title" placeholder="eg: Traditional Medicine Research"></el-input>
<p v-if="SourceType == 'book'" class="zhushi">Full Name of Book.</p>
</el-form-item> </el-form-item>
<el-form-item label="Publication Details:" required prop="dateno" > <el-form-item label="Publication Details:" required prop="dateno" >
<div v-if="SourceType == 'journal'">
<el-input v-model="refenceForm.dateno" placeholder="eg: 2023;8(9):49-62"></el-input> <el-input v-model="refenceForm.dateno" placeholder="eg: 2023;8(9):49-62"></el-input>
<p class="zhushi">Year;Volume(issue):Inclusive page numbers.</p> <p class="zhushi">Year;Volume(issue):Inclusive page numbers.</p>
</div>
<div v-if="SourceType == 'book'">
<el-input v-model="refenceForm.dateno" placeholder="eg: New York, NY:McGraw-Hill;2011"></el-input>
<p class="zhushi">City, State (or Country if not in the US) of publisher:Publishers name;copyright year.</p>
</div>
</el-form-item> </el-form-item>
</div> </div>
<div v-show="SourceType == 'journal'"> <div v-show="SourceType == 'journal'">
<el-form-item label="Joura:" required prop="joura" > <el-form-item label="Journal:" required prop="joura" >
<el-input v-model="refenceForm.joura" placeholder=""></el-input> <el-input v-model="refenceForm.joura" placeholder="eg: Tradit Med Res"></el-input>
<p class="zhushi">Abbreviated Journal Title.</p>
</el-form-item> </el-form-item>
<el-form-item label="DOI/URL:" required prop="doilink" > <el-form-item label="DOI/URL:" required prop="doilink" >
<el-input v-model="refenceForm.doilink" placeholder="eg:https://doi.org/10.1002/cncr.30667"></el-input> <el-input v-model="refenceForm.doilink" placeholder="eg: 10.1002/cncr.30667"></el-input>
</el-form-item> </el-form-item>
</div> </div>
<!-- Book --> <!-- Book -->
@@ -302,17 +311,17 @@ export default {
}, },
refenceFormrules:{ refenceFormrules:{
doi:[ // doi:[
{ required: true, message: 'The Doi cannot be empty', trigger: 'blur' }, // { required: true, message: 'The Doi cannot be empty', trigger: 'blur' },
], // ],
joura:[ joura:[
{ required: true, message: 'The Joura cannot be empty', trigger: 'blur' }, { required: true, message: 'The Journal cannot be empty', trigger: 'blur' },
], ],
author:[ author:[
{ required: true, message: 'The Author(s) cannot be empty', trigger: 'blur' }, { required: true, message: 'The Author(s) cannot be empty', trigger: 'blur' },
], ],
title:[ title:[
{ required: true, message: 'The title cannot be empty', trigger: 'blur' }, { required: true, message: 'Please fill in this field', trigger: 'blur' },
], ],
doilink:[ doilink:[
{ required: true, message: 'The doi/url cannot be empty', trigger: 'blur' }, { required: true, message: 'The doi/url cannot be empty', trigger: 'blur' },
@@ -490,7 +499,7 @@ export default {
this.editboxVisible = true this.editboxVisible = true
// console.log(this.refenceForm.content,55555) // console.log(this.refenceForm.content,55555)
this.$nextTick(() => { this.$nextTick(() => {
console.log(row,'row') // console.log(row,'row')
this.refenceForm.doi = row.refer_doi this.refenceForm.doi = row.refer_doi
this.refenceForm.p_refer_id = row.p_refer_id this.refenceForm.p_refer_id = row.p_refer_id
this.SourceType = row.refer_type this.SourceType = row.refer_type
@@ -705,20 +714,32 @@ export default {
gotoFormate(){ gotoFormate(){
this.$refs['refenceForm'].validateField('doi', (callback)=>{ this.$refs['refenceForm'].validateField('doi', (callback)=>{
if(callback == ''){ if(callback == ''){
this.addLoading = true
this.$api this.$api
.post('/api/Preaccept/searchDoi',{'doi': this.refenceForm.doi}) .post('/api/Preaccept/searchDoi',{'doi': this.refenceForm.doi})
.then(res => { .then(res => {
console.log(res) this.addLoading = false
//console.log(res)
if(res.code == 0 ){ 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{ }else{
this.$message.error(res.msg) this.$message.error(res.msg)
} }
}).catch((e)=>{
this.holeLoading = false this.$message.error(e.msg)
}).catch(()=>{}) this.addLoading = false
})
}else{ }else{
console.log('不合格') // console.log('不合格')
this.$message.error('The Doi cannot be empty!')
} }
}) })
}, },
@@ -774,11 +795,11 @@ export default {
changeOrder(row, opName){ changeOrder(row, opName){
let optitle = '' let optitle = ''
opName == 'up' ? optitle = 'Move up this line?' : optitle = 'Move down this line?' opName == 'up' ? optitle = 'Move up this line?' : optitle = 'Move down this line?'
this.$confirm(optitle, 'Tips', { // this.$confirm(optitle, 'Tips', {
confirmButtonText: 'Sure', // confirmButtonText: 'Sure',
cancelButtonText: 'Cancel', // cancelButtonText: 'Cancel',
type: 'warning' // type: 'warning'
}).then(() => { // }).then(() => {
this.$api this.$api
.post('api/Preaccept/sortRefer', { .post('api/Preaccept/sortRefer', {
'p_refer_id': row.p_refer_id, 'p_refer_id': row.p_refer_id,
@@ -786,7 +807,7 @@ export default {
}) })
.then(res => { .then(res => {
if (res.code == 0) { if (res.code == 0) {
this.$message.success('successed!') // this.$message.success('successed!')
this.changeRefer() this.changeRefer()
// this.getRefData() // this.getRefData()
} else { } else {
@@ -800,7 +821,7 @@ export default {
// type: 'success', // type: 'success',
// message: 'remove successed!' // message: 'remove successed!'
// }); // });
}).catch(()=>{}); // }).catch(()=>{});
} }
}, },
watch: { watch: {
@@ -1358,6 +1379,7 @@ export default {
margin-bottom: 20px; margin-bottom: 20px;
} }
.zhushi{color: #999; font-size: 12px;}
.aArt_abst .titTop b { .aArt_abst .titTop b {
font-weight: normal; font-weight: normal;
display: inline-block; display: inline-block;

View File

@@ -4,23 +4,23 @@ module.exports = {
assetsDir: 'static', assetsDir: 'static',
productionSourceMap: false, productionSourceMap: false,
devServer: { devServer: {
public: 'http://192.168.110.159:8080/', // 你自己本地的ip地址:端口号 // public: 'http://192.168.110.159:8080/', // 你自己本地的ip地址:端口号
// port: '8080', port: '8080',
// open: true, open: true,
// overlay: { overlay: {
// warnings: false, warnings: false,
// errors: true errors: true
// }, },
// proxy: { proxy: {
// '/api': { '/api': {
// // target: 'https://www.tmrjournals.cn', // target: 'https://www.tmrjournals.cn',
// target: 'https://submission.tmrjournals.com/', target: 'https://submission.tmrjournals.com/',
// changeOrigin: true, changeOrigin: true,
// pathRewrite: { pathRewrite: {
// '^/api': '' '^/api': ''
// } }
// } }
// } }
}, },
// devServer: { // devServer: {