|
@@ -90,27 +90,28 @@
|
90
|
90
|
</el-table-column>
|
91
|
91
|
<el-table-column
|
92
|
92
|
prop="CreateDate"
|
93
|
|
- label="创建时间"
|
94
|
|
- width="">
|
|
93
|
+ label="创建时间">
|
95
|
94
|
</el-table-column>
|
96
|
|
- <el-table-column label="操作" fixed='right' width="350">
|
|
95
|
+ <el-table-column label="操作" fixed='right' width="200">
|
97
|
96
|
<template slot-scope="scope">
|
98
|
|
- <el-button
|
|
97
|
+ <div style="width: 100%" class="btnBox">
|
|
98
|
+ <el-button
|
|
99
|
+ size="mini"
|
|
100
|
+ type="warning"
|
|
101
|
+ @click="handleEdit(scope.$index, scope.row)">编辑</el-button>
|
|
102
|
+ <el-button
|
|
103
|
+ size="mini"
|
|
104
|
+ type="danger"
|
|
105
|
+ @click="handleDelete(scope.$index, scope.row)">删除</el-button>
|
|
106
|
+ <el-button
|
99
|
107
|
size="mini"
|
100
|
|
- type="warning"
|
101
|
|
- @click="handleEdit(scope.$index, scope.row)">编辑</el-button>
|
102
|
|
- <el-button
|
|
108
|
+ type="success"
|
|
109
|
+ @click="handleBind(scope.$index, scope.row)">绑定角色</el-button>
|
|
110
|
+ <el-button
|
103
|
111
|
size="mini"
|
104
|
|
- type="danger"
|
105
|
|
- @click="handleDelete(scope.$index, scope.row)">删除</el-button>
|
106
|
|
- <el-button
|
107
|
|
- size="mini"
|
108
|
|
- type="success"
|
109
|
|
- @click="handleBind(scope.$index, scope.row)">绑定角色</el-button>
|
110
|
|
- <el-button
|
111
|
|
- size="mini"
|
112
|
|
- type="primary"
|
113
|
|
- @click="resetPasswd(scope.$index, scope.row)">重置密码</el-button>
|
|
112
|
+ type="primary"
|
|
113
|
+ @click="resetPasswd(scope.$index, scope.row)">重置密码</el-button>
|
|
114
|
+ </div>
|
114
|
115
|
</template>
|
115
|
116
|
</el-table-column>
|
116
|
117
|
</el-table>
|
|
@@ -385,4 +386,9 @@ export default {
|
385
|
386
|
|
386
|
387
|
<!-- Add "scoped" attribute to limit CSS to this component only -->
|
387
|
388
|
<style lang="scss" scoped>
|
|
389
|
+.btnBox{
|
|
390
|
+ >*{
|
|
391
|
+ margin-bottom: 10px;
|
|
392
|
+ }
|
|
393
|
+}
|
388
|
394
|
</style>
|