提交 792fb11a authored 作者: matian's avatar matian

fix:修改接口错误

上级 13dabb0e
......@@ -52,7 +52,7 @@ export function payConfirm(data) {
}
// 确认足额支付
export function confirmPayDetail(data) {
return httpRequest.post('/api/finance/v1/payments/undo-confirm', data)
return httpRequest.post('/api/finance/v1/payments/confirm', data)
}
// 取消足额支付
export function cancelPayDetail(data) {
......
......@@ -3,7 +3,7 @@
<app-card>
<app-list v-bind="tableOptions" ref="list">
<template v-slot:payment_voucher_filename="{ row }">
<el-image style="width: 100px; height: 100px" :src="row.payment_voucher_filename" :fit="fill"></el-image>
<el-image style="width: 100px; height: 100px" :src="row.payment_voucher_filename"></el-image>
</template>
<template v-slot:table-x="{ row }">
<el-button @click="toPayDetail(row)">查看</el-button>
......
......@@ -113,13 +113,9 @@ export default {
confirm_type: val,
id: this.id
}
confirmPayDetail(params)
.then(res => {
confirmPayDetail(params).then(res => {
this.fetchTicketDetail()
})
.catch(error => {
this.$message.error(error.message)
})
},
// 取消
fetchCancelTicketDetail(val) {
......@@ -127,13 +123,9 @@ export default {
confirm_type: val,
id: this.id
}
cancelPayDetail(params)
.then(res => {
cancelPayDetail(params).then(res => {
this.fetchTicketDetail()
})
.catch(error => {
this.$message.error(error.message)
})
}
}
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论