This commit is contained in:
2025-06-26 16:47:01 +08:00
parent 402d995753
commit b6f7cf7d3b
2 changed files with 15 additions and 9 deletions

View File

@@ -5,7 +5,7 @@ import qs from 'qs'
// axios全局配置
axios.defaults.timeout = 1000*6*2; // 超时时间
axios.defaults.timeout = 1000 * 6 * 2; // 超时时间
axios.defaults.headers.post['Content-Type'] = 'application/x-www-form-urlencoded;charset=UTF-8'; // 配置请求头

View File

@@ -11,7 +11,6 @@
@update="(e) => (questionform = e)"
></oldForm>
<newForm
v-if="isNewForm"
:txt_mess="txt_mess"
:isEdit="isEdit"
@@ -25,9 +24,8 @@
<span style="width: 10px; display: inline-block"></span>
<span style="color: #369916">Accept Superior Excellent</span>)
<br />
<el-radio-group v-model="questionform.rated" size="small" :fill="questionform.rated<=5?'#e41411':'#369916'">
<el-radio-group v-model="questionform.rated" size="small" :fill="questionform.rated <= 5 ? '#e41411' : '#369916'">
<el-radio-button
:label="i + 1"
v-for="(v, i) in 10"
:disabled="!isEdit && questionform.rated != i + 1"
@@ -41,7 +39,7 @@
> -->
</el-form-item>
<p
v-if="questionform.score && Number(questionform.score) > 0&&pagetype=='Editor'"
v-if="questionform.score && Number(questionform.score) > 0 && pagetype == 'Editor'"
style="margin: 30px 0; font-size: 20px; padding-left: 0px; box-sizing: border-box"
>
<span
@@ -62,7 +60,7 @@
"
>
Automated Scoring for Reviewer's Opinions :
<span style="font-weight: bold; font-weight: bold; font-size: 26px; color: #409EFF; margin-left: 10px">{{
<span style="font-weight: bold; font-weight: bold; font-size: 26px; color: #2c3e50; margin-left: 10px">{{
Number(questionform.score)
}}</span>
</span>
@@ -161,19 +159,26 @@
></el-input>
</el-form-item>
<el-form-item label="Please choose disclose your name or remain anonymous" >
<el-radio-group v-model="questionform.is_anonymous" style="line-height: 30px" v-if="pagetype=='Editor'">
<el-form-item label="Please choose disclose your name or remain anonymous" v-if="isEdit">
<el-radio-group v-model="questionform.is_anonymous" style="line-height: 30px">
<el-radio :label="0" :disabled="!isEdit && questionform.is_anonymous != 0">Disclose name</el-radio>
<br />
<el-radio :label="1" :disabled="!isEdit && questionform.is_anonymous != 1">Remain anonymous</el-radio>
</el-radio-group>
<p style="line-height: 20px; color: #aaa; font-size: 13px; margin: 12px 0 0 0" v-if="isEdit">
<p style="line-height: 20px; color: #aaa; font-size: 13px; margin: 12px 0 0 0">
If you agree to disclose your name, we will acknowledge you by name in the published PDF. However, if you prefer to
remain anonymous, we will still express our gratitude by thanking you as an anonymous reviewer.
<br />For example, {{ txt_mess.title }} would like to thank AAAAAAAA, BBBBBBBB, and other anonymous reviewers for their
invaluable contributions to the peer review process of this paper.
</p>
</el-form-item>
<el-form-item label="Please choose disclose your name or remain anonymous" v-if="!isEdit && pagetype == 'Editor'">
<el-radio-group v-model="questionform.is_anonymous" style="line-height: 30px">
<el-radio :label="0" :disabled="!isEdit && questionform.is_anonymous != 0">Disclose name</el-radio>
<br />
<el-radio :label="1" :disabled="!isEdit && questionform.is_anonymous != 1">Remain anonymous</el-radio>
</el-radio-group>
</el-form-item>
<el-form-item v-if="this.btn_submit == 0">
<el-button type="primary" @click="questionSubmit">submit</el-button>
</el-form-item>
@@ -291,6 +296,7 @@ export default {
recommend: [{ required: true, message: 'please select', trigger: 'blur' }]
};
}
},
questionSubmit() {
if (this.questionform.is_anonymous == '' && this.questionform.is_anonymous != '0') {