|
@@ -18,10 +18,7 @@
|
|
|
<template #createTime="{ record }">
|
|
<template #createTime="{ record }">
|
|
|
<Time :value="record.createTime" mode="datetime" />
|
|
<Time :value="record.createTime" mode="datetime" />
|
|
|
</template>
|
|
</template>
|
|
|
- <!-- {
|
|
|
|
|
- label: t('routes.staff.setpaswd'),
|
|
|
|
|
- onClick: handleOpenModal.bind(null, record),
|
|
|
|
|
- }, -->
|
|
|
|
|
|
|
+ <!-- , -->
|
|
|
<template #action="{ record }">
|
|
<template #action="{ record }">
|
|
|
<TableAction
|
|
<TableAction
|
|
|
:actions="[
|
|
:actions="[
|
|
@@ -31,6 +28,12 @@
|
|
|
onClick: handleEdit.bind(null, record),
|
|
onClick: handleEdit.bind(null, record),
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
|
|
+ icon: 'typcn:lock-closed',
|
|
|
|
|
+ color: 'warning',
|
|
|
|
|
+ label: t('routes.staff.setpaswd'),
|
|
|
|
|
+ onClick: handleOpenModal.bind(null, record),
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
label: '删除',
|
|
label: '删除',
|
|
|
color: 'error',
|
|
color: 'error',
|
|
|
icon: 'ant-design:delete-outlined',
|
|
icon: 'ant-design:delete-outlined',
|
|
@@ -128,7 +131,7 @@
|
|
|
dataIndex: '',
|
|
dataIndex: '',
|
|
|
slots: { customRender: 'action' },
|
|
slots: { customRender: 'action' },
|
|
|
fixed: 'right',
|
|
fixed: 'right',
|
|
|
- width: 140,
|
|
|
|
|
|
|
+ width: 180,
|
|
|
},
|
|
},
|
|
|
];
|
|
];
|
|
|
|
|
|