|
@@ -12,36 +12,28 @@
|
|
|
@get-table-data="onSearchCommit"
|
|
@get-table-data="onSearchCommit"
|
|
|
@reset-form="onResetForm"
|
|
@reset-form="onResetForm"
|
|
|
/>
|
|
/>
|
|
|
- <el-card shadow="never">
|
|
|
|
|
- <template #header>
|
|
|
|
|
- <el-space align="center">
|
|
|
|
|
- <el-button type="primary" @click="openAddSingleDrawer" v-permission="PERM_USER.ACCOUNT_MANAGE">
|
|
|
|
|
- <template #icon>
|
|
|
|
|
- <el-icon>
|
|
|
|
|
- <Plus />
|
|
|
|
|
- </el-icon>
|
|
|
|
|
- </template>
|
|
|
|
|
- 添加用户
|
|
|
|
|
- </el-button>
|
|
|
|
|
-
|
|
|
|
|
- <el-button
|
|
|
|
|
- color="#1890FF"
|
|
|
|
|
- @click="openAddMultipleDrawer"
|
|
|
|
|
- style="margin-left: 18px"
|
|
|
|
|
- plain
|
|
|
|
|
- v-permission="PERM_USER.ACCOUNT_MANAGE"
|
|
|
|
|
- >
|
|
|
|
|
- <template #icon>
|
|
|
|
|
- <el-icon>
|
|
|
|
|
- <DocumentAdd />
|
|
|
|
|
- </el-icon>
|
|
|
|
|
- </template>
|
|
|
|
|
- 批量导入
|
|
|
|
|
- </el-button>
|
|
|
|
|
- </el-space>
|
|
|
|
|
- </template>
|
|
|
|
|
-
|
|
|
|
|
- <el-table :data="userList" row-key="id">
|
|
|
|
|
|
|
+ <div class="content-wrapper">
|
|
|
|
|
+ <div v-permission="PERM_USER.ACCOUNT_MANAGE">
|
|
|
|
|
+ <el-button type="primary" @click="openAddSingleDrawer">
|
|
|
|
|
+ <template #icon>
|
|
|
|
|
+ <el-icon>
|
|
|
|
|
+ <Plus />
|
|
|
|
|
+ </el-icon>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ 添加用户
|
|
|
|
|
+ </el-button>
|
|
|
|
|
+
|
|
|
|
|
+ <el-button color="#1890FF" @click="openAddMultipleDrawer" style="margin-left: 18px" plain>
|
|
|
|
|
+ <template #icon>
|
|
|
|
|
+ <el-icon>
|
|
|
|
|
+ <DocumentAdd />
|
|
|
|
|
+ </el-icon>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ 批量导入
|
|
|
|
|
+ </el-button>
|
|
|
|
|
+ </div>
|
|
|
|
|
+
|
|
|
|
|
+ <el-table :data="userList" row-key="id" style="margin-top: 10px">
|
|
|
<el-table-column label="工号" prop="staffNo">
|
|
<el-table-column label="工号" prop="staffNo">
|
|
|
<template #default="scope">
|
|
<template #default="scope">
|
|
|
<div>
|
|
<div>
|
|
@@ -138,7 +130,8 @@
|
|
|
@change="loadPageData"
|
|
@change="loadPageData"
|
|
|
/>
|
|
/>
|
|
|
</section>
|
|
</section>
|
|
|
- </el-card>
|
|
|
|
|
|
|
+ </div>
|
|
|
|
|
+
|
|
|
<CreateDrawer
|
|
<CreateDrawer
|
|
|
ref="createDrawerRef"
|
|
ref="createDrawerRef"
|
|
|
:title="drawerTitle"
|
|
:title="drawerTitle"
|
|
@@ -356,6 +349,11 @@
|
|
|
background-color: #ffffff;
|
|
background-color: #ffffff;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ .content-wrapper {
|
|
|
|
|
+ padding: 20px;
|
|
|
|
|
+ padding-top: 0;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
.user-list {
|
|
.user-list {
|
|
|
padding: 0 21px;
|
|
padding: 0 21px;
|
|
|
}
|
|
}
|