|
|
@ -90,12 +90,15 @@
|
|
|
|
<div class="look" @click="looks1(item.id)">查看</div>
|
|
|
|
<div class="look" @click="looks1(item.id)">查看</div>
|
|
|
|
<div
|
|
|
|
<div
|
|
|
|
class="looks"
|
|
|
|
class="looks"
|
|
|
|
style="margin:0 0 0 10px"
|
|
|
|
style="margin: 0 0 0 10px"
|
|
|
|
@click="invite(item)"
|
|
|
|
@click="invite(item)"
|
|
|
|
v-if="detailData.status == 1 && item.status == 0"
|
|
|
|
v-if="detailData.status == 1 && item.status == 0"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
邀请
|
|
|
|
邀请
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="looks" style="margin: 0 0 0 10px" v-else>
|
|
|
|
|
|
|
|
已邀请
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
@ -428,30 +431,28 @@ export default {
|
|
|
|
this.$modal
|
|
|
|
this.$modal
|
|
|
|
.confirm("是否确认邀请该人参加活动?")
|
|
|
|
.confirm("是否确认邀请该人参加活动?")
|
|
|
|
.then(() => {
|
|
|
|
.then(() => {
|
|
|
|
yaoqingAdd(e.id).then(
|
|
|
|
yaoqingAdd(e.id).then(() => {
|
|
|
|
() => {
|
|
|
|
this.$modal.msgSuccess("邀请成功");
|
|
|
|
this.$modal.msgSuccess("邀请成功");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
activityGet(this.e).then((res) => {
|
|
|
|
activityGet(this.e).then((res) => {
|
|
|
|
this.detailData = res.data;
|
|
|
|
this.detailData = res.data;
|
|
|
|
for (let key1 in this.personParams) {
|
|
|
|
for (let key1 in this.personParams) {
|
|
|
|
for (let key2 in this.detailData) {
|
|
|
|
for (let key2 in this.detailData) {
|
|
|
|
if (key1 == key2) {
|
|
|
|
if (key1 == key2) {
|
|
|
|
this.personParams[key1] = this.detailData[key2];
|
|
|
|
this.personParams[key1] = this.detailData[key2];
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
this.detailDatalist = this.labelgenerate(this.detailData);
|
|
|
|
}
|
|
|
|
if (this.personParams.sexRange == "") {
|
|
|
|
this.detailDatalist = this.labelgenerate(this.detailData);
|
|
|
|
this.personParams.sexRange = "男,女";
|
|
|
|
if (this.personParams.sexRange == "") {
|
|
|
|
}
|
|
|
|
this.personParams.sexRange = "男,女";
|
|
|
|
this.participationParams.activityId = this.detailData.id;
|
|
|
|
}
|
|
|
|
this.getPersonData();
|
|
|
|
this.participationParams.activityId = this.detailData.id;
|
|
|
|
this.getParticipationData();
|
|
|
|
this.getPersonData();
|
|
|
|
this.dialogVisible = true;
|
|
|
|
this.getParticipationData();
|
|
|
|
});
|
|
|
|
this.dialogVisible = true;
|
|
|
|
}
|
|
|
|
});
|
|
|
|
);
|
|
|
|
});
|
|
|
|
})
|
|
|
|
})
|
|
|
|
.catch(() => {});
|
|
|
|
.catch(() => {});
|
|
|
|
},
|
|
|
|
},
|
|
|
|