File tree Expand file tree Collapse file tree 7 files changed +15
-15
lines changed
server/resource/template/fe Expand file tree Collapse file tree 7 files changed +15
-15
lines changed Original file line number Diff line number Diff line change 41
41
<el-button size =" mini" type =" text" @click =" scope.row.visible = false" >取消</el-button >
42
42
<el-button type =" primary" size =" mini" @click =" delete{ { .StructName} } (scope.row)" >确定</el-button >
43
43
</div >
44
- <el-button type =" text " size =" mini" slot =" reference" >删除</el-button >
44
+ <el-button type =" danger " icon = " el-icon-delete " size =" mini" slot =" reference" >删除</el-button >
45
45
</el-popover >
46
46
</template >
47
47
</el-table-column >
Original file line number Diff line number Diff line change 31
31
<el-button size =" mini" type =" text" @click =" scope.row.visible = false" >取消</el-button >
32
32
<el-button type =" primary" size =" mini" @click =" deleteCustomer(scope.row)" >确定</el-button >
33
33
</div >
34
- <el-button type =" text " size =" mini" slot =" reference" >删除</el-button >
34
+ <el-button type =" danger " icon = " el-icon-delete " size =" mini" slot =" reference" >删除</el-button >
35
35
</el-popover >
36
36
</template >
37
37
</el-table-column >
Original file line number Diff line number Diff line change 51
51
52
52
<el-table-column fixed =" right" label =" 操作" width =" 200" >
53
53
<template slot-scope="scope">
54
- <el-button @click =" editApi(scope.row)" size =" small" type =" text " >编辑</el-button >
55
- <el-button @click =" deleteApi(scope.row)" size =" small" type =" text " >删除</el-button >
54
+ <el-button @click =" editApi(scope.row)" size =" small" type =" primary " icon = " el-icon-edit " >编辑</el-button >
55
+ <el-button @click =" deleteApi(scope.row)" size =" small" type =" danger " icon = " el-icon-delete " >删除</el-button >
56
56
</template >
57
57
</el-table-column >
58
58
</el-table >
Original file line number Diff line number Diff line change 15
15
<el-table-column label =" 角色名称" min-width =" 180" prop =" authorityName" ></el-table-column >
16
16
<el-table-column fixed =" right" label =" 操作" width =" 460" >
17
17
<template slot-scope="scope">
18
- <el-button @click =" opdendrawer(scope.row)" size =" small" type =" text " >设置权限</el-button >
19
- <el-button @click =" addAuthority(scope.row.authorityId)" size =" small" type =" text " >新增子角色</el-button >
20
- <el-button @click =" copyAuthority(scope.row)" size =" small" type =" text " >拷贝角色 </el-button >
21
- <el-button @click =" editAuthority(scope.row)" size =" small" type =" text " >编辑角色 </el-button >
22
- <el-button @click =" deleteAuth(scope.row)" size =" small" type =" text " >删除角色 </el-button >
18
+ <el-button @click =" opdendrawer(scope.row)" size =" small" type =" primary " >设置权限</el-button >
19
+ <el-button @click =" addAuthority(scope.row.authorityId)" size =" small" type =" primary " icon = " el-icon-plus " >新增子角色</el-button >
20
+ <el-button @click =" copyAuthority(scope.row)" size =" small" type =" primary " icon = " el-icon-copy-document " >拷贝 </el-button >
21
+ <el-button @click =" editAuthority(scope.row)" size =" small" type =" primary " icon = " el-icon-edit " >编辑 </el-button >
22
+ <el-button @click =" deleteAuth(scope.row)" size =" small" type =" danger " icon = " el-icon-delete " >删除 </el-button >
23
23
24
24
</template >
25
25
</el-table-column >
Original file line number Diff line number Diff line change 30
30
</el-table-column >
31
31
<el-table-column fixed =" right" label =" 操作" width =" 300" >
32
32
<template slot-scope="scope">
33
- <el-button @click =" deleteMenu (scope.row.ID)" size =" small" type =" text " >删除菜单 </el-button >
34
- <el-button @click =" editMenu(scope.row.ID)" size =" small" type =" text " >编辑菜单 </el-button >
35
- <el-button @click =" addMenu (scope.row.ID)" size =" small" type =" text " >添加子菜单 </el-button >
33
+ <el-button @click =" addMenu (scope.row.ID)" size =" small" type =" primary " icon = " el-icon-edit " >添加子菜单 </el-button >
34
+ <el-button @click =" editMenu(scope.row.ID)" size =" small" type =" primary " icon = " el-icon-edit " >编辑 </el-button >
35
+ <el-button @click =" deleteMenu (scope.row.ID)" size =" small" type =" danger " icon = " el-icon-delete " >删除 </el-button >
36
36
</template >
37
37
</el-table-column >
38
38
</el-table >
Original file line number Diff line number Diff line change 34
34
<el-button size =" mini" type =" text" @click =" scope.row.visible = false" >取消</el-button >
35
35
<el-button type =" primary" size =" mini" @click =" deleteUser(scope.row)" >确定</el-button >
36
36
</div >
37
- <el-button type =" text " size =" small" slot =" reference" >删除</el-button >
37
+ <el-button type =" danger " icon = " el-icon-delete " size =" small" slot =" reference" >删除</el-button >
38
38
</el-popover >
39
39
</template >
40
40
</el-table-column >
Original file line number Diff line number Diff line change 41
41
</el-table-column >
42
42
<el-table-column label =" 操作" width =" 250" >
43
43
<template slot-scope="scope">
44
- <el-button size =" mini" type =" text " @click =" editAndAddField(scope.row)" >编辑</el-button >
44
+ <el-button size =" mini" type =" primary " icon = " el-icon-edit " @click =" editAndAddField(scope.row)" >编辑</el-button >
45
45
<el-button size =" mini" type =" text" :disabled =" scope.$index == 0" @click =" moveUpField(scope.$index)" >上移</el-button >
46
46
<el-button size =" mini" type =" text" :disabled =" (scope.$index + 1) == form.fields.length" @click =" moveDownField(scope.$index)" >下移</el-button >
47
47
<el-popover placement =" top" v-model =" scope.row.visible" >
50
50
<el-button size =" mini" type =" text" @click =" scope.row.visible = false" >取消</el-button >
51
51
<el-button type =" primary" size =" mini" @click =" deleteField(scope.$index)" >确定</el-button >
52
52
</div >
53
- <el-button size =" mini" type =" text " slot =" reference" >删除</el-button >
53
+ <el-button size =" mini" type =" danger " icon = " el-icon-delete " slot =" reference" >删除</el-button >
54
54
</el-popover >
55
55
</template >
56
56
</el-table-column >
You can’t perform that action at this time.
0 commit comments