This commit is contained in:
dzc committed 2025-03-21 12:50:24 +08:00
1 parent a7544976af
commit 796714a377
2 files changed
+15 -4

No files matched your search

+12
View File
@@ -20,6 +20,18 @@ export function pageListSb(query?: any) {
})
}
export function pagePayType(query?: any) {
return request({
url: "/hard/hard-total/page-list-payType",
method: "post",
params: {
current: query.current,
size: query.size,
},
data: query,
})
}
export function pageListCs(query?: any) {
return request({
url: "/hard/hard-total/page-list-cs",
@@ -52,7 +52,7 @@
>
<el-table-column type="selection" width="80" align="center" />
<el-table-column type="index" label="#" width="50" />
<el-table-column label="设备" align="center">
<el-table-column label="支付方式" align="center">
<template #default="{ row }">
<div class="flex flex-row items-center justify-center">
<div class="mr-2">{{ row.hardName }}</div>
@@ -60,7 +60,6 @@
</div>
</template>
</el-table-column>
<el-table-column label="商户" align="center" prop="merchantName" />
<el-table-column label="流水金额" align="center" prop="totalPayPrice">
<template #default="{ row }">
<span class="color-primary">
@@ -131,7 +130,7 @@ const { hard_type } = useDict("hard_type")
const state: BasicTableProps = reactive<BasicTableProps>({
isPage: false,
queryForm: {},
pageList: hardTotalApi.pageListSb,
pageList: hardTotalApi.pagePayType,
})
// table hook
@@ -139,7 +138,7 @@ const { getDataList, currentChangeHandle, sizeChangeHandle, sortChangeHandle, do
// 导出excel
const exportExcel = () => {
downBlobFile("/hard/hard-total/export-sb", Object.assign(state.queryForm), "设备交易记录.xlsx")
downBlobFile("/hard/hard-total/export-payType", Object.assign(state.queryForm), "设备交易记录.xlsx")
}
const getSummaries = (param: any) => {