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: {