1
This commit is contained in:
@@ -63,7 +63,13 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="ques_tion">
|
||||
<div class="ques_tion" v-if="this.add_apply == 1">
|
||||
You are not a reviewer of the article yet.
|
||||
Apply to be a reviewer of the article.
|
||||
<el-button type="warning" @click="saveAdd()" style="margin-left: 20px;">Apply</el-button>
|
||||
</div>
|
||||
|
||||
<div class="ques_tion" v-if="this.add_apply == 0">
|
||||
<el-form :model="questionform" :rules="rules" ref="question" label-width="300px" label-position="top">
|
||||
<el-divider content-position="center">REFEREE'S ASSESSMENT</el-divider>
|
||||
<el-form-item label="1.Originality of the topic">
|
||||
@@ -248,15 +254,6 @@
|
||||
</el-form>
|
||||
</div>
|
||||
|
||||
|
||||
<el-dialog title=" " :visible.sync="addVisible" width="30%" :close-on-click-modal='false' :show-close="false">
|
||||
<p>You are not a reviewer of the article yet.<br /> Apply to be a reviewer of the article.</p>
|
||||
<span slot="footer" class="dialog-footer">
|
||||
<el-button type="primary" @click="saveAdd()">OK</el-button>
|
||||
</span>
|
||||
</el-dialog>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -310,7 +307,7 @@
|
||||
confident: '',
|
||||
comment: ''
|
||||
},
|
||||
addVisible: false,
|
||||
add_apply: 1,
|
||||
rules: {}
|
||||
}
|
||||
},
|
||||
@@ -319,11 +316,11 @@
|
||||
this.$api
|
||||
.post('api/Reviewer/checkUserForReviewer', this.add_edit)
|
||||
.then(res => {
|
||||
this.getData();
|
||||
if (res.code == 0) {
|
||||
this.getData();
|
||||
this.add_apply = 0;
|
||||
} else {
|
||||
this.getData();
|
||||
this.addVisible = true;
|
||||
this.add_apply = 1;
|
||||
}
|
||||
})
|
||||
.catch(err => {
|
||||
@@ -467,8 +464,8 @@
|
||||
uid: localStorage.getItem('U_id')
|
||||
})
|
||||
.then(res => {
|
||||
this.addVisible = false;
|
||||
this.$message.success('success!!');
|
||||
this.add_apply = 0;
|
||||
this.$message.success('Successful application!');
|
||||
this.getData();
|
||||
})
|
||||
.catch(err => {
|
||||
|
||||
Reference in New Issue
Block a user