From ae37533b0eda57722178c396550eb48766d6dc1c Mon Sep 17 00:00:00 2001 From: xulu Date: Tue, 14 Sep 2021 09:52:04 +0800 Subject: [PATCH] 1 --- src/components/page/per_text.vue | 29 +++++++++++++---------------- 1 file changed, 13 insertions(+), 16 deletions(-) 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 => {