This commit is contained in:
parent
bcd894e924
commit
2b93646863
|
|
@ -1,12 +1,8 @@
|
||||||
<template>
|
<template>
|
||||||
<basic-page-list :desc="desc" :options="pageOptions">
|
<basic-page-list :desc="desc" :options="pageOptions">
|
||||||
<template v-slot:column1="{row}">
|
<template v-slot:column1="{ row }">
|
||||||
|
<img v-if="row && row.avatar" :src="row.avatar" style="width: 100px;" />
|
||||||
<img v-if="row && row.avatar" :src="row.avatar" style="width: 100px;"/>
|
|
||||||
|
|
||||||
|
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
</basic-page-list>
|
</basic-page-list>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|
@ -144,7 +140,7 @@ export default {
|
||||||
|
|
||||||
// =============================== 表格列 自动生成 Start ===============================
|
// =============================== 表格列 自动生成 Start ===============================
|
||||||
|
|
||||||
{ slots: { default: 'column1' },title: '员工头像', width: 250 },
|
{ slots: { default: 'column1' }, title: '员工头像', width: 250 },
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -162,8 +158,8 @@ export default {
|
||||||
//{ field: 'department_id', sortable: true, title: '部门ID', width: 250 }, // 部门ID
|
//{ field: 'department_id', sortable: true, title: '部门ID', width: 250 }, // 部门ID
|
||||||
//{ field: 'process_id', sortable: true, title: '工序ID', width: 250 }, // 工序ID
|
//{ field: 'process_id', sortable: true, title: '工序ID', width: 250 }, // 工序ID
|
||||||
//{ field: 'process_scheme_id', sortable: true, title: '工序方案ID', width: 250 }, // 工序方案ID
|
//{ field: 'process_scheme_id', sortable: true, title: '工序方案ID', width: 250 }, // 工序方案ID
|
||||||
{ field: 'entry_date', sortable: true, title: '入职日期',formatter: 'formatDate', width: 250 }, // 入职日期
|
{ field: 'entry_date', sortable: true, title: '入职日期', formatter: 'formatDate', width: 250 }, // 入职日期
|
||||||
{ field: 'departure_date', sortable: true, title: '离职日期', formatter: 'formatDate',width: 250 }, // 离职日期
|
{ field: 'departure_date', sortable: true, title: '离职日期', formatter: 'formatDate', width: 250 }, // 离职日期
|
||||||
//{ field: 'is_piecework', sortable: true, title: '是否计件', width: 250 }, // 是否计件
|
//{ field: 'is_piecework', sortable: true, title: '是否计件', width: 250 }, // 是否计件
|
||||||
{ field: 'remark', sortable: true, title: '备注', width: 250 }, // 备注
|
{ field: 'remark', sortable: true, title: '备注', width: 250 }, // 备注
|
||||||
{ field: 'status', slots: { default: 'status' }, width: 80, sortable: true, title: '状态', showHeaderOverflow: true }, // 状态
|
{ field: 'status', slots: { default: 'status' }, width: 80, sortable: true, title: '状态', showHeaderOverflow: true }, // 状态
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue