添加的功能:查看推广码对应的结算记录
This commit is contained in:
@ -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) {
|
||||
|
Reference in New Issue
Block a user