diff --git a/.env.production b/.env.production index fe26717..4e1f103 100644 --- a/.env.production +++ b/.env.production @@ -4,5 +4,5 @@ ENV = 'production' # base api # VUE_APP_BASE_API = '/prod-api' # VUE_APP_BASE_API = 'http://106.75.49.247:20400' -# VUE_APP_BASE_API = 'https://yruibao.com/admin' -VUE_APP_BASE_API = 'http://192.168.2.5:20401' +VUE_APP_BASE_API = 'https://yruibao.com/admin' +# VUE_APP_BASE_API = 'http://192.168.2.5:20401' diff --git a/src/api/systemInstallment.js b/src/api/systemInstallment.js index ada2037..ea82b39 100644 --- a/src/api/systemInstallment.js +++ b/src/api/systemInstallment.js @@ -15,7 +15,16 @@ export function DelInstallments(id) { params: data, }); } - +export function DelInstallmentschild(id) { + const data = { + id: id, + }; + return request({ + url: '/admin/customInstallmentsDetail/delete', + method: 'GET', + params: data, + }); +} /** * 商品分期配置表详情 * @param id @@ -77,9 +86,9 @@ export function AddInstallments(pram) { export function AddInstallmentsDetail(pram) { const data = { installmentsId: pram.id, - installmentNumber: pram.installmentNumber, + intervalCycle: pram.intervalCycle, repaymentPercent: pram.repaymentPercent, - repaymentDeadlineStr: pram.repaymentDeadlineStr, + // repaymentDeadlineStr: pram.repaymentDeadlineStr, }; return request({ url: '/admin/customInstallmentsDetail/save', @@ -105,3 +114,17 @@ export function UpdateInstallments(pram) { data: data, }); } + +export function UpdateInstallmentschild(pram) { + const data = { + installmentsId: pram.id, + intervalCycle: pram.intervalCycle, + repaymentPercent: pram.repaymentPercent, + }; + return request({ + url: '/admin/customInstallmentsDetail/update', + method: 'post', + params: { id: pram.id }, + data: data, + }); +} diff --git a/src/views/channel/index.vue b/src/views/channel/index.vue index 7c7d7bb..b2bcd3e 100644 --- a/src/views/channel/index.vue +++ b/src/views/channel/index.vue @@ -27,17 +27,18 @@ - - - + + + - {{ scope.row.totalClickNum }}/ {{ scope.row.totalConversionRatio }} / {{ scope.row.totalRegisterNum }}/ {{ scope.row.totalReturnRate }} + {{ scope.row.totalClickNum }}/ {{ scope.row.totalConversionRatio }} / {{ scope.row.totalRegisterNum }}/ {{ + scope.row.totalReturnRate }} - + @@ -47,42 +48,42 @@ - + - - - - {{scope.row. totalAmount}} 元/ {{ scope.row. totalOrderNum}} - - - + + + + {{ scope.row.totalAmount }} 元/ {{ scope.row.totalOrderNum }} + + + - - - - - {{scope.row.todayOrderAmount}} 元/ {{ scope.row.todayOrderNum}} - - - + + + + + {{ scope.row.todayOrderAmount }} 元/ {{ scope.row.todayOrderNum }} + + + - - - - 隐藏 - - - 展示 - - - + + + + 隐藏 + + + 展示 + + + @@ -103,23 +104,34 @@ - 统计报表 注册用户 - + 统计报表 + 注册用户 + + 基础信息 - - - - - - 下载图片 + + + + + h5 + 下载 + + + + + + 微信小程序 + 下载 - - - - - 下载图片 + + + + ali小程序 + 下载 渠道名称:{{ chooselist.name }} @@ -131,7 +143,7 @@ 总转化率:{{ chooselist.totalConversionRatio }} 回款率:{{ chooselist.totalReturnRate }} - + 总注册:{{ chooselist.totalRegisterNum }} 总订单金额:{{ chooselist.totalAmount }} 总订单数量:{{ chooselist.totalOrderNum }} @@ -141,23 +153,23 @@ 今日点击:{{ chooselist.todayClickNum }} - 渠道账号:{{ chooselist.account }} + 渠道账号:{{ chooselist.account }} 渠道密码:初始密码为123456 日统计报表 - + - + - + - + - + - + @@ -166,41 +178,41 @@ layout="total, sizes, prev, pager, next, jumper" :total="todaydata.total" @size-change="handleSizeChanges" @current-change="todaypageChange" /> - + - + - + - + - + - + - + - - + + - + - - - - 待还款 - - - - 已逾期 - - - + + + + 待还款 + + + + 已逾期 + + + + layout="total, sizes, prev, pager, next, jumper" :total="userdata.total" + @size-change="userhandleSizeChange" @current-change="userpageChange" /> @@ -218,7 +230,7 @@