From 93b364f04940276a8d4dc1d7e9c6d04c99d85fba Mon Sep 17 00:00:00 2001 From: yanran200730 Date: Wed, 8 Feb 2023 13:56:58 +0800 Subject: [PATCH 1/3] bug --- .../components/Detail.vue | 51 ++++++++++++++++++- 1 file changed, 50 insertions(+), 1 deletion(-) diff --git a/project/activeAnalysis/app/AppMarketingActivity/components/Detail.vue b/project/activeAnalysis/app/AppMarketingActivity/components/Detail.vue index fd43e438..44497674 100644 --- a/project/activeAnalysis/app/AppMarketingActivity/components/Detail.vue +++ b/project/activeAnalysis/app/AppMarketingActivity/components/Detail.vue @@ -97,6 +97,13 @@ :current.sync="search.current" :size.sync="search.size" @getList="getList"> + + + @@ -149,6 +156,17 @@ + + + + + + + @@ -166,6 +184,10 @@ data () { return { currIndex: 0, + form: { + phone: '' + }, + id: '', tabList: ['基本信息', '报名记录', '抽奖记录'], colConfigs: [ { prop: 'name', label: '姓名', align: 'left', width: '200px' }, @@ -193,7 +215,8 @@ prizes: [], tableData: [], total: 0, - info: {} + info: {}, + isShowPhone: false } }, @@ -217,6 +240,32 @@ }) }, + changePhone (id, phone) { + this.id = id + this.form.phone = phone + + this.isShowPhone = true + }, + + onConfirm () { + this.$refs.form.validate((valid) => { + if (valid) { + this.instance.post(`/app/appmarketingactivityinfo/updateBindPhone`, null, { + params: { + ...this.form, + signupId: this.params.id || '' + } + }).then(res => { + if (res.code == 0) { + this.$message.success('更换成功') + this.isShowPhone = false + this.getList() + } + }) + } + }) + }, + getPrizeList() { this.instance.post(`/app/appmarketingactivityinfo/raffleList?activityId=${this.params.id}`, null, { params: { From 12331f89704df24508726f2eed48a871f4ae4dce Mon Sep 17 00:00:00 2001 From: yanran200730 Date: Wed, 8 Feb 2023 14:08:51 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E6=9B=B2=E9=9D=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../AppExaminationManage.vue | 70 +++++ .../AppExaminationManage/components/Add.vue | 280 ++++++++++++++++++ .../components/Detail.vue | 92 ++++++ .../AppExaminationManage/components/List.vue | 148 +++++++++ 4 files changed, 590 insertions(+) create mode 100644 project/qujing/app/AppExaminationManage/AppExaminationManage.vue create mode 100644 project/qujing/app/AppExaminationManage/components/Add.vue create mode 100644 project/qujing/app/AppExaminationManage/components/Detail.vue create mode 100644 project/qujing/app/AppExaminationManage/components/List.vue diff --git a/project/qujing/app/AppExaminationManage/AppExaminationManage.vue b/project/qujing/app/AppExaminationManage/AppExaminationManage.vue new file mode 100644 index 00000000..062b3a20 --- /dev/null +++ b/project/qujing/app/AppExaminationManage/AppExaminationManage.vue @@ -0,0 +1,70 @@ + + + + + diff --git a/project/qujing/app/AppExaminationManage/components/Add.vue b/project/qujing/app/AppExaminationManage/components/Add.vue new file mode 100644 index 00000000..e870c3b4 --- /dev/null +++ b/project/qujing/app/AppExaminationManage/components/Add.vue @@ -0,0 +1,280 @@ + + + + + diff --git a/project/qujing/app/AppExaminationManage/components/Detail.vue b/project/qujing/app/AppExaminationManage/components/Detail.vue new file mode 100644 index 00000000..b3c1bb5d --- /dev/null +++ b/project/qujing/app/AppExaminationManage/components/Detail.vue @@ -0,0 +1,92 @@ + + + + + diff --git a/project/qujing/app/AppExaminationManage/components/List.vue b/project/qujing/app/AppExaminationManage/components/List.vue new file mode 100644 index 00000000..877e06bb --- /dev/null +++ b/project/qujing/app/AppExaminationManage/components/List.vue @@ -0,0 +1,148 @@ + + + + + From 081effb3b37ba5d55623c4b4a9443992eb2b3f40 Mon Sep 17 00:00:00 2001 From: yanran200730 Date: Wed, 8 Feb 2023 14:13:58 +0800 Subject: [PATCH 3/3] bug --- .../app/AppMarketingActivity/components/Detail.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/activeAnalysis/app/AppMarketingActivity/components/Detail.vue b/project/activeAnalysis/app/AppMarketingActivity/components/Detail.vue index 44497674..3e2b2102 100644 --- a/project/activeAnalysis/app/AppMarketingActivity/components/Detail.vue +++ b/project/activeAnalysis/app/AppMarketingActivity/components/Detail.vue @@ -253,7 +253,7 @@ this.instance.post(`/app/appmarketingactivityinfo/updateBindPhone`, null, { params: { ...this.form, - signupId: this.params.id || '' + signupId: this.id } }).then(res => { if (res.code == 0) {