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