迭代vxe表格

frame
lijingjia 1 week ago
parent 1b06d32846
commit 5b6030f459

@ -1,7 +1,7 @@
<template> <template>
<div class="ds-sea-export-table p20"> <div class="ds-sea-export-table p20">
<div class="ds-table"> <div class="ds-table">
<BasicTable @register="registerTable" @rowDbClick="handledbclick" @row-change="rowChange"> <BasicTable @register="registerTable" @rowDbClick="handledbclick">
<template #tableTitle> <template #tableTitle>
<TableActionBar :selectRow="getVxeSelectRows" :reload="reload" :columns="getColumns" :queryData="queryData"> <TableActionBar :selectRow="getVxeSelectRows" :reload="reload" :columns="getColumns" :queryData="queryData">
<!-- <tableActionBarRight :selectRow="getVxeSelectRows" :reload="reload"></tableActionBarRight> --> <!-- <tableActionBarRight :selectRow="getVxeSelectRows" :reload="reload"></tableActionBarRight> -->
@ -517,9 +517,6 @@ const [registerTable, { reload, getVxeSelectRows, setLoading, getColumns }] = us
// fixed: 'right' // fixed: 'right'
// } // }
}) })
const rowChange = (data) => {
console.log(data)
}
function editColumns(row) { function editColumns(row) {
if (row.mblno) { if (row.mblno) {
go(`/BookingDetail?id=${row.id}&source=edit&mblno=${row.mblno}`) go(`/BookingDetail?id=${row.id}&source=edit&mblno=${row.mblno}`)

Loading…
Cancel
Save