Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
CFFP-HB
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chao Sun
CFFP-HB
Commits
0ccae931
Commit
0ccae931
authored
Dec 01, 2022
by
huSun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
我的邀请--传参更改
parent
182bc34c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
10 deletions
+17
-10
pages/invitationRegister/invitationRegister.vue
+1
-1
pages/inviteJoin/inviteJoin.vue
+16
-9
No files found.
pages/invitationRegister/invitationRegister.vue
View file @
0ccae931
...
...
@@ -31,7 +31,7 @@
methods
:{
getqueryById
(
id
){
console
.
log
(
id
)
api
.
queryById
(
id
).
then
(
res
=>
{
api
.
queryById
(
{
id
}
).
then
(
res
=>
{
console
.
log
(
res
,
77414
)
this
.
areaName
=
res
.
data
.
data
.
areaName
this
.
invitationName
=
res
.
data
.
data
.
invitationName
...
...
pages/inviteJoin/inviteJoin.vue
View file @
0ccae931
...
...
@@ -97,7 +97,7 @@
<text
v-else-if=
"item.approvalStatus=='3'"
class=
"success"
>
邀请成功
</text>
<text
v-else
class=
"fail"
>
邀请失败
</text>
</view>
<view
class=
"liBox-footer"
v-if=
"item.approvalStatus == 0 || item.approvalStatus== '2'"
@
click=
"reinvite()"
>
<view
class=
"liBox-footer"
v-if=
"item.approvalStatus == 0 || item.approvalStatus== '2'"
@
click=
"reinvite(
item.id
)"
>
<text>
重新邀请
</text>
</view>
</view>
...
...
@@ -191,8 +191,17 @@
// 发起邀请事件
shareToggle
()
{
if
(
this
.
isCross
==
true
&&
this
.
dataForm
.
areaName
==
''
)
{
if
(
this
.
dataForm
.
name
==
""
||
this
.
dataForm
.
mobileNumber
==
""
||
this
.
dataForm
.
areaName
==
''
)
{
this
.
dataForm
.
partnerLevel
=
this
.
applyIdentity
==
0
?
'B1'
:
'A1'
this
.
dataForm
.
hasCrossDistrict
=
this
.
isCross
==
true
?
'1'
:
'0'
this
.
dataForm
.
areaId
=
this
.
queryorgList
[
this
.
index
].
areaId
this
.
dataForm
.
areaName
=
this
.
isCross
==
false
?
this
.
queryorgList
[
this
.
index
].
areaName
:
this
.
dataForm
.
areaName
// this.dataForm.b1Name = this.applyIdentity == 'B1' ? this.dataForm.b1Name : null
// if(this.applyIdentity == 'B1'){
// if(this.dataForm.b1Name ==''){
// }
// }
if
(
this
.
dataForm
.
name
==
""
||
this
.
dataForm
.
mobileNumber
==
""
||
this
.
dataForm
.
areaName
==
''
||
this
.
applyIdentity
==
'B1'
&&
this
.
dataForm
.
b1Name
==
''
)
{
uni
.
showToast
({
title
:
'请将信息补充完整'
,
duration
:
2000
,
...
...
@@ -200,11 +209,7 @@
});
return
false
}
}
this
.
dataForm
.
partnerLevel
=
this
.
applyIdentity
==
0
?
'B1'
:
'A1'
this
.
dataForm
.
hasCrossDistrict
=
this
.
isCross
==
true
?
'1'
:
'0'
this
.
dataForm
.
areaId
=
this
.
queryorgList
[
this
.
index
].
areaId
this
.
dataForm
.
areaName
=
this
.
isCross
==
false
?
this
.
queryorgList
[
this
.
index
].
areaName
:
''
api
.
saveApplyInfo
(
this
.
dataForm
).
then
(
res
=>
{
if
(
res
[
'success'
])
{
// this.switchTab(2)
...
...
@@ -224,10 +229,12 @@
closeShare
()
{
this
.
$refs
.
share
.
close
()
},
reinvite
(){
reinvite
(
id
){
this
.
shareId
=
id
this
.
$refs
.
share
.
open
()
},
uniShare
(
type
)
{
console
.
log
(
type
,
4455
)
if
(
type
===
1
)
{
uni
.
share
({
provider
:
"weixin"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment