From 15f6dc6499c5222dc7b1166a7f0cdfa155ac7854 Mon Sep 17 00:00:00 2001 From: liuye Date: Thu, 24 Oct 2024 14:04:59 +0800 Subject: [PATCH 1/3] =?UTF-8?q?lianhua-=E5=90=8D=E9=A2=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../AppIntegratingTask/AppIntegratingTask.vue | 70 +++ .../AppIntegratingTask/components/Add.vue | 439 ++++++++++++++++++ .../AppIntegratingTask/components/Detail.vue | 192 ++++++++ .../AppIntegratingTask/components/List.vue | 223 +++++++++ 4 files changed, 924 insertions(+) create mode 100644 project/lianhua/AppIntegratingTask/AppIntegratingTask.vue create mode 100644 project/lianhua/AppIntegratingTask/components/Add.vue create mode 100644 project/lianhua/AppIntegratingTask/components/Detail.vue create mode 100644 project/lianhua/AppIntegratingTask/components/List.vue diff --git a/project/lianhua/AppIntegratingTask/AppIntegratingTask.vue b/project/lianhua/AppIntegratingTask/AppIntegratingTask.vue new file mode 100644 index 00000000..7e858122 --- /dev/null +++ b/project/lianhua/AppIntegratingTask/AppIntegratingTask.vue @@ -0,0 +1,70 @@ + + + + + diff --git a/project/lianhua/AppIntegratingTask/components/Add.vue b/project/lianhua/AppIntegratingTask/components/Add.vue new file mode 100644 index 00000000..b52ae274 --- /dev/null +++ b/project/lianhua/AppIntegratingTask/components/Add.vue @@ -0,0 +1,439 @@ + + + + + diff --git a/project/lianhua/AppIntegratingTask/components/Detail.vue b/project/lianhua/AppIntegratingTask/components/Detail.vue new file mode 100644 index 00000000..a27e8f77 --- /dev/null +++ b/project/lianhua/AppIntegratingTask/components/Detail.vue @@ -0,0 +1,192 @@ + + + + + diff --git a/project/lianhua/AppIntegratingTask/components/List.vue b/project/lianhua/AppIntegratingTask/components/List.vue new file mode 100644 index 00000000..bb9e69dc --- /dev/null +++ b/project/lianhua/AppIntegratingTask/components/List.vue @@ -0,0 +1,223 @@ + + + + + From a6f11e56a7d2c34dca0cb2a7f12f3fc77db07b38 Mon Sep 17 00:00:00 2001 From: liuye Date: Thu, 24 Oct 2024 16:12:41 +0800 Subject: [PATCH 2/3] =?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 --- .../AppIntegratingTask/components/Add.vue | 6 + .../AppIntegratingTask/AppIntegratingTask.vue | 70 --- .../AppIntegratingTask/components/Add.vue | 439 ------------------ .../AppIntegratingTask/components/Detail.vue | 192 -------- .../AppIntegratingTask/components/List.vue | 223 --------- 5 files changed, 6 insertions(+), 924 deletions(-) delete mode 100644 project/lianhua/AppIntegratingTask/AppIntegratingTask.vue delete mode 100644 project/lianhua/AppIntegratingTask/components/Add.vue delete mode 100644 project/lianhua/AppIntegratingTask/components/Detail.vue delete mode 100644 project/lianhua/AppIntegratingTask/components/List.vue diff --git a/project/biaopin/AppIntegratingTask/components/Add.vue b/project/biaopin/AppIntegratingTask/components/Add.vue index e0bbb072..b52ae274 100644 --- a/project/biaopin/AppIntegratingTask/components/Add.vue +++ b/project/biaopin/AppIntegratingTask/components/Add.vue @@ -10,6 +10,10 @@ + + + + @@ -124,6 +128,7 @@ export default { return { form: { title: '', + quota: 1, detail: '', lng: '', lat: '', @@ -144,6 +149,7 @@ export default { }, formRules: { title: [{required: true, message: "请输入活动名称", trigger: "blur"}], + quota: [{required: true, message: "请输入名额", trigger: "blur"}], location: [{required: true, validator: validLocation, trigger: "blur"}], clockRange: [{required: true, message: "请输入打卡范围", trigger: "blur"}], intoTime: [{required: true, message: "请选择进场打卡时间", trigger: "blur"}], diff --git a/project/lianhua/AppIntegratingTask/AppIntegratingTask.vue b/project/lianhua/AppIntegratingTask/AppIntegratingTask.vue deleted file mode 100644 index 7e858122..00000000 --- a/project/lianhua/AppIntegratingTask/AppIntegratingTask.vue +++ /dev/null @@ -1,70 +0,0 @@ - - - - - diff --git a/project/lianhua/AppIntegratingTask/components/Add.vue b/project/lianhua/AppIntegratingTask/components/Add.vue deleted file mode 100644 index b52ae274..00000000 --- a/project/lianhua/AppIntegratingTask/components/Add.vue +++ /dev/null @@ -1,439 +0,0 @@ - - - - - diff --git a/project/lianhua/AppIntegratingTask/components/Detail.vue b/project/lianhua/AppIntegratingTask/components/Detail.vue deleted file mode 100644 index a27e8f77..00000000 --- a/project/lianhua/AppIntegratingTask/components/Detail.vue +++ /dev/null @@ -1,192 +0,0 @@ - - - - - diff --git a/project/lianhua/AppIntegratingTask/components/List.vue b/project/lianhua/AppIntegratingTask/components/List.vue deleted file mode 100644 index bb9e69dc..00000000 --- a/project/lianhua/AppIntegratingTask/components/List.vue +++ /dev/null @@ -1,223 +0,0 @@ - - - - - From 85de031db2257718661245bcd65548252df5e023 Mon Sep 17 00:00:00 2001 From: liuye Date: Tue, 29 Oct 2024 08:39:15 +0800 Subject: [PATCH 3/3] =?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 --- .../biaopin/AppIntegratingTask/components/Add.vue | 12 ++++++------ .../biaopin/AppIntegratingTask/components/Detail.vue | 1 + 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/project/biaopin/AppIntegratingTask/components/Add.vue b/project/biaopin/AppIntegratingTask/components/Add.vue index b52ae274..817bf40a 100644 --- a/project/biaopin/AppIntegratingTask/components/Add.vue +++ b/project/biaopin/AppIntegratingTask/components/Add.vue @@ -191,17 +191,17 @@ export default { watch: { 'form.intoTime': { handler(val) { - if(val) { - this.form.intoBegintime = val[0] - this.form.intoEndtime = val[1] + if (Array.isArray(val) && val.length >= 2) { + this.form.intoBegintime = val[0]; + this.form.intoEndtime = val[1]; } } }, 'form.exitTime': { handler(val) { - if(val) { - this.form.exitBegintime = val[0] - this.form.exitEndtime = val[1] + if (Array.isArray(val) && val.length >= 2) { + this.form.exitBegintime = val[0]; + this.form.exitEndtime = val[1]; } } } diff --git a/project/biaopin/AppIntegratingTask/components/Detail.vue b/project/biaopin/AppIntegratingTask/components/Detail.vue index a27e8f77..4c835169 100644 --- a/project/biaopin/AppIntegratingTask/components/Detail.vue +++ b/project/biaopin/AppIntegratingTask/components/Detail.vue @@ -8,6 +8,7 @@