This commit is contained in:
wangjinlei
2023-05-17 13:21:01 +08:00
parent 5ed3073b6e
commit f087543b0f
77 changed files with 10625 additions and 4542 deletions

View File

@@ -37,7 +37,7 @@
</div>
</div>
<el-dialog title="Add Reviewer" :visible.sync="AddInput" width="450px">
<el-dialog title="Add Reviewer" :visible.sync="AddInput" width="620px">
<el-form ref="inp_form" :model="inpForm" :rules="rules" label-width="100px">
<el-form-item label="Email :" prop="email">
<el-input v-model="inpForm.email"></el-input>
@@ -50,9 +50,24 @@
<el-option v-for="item in df_country" :label="item.en_name" :key="item.en_name" :value="item.en_name"></el-option>
</el-select>
</el-form-item>
<el-form-item label="Major :" prop="maj_cn">
<el-cascader :options="jl_major" v-model="inpForm.maj_cn" :props="defaultParams" placeholder="Please select major"
@change="ched_id_edit" style="width: 300px;"></el-cascader>
<el-form-item label="Major :" prop="major_a">
<el-select v-model="inpForm.major_a" placeholder="Please select" @change="majorChange(1)"
style="width: 150px;margin: 0 10px 0 0;">
<el-option v-for="item in majors_a" :key="item.major_id" :label="item.major_title"
:value="item.major_id"></el-option>
</el-select>
<el-select v-model="inpForm.major_b" placeholder="Please select" v-if="majors_b!=''"
@change="majorChange(2)" style="width: 150px;margin:0 10px 0 0;">
<el-option :key="0" label="None" :value="0"></el-option>
<el-option v-for="item in majors_b" :key="item.major_id" :label="item.major_title"
:value="item.major_id"></el-option>
</el-select>
<el-select v-model="inpForm.major_c" placeholder="Please select" v-if="majors_c!=''"
@change="majorChange(3)" style="width: 150px;">
<el-option :key="0" label="None" :value="0"></el-option>
<el-option v-for="item in majors_c" :key="item.major_id" :label="item.major_title"
:value="item.major_id"></el-option>
</el-select>
</el-form-item>
</el-form>
<span slot="footer" class="dialog-footer">
@@ -118,7 +133,7 @@
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="3.Suitability for the Journal">
<el-form-item label="3.Does the manuscript fall within the aim and scope of the journal?">
<el-radio-group v-model="questionform.qu6">
<el-radio :label="1">Excellent</el-radio>
<el-radio :label="2">Good</el-radio>
@@ -254,10 +269,10 @@
<span style="margin-left: 20px;">>Your score:{{questionform.rated}}</span>
</el-form-item>
<el-form-item label="REFEREE'S RECOMMENDATIONS" prop="recommend">
<el-radio-group v-model="questionform.recommend">
<el-radio :label="1">Accept with minor changes</el-radio>
<el-radio-group v-model="questionform.recommend" style="line-height: 30px;">
<el-radio :label="1">Accept with minor revision</el-radio>
<br />
<el-radio :label="2">Accept subject to revisions, as noted in comments</el-radio>
<el-radio :label="2">Accept with major revision</el-radio>
<br />
<el-radio :label="3">Reject in current form, but may be resubmitted</el-radio>
<br />
@@ -265,7 +280,7 @@
</el-radio-group>
</el-form-item>
<el-form-item label="OTHER SPECIFIC CRITICISMS">
<el-radio-group v-model="questionform.other">
<el-radio-group v-model="questionform.other" style="line-height: 30px;">
<el-radio :label="1">Imperfect style</el-radio>
<br />
<el-radio :label="2">Too long</el-radio>
@@ -275,23 +290,24 @@
<el-radio :label="4">Typographical and Grammatical errors</el-radio>
</el-radio-group>
</el-form-item>
<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">
<el-input type="textarea" placeholder="please input content" v-model="questionform.comment" :rows="8"></el-input>
</el-form-item>
<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="Please choose disclose your name or remain anonymous.">
<el-radio-group v-model="questionform.is_anonymous">
<el-radio :label="0">Disclose name</el-radio>
<el-radio-group v-model="questionform.is_anonymous" style="line-height: 30px;">
<el-radio :label="0">Disclose name</el-radio>
<br />
<el-radio :label="1">Remain anonymous</el-radio>
<el-radio :label="1">Remain anonymous</el-radio>
</el-radio-group>
<p style="line-height: 20px;color: #aaa;font-size: 13px;margin: 12px 0 0 0;">
If you agree to disclose your name, we will thank you in published
pdf. , we will also thank you as anonymous reviewer if you reject.
<br />e.g. {{txt_mess.title}} thanks AAAAAAAA, BBBBBBBB and other anonymous reviewers for
their contribution to the peer review of this paper. 
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>
@@ -382,6 +398,9 @@
reviewerList: [],
loading: false,
Total: 0,
majors_a: [],
majors_b: [],
majors_c: [],
rules: {
email: [{
required: true,
@@ -407,17 +426,18 @@
message: 'Please select country',
trigger: 'blur'
}],
maj_cn: [{
major_a: [{
required: true,
message: 'Please select major',
trigger: 'blur'
}]
}],
}
};
},
created() {
this.getdate();
this.getDate();
this.initreviewerList();
this.initMajor()
},
computed: {
upload_url: function() {
@@ -426,7 +446,7 @@
},
methods: {
// 获取编辑列表数据
getdate() {
getDate() {
this.$api
.post('api/Article/getReviewerList', this.query)
.then((res) => {
@@ -440,7 +460,7 @@
// 分页导航
handlePageChange(val) {
this.$set(this.query, 'pageIndex', val);
this.getdate();
this.getDate();
},
// 添加当前页面审稿人信息
newAddInp() {
@@ -455,7 +475,7 @@
.then((res) => {
this.$refs.inp_form.resetFields()
this.AddInput = false
this.getdate();
this.getDate();
})
.catch((err) => {
console.log(err);
@@ -617,7 +637,57 @@
frag = 'invitation';
}
return frag;
}
},
// 领域
initMajor() {
this.$api
.post('api/Ucenter/getMajor', {
major_id: 1
}).then((res) => {
this.majors_a = res.data.major.children;
});
},
// 搜索选择领域
majorChange(e) {
if (e == 1) {
this.$api
.post('api/Ucenter/getMajor', {
major_id: this.inpForm.major_a
}).then((res) => {
this.majors_b = res.data.major.children;
this.majors_c = []
this.inpForm.major_b = ''
this.inpForm.major_c = ''
this.majorChange_panduan()
});
} else if (e == 2 && this.inpForm.major_b != 0) {
this.$api
.post('api/Ucenter/getMajor', {
major_id: this.inpForm.major_b
}).then((res) => {
this.majors_c = res.data.major.children;
this.inpForm.major_c = ''
this.majorChange_panduan()
});
} else {
this.majorChange_panduan()
}
},
majorChange_panduan() {
if (this.inpForm.major_c != '' || this.inpForm.major_c != 0) {
this.inpForm.major = this.inpForm.major_c
} else if (this.inpForm.major_b != '' || this.inpForm.major_b != 0) {
this.inpForm.major = this.inpForm.major_b
} else {
this.inpForm.major = this.inpForm.major_a
}
},
}
};
</script>