mirror of
https://github.com/FatttSnake/Pinnacle-OA.git
synced 2026-04-05 23:11:24 +08:00
Fixed gutter warning. Added department row in StaffManagement
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<el-row gutter="15">
|
<el-row :gutter="15">
|
||||||
<el-col :span="-1">
|
<el-col :span="-1">
|
||||||
<el-button
|
<el-button
|
||||||
bg
|
bg
|
||||||
@@ -41,7 +41,7 @@
|
|||||||
</template>
|
</template>
|
||||||
</el-input>
|
</el-input>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col span="-1">
|
<el-col :span="-1">
|
||||||
<el-button type="primary" @click="handleQuery">查询</el-button>
|
<el-button type="primary" @click="handleQuery">查询</el-button>
|
||||||
<el-button @click="handleClear">清空</el-button>
|
<el-button @click="handleClear">清空</el-button>
|
||||||
</el-col>
|
</el-col>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<el-row gutter="15">
|
<el-row :gutter="15">
|
||||||
<el-col :span="-1">
|
<el-col :span="-1">
|
||||||
<el-button
|
<el-button
|
||||||
bg
|
bg
|
||||||
@@ -56,7 +56,7 @@
|
|||||||
/>
|
/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col span="-1">
|
<el-col :span="-1">
|
||||||
<el-button type="primary" @click="handleQuery">查询</el-button>
|
<el-button type="primary" @click="handleQuery">查询</el-button>
|
||||||
<el-button @click="handleClear">清空</el-button>
|
<el-button @click="handleClear">清空</el-button>
|
||||||
</el-col>
|
</el-col>
|
||||||
@@ -68,8 +68,8 @@
|
|||||||
element-loading-text="Loading..."
|
element-loading-text="Loading..."
|
||||||
style="margin-top: 10px"
|
style="margin-top: 10px"
|
||||||
>
|
>
|
||||||
<el-table-column prop="username" label="用户名" width="120" align="center" />
|
<el-table-column prop="username" label="用户名" width="120" align="center" fixed="left" />
|
||||||
<el-table-column label="姓名" align="center" width="120">
|
<el-table-column label="姓名" align="center" width="120" fixed="left">
|
||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
{{
|
{{
|
||||||
scope.row.staff !== null
|
scope.row.staff !== null
|
||||||
@@ -80,10 +80,17 @@
|
|||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="性别" align="center" :formatter="genderFormatter" width="60" />
|
<el-table-column label="性别" align="center" :formatter="genderFormatter" width="60" />
|
||||||
<el-table-column prop="staff.birth" label="生日" align="center" width="110" />
|
<el-table-column prop="staff.birth" label="生日" align="center" width="110" />
|
||||||
<el-table-column prop="staff.email" label="邮箱" align="center" width="140" />
|
<el-table-column prop="staff.email" label="邮箱" align="center" width="160" />
|
||||||
<el-table-column prop="staff.tel" label="手机" align="center" width="140" />
|
<el-table-column prop="staff.tel" label="手机" align="center" width="160" />
|
||||||
<el-table-column prop="staff.address" label="地址" />
|
<el-table-column prop="staff.address" label="地址" min-width="200" />
|
||||||
<el-table-column label="操作" width="80" align="center">
|
<el-table-column
|
||||||
|
prop="department.name"
|
||||||
|
label="部门"
|
||||||
|
align="center"
|
||||||
|
fixed="right"
|
||||||
|
width="100"
|
||||||
|
/>
|
||||||
|
<el-table-column label="操作" width="80" align="center" fixed="right">
|
||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
<el-button size="small" @click="handleEdit(scope.row)">编辑</el-button>
|
<el-button size="small" @click="handleEdit(scope.row)">编辑</el-button>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
Reference in New Issue
Block a user