|
|
@ -269,6 +269,11 @@ |
|
|
|
<!-- </template>--> |
|
|
|
<!-- </template>--> |
|
|
|
<!-- </el-table-column>--> |
|
|
|
<!-- </el-table-column>--> |
|
|
|
<el-table-column label="推荐人" min-width="140"> |
|
|
|
<el-table-column label="推荐人" min-width="140"> |
|
|
|
|
|
|
|
<template slot-scope="{row}"> |
|
|
|
|
|
|
|
<span>{{ row.spread_uid2 ? row.spread_uid2 : '-' }}</span> |
|
|
|
|
|
|
|
</template> |
|
|
|
|
|
|
|
</el-table-column> |
|
|
|
|
|
|
|
<el-table-column label="辅导员" min-width="140"> |
|
|
|
<template slot-scope="{row}"> |
|
|
|
<template slot-scope="{row}"> |
|
|
|
<span>{{ row.spread ? row.spread.nickname + ' / ' + row.spread.uid : '-' }}</span> |
|
|
|
<span>{{ row.spread ? row.spread.nickname + ' / ' + row.spread.uid : '-' }}</span> |
|
|
|
</template> |
|
|
|
</template> |
|
|
@ -307,7 +312,7 @@ |
|
|
|
<!-- </el-dropdown-item>--> |
|
|
|
<!-- </el-dropdown-item>--> |
|
|
|
<el-dropdown-item @click.native="wmc(scope.row)">设置用户合作方角色 |
|
|
|
<el-dropdown-item @click.native="wmc(scope.row)">设置用户合作方角色 |
|
|
|
</el-dropdown-item> |
|
|
|
</el-dropdown-item> |
|
|
|
<el-dropdown-item v-if="!scope.row.cancel_time" @click.native="setModify(scope.row)">修改推荐人 |
|
|
|
<el-dropdown-item v-if="!scope.row.cancel_time" @click.native="setModify(scope.row)">修改辅导员 |
|
|
|
</el-dropdown-item> |
|
|
|
</el-dropdown-item> |
|
|
|
<el-dropdown-item v-if="!scope.row.cancel_time" @click.native="setPassword(scope.row)">修改密码 |
|
|
|
<el-dropdown-item v-if="!scope.row.cancel_time" @click.native="setPassword(scope.row)">修改密码 |
|
|
|
</el-dropdown-item> |
|
|
|
</el-dropdown-item> |
|
|
@ -572,10 +577,10 @@ export default { |
|
|
|
handleTypeChange4(value) { |
|
|
|
handleTypeChange4(value) { |
|
|
|
var dd = { |
|
|
|
var dd = { |
|
|
|
user_role_id: this.sel, |
|
|
|
user_role_id: this.sel, |
|
|
|
uid: this.uid2 |
|
|
|
uid: this.uid2.uid |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
userLstApi12(dd).then(res => { |
|
|
|
userLstApi12(dd,this.uid2.uid).then(res => { |
|
|
|
this.dialogVisible = false // 关闭对话框 |
|
|
|
this.dialogVisible = false // 关闭对话框 |
|
|
|
this.$message.success('成功') |
|
|
|
this.$message.success('成功') |
|
|
|
}).catch(res => { |
|
|
|
}).catch(res => { |
|
|
@ -828,7 +833,7 @@ export default { |
|
|
|
}, |
|
|
|
}, |
|
|
|
wmc(value) { |
|
|
|
wmc(value) { |
|
|
|
this.dialogVisible = true |
|
|
|
this.dialogVisible = true |
|
|
|
this.uid2 = val |
|
|
|
this.uid2 = value |
|
|
|
userLstApi11(value.uid).then(res => { |
|
|
|
userLstApi11(value.uid).then(res => { |
|
|
|
this.ulist = res.data.option |
|
|
|
this.ulist = res.data.option |
|
|
|
this.sel = res.data.partner_id |
|
|
|
this.sel = res.data.partner_id |
|
|
@ -852,7 +857,7 @@ export default { |
|
|
|
giveMember(row) { |
|
|
|
giveMember(row) { |
|
|
|
this.$modalForm(giveMemberApi(row.uid)).then(() => this.getList('')) |
|
|
|
this.$modalForm(giveMemberApi(row.uid)).then(() => this.getList('')) |
|
|
|
}, |
|
|
|
}, |
|
|
|
// 修改推荐人 |
|
|
|
// 修改辅导员 |
|
|
|
setModify(row) { |
|
|
|
setModify(row) { |
|
|
|
this.$modalForm(modifyUserReferrer(row.uid)).then(({ message }) => { |
|
|
|
this.$modalForm(modifyUserReferrer(row.uid)).then(({ message }) => { |
|
|
|
this.getList('') |
|
|
|
this.getList('') |
|
|
|