From 2893cfb36f8e05816b1319e6c969da10b11f5a27 Mon Sep 17 00:00:00 2001 From: bruce <1272542526@qq.com> Date: Thu, 21 Mar 2024 10:40:02 +0800 Subject: [PATCH] update --- src/views/content/maintenance/Index.vue | 12 +++++++++++- src/views/content/maintenance/modules/AddForm.vue | 6 +++--- src/views/content/maintenance/modules/EditForm.vue | 7 ++++--- 3 files changed, 18 insertions(+), 7 deletions(-) diff --git a/src/views/content/maintenance/Index.vue b/src/views/content/maintenance/Index.vue index 644b48e..f8ea29a 100644 --- a/src/views/content/maintenance/Index.vue +++ b/src/views/content/maintenance/Index.vue @@ -18,7 +18,7 @@ >{{ item.name }} - + 搜索 @@ -42,6 +42,11 @@

{{ text }}

+ + + 分类图片 + + {{ text.name }} @@ -72,6 +77,11 @@ const columns = [ title: 'ID', dataIndex: 'id' }, + { + title: '维修图片', + dataIndex: 'img_url', + scopedSlots: { customRender: 'img_url' } + }, { title: '维修名称', dataIndex: 'name' diff --git a/src/views/content/maintenance/modules/AddForm.vue b/src/views/content/maintenance/modules/AddForm.vue index b5a9be0..605367a 100644 --- a/src/views/content/maintenance/modules/AddForm.vue +++ b/src/views/content/maintenance/modules/AddForm.vue @@ -27,9 +27,9 @@ >{{ item.name }} - - + diff --git a/src/views/content/maintenance/modules/EditForm.vue b/src/views/content/maintenance/modules/EditForm.vue index f3e45ec..df105ee 100644 --- a/src/views/content/maintenance/modules/EditForm.vue +++ b/src/views/content/maintenance/modules/EditForm.vue @@ -27,9 +27,10 @@ >{{ item.name }} - - +