|
@@ -79,7 +79,7 @@
|
|
|
<el-table-column prop="invitationCode" label="邀请码">
|
|
<el-table-column prop="invitationCode" label="邀请码">
|
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
|
<span style="color: #4f9dec;cursor: pointer;"
|
|
<span style="color: #4f9dec;cursor: pointer;"
|
|
|
- @click="onChangeShow(scope.row.invitationCode,scope.row.userId)">{{ scope.row.invitationCode }}</span>
|
|
|
|
|
|
|
+ @click="onChangeShow(scope.row.invitationCode,scope.row.userId,scope.row.userName)">{{ scope.row.invitationCode }}</span>
|
|
|
</template>
|
|
</template>
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
<el-table-column label="邀请人邀请码">
|
|
<el-table-column label="邀请人邀请码">
|
|
@@ -663,10 +663,11 @@
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
|
// 显示拉人头
|
|
// 显示拉人头
|
|
|
- onChangeShow(code, id) {
|
|
|
|
|
|
|
+ onChangeShow(code, id, userName) {
|
|
|
this.isShow = true
|
|
this.isShow = true
|
|
|
this.invitationCode = code
|
|
this.invitationCode = code
|
|
|
this.invitationUserId = id
|
|
this.invitationUserId = id
|
|
|
|
|
+ this.userName = userName
|
|
|
this.getDataSource()
|
|
this.getDataSource()
|
|
|
},
|
|
},
|
|
|
getDataSource(page = 1) {
|
|
getDataSource(page = 1) {
|
|
@@ -727,7 +728,7 @@
|
|
|
if(res.data.code == 500){
|
|
if(res.data.code == 500){
|
|
|
this.$message.error(res.data.msg)
|
|
this.$message.error(res.data.msg)
|
|
|
}
|
|
}
|
|
|
- this.base64ToFileDownload(res.data.data.image, '邀请码', 'png')
|
|
|
|
|
|
|
+ this.base64ToFileDownload(res.data.data.image, this.userName, 'png')
|
|
|
})
|
|
})
|
|
|
},
|
|
},
|
|
|
|
|
|