名称修改
This commit is contained in:
1 parent
65b33ccd71
commit
e17475dc19
4 files changed
+12
-12
No files matched your search
+2
-2
@@ -221,11 +221,11 @@ export function useTable(options?: BasicTableProps) {
|
|||||||
*/
|
*/
|
||||||
const downBlobFile = (url: string, query: any, fileName: string) => {
|
const downBlobFile = (url: string, query: any, fileName: string) => {
|
||||||
ElMessage.info("下载中,请稍后")
|
ElMessage.info("下载中,请稍后")
|
||||||
return other.downBlobFile(url, query, formatDate(new Date(), "YYYY年mm月dd日") + " " + fileName)
|
return other.downBlobFile(url, query, formatDate(new Date(), "YYYY年mm月dd日 HH时MM分SS秒 ") + fileName)
|
||||||
}
|
}
|
||||||
|
|
||||||
const postDownBlobFile = (url: string, data: any, fileName: string) => {
|
const postDownBlobFile = (url: string, data: any, fileName: string) => {
|
||||||
return other.postDownBlobFile(url, data, formatDate(new Date(), "YYYY年mm月dd日") + " " + fileName)
|
return other.postDownBlobFile(url, data, formatDate(new Date(), "YYYY年mm月dd日 HH时MM分SS秒 ") + fileName)
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -91,12 +91,12 @@
|
|||||||
<div :class="{ 'color-success': row.walletOnceReduceCount != 0 }">{{ row.walletOnceReduceCount }}次</div>
|
<div :class="{ 'color-success': row.walletOnceReduceCount != 0 }">{{ row.walletOnceReduceCount }}次</div>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column prop="orderPayPrice" label="消费金额" align="center" min-width="90">
|
<el-table-column prop="orderPayPrice" label="流水金额" align="center" min-width="90">
|
||||||
<template #default="{ row }">
|
<template #default="{ row }">
|
||||||
<div :class="{ 'color-primary': row.orderPayPrice != 0 }">{{ displayPrice(row.orderPayPrice) }}</div>
|
<div :class="{ 'color-primary': row.orderPayPrice != 0 }">{{ displayPrice(row.orderPayPrice) }}</div>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column prop="orderPayCount" label="消费次数" align="center" min-width="90">
|
<el-table-column prop="orderPayCount" label="流水次数" align="center" min-width="90">
|
||||||
<template #default="{ row }">
|
<template #default="{ row }">
|
||||||
<div :class="{ 'color-primary': row.orderPayCount != 0 }">{{ row.orderPayCount }}次</div>
|
<div :class="{ 'color-primary': row.orderPayCount != 0 }">{{ row.orderPayCount }}次</div>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -61,14 +61,14 @@
|
|||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="商户" align="center" prop="merchantName" />
|
<el-table-column label="商户" align="center" prop="merchantName" />
|
||||||
<el-table-column label="消费金额" align="center" prop="totalPayPrice">
|
<el-table-column label="流水金额" align="center" prop="totalPayPrice">
|
||||||
<template #default="{ row }">
|
<template #default="{ row }">
|
||||||
<span class="color-primary">
|
<span class="color-primary">
|
||||||
{{ displayPrice(row.totalPayPrice) }}
|
{{ displayPrice(row.totalPayPrice) }}
|
||||||
</span>
|
</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="消费次数" align="center" prop="totalPayCount">
|
<el-table-column label="流水次数" align="center" prop="totalPayCount">
|
||||||
<template #default="{ row }">
|
<template #default="{ row }">
|
||||||
<span class="color-primary">
|
<span class="color-primary">
|
||||||
{{ row.totalPayCount }}
|
{{ row.totalPayCount }}
|
||||||
@@ -89,14 +89,14 @@
|
|||||||
</span>
|
</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="盈利金额" align="center" prop="totalProfitPrice">
|
<el-table-column label="实际消费金额" align="center" prop="totalProfitPrice">
|
||||||
<template #default="{ row }">
|
<template #default="{ row }">
|
||||||
<span class="color-success">
|
<span class="color-success">
|
||||||
{{ displayPrice(row.totalProfitPrice) }}
|
{{ displayPrice(row.totalProfitPrice) }}
|
||||||
</span>
|
</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="盈利次数" align="center" prop="totalProfitCount">
|
<el-table-column label="实际消费次数" align="center" prop="totalProfitCount">
|
||||||
<template #default="{ row }">
|
<template #default="{ row }">
|
||||||
<span class="color-success">
|
<span class="color-success">
|
||||||
{{ row.totalProfitCount }}
|
{{ row.totalProfitCount }}
|
||||||
|
|||||||
@@ -53,14 +53,14 @@
|
|||||||
<el-table-column type="selection" width="80" align="center" />
|
<el-table-column type="selection" width="80" align="center" />
|
||||||
<el-table-column type="index" label="#" width="50" />
|
<el-table-column type="index" label="#" width="50" />
|
||||||
<el-table-column label="商户" align="center" prop="merchantName" />
|
<el-table-column label="商户" align="center" prop="merchantName" />
|
||||||
<el-table-column label="消费金额" align="center" prop="totalPayPrice">
|
<el-table-column label="流水金额" align="center" prop="totalPayPrice">
|
||||||
<template #default="{ row }">
|
<template #default="{ row }">
|
||||||
<span class="color-success">
|
<span class="color-success">
|
||||||
{{ displayPrice(row.totalPayPrice) }}
|
{{ displayPrice(row.totalPayPrice) }}
|
||||||
</span>
|
</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="消费次数" align="center" prop="totalPayCount">
|
<el-table-column label="流水次数" align="center" prop="totalPayCount">
|
||||||
<template #default="{ row }">
|
<template #default="{ row }">
|
||||||
<span class="color-primary">
|
<span class="color-primary">
|
||||||
{{ row.totalPayCount || 0 }}
|
{{ row.totalPayCount || 0 }}
|
||||||
@@ -81,14 +81,14 @@
|
|||||||
</span>
|
</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="盈利金额" align="center" prop="totalProfitPrice">
|
<el-table-column label="实际消费金额" align="center" prop="totalProfitPrice">
|
||||||
<template #default="{ row }">
|
<template #default="{ row }">
|
||||||
<span class="color-success">
|
<span class="color-success">
|
||||||
{{ displayPrice(row.totalProfitPrice) }}
|
{{ displayPrice(row.totalProfitPrice) }}
|
||||||
</span>
|
</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="盈利次数" align="center" prop="totalProfitCount">
|
<el-table-column label="实际消费次数" align="center" prop="totalProfitCount">
|
||||||
<template #default="{ row }">
|
<template #default="{ row }">
|
||||||
<span class="color-success">
|
<span class="color-success">
|
||||||
{{ row.totalProfitCount || 0 }}
|
{{ row.totalProfitCount || 0 }}
|
||||||
|
|||||||
Reference in new issue
Block a user