diff --git a/src/components/page/per_text.vue b/src/components/page/per_text.vue index 5254cee..4a0222e 100644 --- a/src/components/page/per_text.vue +++ b/src/components/page/per_text.vue @@ -62,8 +62,14 @@ {{item.type_name}} {{item.ctime}}
+ +
+ You are not a reviewer of the article yet. + Apply to be a reviewer of the article. + Apply +
-
+
REFEREE'S ASSESSMENT @@ -248,15 +254,6 @@
- - -

You are not a reviewer of the article yet.
Apply to be a reviewer of the article.

- - OK - -
- -
@@ -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 => {