From c81bbf5754a030ce5343e6bd8b8b5d4e0a850a86 Mon Sep 17 00:00:00 2001 From: zhangdahai112 Date: Wed, 15 Jun 2022 15:44:05 +0800 Subject: [PATCH] =?UTF-8?q?fix(UI=20=E8=87=AA=E5=8A=A8=E5=8C=96):=20?= =?UTF-8?q?=E6=B5=8B=E8=AF=95=E6=8A=A5=E5=91=8A=E7=8A=B6=E6=80=81=E7=BB=9F?= =?UTF-8?q?=E4=B8=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1013989 --user=张大海 [通用设置]任务中心-状态列表中应按照报告结果情况列出所有状态并保持中英文一致 https://www.tapd.cn/55049933/s/1182594 --- .../components/api/report/ApiReportStatus.vue | 20 ++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/frontend/src/business/components/api/report/ApiReportStatus.vue b/frontend/src/business/components/api/report/ApiReportStatus.vue index b84c4ffa09..674f04f9b0 100644 --- a/frontend/src/business/components/api/report/ApiReportStatus.vue +++ b/frontend/src/business/components/api/report/ApiReportStatus.vue @@ -1,30 +1,30 @@ @@ -35,6 +35,12 @@ props: { row: Object + }, + methods: { + showStatus(status) { + return status === "unexecute" ? "NotExecute" : + status.toLowerCase()[0].toUpperCase() + status.toLowerCase().substr(1); + } } }