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
eba3f263
Commit
eba3f263
authored
Nov 30, 2022
by
sunchao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
申请加盟联调
parent
f8e22c23
Show whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
515 additions
and
104 deletions
+515
-104
api/api.ts
+5
-1
pages.json
+8
-2
pages/application-process/application-result.vue
+78
-0
pages/application-process/applyCommon.scss
+42
-1
pages/application-process/bank-card.vue
+53
-18
pages/application-process/basic-info.vue
+50
-16
pages/application-process/contract.vue
+40
-7
pages/application-process/education.vue
+42
-7
pages/application-process/id-card.vue
+37
-5
pages/application-process/personal-statement.vue
+40
-8
pages/application-process/signature.vue
+64
-13
pages/application-process/work-experience.vue
+45
-16
pages/systemMsg/system_msg.vue
+1
-1
pages/withdrawal/withdrawal.vue
+10
-9
No files found.
api/api.ts
View file @
eba3f263
...
@@ -275,7 +275,7 @@ export default {
...
@@ -275,7 +275,7 @@ export default {
},
},
//查询申请加盟信息
//查询申请加盟信息
queryById
(
params
){
queryById
(
params
){
return
request
(
`
${
cffpURL
}
/partner/queryById
/
${
params
}
`
,
"GET"
)
return
request
(
`
${
cffpURL
}
/partner/queryById
`
,
"POST"
,
params
)
},
},
//支付宝去提现
//支付宝去提现
aliWithdrawal
(
params
){
aliWithdrawal
(
params
){
...
@@ -284,5 +284,9 @@ export default {
...
@@ -284,5 +284,9 @@ export default {
//微信去提现
//微信去提现
wxWithdrawal
(
params
){
wxWithdrawal
(
params
){
return
request
(
`
${
apiURL
}
/pay/wxWithdrawal`
,
"POST"
,
params
)
return
request
(
`
${
apiURL
}
/pay/wxWithdrawal`
,
"POST"
,
params
)
},
//保存base64电子签名
saveDigitalSignatures
(
params
){
return
request
(
`
${
cffpURL
}
/partner/saveDigitalSignatures`
,
"POST"
,
params
)
}
}
}
}
pages.json
View file @
eba3f263
...
@@ -361,7 +361,7 @@
...
@@ -361,7 +361,7 @@
"navigationBarTitleText"
:
"学习统计"
,
"navigationBarTitleText"
:
"学习统计"
,
"enablePullDownRefresh"
:
false
"enablePullDownRefresh"
:
false
}
}
}
}
,
{
{
"path"
:
"pages/personalCenter/system/accontsetting"
,
"path"
:
"pages/personalCenter/system/accontsetting"
,
"style"
:
"style"
:
...
@@ -430,7 +430,13 @@
...
@@ -430,7 +430,13 @@
"navigationBarTitleText"
:
"邀请登录"
,
"navigationBarTitleText"
:
"邀请登录"
,
"enablePullDownRefresh"
:
false
"enablePullDownRefresh"
:
false
}
}
},{
"path"
:
"pages/application-process/application-result"
,
"style"
:
{
"navigationBarTitleText"
:
"申请加盟-结果"
,
"enablePullDownRefresh"
:
false
}
}
}
],
],
...
...
pages/application-process/application-result.vue
0 → 100644
View file @
eba3f263
<
template
>
<view
class=
"container"
>
<view
class=
"page"
>
<text
class=
"num actived pass"
>
1
</text>
<text
class=
"line line_pass"
></text>
<text
class=
"num actived pass"
>
2
</text>
<text
class=
"line line_pass"
></text>
<text
class=
"num actived pass"
>
3
</text>
<text
class=
"line line_pass"
></text>
<text
class=
"num actived pass"
>
4
</text>
<text
class=
"line line_pass"
></text>
<text
class=
"num actived pass"
>
5
</text>
<text
class=
"line line_pass"
></text>
<text
class=
"num actived pass"
>
6
</text>
<text
class=
"line line_pass"
></text>
<text
class=
"num actived pass"
>
7
</text>
<text
class=
"line line_pass"
></text>
<text
class=
"num actived pass"
>
8
</text>
</view>
<view
class=
"wrapper"
>
<view
class=
"iconfont icon-gou"
></view>
<h4>
您已提交成功
</h4>
<view
class=
"result"
v-if=
"this.partnerLevel=='A1'"
>
恭喜您成为
{{
areaName
}}
事业伙伴!
</view>
<view
class=
"result"
v-if=
"this.partnerLevel=='B1'"
>
您的申请已进入人工审核,请耐心等待!
</view>
<navigator
url=
"../index/index"
>
返回首页 >
</navigator>
</view>
</view>
</
template
>
<
script
>
export
default
{
data
(){
return
{
partnerLevel
:
null
,
areaName
:
null
}
},
components
:{},
onLoad
(
options
){
this
.
areaName
=
options
.
areaName
;
this
.
partnerLevel
=
options
.
partnerLevel
;
},
methods
:{
}
}
</
script
>
<
style
lang=
"scss"
>
@import
'applyCommon.scss'
;
.wrapper
{
padding-top
:
40
rpx
;
.icon-gou{
color
:
#78c06e
;
font-size
:
200
rpx
;
text-align
:
center
;
margin
:
20
rpx
;
}
.result
,
h4
{
text-align
:
center
;
margin-bottom
:
20
rpx
;
}
.navigator-wrap
{
text-align
:
center
;
padding
:
40
rpx
0
;
color
:
#20269B
;
font-size
:
36
rpx
;
}
}
</
style
>
\ No newline at end of file
pages/application-process/applyCommon.scss
View file @
eba3f263
.container
{
.container
{
font-size
:
36rpx
;
font-size
:
36rpx
;
background
:
#fff
;
//
background: #fff;
min-height
:
100%
;
min-height
:
100%
;
overflow
:
auto
;
overflow
:
auto
;
padding-bottom
:
80rpx
;
padding-bottom
:
80rpx
;
.wrapper
{
background
:
#fff
;
}
.title
{
.title
{
padding
:
20rpx
30rpx
0
30rpx
;
padding
:
20rpx
30rpx
0
30rpx
;
display
:
flex
;
display
:
flex
;
...
@@ -131,4 +134,41 @@
...
@@ -131,4 +134,41 @@
text-align
:
center
;
text-align
:
center
;
border-radius
:
60rpx
;
border-radius
:
60rpx
;
}
}
.page
{
padding
:
20rpx
;
background
:
#fff
;
margin-bottom
:
20rpx
;
.num
{
display
:
inline-block
;
width
:
46rpx
;
height
:
46rpx
;
text-align
:
center
;
line-height
:
46rpx
;
background
:
#CFCFCF
;
color
:
#fff
;
border-radius
:
50%
;
border
:
4rpx
#CFCFCF
solid
;
}
.actived
{
color
:
#F15A1F
;
border
:
4rpx
#F15A1F
solid
;
background
:
#fff
;
}
.pass
{
color
:
#fff
;
border
:
4rpx
#F15A1F
solid
;
background
:
#F15A1F
;
}
.line
{
display
:
inline-block
;
background
:
#CFCFCF
;
width
:
39rpx
;
height
:
4rpx
;
position
:
relative
;
top
:
-10rpx
;
}
.line_pass
{
background
:
#F15A1F
;
}
}
}
}
\ No newline at end of file
pages/application-process/bank-card.vue
View file @
eba3f263
<
template
>
<
template
>
<view
class=
"container"
>
<view
class=
"container"
>
<view
class=
"page"
>
<text
class=
"num actived pass"
>
1
</text>
<text
class=
"line line_pass"
></text>
<text
class=
"num actived pass"
>
2
</text>
<text
class=
"line line_pass"
></text>
<text
class=
"num actived pass"
>
3
</text>
<text
class=
"line line_pass"
></text>
<text
class=
"num actived pass"
>
4
</text>
<text
class=
"line line_pass"
></text>
<text
class=
"num actived"
>
5
</text>
<text
class=
"line"
></text>
<text
class=
"num"
>
6
</text>
<text
class=
"line"
></text>
<text
class=
"num"
>
7
</text>
<text
class=
"line"
></text>
<text
class=
"num"
>
8
</text>
</view>
<view
class=
"wrapper"
>
<view
class=
"title"
>
<view
class=
"title"
>
<view>
<view>
<text
class=
"line"
></text>
银行卡号
<text
class=
"line"
></text>
银行卡号
</view>
</view>
<text
class=
"page_mark"
>
5/8
</text>
<text
class=
"page_mark"
>
5/8
</text>
</view>
</view>
<div
class=
"content"
>
<view
class=
"content"
>
<div
class=
"contentDetail employ"
>
<view
class=
"contentDetail employ"
>
<div
class=
"contentItem"
>
<view
class=
"contentItem"
>
<text>
开户行
</text>
<text>
开户行
</text>
<input
class=
"form-control"
name=
""
placeholder=
"请输入"
v-model=
"applyParam.bankAccountOpening
"
/>
<input
class=
"form-control"
name=
""
placeholder=
"请输入"
v-model=
"applyParam.bankAccountOpening"
:disabled=
"this.applyParam.approvalStatus!= 0 && this.applyParam.approvalStatus != 2
"
/>
</div
>
</view
>
<div
class=
"contentItem"
>
<view
class=
"contentItem"
>
<text>
银行卡号
</text>
<text>
银行卡号
</text>
<input
class=
"form-control"
placeholder=
"请输入"
type=
"number"
maxlength=
"19"
v-model=
"applyParam.bankAccountId"
<input
class=
"form-control"
placeholder=
"请输入"
type=
"number"
maxlength=
"19"
v-model=
"applyParam.bankAccountId"
auto-blur=
true
@
blur=
"checkInput(applyParam.bankAccountId)
"
/>
auto-blur=
true
@
blur=
"checkInput(applyParam.bankAccountId)"
:disabled=
"this.applyParam.approvalStatus!= 0 && this.applyParam.approvalStatus != 2
"
/>
</div
>
</view
>
<div
class=
"contentItem"
>
<view
class=
"contentItem"
>
<text>
再次输入银行卡号以确认
</text>
<text>
再次输入银行卡号以确认
</text>
<input
class=
"form-control"
placeholder=
"请输入"
type=
"number"
v-model=
"sureBankAccountId"
maxlength=
"19"
<input
class=
"form-control"
placeholder=
"请输入"
type=
"number"
v-model=
"sureBankAccountId"
maxlength=
"19"
auto-blur=
true
@
blur=
"checkInput(sureBankAccountId)"
/>
auto-blur=
true
@
blur=
"checkInput(sureBankAccountId)"
:disabled=
"this.applyParam.approvalStatus!= 0 && this.applyParam.approvalStatus != 2"
/>
</div>
</view>
</div>
</view>
</div>
</view>
</view>
<view
class=
"fixed"
@
click=
"saveInfo()"
>
<view
class=
"fixed"
@
click=
"saveInfo()"
>
保存并下一步
{{
(
this
.
applyParam
.
approvalStatus
==
0
||
this
.
applyParam
.
approvalStatus
==
2
)?
'保存并下一步'
:
'下一步'
}}
</view>
</view>
</view>
</view>
</
template
>
</
template
>
...
@@ -43,17 +62,26 @@
...
@@ -43,17 +62,26 @@
}
}
},
},
components
:{},
components
:{},
onLoad
(){
onLoad
(
options
){
if
(
uni
.
getStorageSync
(
'applyId'
)){
if
(
uni
.
getStorageSync
(
'applyId'
)){
this
.
queryById
(
uni
.
getStorageSync
(
'applyId'
))
this
.
queryById
(
uni
.
getStorageSync
(
'applyId'
),
null
)
}
else
if
(
options
.
shareId
){
this
.
queryById
(
options
.
shareId
,
null
)
}
else
{
this
.
queryById
(
null
,
uni
.
getStorageSync
(
'cffp_userId'
))
}
}
},
},
methods
:{
methods
:{
queryById
(
id
){
queryById
(
id
,
userId
){
api
.
queryById
(
id
).
then
((
res
)
=>
{
api
.
queryById
(
{
id
:
id
,
userId
:
userId
}
).
then
((
res
)
=>
{
console
.
log
(
res
)
console
.
log
(
res
)
if
(
res
[
'success'
]){
if
(
res
[
'success'
]){
this
.
applyParam
=
res
[
'data'
][
'data'
];
this
.
applyParam
=
res
[
'data'
][
'data'
];
if
(
this
.
applyParam
.
bankAccountId
){
this
.
sureBankAccountId
=
this
.
applyParam
.
bankAccountId
;
}
else
{
this
.
sureBankAccountId
=
''
;
}
}
}
})
})
},
},
...
@@ -62,6 +90,7 @@
...
@@ -62,6 +90,7 @@
str
=
str
.
replace
(
/
\s
*/g
,
""
);
str
=
str
.
replace
(
/
\s
*/g
,
""
);
},
},
saveInfo
(){
saveInfo
(){
if
(
this
.
applyParam
.
approvalStatus
==
0
||
this
.
applyParam
.
approvalStatus
==
2
){
if
(
this
.
applyParam
.
bankAccountId
||
this
.
sureBankAccountId
){
if
(
this
.
applyParam
.
bankAccountId
||
this
.
sureBankAccountId
){
if
(
this
.
applyParam
.
bankAccountId
!=
this
.
sureBankAccountId
){
if
(
this
.
applyParam
.
bankAccountId
!=
this
.
sureBankAccountId
){
uni
.
showToast
({
uni
.
showToast
({
...
@@ -95,6 +124,12 @@
...
@@ -95,6 +124,12 @@
return
;
return
;
}
}
})
})
}
else
{
uni
.
navigateTo
({
// url:`personal-statement?id=${res['data']['id']}`
url
:
`personal-statement`
});
}
}
}
}
}
}
}
...
...
pages/application-process/basic-info.vue
View file @
eba3f263
<
template
>
<
template
>
<view
class=
"container"
>
<view
class=
"container"
>
<view
class=
"page"
>
<text
class=
"num actived"
>
1
</text>
<text
class=
"line"
></text>
<text
class=
"num"
>
2
</text>
<text
class=
"line"
></text>
<text
class=
"num"
>
3
</text>
<text
class=
"line"
></text>
<text
class=
"num"
>
4
</text>
<text
class=
"line"
></text>
<text
class=
"num"
>
5
</text>
<text
class=
"line"
></text>
<text
class=
"num"
>
6
</text>
<text
class=
"line"
></text>
<text
class=
"num"
>
7
</text>
<text
class=
"line"
></text>
<text
class=
"num"
>
8
</text>
</view>
<view
class=
"wrapper"
>
<view
class=
"title"
>
<view
class=
"title"
>
<view>
<view>
<text
class=
"line"
></text>
<text
class=
"line"
></text>
...
@@ -11,12 +29,13 @@
...
@@ -11,12 +29,13 @@
<view
class=
"contentDetail employ"
>
<view
class=
"contentDetail employ"
>
<view
class=
"contentItem"
>
<view
class=
"contentItem"
>
<text>
邀请码
</text>
<text>
邀请码
</text>
<input
type=
"text"
class=
"form-control"
placeholder=
"非必填"
v-model=
"applyParam.inviterInvitationCode"
/>
<input
type=
"text"
class=
"form-control"
placeholder=
"非必填"
v-model=
"applyParam.inviterInvitationCode"
:disabled=
"this.applyParam.approvalStatus!= 0 && this.applyParam.approvalStatus != 2"
/>
</view>
</view>
<view
class=
"contentItem"
>
<view
class=
"contentItem"
>
<text>
申请身份
</text>
<text>
申请身份
</text>
<picker
@
change=
"changeIdentity"
:value=
"identityIdx"
:range=
"identityArr"
<picker
@
change=
"changeIdentity"
:value=
"identityIdx"
:range=
"identityArr"
range-key=
"name
"
>
range-key=
"name"
:disabled=
"this.applyParam.approvalStatus!= 0 && this.applyParam.approvalStatus != 2
"
>
<view
class=
"uni-input"
>
{{
identityArr
[
identityIdx
][
'name'
]
}}
<view
class=
"uni-input"
>
{{
identityArr
[
identityIdx
][
'name'
]
}}
<text
class=
"iconfont icon-youjiantou"
></text>
<text
class=
"iconfont icon-youjiantou"
></text>
</view>
</view>
...
@@ -25,7 +44,7 @@
...
@@ -25,7 +44,7 @@
<view
class=
"contentItem"
>
<view
class=
"contentItem"
>
<text>
所属组织
</text>
<text>
所属组织
</text>
<picker
@
change=
"changeArea"
:value=
"areaIdIdx"
:range=
"cffpAreaQuerys"
<picker
@
change=
"changeArea"
:value=
"areaIdIdx"
:range=
"cffpAreaQuerys"
range-key=
"areaName
"
>
range-key=
"areaName"
:disabled=
"this.applyParam.approvalStatus!= 0 && this.applyParam.approvalStatus != 2
"
>
<view
class=
"uni-input"
>
{{
cffpAreaQuerys
[
areaIdIdx
][
'areaName'
]
}}
<view
class=
"uni-input"
>
{{
cffpAreaQuerys
[
areaIdIdx
][
'areaName'
]
}}
<text
class=
"iconfont icon-youjiantou"
></text>
<text
class=
"iconfont icon-youjiantou"
></text>
</view>
</view>
...
@@ -34,17 +53,17 @@
...
@@ -34,17 +53,17 @@
<view
class=
"contentItem"
>
<view
class=
"contentItem"
>
<text>
姓名
</text>
<text>
姓名
</text>
<input
type=
"text"
class=
"form-control"
v-model=
"applyParam.name"
placeholder=
"请输入姓名"
<input
type=
"text"
class=
"form-control"
v-model=
"applyParam.name"
placeholder=
"请输入姓名"
auto-blur=
true
@
blur=
"checkInput(1,applyParam.name)
"
/>
auto-blur=
true
@
blur=
"checkInput(1,applyParam.name)"
:disabled=
"this.applyParam.approvalStatus!= 0 && this.applyParam.approvalStatus != 2
"
/>
</view>
</view>
<view
class=
"contentItem"
>
<view
class=
"contentItem"
>
<text>
手机号
</text>
<text>
手机号
</text>
<input
type=
"text"
class=
"form-control"
v-model=
"applyParam.mobileNumber"
placeholder=
"请输入手机号"
maxlength=
"11"
<input
type=
"text"
class=
"form-control"
v-model=
"applyParam.mobileNumber"
placeholder=
"请输入手机号"
maxlength=
"11"
auto-blur=
true
@
blur=
"checkInput(2,applyParam.mobileNumber)"
/>
auto-blur=
true
@
blur=
"checkInput(2,applyParam.mobileNumber)"
:disabled=
"this.applyParam.approvalStatus!= 0 && this.applyParam.approvalStatus != 2"
/>
</view>
</view>
<view
class=
"contentItem"
>
<view
class=
"contentItem"
>
<text>
证件类型
</text>
<text>
证件类型
</text>
<picker
@
change=
"changeIdType"
:value=
"idTypeIdx"
:range=
"idTypesList"
<picker
@
change=
"changeIdType"
:value=
"idTypeIdx"
:range=
"idTypesList"
range-key=
"name
"
>
range-key=
"name"
:disabled=
"this.applyParam.approvalStatus!= 0 && this.applyParam.approvalStatus != 2
"
>
<view
class=
"uni-input"
>
{{
idTypesList
[
idTypeIdx
][
'name'
]
}}
<view
class=
"uni-input"
>
{{
idTypesList
[
idTypeIdx
][
'name'
]
}}
<text
class=
"iconfont icon-youjiantou"
></text>
<text
class=
"iconfont icon-youjiantou"
></text>
</view>
</view>
...
@@ -54,25 +73,26 @@
...
@@ -54,25 +73,26 @@
<text>
证件号码
</text>
<text>
证件号码
</text>
<view>
<view>
<input
type=
"text"
class=
"form-control"
v-model=
"applyParam.idNo"
placeholder=
"请输入证件号码"
<input
type=
"text"
class=
"form-control"
v-model=
"applyParam.idNo"
placeholder=
"请输入证件号码"
auto-blur=
true
@
blur=
"checkInput(3,applyParam.idNo)
"
/>
auto-blur=
true
@
blur=
"checkInput(3,applyParam.idNo)"
:disabled=
"this.applyParam.approvalStatus!= 0 && this.applyParam.approvalStatus != 2
"
/>
</view>
</view>
</view>
</view>
<view
class=
"contentItem"
>
<view
class=
"contentItem"
>
<text>
出生日期
</text>
<text>
出生日期
</text>
<picker
mode=
"date"
:value=
"applyParam.birthday"
@
change=
"bindBirthday"
<picker
mode=
"date"
:value=
"applyParam.birthday"
@
change=
"bindBirthday"
:end=
"maxDate
"
>
:end=
"maxDate"
:disabled=
"this.applyParam.approvalStatus!= 0 && this.applyParam.approvalStatus != 2
"
>
<view
v-if=
"!applyParam.birthday"
>
请选择
<text
class=
"iconfont icon-youjiantou"
></text>
</view>
<view
v-if=
"!applyParam.birthday"
>
请选择
<text
class=
"iconfont icon-youjiantou"
></text>
</view>
<view
class=
"uni-input"
v-if=
"applyParam.birthday"
>
{{
this
.
applyParam
.
birthday
}}
<text
class=
"iconfont icon-youjiantou"
></text></view>
<view
class=
"uni-input"
v-if=
"applyParam.birthday"
>
{{
this
.
applyParam
.
birthday
}}
<text
class=
"iconfont icon-youjiantou"
></text></view>
</picker>
</picker>
</view>
</view>
<view
class=
"contentItem"
>
<view
class=
"contentItem"
>
<text>
居住地址
</text>
<text>
居住地址
</text>
<view><input
type=
"text"
class=
"form-control"
placeholder=
"请选择"
/></view>
<view><input
type=
"text"
class=
"form-control"
placeholder=
"请选择"
:disabled=
"this.applyParam.approvalStatus!= 0 && this.applyParam.approvalStatus != 2"
/></view>
</view>
</view>
</view>
</view>
</view>
</view>
</view>
<view
class=
"fixed"
@
click=
"saveInfo()"
>
<view
class=
"fixed"
@
click=
"saveInfo()"
>
保存并下一步
{{
(
this
.
applyParam
.
approvalStatus
==
0
||
this
.
applyParam
.
approvalStatus
==
2
)?
'保存并下一步'
:
'下一步'
}}
</view>
</view>
</view>
</view>
</
template
>
</
template
>
...
@@ -105,14 +125,21 @@
...
@@ -105,14 +125,21 @@
}
}
},
},
components
:{},
components
:{},
onLoad
(){
onLoad
(
options
){
this
.
erpInitialize
();
this
.
erpInitialize
();
this
.
queryOrgList
();
this
.
queryOrgList
();
if
(
uni
.
getStorageSync
(
'applyId'
)){
setTimeout
(()
=>
{
setTimeout
(()
=>
{
this
.
queryById
(
uni
.
getStorageSync
(
'applyId'
))
if
(
uni
.
getStorageSync
(
'applyId'
)){
},
500
)
this
.
queryById
(
uni
.
getStorageSync
(
'applyId'
),
null
)
}
else
if
(
options
.
shareId
){
this
.
queryById
(
options
.
shareId
,
null
)
}
else
{
this
.
queryById
(
null
,
uni
.
getStorageSync
(
'cffp_userId'
))
}
}
},
500
)
// let routes = getCurrentPages(); // 获取当前打开过的页面路由数组
// let curRoute = routes[routes.length - 1].route // 获取当前页面路由,也就是最后一个打开的页面路由
// console.log('当前路由地址',curRoute)
},
},
methods
:{
methods
:{
erpInitialize
(){
erpInitialize
(){
...
@@ -201,8 +228,8 @@
...
@@ -201,8 +228,8 @@
}
}
},
},
queryById
(
id
){
queryById
(
id
,
userId
){
api
.
queryById
(
id
).
then
((
res
)
=>
{
api
.
queryById
(
{
id
:
id
,
userId
:
userId
}
).
then
((
res
)
=>
{
console
.
log
(
res
)
console
.
log
(
res
)
if
(
res
[
'success'
]){
if
(
res
[
'success'
]){
this
.
applyParam
=
res
[
'data'
][
'data'
];
this
.
applyParam
=
res
[
'data'
][
'data'
];
...
@@ -220,6 +247,7 @@
...
@@ -220,6 +247,7 @@
})
})
},
},
saveInfo
(){
saveInfo
(){
if
(
this
.
applyParam
.
approvalStatus
==
0
||
this
.
applyParam
.
approvalStatus
==
2
){
if
(
!
this
.
applyParam
.
name
){
if
(
!
this
.
applyParam
.
name
){
uni
.
showToast
({
uni
.
showToast
({
title
:
'请输入姓名'
,
title
:
'请输入姓名'
,
...
@@ -293,6 +321,12 @@
...
@@ -293,6 +321,12 @@
return
;
return
;
}
}
})
})
}
else
{
uni
.
navigateTo
({
// url:`work-experience?id=${res['data']['id']}`
url
:
`work-experience`
});
}
}
}
}
}
}
}
...
...
pages/application-process/contract.vue
View file @
eba3f263
<
template
>
<
template
>
<view
class=
"container"
>
<view
class=
"container"
>
<view
class=
"page"
>
<text
class=
"num actived pass"
>
1
</text>
<text
class=
"line line_pass"
></text>
<text
class=
"num actived pass"
>
2
</text>
<text
class=
"line line_pass"
></text>
<text
class=
"num actived pass"
>
3
</text>
<text
class=
"line line_pass"
></text>
<text
class=
"num actived pass"
>
4
</text>
<text
class=
"line line_pass"
></text>
<text
class=
"num actived pass"
>
5
</text>
<text
class=
"line line_pass"
></text>
<text
class=
"num actived pass"
>
6
</text>
<text
class=
"line line_pass"
></text>
<text
class=
"num actived"
>
7
</text>
<text
class=
"line"
></text>
<text
class=
"num"
>
8
</text>
</view>
<view
class=
"wrapper"
>
<view
class=
"title"
>
<view
class=
"title"
>
<view>
<view>
<text
class=
"line"
></text>
合同文档确认
<text
class=
"line"
></text>
合同文档确认
...
@@ -17,8 +35,9 @@
...
@@ -17,8 +35,9 @@
</view>
</view>
</view>
</view>
</view>
</view>
</view>
<view
class=
"fixed"
@
click=
"saveInfo()"
>
<view
class=
"fixed"
@
click=
"saveInfo()"
>
全部阅读且同意,下一步
{{
(
this
.
applyParam
.
approvalStatus
==
0
||
this
.
applyParam
.
approvalStatus
==
2
)?
'全部阅读且同意,下一步'
:
'下一步'
}}
</view>
</view>
</view>
</view>
<view
class=
"toastWrapper toast"
v-if=
"isShow"
></view>
<view
class=
"toastWrapper toast"
v-if=
"isShow"
></view>
...
@@ -50,13 +69,17 @@
...
@@ -50,13 +69,17 @@
}
}
},
},
components
:{},
components
:{},
onLoad
(){
onLoad
(
options
){
this
.
getContractList
();
this
.
getContractList
();
if
(
uni
.
getStorageSync
(
'applyId'
)){
setTimeout
(()
=>
{
setTimeout
(()
=>
{
this
.
queryById
(
uni
.
getStorageSync
(
'applyId'
))
if
(
uni
.
getStorageSync
(
'applyId'
)){
},
500
)
this
.
queryById
(
uni
.
getStorageSync
(
'applyId'
),
null
)
}
else
if
(
options
.
shareId
){
this
.
queryById
(
options
.
shareId
,
null
)
}
else
{
this
.
queryById
(
null
,
uni
.
getStorageSync
(
'cffp_userId'
))
}
}
},
500
)
},
},
methods
:{
methods
:{
getContractList
(){
getContractList
(){
...
@@ -66,6 +89,7 @@
...
@@ -66,6 +89,7 @@
})
})
},
},
saveInfo
(){
saveInfo
(){
if
(
this
.
applyParam
.
approvalStatus
==
0
||
this
.
applyParam
.
approvalStatus
==
2
){
if
(
!
this
.
isAllAgree
)
{
if
(
!
this
.
isAllAgree
)
{
uni
.
showToast
({
uni
.
showToast
({
title
:
'请详细阅读全部条款!'
,
title
:
'请详细阅读全部条款!'
,
...
@@ -95,8 +119,16 @@
...
@@ -95,8 +119,16 @@
return
;
return
;
}
}
})
})
}
else
{
uni
.
navigateTo
({
// url:`signature?id=${res['data']['id']}`
url
:
`signature`
});
}
},
},
readContract
(
contractItem
)
{
readContract
(
contractItem
)
{
if
(
this
.
applyParam
.
approvalStatus
==
0
||
this
.
applyParam
.
approvalStatus
==
2
){
if
(
contractItem
.
confirmStatus
==
1
)
{
if
(
contractItem
.
confirmStatus
==
1
)
{
contractItem
.
confirmStatus
=
0
;
contractItem
.
confirmStatus
=
0
;
}
else
{
}
else
{
...
@@ -108,6 +140,7 @@
...
@@ -108,6 +140,7 @@
this
.
isAllAgree
=
this
.
contractTermsList
.
every
((
item
)
=>
{
this
.
isAllAgree
=
this
.
contractTermsList
.
every
((
item
)
=>
{
return
item
.
confirmStatus
==
1
;
return
item
.
confirmStatus
==
1
;
});
});
}
},
},
//同意合同条款
//同意合同条款
agree
()
{
agree
()
{
...
@@ -121,8 +154,8 @@
...
@@ -121,8 +154,8 @@
return
item
.
confirmStatus
==
1
;
return
item
.
confirmStatus
==
1
;
});
});
},
},
queryById
(
id
){
queryById
(
id
,
userId
){
api
.
queryById
(
id
).
then
((
res
)
=>
{
api
.
queryById
(
{
id
:
id
,
userId
:
userId
}
).
then
((
res
)
=>
{
if
(
res
[
'success'
]){
if
(
res
[
'success'
]){
this
.
applyParam
=
res
[
'data'
][
'data'
];
this
.
applyParam
=
res
[
'data'
][
'data'
];
if
(
this
.
applyParam
.
contractTerms
){
if
(
this
.
applyParam
.
contractTerms
){
...
...
pages/application-process/education.vue
View file @
eba3f263
<
template
>
<
template
>
<view
class=
"container"
>
<view
class=
"container"
>
<view
class=
"page"
>
<text
class=
"num actived pass"
>
1
</text>
<text
class=
"line line_pass"
></text>
<text
class=
"num actived pass"
>
2
</text>
<text
class=
"line line_pass"
></text>
<text
class=
"num actived pass"
>
3
</text>
<text
class=
"line line_pass"
></text>
<text
class=
"num actived"
>
4
</text>
<text
class=
"line"
></text>
<text
class=
"num"
>
5
</text>
<text
class=
"line"
></text>
<text
class=
"num"
>
6
</text>
<text
class=
"line"
></text>
<text
class=
"num"
>
7
</text>
<text
class=
"line"
></text>
<text
class=
"num"
>
8
</text>
</view>
<view
class=
"wrapper"
>
<view
class=
"title"
>
<view
class=
"title"
>
<view>
<view>
<text
class=
"line"
></text>
学历信息
<text
class=
"line"
></text>
学历信息
...
@@ -11,7 +29,7 @@
...
@@ -11,7 +29,7 @@
<view
class=
"contentItem"
>
<view
class=
"contentItem"
>
<text>
最高学历:如本科、专科、硕士
</text>
<text>
最高学历:如本科、专科、硕士
</text>
<picker
@
change=
"changeEducation"
:value=
"educationIdx"
:range=
"educationLevelList"
<picker
@
change=
"changeEducation"
:value=
"educationIdx"
:range=
"educationLevelList"
range-key=
"name
"
>
range-key=
"name"
:disabled=
"this.applyParam.approvalStatus!= 0 && this.applyParam.approvalStatus != 2
"
>
<view
class=
"uni-input"
>
{{
educationLevelList
[
educationIdx
][
'name'
]
}}
<view
class=
"uni-input"
>
{{
educationLevelList
[
educationIdx
][
'name'
]
}}
<text
class=
"iconfont icon-youjiantou"
></text>
<text
class=
"iconfont icon-youjiantou"
></text>
</view>
</view>
...
@@ -19,7 +37,8 @@
...
@@ -19,7 +37,8 @@
</view>
</view>
<view
class=
"contentItem"
>
<view
class=
"contentItem"
>
<text>
毕业学校
</text>
<text>
毕业学校
</text>
<input
class=
"form-control"
v-model=
"applyParam.lastGraduateSchool"
/>
<input
class=
"form-control"
v-model=
"applyParam.lastGraduateSchool"
:disabled=
"this.applyParam.approvalStatus!= 0 && this.applyParam.approvalStatus != 2"
/>
</view>
</view>
<view
class=
"contentItem"
style=
"border:none;"
>
<view
class=
"contentItem"
style=
"border:none;"
>
<text>
毕业证
</text>
<text>
毕业证
</text>
...
@@ -36,8 +55,9 @@
...
@@ -36,8 +55,9 @@
<view>
(jpg,png 文件大小不大于1mb)
</view>
<view>
(jpg,png 文件大小不大于1mb)
</view>
</view>
</view>
</view>
</view>
</view>
<view
class=
"fixed"
@
click=
"saveInfo()"
>
<view
class=
"fixed"
@
click=
"saveInfo()"
>
保存并下一步
{{
(
this
.
applyParam
.
approvalStatus
==
0
||
this
.
applyParam
.
approvalStatus
==
2
)?
'保存并下一步'
:
'下一步'
}}
</view>
</view>
</view>
</view>
</
template
>
</
template
>
...
@@ -66,11 +86,17 @@
...
@@ -66,11 +86,17 @@
}
}
},
},
components
:{},
components
:{},
onLoad
(){
onLoad
(
options
){
this
.
educationLevelQuery
();
this
.
educationLevelQuery
();
setTimeout
(()
=>
{
if
(
uni
.
getStorageSync
(
'applyId'
)){
if
(
uni
.
getStorageSync
(
'applyId'
)){
this
.
queryById
(
uni
.
getStorageSync
(
'applyId'
))
this
.
queryById
(
uni
.
getStorageSync
(
'applyId'
),
null
)
}
else
if
(
options
.
shareId
){
this
.
queryById
(
options
.
shareId
,
null
)
}
else
{
this
.
queryById
(
null
,
uni
.
getStorageSync
(
'cffp_userId'
))
}
}
},
500
)
},
},
methods
:{
methods
:{
educationLevelQuery
(){
educationLevelQuery
(){
...
@@ -81,8 +107,8 @@
...
@@ -81,8 +107,8 @@
}
}
})
})
},
},
queryById
(
id
){
queryById
(
id
,
userId
){
api
.
queryById
(
id
).
then
((
res
)
=>
{
api
.
queryById
(
{
id
:
id
,
userId
:
userId
}
).
then
((
res
)
=>
{
console
.
log
(
res
)
console
.
log
(
res
)
if
(
res
[
'success'
]){
if
(
res
[
'success'
]){
this
.
applyParam
=
res
[
'data'
][
'data'
];
this
.
applyParam
=
res
[
'data'
][
'data'
];
...
@@ -95,15 +121,18 @@
...
@@ -95,15 +121,18 @@
})
})
},
},
upLoadPhoto
(
event
){
upLoadPhoto
(
event
){
if
(
this
.
applyParam
.
approvalStatus
==
0
||
this
.
applyParam
.
approvalStatus
==
2
){
CommonUpload
(
this
.
dataForm
).
then
(
res
=>
{
CommonUpload
(
this
.
dataForm
).
then
(
res
=>
{
this
.
applyParam
.
lastGraduateCertificationOssPath
=
res
.
data
.
filePath
;
this
.
applyParam
.
lastGraduateCertificationOssPath
=
res
.
data
.
filePath
;
});
});
}
},
},
changeEducation
:
function
(
e
){
changeEducation
:
function
(
e
){
this
.
educationIdx
=
e
.
detail
.
value
;
this
.
educationIdx
=
e
.
detail
.
value
;
this
.
applyParam
.
lastGraduateGrade
=
this
.
educationLevelList
[
this
.
educationIdx
][
'name'
];
this
.
applyParam
.
lastGraduateGrade
=
this
.
educationLevelList
[
this
.
educationIdx
][
'name'
];
},
},
saveInfo
(){
saveInfo
(){
if
(
this
.
applyParam
.
approvalStatus
==
0
||
this
.
applyParam
.
approvalStatus
==
2
){
if
(
!
this
.
applyParam
.
lastGraduateGrade
){
if
(
!
this
.
applyParam
.
lastGraduateGrade
){
uni
.
showToast
({
uni
.
showToast
({
title
:
'请选择最高学历'
,
title
:
'请选择最高学历'
,
...
@@ -151,6 +180,12 @@
...
@@ -151,6 +180,12 @@
return
;
return
;
}
}
})
})
}
else
{
uni
.
navigateTo
({
// url:`bank-card?id=${res['data']['id']}`
url
:
`bank-card`
});
}
}
}
}
}
}
}
...
...
pages/application-process/id-card.vue
View file @
eba3f263
<
template
>
<
template
>
<view
class=
"container"
>
<view
class=
"container"
>
<view
class=
"page"
>
<text
class=
"num actived pass"
>
1
</text>
<text
class=
"line line_pass"
></text>
<text
class=
"num actived pass"
>
2
</text>
<text
class=
"line line_pass"
></text>
<text
class=
"num actived"
>
3
</text>
<text
class=
"line"
></text>
<text
class=
"num"
>
4
</text>
<text
class=
"line"
></text>
<text
class=
"num"
>
5
</text>
<text
class=
"line"
></text>
<text
class=
"num"
>
6
</text>
<text
class=
"line"
></text>
<text
class=
"num"
>
7
</text>
<text
class=
"line"
></text>
<text
class=
"num"
>
8
</text>
</view>
<view
class=
"wrapper"
>
<view
class=
"title"
>
<view
class=
"title"
>
<view>
<view>
<text
class=
"line"
></text>
个人证件资料
<text
class=
"line"
></text>
个人证件资料
...
@@ -34,8 +52,9 @@
...
@@ -34,8 +52,9 @@
</view>
</view>
</view>
</view>
</view>
</view>
</view>
<view
class=
"fixed"
@
click=
"saveInfo()"
>
<view
class=
"fixed"
@
click=
"saveInfo()"
>
保存并下一步
{{
(
this
.
applyParam
.
approvalStatus
==
0
||
this
.
applyParam
.
approvalStatus
==
2
)?
'保存并下一步'
:
'下一步'
}}
</view>
</view>
</view>
</view>
</
template
>
</
template
>
...
@@ -61,14 +80,18 @@
...
@@ -61,14 +80,18 @@
}
}
},
},
components
:{},
components
:{},
onLoad
(){
onLoad
(
options
){
if
(
uni
.
getStorageSync
(
'applyId'
)){
if
(
uni
.
getStorageSync
(
'applyId'
)){
this
.
queryById
(
uni
.
getStorageSync
(
'applyId'
))
this
.
queryById
(
uni
.
getStorageSync
(
'applyId'
),
null
)
}
else
if
(
options
.
shareId
){
this
.
queryById
(
options
.
shareId
,
null
)
}
else
{
this
.
queryById
(
null
,
uni
.
getStorageSync
(
'cffp_userId'
))
}
}
},
},
methods
:{
methods
:{
queryById
(
id
){
queryById
(
id
,
userId
){
api
.
queryById
(
id
).
then
((
res
)
=>
{
api
.
queryById
(
{
id
:
id
,
userId
:
userId
}
).
then
((
res
)
=>
{
console
.
log
(
res
)
console
.
log
(
res
)
if
(
res
[
'success'
]){
if
(
res
[
'success'
]){
this
.
applyParam
=
res
[
'data'
][
'data'
];
this
.
applyParam
=
res
[
'data'
][
'data'
];
...
@@ -76,6 +99,7 @@
...
@@ -76,6 +99,7 @@
})
})
},
},
upLoadPhoto
(
type
){
upLoadPhoto
(
type
){
if
(
this
.
applyParam
.
approvalStatus
==
0
||
this
.
applyParam
.
approvalStatus
==
2
){
if
(
type
==
'front'
){
if
(
type
==
'front'
){
this
.
dataForm
.
targetNo
=
2
;
this
.
dataForm
.
targetNo
=
2
;
}
}
...
@@ -90,8 +114,10 @@
...
@@ -90,8 +114,10 @@
this
.
applyParam
.
idBackPageOssPath
=
res
.
data
.
filePath
;
this
.
applyParam
.
idBackPageOssPath
=
res
.
data
.
filePath
;
}
}
})
})
}
},
},
saveInfo
(){
saveInfo
(){
if
(
this
.
applyParam
.
approvalStatus
==
0
||
this
.
applyParam
.
approvalStatus
==
2
){
if
(
!
this
.
applyParam
.
idFrontPageOssPath
){
if
(
!
this
.
applyParam
.
idFrontPageOssPath
){
uni
.
showToast
({
uni
.
showToast
({
title
:
'请上传身份证正面照片'
,
title
:
'请上传身份证正面照片'
,
...
@@ -131,6 +157,12 @@
...
@@ -131,6 +157,12 @@
return
;
return
;
}
}
})
})
}
else
{
uni
.
navigateTo
({
// url:`id-card?id=${res['data']['id']}`
url
:
`education`
});
}
}
}
}
}
}
}
...
...
pages/application-process/personal-statement.vue
View file @
eba3f263
<
template
>
<
template
>
<view
class=
"container"
>
<view
class=
"container"
>
<view
class=
"page"
>
<text
class=
"num actived pass"
>
1
</text>
<text
class=
"line line_pass"
></text>
<text
class=
"num actived pass"
>
2
</text>
<text
class=
"line line_pass"
></text>
<text
class=
"num actived pass"
>
3
</text>
<text
class=
"line line_pass"
></text>
<text
class=
"num actived pass"
>
4
</text>
<text
class=
"line line_pass"
></text>
<text
class=
"num actived pass"
>
5
</text>
<text
class=
"line line_pass"
></text>
<text
class=
"num actived"
>
6
</text>
<text
class=
"line"
></text>
<text
class=
"num"
>
7
</text>
<text
class=
"line"
></text>
<text
class=
"num"
>
8
</text>
</view>
<view
class=
"wrapper"
>
<view
class=
"title"
>
<view
class=
"title"
>
<view>
<view>
<text
class=
"line"
></text>
个人声明
<text
class=
"line"
></text>
个人声明
...
@@ -17,8 +35,9 @@
...
@@ -17,8 +35,9 @@
</view>
</view>
</view>
</view>
</view>
</view>
</view>
<view
class=
"fixed"
@
click=
"saveInfo()"
>
<view
class=
"fixed"
@
click=
"saveInfo()"
>
保存并下一步
{{
(
this
.
applyParam
.
approvalStatus
==
0
||
this
.
applyParam
.
approvalStatus
==
2
)?
'保存并下一步'
:
'下一步'
}}
</view>
</view>
</view>
</view>
</
template
>
</
template
>
...
@@ -36,13 +55,18 @@
...
@@ -36,13 +55,18 @@
}
}
},
},
components
:{},
components
:{},
onLoad
(){
onLoad
(
options
){
this
.
dropOptionsQuery
();
this
.
dropOptionsQuery
();
if
(
uni
.
getStorageSync
(
'applyId'
)){
setTimeout
(()
=>
{
setTimeout
(()
=>
{
this
.
queryById
(
uni
.
getStorageSync
(
'applyId'
))
if
(
uni
.
getStorageSync
(
'applyId'
)){
},
500
)
this
.
queryById
(
uni
.
getStorageSync
(
'applyId'
),
null
)
}
else
if
(
options
.
shareId
){
this
.
queryById
(
options
.
shareId
,
null
)
}
else
{
this
.
queryById
(
null
,
uni
.
getStorageSync
(
'cffp_userId'
))
}
}
},
500
)
},
},
methods
:{
methods
:{
dropOptionsQuery
(){
dropOptionsQuery
(){
...
@@ -51,15 +75,16 @@
...
@@ -51,15 +75,16 @@
})
})
},
},
selectStatements
(
personalStatements
)
{
selectStatements
(
personalStatements
)
{
if
(
this
.
applyParam
.
approvalStatus
==
0
||
this
.
applyParam
.
approvalStatus
==
2
){
if
(
personalStatements
.
status
==
1
)
{
if
(
personalStatements
.
status
==
1
)
{
personalStatements
.
status
=
0
;
personalStatements
.
status
=
0
;
}
else
{
}
else
{
personalStatements
.
status
=
1
;
personalStatements
.
status
=
1
;
}
}
console
.
log
(
this
.
dropOptionsInfoList
)
}
},
},
queryById
(
id
){
queryById
(
id
,
userId
){
api
.
queryById
(
id
).
then
((
res
)
=>
{
api
.
queryById
(
{
id
:
id
,
userId
:
userId
}
).
then
((
res
)
=>
{
if
(
res
[
'success'
]){
if
(
res
[
'success'
]){
this
.
applyParam
=
res
[
'data'
][
'data'
];
this
.
applyParam
=
res
[
'data'
][
'data'
];
if
(
this
.
applyParam
.
personalStatement
){
if
(
this
.
applyParam
.
personalStatement
){
...
@@ -76,6 +101,7 @@
...
@@ -76,6 +101,7 @@
})
})
},
},
saveInfo
(){
saveInfo
(){
if
(
this
.
applyParam
.
approvalStatus
==
0
||
this
.
applyParam
.
approvalStatus
==
2
){
const
selectedPersonalStatement
=
this
.
dropOptionsInfoList
.
filter
((
item
)
=>
{
const
selectedPersonalStatement
=
this
.
dropOptionsInfoList
.
filter
((
item
)
=>
{
return
item
.
status
==
1
;
return
item
.
status
==
1
;
});
});
...
@@ -108,6 +134,12 @@
...
@@ -108,6 +134,12 @@
return
;
return
;
}
}
})
})
}
else
{
uni
.
navigateTo
({
// url:`contract?id=${res['data']['id']}`
url
:
`contract`
});
}
}
}
}
}
}
}
...
...
pages/application-process/signature.vue
View file @
eba3f263
<
template
>
<
template
>
<view
class=
"container"
>
<view
class=
"container"
>
<view
class=
"page"
>
<text
class=
"num actived pass"
>
1
</text>
<text
class=
"line line_pass"
></text>
<text
class=
"num actived pass"
>
2
</text>
<text
class=
"line line_pass"
></text>
<text
class=
"num actived pass"
>
3
</text>
<text
class=
"line line_pass"
></text>
<text
class=
"num actived pass"
>
4
</text>
<text
class=
"line line_pass"
></text>
<text
class=
"num actived pass"
>
5
</text>
<text
class=
"line line_pass"
></text>
<text
class=
"num actived pass"
>
6
</text>
<text
class=
"line line_pass"
></text>
<text
class=
"num actived pass"
>
7
</text>
<text
class=
"line line_pass"
></text>
<text
class=
"num actived"
>
8
</text>
</view>
<view
class=
"title"
>
<view
class=
"title"
>
<view>
<view>
<text
class=
"line"
></text>
电子签名
<text
style=
"font-size: 20rpx;font-weight: normal;"
>
(请书写工整,字迹清晰)
</text>
<text
class=
"line"
></text>
电子签名
<text
style=
"font-size: 20rpx;font-weight: normal;"
>
(请书写工整,字迹清晰)
</text>
</view>
</view>
<text
class=
"page_mark"
>
8/8
</text>
<text
class=
"page_mark"
>
8/8
</text>
</view>
</view>
<view
class=
"signatureContent"
>
<view
class=
"signatureContent"
v-if=
"!applyParam.personalSignOssPath"
>
<e-signature
:showCanvas=
"showCanvas"
ref=
"signatureComponent"
@
sendImage=
"getImage"
></e-signature>
<e-signature
:showCanvas=
"showCanvas"
ref=
"signatureComponent"
@
sendImage=
"getImage"
></e-signature>
</view>
</view>
<image
:src=
"applyParam.personalSignOssPath"
mode=
"widthFix"
v-if=
"applyParam.personalSignOssPath"
></image>
<view
class=
"fixed"
url=
"bank-card"
@
click=
"save()"
>
<view
class=
"fixed"
url=
"bank-card"
@
click=
"save()"
>
我自愿签订推广人合同书
{{
(
this
.
applyParam
.
approvalStatus
==
0
||
this
.
applyParam
.
approvalStatus
==
2
)?
'我自愿签订推广人合同书'
:
'下一步'
}}
</view>
</view>
</view>
</view>
</
template
>
</
template
>
...
@@ -18,7 +36,7 @@
...
@@ -18,7 +36,7 @@
<
script
>
<
script
>
import
eSignature
from
'@/components/eSignature/eSignature.vue'
;
import
eSignature
from
'@/components/eSignature/eSignature.vue'
;
import
api
from
'../../api/api'
;
import
api
from
'../../api/api'
;
import
{
nextTick
}
from
"vue"
;
import
{
nextTick
}
from
"vue"
;
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
...
@@ -32,30 +50,55 @@ import { nextTick } from "vue";
...
@@ -32,30 +50,55 @@ import { nextTick } from "vue";
}
}
},
},
components
:{
eSignature
},
components
:{
eSignature
},
onLoad
()
{
onLoad
(
options
)
{
if
(
uni
.
getStorageSync
(
'applyId'
)){
if
(
uni
.
getStorageSync
(
'applyId'
)){
setTimeout
(()
=>
{
this
.
queryById
(
uni
.
getStorageSync
(
'applyId'
),
null
)
this
.
queryById
(
uni
.
getStorageSync
(
'applyId'
))
}
else
if
(
options
.
shareId
){
},
500
)
this
.
queryById
(
options
.
shareId
,
null
)
}
else
{
this
.
queryById
(
null
,
uni
.
getStorageSync
(
'cffp_userId'
))
}
}
},
},
methods
:
{
methods
:
{
save
(){
save
(){
if
(
this
.
applyParam
.
personalSignOssPath
){
this
.
saveApplyInfo
();
}
else
{
this
.
$refs
.
signatureComponent
.
finish
()
this
.
$refs
.
signatureComponent
.
finish
()
}
},
},
queryById
(
id
){
queryById
(
id
,
userId
){
api
.
queryById
(
id
).
then
((
res
)
=>
{
api
.
queryById
(
{
id
:
id
,
userId
:
userId
}
).
then
((
res
)
=>
{
if
(
res
[
'success'
]){
if
(
res
[
'success'
]){
this
.
applyParam
=
res
[
'data'
][
'data'
];
this
.
applyParam
=
res
[
'data'
][
'data'
];
}
}
})
})
},
},
getImage
(
e
){
getImage
(
e
){
this
.
applyParam
.
personalSignOssPath
=
e
;
api
.
saveDigitalSignatures
({
imgStr
:
e
}).
then
((
res
)
=>
{
api
.
saveApplyInfo
(
this
.
applyParam
).
then
((
res
)
=>
{
console
.
log
(
res
)
console
.
log
(
res
)
if
(
res
[
'success'
]){
if
(
res
[
'success'
]){
// this.applyParam.personalSignOssPath = e;
this
.
applyParam
.
personalSignOssPath
=
res
[
'data'
][
'filePath'
];
this
.
saveApplyInfo
();
}
})
},
saveApplyInfo
(){
if
(
this
.
applyParam
.
approvalStatus
==
0
||
this
.
applyParam
.
approvalStatus
==
2
){
this
.
applyParam
=
{
...
this
.
applyParam
,
operatStep
:
99
}
api
.
saveApplyInfo
(
this
.
applyParam
).
then
((
res
)
=>
{
if
(
res
[
'success'
]){
uni
.
navigateTo
({
url
:
`application-result?partnerLevel=
${
this
.
applyParam
.
partnerLevel
}
&areaName=
${
this
.
applyParam
.
areaName
}
`
,
success
:
res
=>
{},
fail
:
()
=>
{},
complete
:
()
=>
{}
});
}
else
{
}
else
{
uni
.
showToast
({
uni
.
showToast
({
title
:
res
[
'message'
],
title
:
res
[
'message'
],
...
@@ -65,8 +108,16 @@ import { nextTick } from "vue";
...
@@ -65,8 +108,16 @@ import { nextTick } from "vue";
return
;
return
;
}
}
})
})
}
else
{
uni
.
navigateTo
({
url
:
`application-result?partnerLevel=
${
this
.
applyParam
.
partnerLevel
}
&areaName=
${
this
.
applyParam
.
areaName
}
`
,
success
:
res
=>
{},
fail
:
()
=>
{},
complete
:
()
=>
{}
});
}
}
,
}
}
}
}
}
</
script
>
</
script
>
...
...
pages/application-process/work-experience.vue
View file @
eba3f263
<
template
>
<
template
>
<view
class=
"container"
>
<view
class=
"container"
>
<view
class=
"page"
>
<text
class=
"num actived pass"
>
1
</text>
<text
class=
"line line_pass"
></text>
<text
class=
"num actived"
>
2
</text>
<text
class=
"line"
></text>
<text
class=
"num"
>
3
</text>
<text
class=
"line"
></text>
<text
class=
"num"
>
4
</text>
<text
class=
"line"
></text>
<text
class=
"num"
>
5
</text>
<text
class=
"line"
></text>
<text
class=
"num"
>
6
</text>
<text
class=
"line"
></text>
<text
class=
"num"
>
7
</text>
<text
class=
"line"
></text>
<text
class=
"num"
>
8
</text>
</view>
<view
class=
"wrapper"
>
<view
class=
"title"
>
<view
class=
"title"
>
<view>
<view>
<text
class=
"line"
></text>
从业经历
<text
class=
"line"
></text>
从业经历
...
@@ -11,7 +29,7 @@
...
@@ -11,7 +29,7 @@
<view
class=
"contentItem"
>
<view
class=
"contentItem"
>
<text>
职业类型
</text>
<text>
职业类型
</text>
<picker
@
change=
"changeIndustry"
:value=
"industryIdx"
:range=
"industry"
<picker
@
change=
"changeIndustry"
:value=
"industryIdx"
:range=
"industry"
range-key=
"industryName
"
>
range-key=
"industryName"
:disabled=
"this.applyParam.approvalStatus!= 0 && this.applyParam.approvalStatus != 2
"
>
<view
class=
"uni-input"
>
{{
industry
[
industryIdx
][
'industryName'
]
}}
<view
class=
"uni-input"
>
{{
industry
[
industryIdx
][
'industryName'
]
}}
<text
class=
"iconfont icon-youjiantou"
></text>
<text
class=
"iconfont icon-youjiantou"
></text>
</view>
</view>
...
@@ -19,22 +37,24 @@
...
@@ -19,22 +37,24 @@
</view>
</view>
<view
class=
"contentItem"
>
<view
class=
"contentItem"
>
<text>
最近一次工作单位
</text>
<text>
最近一次工作单位
</text>
<input
type=
"text"
class=
"form-control"
placeholder=
"非必填"
v-model=
"applyParam.workingCompany"
/>
<input
type=
"text"
class=
"form-control"
placeholder=
"非必填"
v-model=
"applyParam.workingCompany"
:disabled=
"this.applyParam.approvalStatus!= 0 && this.applyParam.approvalStatus != 2"
/>
</view>
</view>
<view
class=
"contentItem"
>
<view
class=
"contentItem"
>
<text>
职位
</text>
<text>
职位
</text>
<input
type=
"text"
class=
"form-control"
placeholder=
"非必填"
v-model=
"applyParam.position"
/>
<input
type=
"text"
class=
"form-control"
placeholder=
"非必填"
v-model=
"applyParam.position"
:disabled=
"this.applyParam.approvalStatus!= 0 && this.applyParam.approvalStatus != 2"
/>
</view>
</view>
<view
class=
"contentItem"
>
<view
class=
"contentItem"
>
<text>
任职开始时间
</text>
<text>
任职开始时间
</text>
<picker
mode=
"date"
:value=
"applyParam.workingStart"
@
change=
"bindWorkingStart
"
>
<picker
mode=
"date"
:value=
"applyParam.workingStart"
@
change=
"bindWorkingStart"
:disabled=
"this.applyParam.approvalStatus!= 0 && this.applyParam.approvalStatus != 2
"
>
<view
v-if=
"!applyParam.workingStart"
>
请选择
<text
class=
"iconfont icon-youjiantou"
></text></view>
<view
v-if=
"!applyParam.workingStart"
>
请选择
<text
class=
"iconfont icon-youjiantou"
></text></view>
<view
class=
"uni-input"
v-if=
"applyParam.workingStart"
>
{{
applyParam
.
workingStart
}}
<text
class=
"iconfont icon-youjiantou"
></text></view>
<view
class=
"uni-input"
v-if=
"applyParam.workingStart"
>
{{
applyParam
.
workingStart
}}
<text
class=
"iconfont icon-youjiantou"
></text></view>
</picker>
</picker>
</view>
</view>
<view
class=
"contentItem"
>
<view
class=
"contentItem"
>
<text>
结束时间
</text>
<text>
结束时间
</text>
<picker
mode=
"date"
:value=
"applyParam.workingEnd"
@
change=
"bindWorkingEnd
"
>
<picker
mode=
"date"
:value=
"applyParam.workingEnd"
@
change=
"bindWorkingEnd"
:disabled=
"this.applyParam.approvalStatus!= 0 && this.applyParam.approvalStatus != 2
"
>
<view
v-if=
"!applyParam.workingEnd"
>
请选择
<text
class=
"iconfont icon-youjiantou"
></text></view>
<view
v-if=
"!applyParam.workingEnd"
>
请选择
<text
class=
"iconfont icon-youjiantou"
></text></view>
<view
class=
"uni-input"
v-if=
"applyParam.workingEnd"
>
{{
applyParam
.
workingEnd
}}
<text
class=
"iconfont icon-youjiantou"
></text></view>
<view
class=
"uni-input"
v-if=
"applyParam.workingEnd"
>
{{
applyParam
.
workingEnd
}}
<text
class=
"iconfont icon-youjiantou"
></text></view>
</picker>
</picker>
...
@@ -52,7 +72,6 @@
...
@@ -52,7 +72,6 @@
<image
:src=
"picItem"
mode=
"widthFix"
></image>
<image
:src=
"picItem"
mode=
"widthFix"
></image>
</view>
</view>
</view>
</view>
<view
class=
"tips"
>
<view
class=
"tips"
>
<view>
(jpg,png 文件大小不大于1mb)
</view>
<view>
(jpg,png 文件大小不大于1mb)
</view>
</view>
</view>
...
@@ -61,8 +80,9 @@
...
@@ -61,8 +80,9 @@
<view>
上传更多
</view>
<view>
上传更多
</view>
</view>
</view>
</view>
</view>
</view>
<view
class=
"fixed"
@
click=
"saveInfo()"
>
<view
class=
"fixed"
@
click=
"saveInfo()"
>
保存并下一步
{{
(
this
.
applyParam
.
approvalStatus
==
0
||
this
.
applyParam
.
approvalStatus
==
2
)?
'保存并下一步'
:
'下一步'
}}
</view>
</view>
</view>
</view>
</
template
>
</
template
>
...
@@ -97,15 +117,15 @@
...
@@ -97,15 +117,15 @@
components
:{},
components
:{},
onLoad
(
options
){
onLoad
(
options
){
this
.
occupationQry
();
this
.
occupationQry
();
// console.log(options)
// if(options.id){
// this.queryById(options.id)
// }
if
(
uni
.
getStorageSync
(
'applyId'
)){
setTimeout
(()
=>
{
setTimeout
(()
=>
{
this
.
queryById
(
uni
.
getStorageSync
(
'applyId'
))
if
(
uni
.
getStorageSync
(
'applyId'
)){
},
500
)
this
.
queryById
(
uni
.
getStorageSync
(
'applyId'
),
null
)
}
else
if
(
options
.
shareId
){
this
.
queryById
(
options
.
shareId
,
null
)
}
else
{
this
.
queryById
(
null
,
uni
.
getStorageSync
(
'cffp_userId'
))
}
}
},
500
)
},
},
methods
:{
methods
:{
changeIndustry
:
function
(
e
){
changeIndustry
:
function
(
e
){
...
@@ -129,12 +149,15 @@
...
@@ -129,12 +149,15 @@
})
})
},
},
upLoadPhoto
(
event
){
upLoadPhoto
(
event
){
if
(
this
.
applyParam
.
approvalStatus
==
0
||
this
.
applyParam
.
approvalStatus
==
2
){
CommonUpload
(
this
.
dataForm
).
then
(
res
=>
{
CommonUpload
(
this
.
dataForm
).
then
(
res
=>
{
this
.
applyParam
.
certificate
=
res
.
data
.
filePath
;
this
.
applyParam
.
certificate
=
res
.
data
.
filePath
;
this
.
picList
.
push
(
this
.
applyParam
.
certificate
);
this
.
picList
.
push
(
this
.
applyParam
.
certificate
);
});
});
}
},
},
saveInfo
(){
saveInfo
(){
if
(
this
.
applyParam
.
approvalStatus
==
0
||
this
.
applyParam
.
approvalStatus
==
2
){
if
(
!
this
.
applyParam
.
workingCategoryId
){
if
(
!
this
.
applyParam
.
workingCategoryId
){
uni
.
showToast
({
uni
.
showToast
({
title
:
'请选择职业类型'
,
title
:
'请选择职业类型'
,
...
@@ -168,9 +191,15 @@
...
@@ -168,9 +191,15 @@
return
;
return
;
}
}
})
})
}
else
{
uni
.
navigateTo
({
// url:`id-card?id=${res['data']['id']}`
url
:
`id-card`
});
}
},
},
queryById
(
id
){
queryById
(
id
,
userId
){
api
.
queryById
(
id
).
then
((
res
)
=>
{
api
.
queryById
(
{
id
:
id
,
userId
:
userId
}
).
then
((
res
)
=>
{
console
.
log
(
res
)
console
.
log
(
res
)
if
(
res
[
'success'
]){
if
(
res
[
'success'
]){
this
.
applyParam
=
res
[
'data'
][
'data'
];
this
.
applyParam
=
res
[
'data'
][
'data'
];
...
...
pages/systemMsg/system_msg.vue
View file @
eba3f263
...
@@ -47,7 +47,7 @@
...
@@ -47,7 +47,7 @@
},
},
methods
:{
methods
:{
querySystemMessage
()
{
querySystemMessage
()
{
api
.
querySystemMessage
({
systemType
:
1
,
userId
:
2
}).
then
(
res
=>
{
api
.
querySystemMessage
({
systemType
:
1
,
userId
:
uni
.
getStorageSync
(
'cffp_userId'
)
}).
then
(
res
=>
{
if
(
res
[
'success'
])
{
if
(
res
[
'success'
])
{
this
.
system_msgs_list
=
res
[
'data'
][
'dataList'
];
this
.
system_msgs_list
=
res
[
'data'
][
'dataList'
];
}
else
{
}
else
{
...
...
pages/withdrawal/withdrawal.vue
View file @
eba3f263
...
@@ -77,7 +77,8 @@
...
@@ -77,7 +77,8 @@
taxAmount
:
null
,
taxAmount
:
null
,
noTaxAmount
:
null
,
noTaxAmount
:
null
,
paymentMethod
:
2
,
//初始化支付宝提现
paymentMethod
:
2
,
//初始化支付宝提现
withdrawalParam
:
null
,
aliWithdrawalResVO
:
null
,
wxWithdrawalResVO
:
null
}
}
},
},
components
:{},
components
:{},
...
@@ -97,13 +98,13 @@
...
@@ -97,13 +98,13 @@
api
.
goFortuneWithdrawal
(
param
).
then
((
res
)
=>
{
api
.
goFortuneWithdrawal
(
param
).
then
((
res
)
=>
{
console
.
log
(
res
)
console
.
log
(
res
)
if
(
res
[
'success'
]){
if
(
res
[
'success'
]){
const
data
=
res
[
'data'
]
[
'cffpFortuneExchangeVO'
]
const
data
=
res
[
'data'
]
this
.
exchangeAmount
=
data
.
exchangeAmount
;
this
.
exchangeAmount
=
data
.
exchangeAmount
;
this
.
partnerTradeNo
=
data
.
partnerTradeNo
;
this
.
partnerTradeNo
=
data
.
partnerTradeNo
;
this
.
taxAmount
=
data
.
taxAmount
;
this
.
taxAmount
=
data
.
taxAmount
;
this
.
noTaxAmount
=
data
.
noTaxAmount
;
this
.
noTaxAmount
=
data
.
noTaxAmount
;
this
.
withdrawalParam
=
res
[
'data
'
];
this
.
aliWithdrawalResVO
=
data
[
'aliWithdrawalResVO
'
];
this
.
w
ithdrawalParam
.
cffpFortuneExchangeVO
=
undefined
;
this
.
w
xWithdrawalResVO
=
data
[
'wxWithdrawalResVO'
]
;
}
else
{
}
else
{
this
.
exchangeAmount
=
0
;
this
.
exchangeAmount
=
0
;
this
.
partnerTradeNo
=
null
;
this
.
partnerTradeNo
=
null
;
...
@@ -117,11 +118,11 @@
...
@@ -117,11 +118,11 @@
},
},
//支付宝去提现
//支付宝去提现
aliWithdrawal
(){
aliWithdrawal
(){
this
.
withdrawalParam
=
{
this
.
aliWithdrawalResVO
=
{
...
this
.
withdrawalParam
,
...
this
.
aliWithdrawalResVO
,
orderNo
:
'CFFPTX221129164200020081'
orderNo
:
this
.
partnerTradeNo
}
}
api
.
aliWithdrawal
(
this
.
withdrawalParam
).
then
((
res
)
=>
{
api
.
aliWithdrawal
(
this
.
aliWithdrawalResVO
).
then
((
res
)
=>
{
console
.
log
(
res
)
console
.
log
(
res
)
})
})
},
},
...
@@ -139,7 +140,7 @@
...
@@ -139,7 +140,7 @@
// 判断平台
// 判断平台
if
(
plus
.
os
.
name
==
'Android'
)
{
if
(
plus
.
os
.
name
==
'Android'
)
{
plus
.
runtime
.
openURL
(
plus
.
runtime
.
openURL
(
'alipays://platformapi/startapp?appId=20
21003161624312
&url='
+
urls
,
'alipays://platformapi/startapp?appId=20
000067
&url='
+
urls
,
res
=>
{
res
=>
{
//这里写打开URL地址失败后的处理
//这里写打开URL地址失败后的处理
console
.
log
(
res
);
console
.
log
(
res
);
...
...
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