This commit is contained in:
xulu
2022-03-10 17:34:35 +08:00
parent 4f5e6e1f78
commit a2a8a06ff6
44 changed files with 9609 additions and 969 deletions

View File

@@ -220,11 +220,11 @@
<el-form-item label="Confidential Comments to the Editor">
<el-input type="textarea" placeholder="please input content" v-model="questionform.confident" :rows="8"></el-input>
</el-form-item>
<el-form-item label="Comments for the Authors" prop="comment">
<el-form-item label="Comments for the Authors" v-if="this.txt_mess.atype == 'Comment' || this.txt_mess.atype == 'News'">
<el-input type="textarea" placeholder="please input content" v-model="questionform.comment" :rows="8"></el-input>
</el-form-item>
<el-form-item label="Comments for the Authors" prop="comment" v-if="this.txt_mess.atype != 'Comment' && this.txt_mess.atype != 'News'">
<el-input type="textarea" placeholder="please input content" v-model="questionform.comment" :rows="8"></el-input>
<p style="color: #e6a23c;font-size: 13px;" v-if="this.txt_mess.atype!='Comment'||this.txt_mess.atype!='News'">
Dear reviewer, we recommend the available comment should be more than 40 words.
</p>
</el-form-item>
<el-form-item label="Please choose disclose your name or remain anonymous.">
<el-radio-group v-model="item.question.is_anonymous">
@@ -321,8 +321,10 @@
}
}
if (blankCount + wenziCount <= 60) {
callback(new Error(
return callback(new Error(
"Dear reviewer, we recommend the available comment should be more than 60 Chinese words."));
} else {
return callback();
}
} else {
//英文
@@ -331,7 +333,9 @@
blankCount++
}
if (blankCount <= 40) {
callback(new Error("Dear reviewer, we recommend the available comment should be more than 40 words."));
return callback(new Error("Dear reviewer, we recommend the available comment should be more than 40 words."));
} else {
return callback();
}
}
},
@@ -479,6 +483,7 @@
this.loading = false;
this.$message.success('success!!');
this.getData();
this.$router.push('/per_text_success');
} else {
this.loading = false;
this.$message.error('question submit error');