|
|
|
@ -69,7 +69,7 @@
|
|
|
|
|
:style="`background-image:url('${require('../../../../assets/images/profile.jpg')}')`"
|
|
|
|
|
></div>
|
|
|
|
|
<div class="leftName">
|
|
|
|
|
<div>{{ item.id }}</div>
|
|
|
|
|
<div>{{ item.nickName }}</div>
|
|
|
|
|
<div class="mainTag">
|
|
|
|
|
<div
|
|
|
|
|
v-show="item != ''"
|
|
|
|
@ -84,11 +84,18 @@
|
|
|
|
|
<div class="rightSub">
|
|
|
|
|
<div class="numPercen">
|
|
|
|
|
<span>匹配度:</span>
|
|
|
|
|
<span>1%</span>
|
|
|
|
|
<span>{{ item.degreeOfMatch }}%</span>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="itemBtn">
|
|
|
|
|
<div class="itemBtn" style="justify-content: center">
|
|
|
|
|
<div class="look" @click="looks1(item.id)">查看</div>
|
|
|
|
|
<div class="looks" @click="invite(item)">邀请</div>
|
|
|
|
|
<div
|
|
|
|
|
class="looks"
|
|
|
|
|
style="margin:0 0 0 10px"
|
|
|
|
|
@click="invite(item)"
|
|
|
|
|
v-if="detailData.status == 1 && item.status == 0"
|
|
|
|
|
>
|
|
|
|
|
邀请
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
@ -124,9 +131,9 @@
|
|
|
|
|
:style="`background-image:url('${require('../../../../assets/images/profile.jpg')}')`"
|
|
|
|
|
></div>
|
|
|
|
|
<div class="leftName">
|
|
|
|
|
<div>周爱</div>
|
|
|
|
|
<div>{{ item.nickName }}</div>
|
|
|
|
|
<div class="mainTag">
|
|
|
|
|
<div
|
|
|
|
|
<div
|
|
|
|
|
v-show="item != ''"
|
|
|
|
|
v-for="(item, index) in item.arrlist"
|
|
|
|
|
:key="index"
|
|
|
|
@ -139,7 +146,7 @@
|
|
|
|
|
<div class="rightSub">
|
|
|
|
|
<div class="numPercen">
|
|
|
|
|
<span>匹配度:</span>
|
|
|
|
|
<span>99%</span>
|
|
|
|
|
<span>{{ item.degreeOfMatch }}%</span>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="itemBtn" style="justify-content: center">
|
|
|
|
|
<div class="look" @click="looks2(item)">查看</div>
|
|
|
|
@ -169,7 +176,7 @@
|
|
|
|
|
:destroy-on-close="true"
|
|
|
|
|
>
|
|
|
|
|
<div slot="title">
|
|
|
|
|
<div class="titleText">查看人员详情12</div>
|
|
|
|
|
<div class="titleText">查看人员详情</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="center-content">
|
|
|
|
|
<el-descriptions class="margin-top" :column="2" border>
|
|
|
|
@ -290,12 +297,15 @@ export default {
|
|
|
|
|
"schoolRange",
|
|
|
|
|
"nationalityRange",
|
|
|
|
|
],
|
|
|
|
|
e: {},
|
|
|
|
|
};
|
|
|
|
|
},
|
|
|
|
|
props: {},
|
|
|
|
|
created() {},
|
|
|
|
|
methods: {
|
|
|
|
|
open(e) {
|
|
|
|
|
console.log(e);
|
|
|
|
|
this.e = e;
|
|
|
|
|
activityGet(e).then((res) => {
|
|
|
|
|
this.detailData = res.data;
|
|
|
|
|
for (let key1 in this.personParams) {
|
|
|
|
@ -337,31 +347,49 @@ export default {
|
|
|
|
|
getPersonData() {
|
|
|
|
|
//查看人员匹配度列表
|
|
|
|
|
this.load1 = true;
|
|
|
|
|
peopleList(this.personParams).then((res) => {
|
|
|
|
|
this.personList = res.rows;
|
|
|
|
|
if (this.personList.length > 0) {
|
|
|
|
|
this.personList.forEach((item) => {
|
|
|
|
|
item.arrlist = this.labelgenerate(item);
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
this.detailData;
|
|
|
|
|
this.personList = this.detailData.unregisteredUsers;
|
|
|
|
|
if (this.personList.length > 0) {
|
|
|
|
|
this.personList.forEach((item) => {
|
|
|
|
|
item.arrlist = this.labelgenerate(item);
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
this.load1 = false;
|
|
|
|
|
|
|
|
|
|
this.personTotal = res.total;
|
|
|
|
|
this.load1 = false;
|
|
|
|
|
});
|
|
|
|
|
// peopleList(this.personParams).then((res) => {
|
|
|
|
|
// this.personList = res.rows;
|
|
|
|
|
// if (this.personList.length > 0) {
|
|
|
|
|
// this.personList.forEach((item) => {
|
|
|
|
|
// item.arrlist = this.labelgenerate(item);
|
|
|
|
|
// });
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
// this.personTotal = res.total;
|
|
|
|
|
// this.load1 = false;
|
|
|
|
|
// });
|
|
|
|
|
},
|
|
|
|
|
getParticipationData() {
|
|
|
|
|
this.load2 = true;
|
|
|
|
|
//查看参与报名列表
|
|
|
|
|
canyuList(this.participationParams).then((res) => {
|
|
|
|
|
this.participationList = res.rows;
|
|
|
|
|
if (this.participationList.length > 0) {
|
|
|
|
|
this.participationList.forEach((item) => {
|
|
|
|
|
item.arrlist = this.labelgenerate(item);
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
this.participationTotal = res.total;
|
|
|
|
|
this.load2 = false;
|
|
|
|
|
});
|
|
|
|
|
this.detailData;
|
|
|
|
|
this.participationList = this.detailData.enrolledUsers;
|
|
|
|
|
if (this.participationList.length > 0) {
|
|
|
|
|
this.participationList.forEach((item) => {
|
|
|
|
|
item.arrlist = this.labelgenerate(item);
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
this.load2 = false;
|
|
|
|
|
|
|
|
|
|
// canyuList(this.participationParams).then((res) => {
|
|
|
|
|
// this.participationList = res.rows;
|
|
|
|
|
// if (this.participationList.length > 0) {
|
|
|
|
|
// this.participationList.forEach((item) => {
|
|
|
|
|
// item.arrlist = this.labelgenerate(item);
|
|
|
|
|
// });
|
|
|
|
|
// }
|
|
|
|
|
// this.participationTotal = res.total;
|
|
|
|
|
// this.load2 = false;
|
|
|
|
|
// });
|
|
|
|
|
},
|
|
|
|
|
//更改人员匹配度页码
|
|
|
|
|
changePersonSize(e) {
|
|
|
|
@ -400,9 +428,28 @@ export default {
|
|
|
|
|
this.$modal
|
|
|
|
|
.confirm("是否确认邀请该人参加活动?")
|
|
|
|
|
.then(() => {
|
|
|
|
|
yaoqingAdd({ activityId: this.detailData.id, uid: e.uid }).then(
|
|
|
|
|
yaoqingAdd(e.id).then(
|
|
|
|
|
() => {
|
|
|
|
|
this.$modal.msgSuccess("邀请成功");
|
|
|
|
|
|
|
|
|
|
activityGet(this.e).then((res) => {
|
|
|
|
|
this.detailData = res.data;
|
|
|
|
|
for (let key1 in this.personParams) {
|
|
|
|
|
for (let key2 in this.detailData) {
|
|
|
|
|
if (key1 == key2) {
|
|
|
|
|
this.personParams[key1] = this.detailData[key2];
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
this.detailDatalist = this.labelgenerate(this.detailData);
|
|
|
|
|
if (this.personParams.sexRange == "") {
|
|
|
|
|
this.personParams.sexRange = "男,女";
|
|
|
|
|
}
|
|
|
|
|
this.participationParams.activityId = this.detailData.id;
|
|
|
|
|
this.getPersonData();
|
|
|
|
|
this.getParticipationData();
|
|
|
|
|
this.dialogVisible = true;
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
);
|
|
|
|
|
})
|
|
|
|
|