|
|
@@ -45,6 +45,11 @@
|
|
|
>
|
|
|
<vxe-table-column field="id" title="ID" tooltip min-width="70"></vxe-table-column>
|
|
|
<vxe-table-column field="menu_name" tree-node title="按钮名称" min-width="200"></vxe-table-column>
|
|
|
+ <vxe-table-column field="icon" title="图标" min-width="200" align="center">
|
|
|
+ <template v-slot="{ row }">
|
|
|
+ <Icon class="icon" :type="row.icon" />
|
|
|
+ </template>
|
|
|
+ </vxe-table-column>
|
|
|
<vxe-table-column field="api_url" title="接口路径" min-width="150">
|
|
|
<template v-slot="{ row }">
|
|
|
<span>{{ row.methods ? '[' + row.methods + '] ' + row.api_url : row.api_url }}</span>
|
|
|
@@ -452,6 +457,9 @@ export default {
|
|
|
> .vxe-table--header-wrapper {
|
|
|
background: #fff !important;
|
|
|
}
|
|
|
+ .icon {
|
|
|
+ font-size: 20px;
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
.rule {
|