commission--yt-commit

This commit is contained in:
2025-06-23 10:03:08 +08:00
parent 2350346d95
commit 0e20be0425
22 changed files with 553 additions and 25 deletions

View File

@ -1,4 +1,5 @@
const { baseUrl } = require('../../../request');
import { decodeBase64 } from '../../../utils/decodebase64'
Page({
data: {
@ -12,7 +13,7 @@ Page({
onLoad(options) {
this.setData({
projectId: options.id || '',
promoCodeDesc: decodeURIComponent(options.desc || ''),
promoCodeDesc: decodeBase64(options.desc),
mode: options.mode || 'add',
salespersonName: options.name ? decodeURIComponent(options.name) : '',
salespersonPhone: options.phone ? decodeURIComponent(options.phone) : ''
@ -34,6 +35,7 @@ Page({
// 申请资料报备
onApply() {
console.log('---->',this.data.promoCodeDesc);
// 如果是查看模式,阻止提交
if (this.data.mode === 'view') return;