style: dept

This commit is contained in:
xingyu 2022-08-02 12:10:48 +08:00
parent efb22b2552
commit c7924e04ba

View File

@ -133,14 +133,29 @@ onMounted(async () => {
<span class="custom-tree-node"> <span class="custom-tree-node">
<span>{{ node.label }}</span> <span>{{ node.label }}</span>
<span> <span>
<el-button link v-hasPermi="['system:dept:create']" @click="handleAdd(data)"> <el-button
<Icon icon="ep:plus" class="mr-1px" /> link
type="primary"
v-hasPermi="['system:dept:create']"
@click="handleAdd(data)"
>
<Icon icon="ep:zoom-in" class="mr-5px" /> {{ t('action.add') }}
</el-button> </el-button>
<el-button link v-hasPermi="['system:dept:update']" @click="handleUpdate(data)"> <el-button
<Icon icon="ep:edit" class="mr-1px" /> link
type="primary"
v-hasPermi="['system:dept:update']"
@click="handleUpdate(data)"
>
<Icon icon="ep:edit" class="mr-1px" /> {{ t('action.edit') }}
</el-button> </el-button>
<el-button link v-hasPermi="['system:dept:delete']" @click="handleDelete(data)"> <el-button
<Icon icon="ep:delete" class="mr-1px" /> link
type="primary"
v-hasPermi="['system:dept:delete']"
@click="handleDelete(data)"
>
<Icon icon="ep:delete" class="mr-1px" /> {{ t('action.del') }}
</el-button> </el-button>
</span> </span>
</span> </span>