tijiao
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
<div style="">
|
||||
<div style="display: flex; justify-content: space-between">
|
||||
<div style="width: 100%; min-width: 1020px; position: relative">
|
||||
|
||||
<div class="step_list_new" >
|
||||
<el-steps align-center >
|
||||
<!-- 状态 已完成 未完成 正在填写 -->
|
||||
@@ -19,7 +20,7 @@
|
||||
<template #icon v-if="stepStatus && stepStatus.length > 0" @click.stop="StepCode(item)">
|
||||
<span v-if="stepStatus[i].status == 0"> </span>
|
||||
<span class="step_icon" v-if="stepStatus[i].status == 1">
|
||||
<i class="el-icon-check" style="font-size: 22px"></i>
|
||||
<i class="el-icon-check" style="font-size: 21px"></i>
|
||||
</span>
|
||||
<span class="step_icon" v-if="stepStatus[i].status == 2">
|
||||
<i class="el-icon-edit-outline" style="font-size: 22px"></i>
|
||||
@@ -46,12 +47,14 @@
|
||||
<div class="bag_color" v-if="show_step == 1">
|
||||
<div>
|
||||
<h3>Manuscript Information</h3>
|
||||
|
||||
<el-form-item label="Journal :" prop="journal">
|
||||
<JournalSelector
|
||||
<JournalSelector v-if="show_step == 1"
|
||||
ref="journalSelector"
|
||||
@selected="handleJournalSelected"
|
||||
:list="items"
|
||||
:check_item="check_item"
|
||||
:journal_id="form.journal"
|
||||
/>
|
||||
</el-form-item>
|
||||
|
||||
@@ -475,8 +478,8 @@
|
||||
If your manuscript is not deemed suitable for the first journal, it can be automatically transferred
|
||||
along with reviews and reviewers' identities (cascading peer-review) to another journal of your choice.
|
||||
Please note that you can choose up to two journals only.
|
||||
<br /><br />
|
||||
<el-switch
|
||||
<br />
|
||||
<el-switch style="margin-top: 20px;"
|
||||
@change="changeSwitch($event)"
|
||||
v-model="form.istransfer"
|
||||
active-text="Yes"
|
||||
@@ -504,8 +507,8 @@
|
||||
</el-form-item>
|
||||
<p style="line-height: 25px; margin: 30px 10px 0 55px; font-size: 14px" v-if="checkReviewerof == 0">
|
||||
Would you be interested in serving as a reviewer for this journal?
|
||||
<br /><br />
|
||||
<el-switch
|
||||
<br />
|
||||
<el-switch style="margin-top: 20px;"
|
||||
@change="changeBecome($event)"
|
||||
v-model="form.becomeRev"
|
||||
active-text="Yes"
|
||||
@@ -1429,8 +1432,7 @@ export default {
|
||||
},
|
||||
async created() {
|
||||
this.journal_type = await this.$commonJS.journalTypeList();
|
||||
console.log('this.journal_type at line 1340:', this.journal_type);
|
||||
this.initSelect();
|
||||
this.initSelect();
|
||||
this.getAutData();
|
||||
if (this.stagingID != undefined) {
|
||||
this.form.article_id = this.stagingID;
|
||||
@@ -1745,20 +1747,22 @@ export default {
|
||||
|
||||
//初始化期刊选项
|
||||
initSelect() {
|
||||
this.$api
|
||||
.post('api/Article/getJournal')
|
||||
.then((res) => {
|
||||
this.items = res;
|
||||
// this.$api
|
||||
// .post('api/Article/getJournal')
|
||||
// .then((res) => {
|
||||
|
||||
this.items = this.$store.state.journalList;
|
||||
for (let i in this.items) {
|
||||
if (this.items[i].journal_id == this.form.journal) {
|
||||
|
||||
this.check_item = this.items[i];
|
||||
this.jour_form.journal = this.items[i].journal_id;
|
||||
}
|
||||
}
|
||||
})
|
||||
.catch((err) => {
|
||||
console.log(err);
|
||||
});
|
||||
// })
|
||||
// .catch((err) => {
|
||||
// console.log(err);
|
||||
// });
|
||||
this.$api
|
||||
.post('api/Reviewer/getAllMajor')
|
||||
.then((res) => {
|
||||
@@ -2740,7 +2744,8 @@ export default {
|
||||
this.fileL_articleApproval = [{}];
|
||||
this.fileL_articleApproval[0].name = 'Ethical approval file';
|
||||
this.fileL_articleApproval[0].url = this.form.approval_file;
|
||||
}
|
||||
|
||||
} console.log('this.fileL_articleApproval at line 2746:', this.fileL_articleApproval)
|
||||
this.fileL_coverLetter = [];
|
||||
if (this.form.coverLetter != '') {
|
||||
this.fileL_coverLetter = [{}];
|
||||
@@ -3069,10 +3074,17 @@ export default {
|
||||
if (res.code == 0) {
|
||||
// 基本信息
|
||||
this.form.journal = res.data.base.journal_id;
|
||||
|
||||
console.log('this.form.journal at line 3075:', this.form.journal)
|
||||
this.$forceUpdate()
|
||||
|
||||
this.$nextTick(()=>{
|
||||
this.$refs.journalSelector.init(this.form.journal)
|
||||
})
|
||||
|
||||
this.form.type = res.data.base.type;
|
||||
this.form.title = res.data.base.title;
|
||||
this.form.approval = res.data.base.approval;
|
||||
this.form.approval_file = res.data.base.approval_file;
|
||||
this.form.approval_content = res.data.base.approval_content;
|
||||
this.form.abstrart = res.data.base.abstrart;
|
||||
this.form.fund = res.data.base.fund;
|
||||
|
||||
Reference in New Issue
Block a user