From 3e45791613b9314f7b34c6db7ae98fec521a10fd Mon Sep 17 00:00:00 2001 From: dute7liang <383200134@qq.com> Date: Fri, 19 Jan 2024 21:10:04 +0800 Subject: [PATCH] init --- src/api/cai/consumeLog.js | 17 ++++------------- src/views/cai/accountChangeLog/index.vue | 8 ++++++-- src/views/cai/consumeLog/index.vue | 22 ++++++++++++++++++++-- 3 files changed, 30 insertions(+), 17 deletions(-) diff --git a/src/api/cai/consumeLog.js b/src/api/cai/consumeLog.js index 0451d64..3c84597 100644 --- a/src/api/cai/consumeLog.js +++ b/src/api/cai/consumeLog.js @@ -26,21 +26,12 @@ export function getConsumeLogTraceId(traceId) { }) } -// 新增分销记录 -export function addConsumeLog(data) { - return request({ - url: '/cai/consumeLog', - method: 'post', - data: data - }) -} - // 修改分销记录 -export function updateConsumeLog(data) { +export function fenxiaoConsumeLog(id) { return request({ - url: '/cai/consumeLog', - method: 'put', - data: data + url: '/cai/consumeLog/consumer', + method: 'get', + params: {id} }) } diff --git a/src/views/cai/accountChangeLog/index.vue b/src/views/cai/accountChangeLog/index.vue index bd8e810..6f50b13 100644 --- a/src/views/cai/accountChangeLog/index.vue +++ b/src/views/cai/accountChangeLog/index.vue @@ -58,9 +58,13 @@ - + + + - + @@ -139,7 +144,7 @@