From cb35cfd173f3dc42ae25217061c510b9e926174d Mon Sep 17 00:00:00 2001 From: wangxiaoshuang <825034831@qq.com> Date: Fri, 12 Apr 2024 13:30:20 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AD=BE=E5=90=8D=E6=A1=86=E6=A0=B7=E5=BC=8F?= =?UTF-8?q?=E6=9B=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../trials-list/components/SignForm.vue | 2 +- src/views/trials/trials-list/index.vue | 48 ++++++++++--------- 2 files changed, 26 insertions(+), 24 deletions(-) diff --git a/src/views/trials/trials-list/components/SignForm.vue b/src/views/trials/trials-list/components/SignForm.vue index fd09314..fee4a56 100644 --- a/src/views/trials/trials-list/components/SignForm.vue +++ b/src/views/trials/trials-list/components/SignForm.vue @@ -124,7 +124,7 @@ export default { .sign-form-footer{ margin-top: 10px; text-align: right; - position: absolute; + // position: absolute; } } diff --git a/src/views/trials/trials-list/index.vue b/src/views/trials/trials-list/index.vue index d596f4d..16269d2 100644 --- a/src/views/trials/trials-list/index.vue +++ b/src/views/trials/trials-list/index.vue @@ -454,29 +454,31 @@ export default { }, // 状态 handleStatus(row) { - if (row.TrialStatusStr === "Initializing") { - this.listLoading = true; - ifTrialCanOngoing(row.Id) - .then((res) => { - this.listLoading = false; - if (res.Result) { - this.currentRow = { ...row }; - this.statusVisible = true; - } else { - this.$confirm(res.ErrorMessage, { - type: "warning", - showCancelButton: false, - callback: (action) => {}, - }); - } - }) - .catch(() => { - this.listLoading = false; - }); - } else { - this.currentRow = { ...row }; - this.statusVisible = true; - } + // if (row.TrialStatusStr === "Initializing") { + // this.listLoading = true; + // ifTrialCanOngoing(row.Id) + // .then((res) => { + // this.listLoading = false; + // if (res.Result) { + // this.currentRow = { ...row }; + // this.statusVisible = true; + // } else { + // this.$confirm(res.ErrorMessage, { + // type: "warning", + // showCancelButton: false, + // callback: (action) => {}, + // }); + // } + // }) + // .catch(() => { + // this.listLoading = false; + // }); + // } else { + // this.currentRow = { ...row }; + // this.statusVisible = true; + // } + this.currentRow = { ...row }; + this.statusVisible = true; }, closeStatusDialog() { this.statusVisible = false;