|
@@ -1,8 +1,9 @@
|
|
|
<template>
|
|
|
<div class="user-manage">
|
|
|
- <div class="part-box part-box-filter part-box-flex">
|
|
|
+ <div class="part-box part-box-filter">
|
|
|
<el-form
|
|
|
ref="FilterForm"
|
|
|
+ class="filter-form"
|
|
|
label-position="left"
|
|
|
label-width="85px"
|
|
|
inline
|
|
@@ -27,37 +28,37 @@
|
|
|
>查询</el-button
|
|
|
>
|
|
|
</el-form-item>
|
|
|
+ <el-form-item>
|
|
|
+ <el-button
|
|
|
+ v-if="checkPrivilege('button', 'batchDelete')"
|
|
|
+ type="danger"
|
|
|
+ icon="el-icon-delete"
|
|
|
+ :loading="loading"
|
|
|
+ @click="batchDelete"
|
|
|
+ >批量删除</el-button
|
|
|
+ >
|
|
|
+ <el-button
|
|
|
+ v-if="checkPrivilege('button', 'export')"
|
|
|
+ type="success"
|
|
|
+ icon="el-icon-upload"
|
|
|
+ @click="toImportUser"
|
|
|
+ >导入用户</el-button
|
|
|
+ >
|
|
|
+ <el-button
|
|
|
+ v-if="checkPrivilege('button', 'export')"
|
|
|
+ type="primary"
|
|
|
+ @click="viewResult"
|
|
|
+ >导入结果</el-button
|
|
|
+ >
|
|
|
+ <el-button
|
|
|
+ v-if="checkPrivilege('button', 'add')"
|
|
|
+ type="primary"
|
|
|
+ icon="el-icon-circle-plus-outline"
|
|
|
+ @click="toAdd"
|
|
|
+ >新增用户</el-button
|
|
|
+ >
|
|
|
+ </el-form-item>
|
|
|
</el-form>
|
|
|
- <div class="part-box-action">
|
|
|
- <el-button
|
|
|
- v-if="checkPrivilege('button', 'batchDelete')"
|
|
|
- type="danger"
|
|
|
- icon="el-icon-delete"
|
|
|
- :loading="loading"
|
|
|
- @click="batchDelete"
|
|
|
- >批量删除</el-button
|
|
|
- >
|
|
|
- <el-button
|
|
|
- v-if="checkPrivilege('button', 'export')"
|
|
|
- type="success"
|
|
|
- icon="el-icon-upload"
|
|
|
- @click="toImportUser"
|
|
|
- >导入用户</el-button
|
|
|
- >
|
|
|
- <el-button
|
|
|
- v-if="checkPrivilege('button', 'export')"
|
|
|
- type="primary"
|
|
|
- @click="viewResult"
|
|
|
- >导入结果</el-button
|
|
|
- >
|
|
|
- <el-button
|
|
|
- v-if="checkPrivilege('button', 'add')"
|
|
|
- type="primary"
|
|
|
- icon="el-icon-circle-plus-outline"
|
|
|
- @click="toAdd"
|
|
|
- >新增用户</el-button
|
|
|
- >
|
|
|
- </div>
|
|
|
</div>
|
|
|
|
|
|
<div class="part-box part-box-pad">
|