1
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user