Commit a236f560 authored by 曹泽华's avatar 曹泽华

数仓规划 落地检核

parent 5c4d77cb
......@@ -30,15 +30,9 @@
onClick: handleEdit.bind(null, record),
},
{
icon: 'ion:ellipsis-horizontal-outline',
popConfirm: {
title: '请选择',
okText: '下移',
cancelText: '上移',
placement: 'bottom',
confirm: handleUp.bind(null, record),
cancel: handleDown.bind(null, record),
},
icon: 'ant-design:delete-outlined',
// label: '删除',
onClick: handleDelete.bind(null, record),
},
]"
/>
......@@ -129,6 +123,7 @@ const [
autoSubmitOnEnter: true,
},
useSearchForm: true,
showIndexColumn: false,
showTableSetting: false,
bordered: true,
handleSearchInfoFn(info) {
......@@ -222,14 +217,8 @@ function handleSelect(modelId = '') {
/** 移动按钮*/
function handleMove(record: Recordable) {
createMessage.success('删除成功!');
}
function handleUp() {
createMessage.success('下移成功!');
}
function handleDown() {
createMessage.success('上移成功!');
}
/** 编辑按钮*/
function handleEdit(record: Recordable) {
openModal(true, {
......@@ -243,9 +232,9 @@ function handleDelete(record: Recordable) {
createConfirm({
iconType: 'warning',
title: '确认删除',
content: '确认批量删除选中数据吗?',
content: '确认删除选中数据吗?',
onOk() {
createMessage.success('批量删除成功!');
createMessage.success('删除成功!');
},
});
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment