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

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 @@
import { baseUrl } from "../../../request"
import { globalImgUrl } from "../../../request"
// pages/projectModule/userProject/userProject.js
Page({
@ -8,6 +9,7 @@ Page({
*/
data: {
globalImgUrl,
userProjectList: [],
},
@ -20,11 +22,9 @@ Page({
// 结算记录
gotoSubSettlement(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}`,
})
@ -53,6 +53,7 @@ Page({
gotoProjectDetail(e){
// 获取data-id中的值
const projectId = e.currentTarget.dataset.id;
console.log('项目id =============>', projectId)
wx.navigateTo({
url: `/pages/projectModule/projectDetail/projectDetail?id=${projectId}&isPromo=0`,
})