|
|
|
@ -3,8 +3,8 @@
|
|
|
|
|
<BasicTable class="ds-table" @register="registerTable" @rowDbClick="handledbclick">
|
|
|
|
|
<template #tableTitle>
|
|
|
|
|
<div>
|
|
|
|
|
<TableActionBar :selectRow="getSelectRows" :reload="reload">
|
|
|
|
|
<tableActionBarRight :selectRow="getSelectRows" :reload="reload"></tableActionBarRight>
|
|
|
|
|
<TableActionBar :selectRow="getVxeSelectRows" :reload="reload">
|
|
|
|
|
<tableActionBarRight :selectRow="getVxeSelectRows" :reload="reload"></tableActionBarRight>
|
|
|
|
|
<Divider type="vertical" style="margin-top: 11px; background-color: #CED5D9;" />
|
|
|
|
|
</TableActionBar>
|
|
|
|
|
</div>
|
|
|
|
@ -425,7 +425,7 @@ const calcColumns = [
|
|
|
|
|
]
|
|
|
|
|
// 合计数据
|
|
|
|
|
const calcData = ref([{}])
|
|
|
|
|
const [registerTable, { reload, getForm, setLoading, getSelectRows, setColumns }] = useTable({
|
|
|
|
|
const [registerTable, { reload, getVxeSelectRows, setLoading, setColumns }] = useTable({
|
|
|
|
|
title: '',
|
|
|
|
|
api: async (p) => {
|
|
|
|
|
// 如果存在改变的列,设置列
|
|
|
|
@ -468,6 +468,7 @@ const [registerTable, { reload, getForm, setLoading, getSelectRows, setColumns }
|
|
|
|
|
appStore.setIds(ids, 'hyck')
|
|
|
|
|
}
|
|
|
|
|
resolve({ data: [...res.data.list], total: res.data.totalCount })
|
|
|
|
|
console.log(getVxeSelectRows)
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
// 请求前的参数格式化
|
|
|
|
|