|
|
@ -269,11 +269,6 @@ |
|
|
|
<!-- </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.spread2 ? row.spread2.nickname + ' / ' + row.spread2.uid : '-' }}</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> |
|
|
@ -312,7 +307,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> |
|
|
@ -577,10 +572,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 |
|
|
|
uid: this.uid2 |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
userLstApi12(dd,this.uid2.uid).then(res => { |
|
|
|
userLstApi12(dd).then(res => { |
|
|
|
this.dialogVisible = false // 关闭对话框 |
|
|
|
this.dialogVisible = false // 关闭对话框 |
|
|
|
this.$message.success('成功') |
|
|
|
this.$message.success('成功') |
|
|
|
}).catch(res => { |
|
|
|
}).catch(res => { |
|
|
@ -833,7 +828,7 @@ export default { |
|
|
|
}, |
|
|
|
}, |
|
|
|
wmc(value) { |
|
|
|
wmc(value) { |
|
|
|
this.dialogVisible = true |
|
|
|
this.dialogVisible = true |
|
|
|
this.uid2 = value |
|
|
|
this.uid2 = val |
|
|
|
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 |
|
|
@ -857,7 +852,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('') |
|
|
|