This commit is contained in:
xulu
2021-09-14 09:52:04 +08:00
parent 956fe04d16
commit ae37533b0e

View File

@@ -62,8 +62,14 @@
<a :href='mediaUrl+item.file_url' target="_blank" class="txt_pdf">{{item.type_name}} <span style="margin-left: 50px;color: #888;font-size: 13px;">{{item.ctime}}</span></a><br>
</div>
</div>
<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">
<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 => {