添加的功能:查看推广码对应的结算记录

This commit is contained in:
2025-06-09 19:08:32 +08:00
parent 38ba528f76
commit c0c6b5b61a
23 changed files with 131 additions and 86 deletions

View File

@ -1,4 +1,5 @@
const { baseUrl } = require('../../../request');
import { globalImgUrl } from '../../../request';
Page({
data: {
@ -10,7 +11,8 @@ Page({
id: null,
showPromoPop: false,
currentQrcode: '',
currentPromoLink: ''
currentPromoLink: '',
globalImgUrl,
},
onLoad(options) {
@ -87,17 +89,24 @@ Page({
},
// 跳转结算明细
gotoSubSettlement(e) {
gotoSettlement(e) {
const projectId = e.currentTarget.dataset.id;
const url = e.currentTarget.dataset.url;
const name = e.currentTarget.dataset.name;
wx.navigateTo({
url: `/pages/projectModule/settlement/settlement?id=${projectId}&picurl=${url}&name=${name}`,
})
},
gotoSubSettlement(e) {
const promoId = e.currentTarget.dataset.id;
const image = e.currentTarget.dataset.image
const name = e.currentTarget.dataset.name
wx.navigateTo({
url: `/pages/projectModule/subSettlement/subSettlement?id=${promoId}&image=${image}&name=${name}`,
})
},
// 推广码-查看资料
goToPromoMaterial(e) {