20240225今日还款列表等

This commit is contained in:
Sliverber 2024-02-25 23:32:47 +08:00
parent 617edfb138
commit 3114de2973
8 changed files with 1517 additions and 477 deletions

View File

@ -61,7 +61,31 @@ export function couponSaveApi(data) {
data, data,
}); });
} }
/**
* 会员管理 修改
* @param pram
*/
export function userUpdateApi(params, data) {
return request({
url: `/admin/user/update`,
method: 'post',
params,
data,
});
}
/**
* 备注列表 修改
* @param pram
*/
export function changeRepaymentStatus(params,data) {
return request({
url: `admin/user/installmentBill/update/?id=${params}`,
method: 'post',
// params,
data,
});
console.log(data,'dadada');
}
/** /**
* 优惠券 修改状态 * 优惠券 修改状态
* @param pram * @param pram

View File

@ -84,6 +84,59 @@ export function infobyconditionApi(params) {
}); });
} }
/**
* 会员管理 账户详情
* @param pram
*/
export function infobyconditionApiList(params) {
return request({
url: `/admin/user/installmentBill/list`,
method: 'get',
params,
});
}
/**
* 备注列表
* @param pram
*/
export function remarkList(params) {
return request({
url: `admin/user/remark/list`,
method: 'get',
params,
});
}
export function delRemark(id) {
return request({
url: `admin/user/remark/delete/?id=${id}`,
method: 'get',
// params,
});
}
/**
* 备注列表 修改
* @param pram
*/
export function remarkUpdata(params,data) {
return request({
url: `admin/user/remark/update/?id=${params}`,
method: 'post',
// params,
data,
});
console.log(data,'dadada');
}
export function addRemark(data) {
return request({
url: `admin/user/remark/save`,
method: 'post',
// params,
data,
});
console.log(data,'dadada');
}
/** /**
* 会员管理 账户详情top数据 * 会员管理 账户详情top数据
* @param pram * @param pram

View File

@ -325,6 +325,18 @@
"sort": 0, "sort": 0,
"add_time": 1626837579 "add_time": 1626837579
}, },
{
"id": 50,
"cate_id": 5,
"type": 3,
"name": "还款记录",
"url": "/pages/users/user_spread_money/index?type=2",
"param": " ",
"example": "/pages/users/user_spread_money/index?type=2",
"status": 1,
"sort": 0,
"add_time": 1626837579
},
{ {
"id": 49, "id": 49,
"cate_id": 5, "cate_id": 5,

View File

@ -61,6 +61,9 @@ export default {
this.onlyOneChild = null; this.onlyOneChild = null;
return {}; return {};
}, },
mounted(){
console.log(this.item,'itemitem');
},
methods: { methods: {
hasOneShowingChild(child = [], parent) { hasOneShowingChild(child = [], parent) {
const showingChildren = child.filter((item) => { const showingChildren = child.filter((item) => {

View File

@ -48,12 +48,19 @@ const financialRouter = {
}, },
], ],
}, },
{
path: 'repayment',
component: () => import('@/views/financial/repayment/index'),
name: 'Repayment',
meta: { title: '还款记录', icon: '' },
},
{ {
path: 'brokerage', path: 'brokerage',
component: () => import('@/views/financial/brokerage/index'), component: () => import('@/views/financial/brokerage/index'),
name: 'Brokerage', name: 'Brokerage',
meta: { title: '佣金记录', icon: '' }, meta: { title: '佣金记录', icon: '' },
}, },
], ],
}; };

View File

@ -80,13 +80,13 @@ export default {
url: '/order/index', url: '/order/index',
perms: ['admin:order:list'], perms: ['admin:order:list'],
}, },
// { {
// bgColor: '#A277FF', bgColor: '#A277FF',
// icon: 'iconduanxinpeizhi', icon: 'iconduanxinpeizhi',
// title: '', title: '还款记录',
// url: '/operation/onePass', url: '/financial/repayment',
// perms: ['admin:pass:login'], perms: ['admin:pass:login'],
// }, },
{ {
bgColor: '#E8B600', bgColor: '#E8B600',
icon: 'iconwenzhangguanli', icon: 'iconwenzhangguanli',
@ -112,9 +112,9 @@ export default {
statisticData: [ statisticData: [
{ title: '待发货订单', num: 0, path: '/order/index', perms: ['admin:order:list'] }, { title: '待发货订单', num: 0, path: '/order/index', perms: ['admin:order:list'] },
{ title: '退款中订单', num: 0, path: '/order/index', perms: ['admin:order:list'] }, { title: '退款中订单', num: 0, path: '/order/index', perms: ['admin:order:list'] },
{ title: '待订单', num: 0, path: '/order/index', perms: ['admin:order:list'] }, { title: '待核订单', num: 0, perms: ['admin:order:list'] },
{ title: '库存预警', num: 0, path: '/store/index', perms: ['admin:product:list'] }, { title: '昨日回款率', num: 0, perms: ['admin:product:list'] },
{ title: '上架商品', num: 0, path: '/store/index', perms: ['admin:product:list'] }, { title: '明日到期', num: 0, perms: ['admin:product:list'] },
{ title: '仓库商品', num: 0, path: '/store/index', perms: ['admin:product:list'] }, { title: '仓库商品', num: 0, path: '/store/index', perms: ['admin:product:list'] },
{ title: '提现待审核', num: 0, path: '/financial/commission/template', perms: ['admin:finance:apply:list'] }, { title: '提现待审核', num: 0, path: '/financial/commission/template', perms: ['admin:finance:apply:list'] },
{ title: '账户充值', num: 0, path: '/financial/record/charge', perms: ['admin:recharge:list'] }, { title: '账户充值', num: 0, path: '/financial/record/charge', perms: ['admin:recharge:list'] },
@ -157,8 +157,8 @@ export default {
businessData().then((res) => { businessData().then((res) => {
this.statisticData[0].num = res.notShippingOrderNum; // this.statisticData[0].num = res.notShippingOrderNum; //
this.statisticData[1].num = res.refundingOrderNum; //退 this.statisticData[1].num = res.refundingOrderNum; //退
this.statisticData[2].num = res.notWriteOffOrderNum; // this.statisticData[2].num = res.auditTotalNum; //
this.statisticData[3].num = res.vigilanceInventoryNum; // this.statisticData[3].num = res.yesterdayRateOfReturn; //
this.statisticData[4].num = res.onSaleProductNum; // this.statisticData[4].num = res.onSaleProductNum; //
this.statisticData[5].num = res.notSaleProductNum; // this.statisticData[5].num = res.notSaleProductNum; //
this.statisticData[6].num = res.notAuditNum; // this.statisticData[6].num = res.notAuditNum; //

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff