提交作者提交修改稿后显示error
This commit is contained in:
@@ -21,17 +21,14 @@
|
||||
<div class="tit_head">
|
||||
Status : <b style="margin: 0 50px 0 0">{{ statetostr(artMes.laststate) }}</b> Journal : <b>{{ artMes.journalname }}</b>
|
||||
</div>
|
||||
<div class="tit_head" v-if="artMes.majors&&artMes.majors.length>0">
|
||||
<b style="margin: 0 50px 0 0;font-size: 20px;">Research areas</b>
|
||||
<div class="tit_head" v-if="artMes.majors && artMes.majors.length > 0">
|
||||
<b style="margin: 0 50px 0 0; font-size: 20px">Research areas</b>
|
||||
|
||||
<div style="margin-top: 10px;">
|
||||
<p style="" v-for="(v, i) in artMes.majors">
|
||||
<span style="color: #333; margin-right: 10px">Field {{ i + 1 }}:</span>{{ v.str
|
||||
}}
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
||||
<div style="margin-top: 10px">
|
||||
<p style="" v-for="(v, i) in artMes.majors">
|
||||
<span style="color: #333; margin-right: 10px">Field {{ i + 1 }}:</span>{{ v.str }}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<el-row :gutter="30">
|
||||
<el-col :span="15">
|
||||
@@ -237,12 +234,19 @@ export default {
|
||||
methods: {
|
||||
//初始化文章信息
|
||||
initarticle() {
|
||||
const loading = this.$loading({
|
||||
lock: true,
|
||||
text: 'Loading...',
|
||||
spinner: 'el-icon-loading',
|
||||
background: 'rgba(0, 0, 0, 0.7)'
|
||||
});
|
||||
this.$api
|
||||
.post('api/Article/getArticleDetail', {
|
||||
articleId: this.articleId,
|
||||
human: 'author'
|
||||
})
|
||||
.then((res) => {
|
||||
loading.close()
|
||||
let back_num = 0;
|
||||
// 添加投递稿件条目
|
||||
res.msg.unshift({
|
||||
@@ -293,6 +297,7 @@ export default {
|
||||
this.prossMsgs = res.msg;
|
||||
})
|
||||
.catch((err) => {
|
||||
loading.close()
|
||||
console.log(err);
|
||||
});
|
||||
|
||||
@@ -351,6 +356,7 @@ export default {
|
||||
},
|
||||
|
||||
statetostr(mystate) {
|
||||
|
||||
let str = '';
|
||||
switch (mystate) {
|
||||
case -1:
|
||||
@@ -383,9 +389,13 @@ export default {
|
||||
case 8:
|
||||
str = 'Final Decision';
|
||||
|
||||
break;
|
||||
case undefined:
|
||||
str = ' ';
|
||||
|
||||
break;
|
||||
default:
|
||||
str = 'error!!';
|
||||
str = ' ';
|
||||
}
|
||||
return str;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user