From c3d0aa9f4f662ffbf25d3a503a4b2ae5167e336a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A7=8B=E4=BA=8E=E5=88=9D=E8=A7=81?= <752204717@qq.com> Date: Fri, 10 Oct 2025 09:16:07 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BD=9C=E8=80=85=E6=8F=90?= =?UTF-8?q?=E4=BA=A4=E4=BF=AE=E6=94=B9=E7=A8=BF=E5=90=8E=E6=98=BE=E7=A4=BA?= =?UTF-8?q?error?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/page/articleProcess.vue | 32 +++++++++++++++++--------- 1 file changed, 21 insertions(+), 11 deletions(-) diff --git a/src/components/page/articleProcess.vue b/src/components/page/articleProcess.vue index eed5317..69d1c3b 100644 --- a/src/components/page/articleProcess.vue +++ b/src/components/page/articleProcess.vue @@ -21,17 +21,14 @@
Status : {{ statetostr(artMes.laststate) }} Journal : {{ artMes.journalname }}
-
- Research areas +
+ Research areas -
-

- Field {{ i + 1 }}:{{ v.str - }} -

-
- - +
+

+ Field {{ i + 1 }}:{{ v.str }} +

+
@@ -237,12 +234,19 @@ export default { methods: { //初始化文章信息 initarticle() { + const loading = this.$loading({ + lock: true, + text: 'Loading...', + spinner: 'el-icon-loading', + background: 'rgba(0, 0, 0, 0.7)' + }); this.$api .post('api/Article/getArticleDetail', { articleId: this.articleId, human: 'author' }) .then((res) => { + loading.close() let back_num = 0; // 添加投递稿件条目 res.msg.unshift({ @@ -293,6 +297,7 @@ export default { this.prossMsgs = res.msg; }) .catch((err) => { + loading.close() console.log(err); }); @@ -351,6 +356,7 @@ export default { }, statetostr(mystate) { + let str = ''; switch (mystate) { case -1: @@ -383,9 +389,13 @@ export default { case 8: str = 'Final Decision'; + break; + case undefined: + str = ' '; + break; default: - str = 'error!!'; + str = ' '; } return str; },