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

数仓规划 落地检核

parent 5c4d77cb
...@@ -30,15 +30,9 @@ ...@@ -30,15 +30,9 @@
onClick: handleEdit.bind(null, record), onClick: handleEdit.bind(null, record),
}, },
{ {
icon: 'ion:ellipsis-horizontal-outline', icon: 'ant-design:delete-outlined',
popConfirm: { // label: '删除',
title: '请选择', onClick: handleDelete.bind(null, record),
okText: '下移',
cancelText: '上移',
placement: 'bottom',
confirm: handleUp.bind(null, record),
cancel: handleDown.bind(null, record),
},
}, },
]" ]"
/> />
...@@ -129,6 +123,7 @@ const [ ...@@ -129,6 +123,7 @@ const [
autoSubmitOnEnter: true, autoSubmitOnEnter: true,
}, },
useSearchForm: true, useSearchForm: true,
showIndexColumn: false,
showTableSetting: false, showTableSetting: false,
bordered: true, bordered: true,
handleSearchInfoFn(info) { handleSearchInfoFn(info) {
...@@ -222,14 +217,8 @@ function handleSelect(modelId = '') { ...@@ -222,14 +217,8 @@ function handleSelect(modelId = '') {
/** 移动按钮*/ /** 移动按钮*/
function handleMove(record: Recordable) { function handleMove(record: Recordable) {
createMessage.success('删除成功!');
}
function handleUp() {
createMessage.success('下移成功!');
}
function handleDown() {
createMessage.success('上移成功!');
} }
/** 编辑按钮*/ /** 编辑按钮*/
function handleEdit(record: Recordable) { function handleEdit(record: Recordable) {
openModal(true, { openModal(true, {
...@@ -243,9 +232,9 @@ function handleDelete(record: Recordable) { ...@@ -243,9 +232,9 @@ function handleDelete(record: Recordable) {
createConfirm({ createConfirm({
iconType: 'warning', iconType: 'warning',
title: '确认删除', title: '确认删除',
content: '确认批量删除选中数据吗?', content: '确认删除选中数据吗?',
onOk() { 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