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
ce12c0a7
Commit
ce12c0a7
authored
Nov 22, 2022
by
kyle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
邀请信息列表
parent
6d141e69
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
28 additions
and
9 deletions
+28
-9
api/api.ts
+4
-0
pages/certifyDetail/certifyDetail.vue
+1
-1
pages/inviteJoin/inviteJoin.vue
+23
-8
No files found.
api/api.ts
View file @
ce12c0a7
...
@@ -196,5 +196,9 @@ export default {
...
@@ -196,5 +196,9 @@ export default {
//查询证件类型
//查询证件类型
erpInitialize
(
params
){
erpInitialize
(
params
){
return
request
(
`
${
apiURL
}
/erp/erpInitialize`
,
"POST"
,
params
)
return
request
(
`
${
apiURL
}
/erp/erpInitialize`
,
"POST"
,
params
)
},
// 邀请列表查询
queryInviteList
(
params
){
return
request
(
`
${
cffpURL
}
/partner/queryInviteList`
,
"POST"
,
params
)
}
}
}
}
pages/certifyDetail/certifyDetail.vue
View file @
ce12c0a7
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
<view
class=
"liBox"
><text>
考试方式:
</text><text>
{{
certificateInfo
.
examinationType
==
1
?
'线上考试'
:
'/'
}}
</text></view>
<view
class=
"liBox"
><text>
考试方式:
</text><text>
{{
certificateInfo
.
examinationType
==
1
?
'线上考试'
:
'/'
}}
</text></view>
<view
class=
"liBox"
><text>
及格分数:
</text><text>
{{
certificateInfo
.
passScore
}}
</text></view>
<view
class=
"liBox"
><text>
及格分数:
</text><text>
{{
certificateInfo
.
passScore
}}
</text></view>
</view>
</view>
<view
class=
"eqrocdeContent"
>
<view
class=
"eqrocdeContent"
v-if=
"certificateInfo.wechatCodeUrl"
>
<image
:src=
"certificateInfo.wechatCodeUrl"
alt=
""
srcset=
""
mode=
"widthFix"
></image>
<image
:src=
"certificateInfo.wechatCodeUrl"
alt=
""
srcset=
""
mode=
"widthFix"
></image>
<text>
请扫二维码进群学习~
</text>
<text>
请扫二维码进群学习~
</text>
</view>
</view>
...
...
pages/inviteJoin/inviteJoin.vue
View file @
ce12c0a7
...
@@ -49,30 +49,32 @@
...
@@ -49,30 +49,32 @@
</view>
</view>
<!-- 邀请信息 -->
<!-- 邀请信息 -->
<view
class=
"inviteListsBox"
v-if=
"tabType===2"
>
<view
class=
"inviteListsBox"
v-if=
"tabType===2"
>
<view
class=
"listUl ulBox"
>
<view
class=
"listUl ulBox"
v-for=
"item in inviteLists"
>
<view
class=
"liBox"
>
<view
class=
"liBox"
>
<text>
姓名:
</text>
<text>
姓名:
</text>
<text></text>
<text>
{{
item
.
name
}}
</text>
</view>
</view>
<view
class=
"liBox"
>
<view
class=
"liBox"
>
<text>
手机号:
</text>
<text>
手机号:
</text>
<text></text>
<text>
{{
item
.
mobileNumber
}}
</text>
</view>
</view>
<view
class=
"liBox"
>
<view
class=
"liBox"
>
<text>
申请身份:
</text>
<text>
申请身份:
</text>
<text></text>
<text>
{{
item
.
partnerLevel
==
'1'
?
'事业伙伴'
:
'工作室'
}}
</text>
</view>
</view>
<view
class=
"liBox"
>
<view
class=
"liBox"
>
<text>
所属组织:
</text>
<text>
所属组织:
</text>
<text></text>
<text>
{{
item
.
orgName
}}
</text>
</view>
</view>
<view
class=
"liBox"
>
<view
class=
"liBox"
>
<text>
是否跨区邀请:
</text>
<text>
是否跨区邀请:
</text>
<text></text>
<text>
{{
item
.
hasCrossDistrict
==
1
?
'是'
:
'否'
}}
</text>
</view>
</view>
<view
class=
"liBox"
>
<view
class=
"liBox"
>
<text>
邀请状态:
</text>
<text>
邀请状态:
</text>
<text></text>
<text
v-if=
"item.approvalStatus=='0'"
>
审核中
</text>
<text
v-else-if=
"item.approvalStatus=='1'"
class=
"success"
>
邀请成功
</text>
<text
v-else
class=
"fail"
>
邀请失败
</text>
</view>
</view>
</view>
</view>
</view>
</view>
...
@@ -105,18 +107,24 @@
...
@@ -105,18 +107,24 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
api
from
"@/api/api"
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
userId
:
'1'
,
tabType
:
1
,
tabType
:
1
,
identityArr
:[
'工作室'
,
'事业伙伴'
],
identityArr
:[
'工作室'
,
'事业伙伴'
],
applyIdentity
:
0
,
applyIdentity
:
0
,
isCross
:
true
isCross
:
true
,
inviteLists
:[]
};
};
},
},
methods
:{
methods
:{
switchTab
(
type
){
switchTab
(
type
){
this
.
tabType
=
type
;
this
.
tabType
=
type
;
if
(
this
.
tabType
===
2
){
this
.
queryInviteList
()
}
},
},
bindPickerChange
:
function
(
e
)
{
bindPickerChange
:
function
(
e
)
{
this
.
applyIdentity
=
e
.
detail
.
value
this
.
applyIdentity
=
e
.
detail
.
value
...
@@ -162,6 +170,13 @@
...
@@ -162,6 +170,13 @@
});
});
}
}
},
},
queryInviteList
(){
api
.
queryInviteList
({
userId
:
this
.
userId
}).
then
(
res
=>
{
if
(
res
[
'success'
]){
this
.
inviteLists
=
res
[
'data'
][
'data'
]
}
})
},
}
}
...
...
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