From 42fb9cd0aa819f588c262b293c5f66303b498630 Mon Sep 17 00:00:00 2001 From: yanran200730 Date: Wed, 29 Mar 2023 09:24:13 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=AF=E5=88=86=E4=BB=BB=E5=8A=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../app/AppIntegratingTask/components/Add.vue | 223 +++++------- .../AppIntegratingTask/components/Detail.vue | 335 +++++------------- .../AppIntegratingTask/components/List.vue | 19 +- 3 files changed, 196 insertions(+), 381 deletions(-) diff --git a/project/fengdu/app/AppIntegratingTask/components/Add.vue b/project/fengdu/app/AppIntegratingTask/components/Add.vue index ecd6b669..c4a95e52 100644 --- a/project/fengdu/app/AppIntegratingTask/components/Add.vue +++ b/project/fengdu/app/AppIntegratingTask/components/Add.vue @@ -1,138 +1,107 @@ - diff --git a/project/fengdu/app/AppIntegratingTask/components/List.vue b/project/fengdu/app/AppIntegratingTask/components/List.vue index bed9907c..80134c37 100644 --- a/project/fengdu/app/AppIntegratingTask/components/List.vue +++ b/project/fengdu/app/AppIntegratingTask/components/List.vue @@ -31,11 +31,13 @@ - + @@ -111,6 +113,15 @@ }) }, + toDetail (id) { + this.$emit('change', { + type: 'Detail', + params: { + id: id || '', + } + }) + }, + toAdd(id) { this.$emit('change', { type: 'Add',