Commit c7924e04ba9499f440b3d3cabe7ddbea8550afb9
1 parent
efb22b25
style: dept
Showing
1 changed file
with
21 additions
and
6 deletions
yudao-ui-admin-vue3/src/views/system/dept/index.vue
| @@ -133,14 +133,29 @@ onMounted(async () => { | @@ -133,14 +133,29 @@ onMounted(async () => { | ||
| 133 | <span class="custom-tree-node"> | 133 | <span class="custom-tree-node"> |
| 134 | <span>{{ node.label }}</span> | 134 | <span>{{ node.label }}</span> |
| 135 | <span> | 135 | <span> |
| 136 | - <el-button link v-hasPermi="['system:dept:create']" @click="handleAdd(data)"> | ||
| 137 | - <Icon icon="ep:plus" class="mr-1px" /> | 136 | + <el-button |
| 137 | + link | ||
| 138 | + type="primary" | ||
| 139 | + v-hasPermi="['system:dept:create']" | ||
| 140 | + @click="handleAdd(data)" | ||
| 141 | + > | ||
| 142 | + <Icon icon="ep:zoom-in" class="mr-5px" /> {{ t('action.add') }} | ||
| 138 | </el-button> | 143 | </el-button> |
| 139 | - <el-button link v-hasPermi="['system:dept:update']" @click="handleUpdate(data)"> | ||
| 140 | - <Icon icon="ep:edit" class="mr-1px" /> | 144 | + <el-button |
| 145 | + link | ||
| 146 | + type="primary" | ||
| 147 | + v-hasPermi="['system:dept:update']" | ||
| 148 | + @click="handleUpdate(data)" | ||
| 149 | + > | ||
| 150 | + <Icon icon="ep:edit" class="mr-1px" /> {{ t('action.edit') }} | ||
| 141 | </el-button> | 151 | </el-button> |
| 142 | - <el-button link v-hasPermi="['system:dept:delete']" @click="handleDelete(data)"> | ||
| 143 | - <Icon icon="ep:delete" class="mr-1px" /> | 152 | + <el-button |
| 153 | + link | ||
| 154 | + type="primary" | ||
| 155 | + v-hasPermi="['system:dept:delete']" | ||
| 156 | + @click="handleDelete(data)" | ||
| 157 | + > | ||
| 158 | + <Icon icon="ep:delete" class="mr-1px" /> {{ t('action.del') }} | ||
| 144 | </el-button> | 159 | </el-button> |
| 145 | </span> | 160 | </span> |
| 146 | </span> | 161 | </span> |