拒稿列表
This commit is contained in:
@@ -189,7 +189,26 @@
|
||||
</el-row>
|
||||
</div>
|
||||
</div>
|
||||
<div class="art_caozuo_">
|
||||
<!-- 被拒稿件操作 -->
|
||||
<div class="art_caozuo_" v-if="opname == 'rejectArticles'">
|
||||
<p>
|
||||
<span>Status : </span>
|
||||
<b>{{articleState}}</b>
|
||||
</p>
|
||||
<p>
|
||||
<span>Remarks : </span>
|
||||
<b>{{form.remarks}}</b>
|
||||
</p>
|
||||
<p>
|
||||
<span>Repetition : </span>
|
||||
<b>{{form.repetition}}%</b>
|
||||
</p>
|
||||
<!--<br clear="both">
|
||||
<el-button type="primary" @click="showResubmit" style="margin: 15px 0 0 0;">Resubmit the manuscript
|
||||
</el-button> -->
|
||||
</div>
|
||||
<!-- 常规稿件操作 -->
|
||||
<div class="art_caozuo_" v-else>
|
||||
<p>
|
||||
<span>Status : </span>
|
||||
<b>{{articleState}}</b>
|
||||
@@ -349,6 +368,24 @@
|
||||
<el-button type="primary" @click="saveRepe">Save</el-button>
|
||||
</span>
|
||||
</el-dialog>
|
||||
<el-dialog title="Resubmit the manuscript" :visible.sync="resubmitVisible" width="550px" v-loading="loading4">
|
||||
<el-form ref="resubmitJournal" :model="resubmitJournal" label-width="120" :rules="Resubmitrules">
|
||||
<el-form-item label="journal" prop="journalId">
|
||||
<el-select v-if="editorJournalList.length > 0" v-model="resubmitJournal.journalId" filterable placeholder="Please select a manuscript">
|
||||
<el-option
|
||||
v-for="item in editorJournalList"
|
||||
:key="item.journal_id"
|
||||
:label="item.title"
|
||||
:value="item.journal_id">
|
||||
</el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
<span slot="footer" class="dialog-footer">
|
||||
<el-button @click="closeResubmit">Cancel</el-button>
|
||||
<el-button type="primary" @click="saveResubmit">Save</el-button>
|
||||
</span>
|
||||
</el-dialog>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -368,8 +405,10 @@
|
||||
loading1: false,
|
||||
loading2: false,
|
||||
loading3: false,
|
||||
loading4: false,
|
||||
editVisible: false,
|
||||
editbox: false,
|
||||
resubmitVisible:false,
|
||||
repebox: false,
|
||||
HEditVisible: false,
|
||||
HIxForm: {
|
||||
@@ -458,7 +497,19 @@
|
||||
user_id: '',
|
||||
ad_content: ''
|
||||
},
|
||||
talkMsgs: []
|
||||
talkMsgs: [],
|
||||
opname:'', // 稿件详细类型
|
||||
editorJournalList:[], // 编辑期刊列表
|
||||
resubmitJournal:{
|
||||
journalId:null , // 转投期刊的id
|
||||
manuscriptId:null, // article id
|
||||
},
|
||||
Resubmitrules:{
|
||||
journalId: [
|
||||
{ required: true, message: 'Please select the name of the journal to be forwarded to' }
|
||||
]
|
||||
}
|
||||
|
||||
};
|
||||
},
|
||||
created: function() {
|
||||
@@ -944,7 +995,47 @@
|
||||
.catch(err => {
|
||||
console.log(err);
|
||||
});
|
||||
},
|
||||
// 显示转投稿件弹窗
|
||||
showResubmit(){
|
||||
this.loading4 = true
|
||||
|
||||
this.$api.post('api/Journal/getJournalByeditor', {'user_id':localStorage.getItem('U_id')})
|
||||
.then(res => {
|
||||
this.loading4 = false;
|
||||
this.editorJournalList = res.data.journals
|
||||
console.log(res)
|
||||
this.resubmitVisible = true
|
||||
})
|
||||
.catch(err => {
|
||||
console.log(err);
|
||||
});
|
||||
|
||||
|
||||
},
|
||||
// 提交转投稿件
|
||||
saveResubmit(){
|
||||
// 验证表单
|
||||
this.$refs['resubmitJournal'].validate((valid) => {
|
||||
if (valid) {
|
||||
alert('submit!');
|
||||
console.log(this.resubmitJournal)
|
||||
} else {
|
||||
console.log('error submit!!');
|
||||
return false;
|
||||
}
|
||||
});
|
||||
},
|
||||
// 关闭弹窗
|
||||
closeResubmit(){
|
||||
this.resubmitVisible = false,
|
||||
this.$refs['resubmitJournal'].resetFields()
|
||||
}
|
||||
|
||||
},
|
||||
mounted(){
|
||||
this.opname = this.$route.query.mark
|
||||
this.resubmitJournal.manuscriptId = this.$route.query.id
|
||||
}
|
||||
};
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user