This commit is contained in:
徐哼唧L
2022-12-09 16:18:12 +08:00
parent dc4d87a990
commit 5ed3073b6e
130 changed files with 41608 additions and 2013 deletions

View File

@@ -17,8 +17,8 @@
<div class="tet_list" :model="txt_mess">
<h4>{{txt_mess.article_title}}</h4>
<h5>{{txt_mess.title}}<span style="margin: 0 10px;"> >> </span> Manuscript ID: {{txt_mess.accept_sn}}</h5>
<p><b>Type :</b> {{txt_mess.atype}}</p>
<p><b>Submitted time :</b> {{txt_mess.ctime}}</p>
<p style="display:inline-block;margin: 0 35px;"><b>Type :</b> {{txt_mess.atype}}</p>
<p style="display:inline-block;"><b>Submitted time :</b> {{txt_mess.ctime}}</p>
<p><b>Abstract :</b> <br>{{txt_mess.abstrart}}</p>
<div class="file_sty" v-for="item in fileList" style="margin-top: 15px;">
<img src="../../assets/img/icon_0.png" alt="" class="icon_img">
@@ -329,6 +329,11 @@
message: "please input content",
trigger: "blur"
}],
recommend: [{
required: true,
message: "please select",
trigger: "blur"
}],
}
}
},
@@ -352,11 +357,7 @@
art_rev_id: this.Art_id
})
.then(res => {
if (res.code == 0) {
this.getData();
} else {
this.$message.error(res.msg);
}
this.getData();
})
.catch(err => {
this.$message.error(err);
@@ -372,7 +373,7 @@
}
},
methods: {
getData() {
getData() {
// 获取文章信息
this.$api
.post('api/Reviewer/getartrevdate', {
@@ -441,7 +442,8 @@
//初始化问卷
this.$api.post('api/Reviewer/getQuestion', {
this.$api
.post('api/Reviewer/getQuestion', {
artrevid: this.Art_id
}).then((res) => {
if (res.code == 0) {
@@ -498,7 +500,9 @@
wenziCount++
}
}
if (blankCount + wenziCount <= 60) {
this.$message.error('We encourage you to enrich your comment further to help improve the peer paper.')
this.$message({
offset: '380',
type: 'error',
@@ -512,7 +516,8 @@
for (let i in Char_Cter.match(/ /g)) {
blankCount++
}
if (blankCount <= 40) {
if (blankCount <= 50) {
this.$message.error('We encourage you to enrich your comment further to help improve the peer paper.');
this.$message({
offset: '380',
type: 'error',
@@ -521,12 +526,12 @@
return false
}
}
// 提交接口
this.loading = true
this.$refs.question.validate((valid) => {
if (valid) {
this.$api.post('api/Reviewer/questionSubmit', this.questionform)
this.$api
.post('api/Reviewer/questionSubmit', this.questionform)
.then((res) => {
if (res.code == 0) {
this.loading = false;
@@ -535,7 +540,8 @@
this.$router.push('/per_text_success');
} else {
this.loading = false;
this.$message.error('question submit error');
// this.$message.error('Question submit error!');
this.$message.error(res.msg);
}
});
} else {
@@ -571,12 +577,14 @@
font-size: 15px;
margin: 20px 0 5px 0;
font-weight: normal;
display: inline-block;
}
.tet_list p {
font-family: Calibri;
line-height: 22px;
font-size: 16px;
}
.file_sty {