From f921dd8c526a5270135d0236875047f3ca9ec1bc Mon Sep 17 00:00:00 2001 From: shanao Date: Fri, 6 Sep 2024 16:19:59 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=8B=E6=95=85=E8=B0=83=E6=9F=A5=E7=AE=A1?= =?UTF-8?q?=E7=90=86=E4=BB=A3=E7=A0=81=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../accident/records/components/list.vue | 72 +++++++++---------- src/views/accident/records/index.vue | 9 ++- 2 files changed, 40 insertions(+), 41 deletions(-) diff --git a/src/views/accident/records/components/list.vue b/src/views/accident/records/components/list.vue index 2b2468b..b6e23c9 100644 --- a/src/views/accident/records/components/list.vue +++ b/src/views/accident/records/components/list.vue @@ -8,9 +8,9 @@ - + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + 查询 @@ -101,25 +100,30 @@ - - - - - - - + + + + + - - - - - - - + + + + + + @@ -452,11 +456,7 @@ export default { this.$parent.activeName = 'Detail' this.$parent.hiddenId = id }, - translate(id, list) { - for (let i = 0; i < list.length; i++) { - if (list[i].BIANMA === id || list[i].value === id || list[i].id === id) return list[i].NAME || list[i].label - } - }, + formatDate(date, format) { return formatDate(date, format) } diff --git a/src/views/accident/records/index.vue b/src/views/accident/records/index.vue index 979de3a..f128cfc 100644 --- a/src/views/accident/records/index.vue +++ b/src/views/accident/records/index.vue @@ -2,18 +2,17 @@
- +