|
@@ -474,14 +474,14 @@ export default class Index extends Component {
|
474
|
474
|
webParams,
|
475
|
475
|
} = this.state;
|
476
|
476
|
const {
|
477
|
|
- userInfo: { person }
|
|
477
|
+ userInfo: { person },
|
478
|
478
|
} = this.props;
|
479
|
479
|
|
480
|
480
|
const consultant1 = this.$router.params.consultantId || codeParams.consultant || Taro.getStorageSync('consultantId') || ''
|
481
|
481
|
const consultantId1 = this.$router.params.consultantId || codeParams.consultantId || ''
|
482
|
482
|
const consultant = person.personType == ROLE_CODE["CONSULTANT"] ? person.personId : consultant1;
|
483
|
483
|
const consultantId = person.personType == ROLE_CODE["CONSULTANT"] ? person.userId : consultantId1;
|
484
|
|
-
|
|
484
|
+ console.log(this.props, "this.propsthis.propsthis.propsthis.props")
|
485
|
485
|
const firstShare = this.$router.params.firstShare || person.personId;
|
486
|
486
|
const webUrlParams = [
|
487
|
487
|
`personId=${person.personId}`,
|
|
@@ -491,6 +491,8 @@ export default class Index extends Component {
|
491
|
491
|
`consultant=${consultant}`,
|
492
|
492
|
`consultantId=${consultantId}`,
|
493
|
493
|
`firstShare=${firstShare}`,
|
|
494
|
+ `orgId=${person.orgId}`,
|
|
495
|
+ `miniappId=${person.miniappId}`,
|
494
|
496
|
`codeParams=${encodeURIComponent(mergeQueryParams(webParams || '', codeParams["__raw"]))}`
|
495
|
497
|
].join("&");
|
496
|
498
|
|