增加部门、用户、角色、日志按钮权限配置

This commit is contained in:
龙运模
2024-07-24 10:38:45 +08:00
parent c58386c1e4
commit babaf8f430
9 changed files with 75 additions and 24 deletions
+1 -1
View File
@@ -10,7 +10,7 @@
>
<template #reference>
<slot></slot>
<!-- <el-button :size="size" v-auths="['organizationExport','userExport']" icon="sc-icon-Download" @click="exportClick">下载</el-button>-->
<!--<el-button :size="size" v-auths="['organizationExport','userExport']" icon="sc-icon-Download" @click="exportClick">下载</el-button>-->
</template>
<template #default>
<div v-for="item in list" :key="item">
+4 -3
View File
@@ -1,5 +1,6 @@
<template>
<el-button v-auths="['organizationImport','userImport']" type="primary" :size="size" plain @click="importFile">批量导入</el-button>
<slot name="header"></slot>
<!--<el-button v-auths="['organizationImport','userImport']" type="primary" :size="size" plain @click="importFile">批量导入</el-button>-->
<el-dialog v-bind="$attrs" :title="title" v-model="visible" :width="560" destroy-on-close draggable @closed="visible=false">
<div class="importBody">
@@ -35,10 +36,10 @@
<template #tip>
<div class="el-upload__tip">
<span class="tip">
<!-- 如果数据导入中途业务出错,请不要刷新页面,修改后继续点击导入-->
<!--如果数据导入中途业务出错,请不要刷新页面,修改后继续点击导入-->
</span>
<span class="btn">
<slot></slot>
<slot name="download"></slot>
</span>
</div>
<div class="importBox" v-if="progressShow">