From d47e39850ddc99d725df02fa760a68e052c9070e Mon Sep 17 00:00:00 2001 From: lion <120344285@qq.com> Date: Thu, 20 Jun 2024 16:25:45 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/XyDialog/index.vue | 20 +++-- src/views/task/list/components/addPlan.vue | 70 ++++++++++----- src/views/task/list/components/addUnit.vue | 20 +++-- src/views/task/list/plan.vue | 53 ++++++++++-- src/views/task/list/unit.vue | 99 ++++++++++++++++------ 5 files changed, 195 insertions(+), 67 deletions(-) diff --git a/src/components/XyDialog/index.vue b/src/components/XyDialog/index.vue index 071bd82..18ea912 100644 --- a/src/components/XyDialog/index.vue +++ b/src/components/XyDialog/index.vue @@ -26,6 +26,10 @@ export default { type:String, default: '' }, + subtitle:{ + type:String, + default: '' + }, form:{ type:Object, default:()=>{ @@ -51,13 +55,15 @@ export default { // headerRender(){ - return ( -
- {this.title} - - -
- ) + return ( +
+ {this.title} {this.subtitle} + + +
+ ) + + }, footerRender(){ if(this.type === 'form'){ diff --git a/src/views/task/list/components/addPlan.vue b/src/views/task/list/components/addPlan.vue index bf1027f..bf64550 100644 --- a/src/views/task/list/components/addPlan.vue +++ b/src/views/task/list/components/addPlan.vue @@ -1,9 +1,16 @@