|
|
|
@ -30,7 +30,7 @@ |
|
|
|
|
</template> |
|
|
|
|
<!--操作栏--> |
|
|
|
|
<template #action="{ record }"> |
|
|
|
|
<TableAction :actions="getTableAction(record)" :dropDownActions="getDropDownAction(record)"/> |
|
|
|
|
<TableAction :actions="getTableAction(record)" /> |
|
|
|
|
</template> |
|
|
|
|
<!--字段回显插槽--> |
|
|
|
|
<template #htmlSlot="{text}"> |
|
|
|
@ -155,13 +155,24 @@ |
|
|
|
|
label: '编辑', |
|
|
|
|
onClick: handleEdit.bind(null, record), |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
label: '删除', |
|
|
|
|
popConfirm: { |
|
|
|
|
title: '是否确认删除', |
|
|
|
|
confirm: handleDelete.bind(null, record), |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
label: '详情', |
|
|
|
|
onClick: handleDetail.bind(null, record), |
|
|
|
|
} |
|
|
|
|
]; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 下拉操作栏 |
|
|
|
|
*/ |
|
|
|
|
function getDropDownAction(record) { |
|
|
|
|
/* function getDropDownAction(record) { |
|
|
|
|
return [ |
|
|
|
|
{ |
|
|
|
|
label: '详情', |
|
|
|
@ -174,7 +185,7 @@ |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
] |
|
|
|
|
} |
|
|
|
|
}*/ |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 查询 |
|
|
|
|