mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-07-03 21:48:13 +08:00
修改支付记录展示
This commit is contained in:
@@ -45,7 +45,7 @@ public class ThreadPoolConfig {
|
|||||||
executor.setKeepAliveSeconds(keepAliveSeconds);
|
executor.setKeepAliveSeconds(keepAliveSeconds);
|
||||||
// 线程池对拒绝任务(无线程可用)的处理策略
|
// 线程池对拒绝任务(无线程可用)的处理策略
|
||||||
executor.setRejectedExecutionHandler(new ThreadPoolExecutor.CallerRunsPolicy());
|
executor.setRejectedExecutionHandler(new ThreadPoolExecutor.CallerRunsPolicy());
|
||||||
log.info("threadPoolTaskExecutor创建成功");
|
// log.info("threadPoolTaskExecutor创建成功");
|
||||||
return executor;
|
return executor;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -54,7 +54,7 @@ public class ThreadPoolConfig {
|
|||||||
*/
|
*/
|
||||||
@Bean(name = "scheduledExecutorService")
|
@Bean(name = "scheduledExecutorService")
|
||||||
protected ScheduledExecutorService scheduledExecutorService() {
|
protected ScheduledExecutorService scheduledExecutorService() {
|
||||||
log.info("scheduledExecutorService创建成功");
|
// log.info("scheduledExecutorService创建成功");
|
||||||
return new ScheduledThreadPoolExecutor(corePoolSize,
|
return new ScheduledThreadPoolExecutor(corePoolSize,
|
||||||
new BasicThreadFactory.Builder().namingPattern("schedule-pool-%d").daemon(true).build(),
|
new BasicThreadFactory.Builder().namingPattern("schedule-pool-%d").daemon(true).build(),
|
||||||
new ThreadPoolExecutor.CallerRunsPolicy()) {
|
new ThreadPoolExecutor.CallerRunsPolicy()) {
|
||||||
|
|||||||
@@ -201,46 +201,12 @@
|
|||||||
<!-- 支付信息 -->
|
<!-- 支付信息 -->
|
||||||
<el-card class="cardStyle">
|
<el-card class="cardStyle">
|
||||||
<h3>支付信息</h3>
|
<h3>支付信息</h3>
|
||||||
<template v-if="payDetail.length !== 0">
|
|
||||||
<!--<el-descriptions
|
|
||||||
direction="vertical"
|
|
||||||
:column="6"
|
|
||||||
border
|
|
||||||
:contentStyle="CS"
|
|
||||||
:label-style="LS"
|
|
||||||
v-for="(item, index) in payDetail"
|
|
||||||
:key="index"
|
|
||||||
>
|
|
||||||
<el-descriptions-item label="支付金额"
|
|
||||||
>{{ item.payAmount }}
|
|
||||||
</el-descriptions-item>
|
|
||||||
<el-descriptions-item label="支付方式"
|
|
||||||
>{{ item.payModeDesc }}
|
|
||||||
</el-descriptions-item>
|
|
||||||
<!–<el-descriptions-item label="支付状态">{{
|
|
||||||
item.payStatus === "1" ? "支付完成" : "待支付"
|
|
||||||
}}
|
|
||||||
</el-descriptions-item>–>
|
|
||||||
<el-descriptions-item label="支付时间"
|
|
||||||
>{{ item.payTime }}
|
|
||||||
</el-descriptions-item>
|
|
||||||
<el-descriptions-item label="支付流水号"
|
|
||||||
>{{ item.outTradeNo }}
|
|
||||||
</el-descriptions-item>
|
|
||||||
<!–<el-descriptions-item label="退款金额">{{
|
|
||||||
item.refundAmount
|
|
||||||
}}
|
|
||||||
</el-descriptions-item>–>
|
|
||||||
</el-descriptions>-->
|
|
||||||
|
|
||||||
<el-table style="width: 100%" :data="payDetail" border>
|
<el-table style="width: 100%" :data="payDetail" border>
|
||||||
<el-table-column prop="payAmount" label="支付金额" align="center" />
|
<el-table-column prop="payAmount" label="支付金额" align="center" />
|
||||||
<el-table-column prop="payModeDesc" label="支付方式" align="center" />
|
<el-table-column prop="payModeDesc" label="支付方式" align="center" />
|
||||||
<el-table-column prop="payTime" label="支付时间" align="center" />
|
<el-table-column prop="payTime" label="支付时间" align="center" />
|
||||||
<el-table-column prop="outTradeNo" label="支付流水号" align="center" />
|
<el-table-column prop="outTradeNo" label="支付流水号" align="center" />
|
||||||
</el-table>
|
</el-table>
|
||||||
</template>
|
|
||||||
<div v-else style="text-align: center">暂无数据</div>
|
|
||||||
<div class="marginTop"></div>
|
<div class="marginTop"></div>
|
||||||
</el-card>
|
</el-card>
|
||||||
<!-- 退款信息 -->
|
<!-- 退款信息 -->
|
||||||
|
|||||||
Reference in New Issue
Block a user