Commit 7aa0cb63 authored by 徐一鸣's avatar 徐一鸣

分配角色样式优化

parent 9ae778c9
...@@ -17,17 +17,19 @@ ...@@ -17,17 +17,19 @@
</template> </template>
<div class="apass_table" slot="list"> <div class="apass_table" slot="list">
<el-table class="user_roles_table" :border="false" :data="roleData"> <el-table class="user_roles_table" :border="false" :data="roleData">
<el-table-column width="60" align="right"> <el-table-column width="50" align="right"></el-table-column>
<el-table-column>
<template slot="header">
<span style="margin-left: 25px;">角色</span>
</template>
<template slot-scope="scope"> <template slot-scope="scope">
<el-checkbox <el-checkbox
class="apass_checkbox"
v-model="scope.row.selected" v-model="scope.row.selected"
@change="updateRoles" @change="updateRoles"
></el-checkbox> >
</template> {{ scope.row.role_name }}
</el-table-column> </el-checkbox>
<el-table-column label="角色">
<template slot-scope="scope">
<span v-text="scope.row.role_name"></span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="说明"> <el-table-column label="说明">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment