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
4cba4696
Commit
4cba4696
authored
Dec 23, 2022
by
sunerhu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.修改申请加盟缓存不刷新问题
2.修改我的团队取值问题
parent
995f667b
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
212 additions
and
131 deletions
+212
-131
pages/application-process/bank-card.vue
+33
-17
pages/application-process/basic-info.vue
+1
-0
pages/application-process/contract.vue
+21
-15
pages/application-process/education.vue
+37
-19
pages/application-process/id-card.vue
+13
-3
pages/application-process/personal-statement.vue
+74
-57
pages/application-process/signature.vue
+1
-0
pages/application-process/work-experience.vue
+24
-14
pages/personalCenter/myTeam.vue
+1
-1
pages/personalCenter/teamMembers/jurisdiction.vue
+4
-4
pages/personalCenter/teamMembers/teamMembers.vue
+1
-1
uni_modules/uni-share-wx/index.vue
+2
-0
No files found.
pages/application-process/bank-card.vue
View file @
4cba4696
...
...
@@ -28,27 +28,26 @@
<view
class=
"contentDetail employ"
>
<view
class=
"contentItem"
>
<text>
开户行
</text>
<input
class=
"form-control"
name=
""
placeholder=
"请输入开户行"
v-model=
"
applyPara
m.bankAccountOpening"
:disabled=
"this.
applyParam.approvalStatus!= 0 && this.applyPara
m.approvalStatus != 2"
/>
<input
class=
"form-control"
name=
""
placeholder=
"请输入开户行"
v-model=
"
backFor
m.bankAccountOpening"
:disabled=
"this.
backForm.approvalStatus!= 0 && this.backFor
m.approvalStatus != 2"
/>
</view>
<view
class=
"contentItem"
>
<text>
银行卡号
</text>
<input
class=
"form-control"
placeholder=
"请输入银行卡号"
type=
"number"
maxlength=
"19"
v-model=
"applyParam.bankAccountId"
auto-blur=
true
@
blur=
"checkInput(applyParam.bankAccountId)"
:disabled=
"this.applyParam.approvalStatus!= 0 && this.applyParam.approvalStatus != 2"
/>
v-model=
"backForm.bankAccountId"
auto-blur=
true
@
blur=
"checkInput(backForm.bankAccountId)"
:disabled=
"this.backForm.approvalStatus!= 0 && this.backForm.approvalStatus != 2"
/>
</view>
<view
class=
"contentItem"
>
<text>
确认卡号
</text>
<input
class=
"form-control"
placeholder=
"请再次确认卡号"
type=
"number"
v-model=
"sureBankAccountId"
maxlength=
"19"
auto-blur=
true
@
blur=
"checkInput(sureBankAccountId)"
:disabled=
"this.
applyParam.approvalStatus!= 0 && this.applyPara
m.approvalStatus != 2"
/>
:disabled=
"this.
backForm.approvalStatus!= 0 && this.backFor
m.approvalStatus != 2"
/>
</view>
</view>
</view>
</view>
<view
class=
"fixed"
@
click=
"saveInfo()"
>
{{
(
this
.
applyParam
.
approvalStatus
==
0
||
this
.
applyPara
m
.
approvalStatus
==
2
)?
'保存并下一步'
:
'下一步'
}}
{{
(
this
.
backForm
.
approvalStatus
==
0
||
this
.
backFor
m
.
approvalStatus
==
2
)?
'保存并下一步'
:
'下一步'
}}
</view>
</view>
</
template
>
...
...
@@ -58,9 +57,10 @@
export
default
{
data
()
{
return
{
shareId
:
null
,
shareId
:
null
,
sureBankAccountId
:
''
,
applyParam
:
{
applyParam
:
{},
backForm
:
{
bankAccountOpening
:
''
,
bankAccountId
:
''
,
approvalStatus
:
''
...
...
@@ -73,8 +73,11 @@
},
onShow
()
{
uni
.
showLoading
({
title
:
'加载中...'
title
:
'加载中...'
});
if
(
uni
.
getStorageSync
(
'backForm'
))
{
this
.
backForm
=
uni
.
getStorageSync
(
'backForm'
)
}
if
(
uni
.
getStorageSync
(
'applyId'
))
{
this
.
queryById
(
uni
.
getStorageSync
(
'applyId'
),
null
)
}
else
if
(
this
.
shareId
)
{
...
...
@@ -92,8 +95,15 @@
console
.
log
(
res
)
if
(
res
[
'success'
])
{
this
.
applyParam
=
res
[
'data'
][
'data'
];
if
(
this
.
applyParam
.
bankAccountId
)
{
this
.
sureBankAccountId
=
this
.
applyParam
.
bankAccountId
;
if
(
uni
.
getStorageSync
(
'backForm'
))
{
this
.
workform
=
uni
.
getStorageSync
(
'backForm'
)
}
else
{
this
.
backForm
.
bankAccountOpening
=
this
.
applyParam
.
bankAccountOpening
this
.
backForm
.
bankAccountId
=
this
.
applyParam
.
bankAccountId
}
this
.
backForm
.
approvalStatus
=
this
.
applyParam
.
approvalStatus
if
(
this
.
backForm
.
bankAccountId
)
{
this
.
sureBankAccountId
=
this
.
backForm
.
bankAccountId
;
}
else
{
this
.
sureBankAccountId
=
''
;
}
...
...
@@ -109,7 +119,7 @@
uni
.
showLoading
({
title
:
'加载中...'
});
if
(
this
.
applyParam
.
bankAccountId
==
''
||
this
.
sureBankAccountId
==
''
||
this
.
applyPara
m
if
(
this
.
backForm
.
bankAccountId
==
''
||
this
.
sureBankAccountId
==
''
||
this
.
backFor
m
.
bankAccountOpening
==
''
)
{
uni
.
showToast
({
title
:
'银行卡号与开户行不能为空'
,
...
...
@@ -118,9 +128,9 @@
})
return
;
}
if
(
this
.
applyParam
.
approvalStatus
==
0
||
this
.
applyPara
m
.
approvalStatus
==
2
)
{
if
(
this
.
applyPara
m
.
bankAccountId
||
this
.
sureBankAccountId
)
{
if
(
this
.
applyPara
m
.
bankAccountId
!=
this
.
sureBankAccountId
)
{
if
(
this
.
backForm
.
approvalStatus
==
0
||
this
.
backFor
m
.
approvalStatus
==
2
)
{
if
(
this
.
backFor
m
.
bankAccountId
||
this
.
sureBankAccountId
)
{
if
(
this
.
backFor
m
.
bankAccountId
!=
this
.
sureBankAccountId
)
{
uni
.
showToast
({
title
:
'两次银行卡号不一致,请重新输入'
,
duration
:
2000
,
...
...
@@ -129,6 +139,10 @@
return
;
}
}
uni
.
setStorageSync
(
'backForm'
,
this
.
backForm
)
this
.
applyParam
.
bankAccountOpening
=
this
.
backForm
.
bankAccountOpening
this
.
applyParam
.
bankAccountId
=
this
.
backForm
.
bankAccountId
this
.
applyParam
.
approvalStatus
=
this
.
backForm
.
approvalStatus
this
.
applyParam
=
{
...
this
.
applyParam
,
operatStep
:
5
,
...
...
@@ -150,6 +164,7 @@
uni
.
hideLoading
()
})
}
else
{
uni
.
hideLoading
()
uni
.
navigateTo
({
// url:`personal-statement?id=${res['data']['id']}`
url
:
`personal-statement`
...
...
@@ -162,7 +177,8 @@
<
style
lang=
"scss"
>
@import
'applyCommon.scss'
;
.form-control
{
.form-control
{
min-width
:
440
rpx
;
}
</
style
>
pages/application-process/basic-info.vue
View file @
4cba4696
...
...
@@ -431,6 +431,7 @@
// url:`work-experience?id=${res['data']['id']}`
url
:
`work-experience`
});
uni
.
hideLoading
()
}
}
}
...
...
pages/application-process/contract.vue
View file @
4cba4696
...
...
@@ -36,7 +36,7 @@
</view>
</view>
<view
class=
"fixed"
@
click=
"saveInfo()"
>
{{
(
this
.
applyParam
.
approvalStatus
==
0
||
this
.
applyPara
m
.
approvalStatus
==
2
)?
'全部阅读且同意,下一步'
:
'下一步'
}}
{{
(
this
.
contractForm
.
approvalStatus
==
0
||
this
.
contractFor
m
.
approvalStatus
==
2
)?
'全部阅读且同意,下一步'
:
'下一步'
}}
</view>
</view>
<view
class=
"toastWrapper toast"
v-if=
"isShow"
></view>
...
...
@@ -46,13 +46,9 @@
</view>
<scroll-view
scroll-y
style=
"height: 100%;"
>
<view
class=
"contract"
v-html=
"curContract"
></view>
<!--
<view
:class=
"nineTime == false?'agree':'gree'"
@
click=
"agree(curContractId)"
>
<view
:class=
"nineTime == false?'agree':'gree'"
@
click=
"agree(curContractId)"
>
<text>
同意
</text>
<text
style=
"margin-left: 10rpx;"
v-if=
"nineTime"
>
(
{{
remainTimes
}}
s)
</text>
</view>
-->
<view
class=
"agree"
@
click=
"agree(curContractId)"
>
<text>
同意
</text>
<!--
<text
style=
"margin-left: 10rpx;"
v-if=
"nineTime"
>
(
{{
remainTimes
}}
s)
</text>
-->
</view>
</scroll-view>
...
...
@@ -77,7 +73,8 @@
curContractId
:
null
,
isAllAgree
:
false
,
nineTime
:
true
,
applyParam
:
{
applyParam
:{},
contractForm
:
{
contractTerms
:
''
,
approvalStatus
:
''
},
...
...
@@ -114,7 +111,7 @@
})
},
saveInfo
()
{
if
(
this
.
applyParam
.
approvalStatus
==
0
||
this
.
applyPara
m
.
approvalStatus
==
2
)
{
if
(
this
.
contractForm
.
approvalStatus
==
0
||
this
.
contractFor
m
.
approvalStatus
==
2
)
{
if
(
!
this
.
isAllAgree
)
{
uni
.
showToast
({
title
:
'请详细阅读全部条款!'
,
...
...
@@ -128,7 +125,10 @@
this
.
contractTermsConfirmsListParm
.
push
(
this
.
contractTermsList
[
i
][
"termName"
]);
}
this
.
applyParam
.
operatStep
=
7
;
this
.
applyParam
.
contractTerms
=
this
.
contractTermsConfirmsListParm
.
join
(
','
);
this
.
contractForm
.
contractTerms
=
this
.
contractTermsConfirmsListParm
.
join
(
','
);
uni
.
setStorageSync
(
'contractForm'
,
this
.
contractForm
)
this
.
applyParam
.
contractTerms
=
this
.
contractForm
.
contractTerms
this
.
applyParam
.
approvalStatus
=
this
.
contractForm
.
approvalStatus
api
.
saveApplyInfo
(
this
.
applyParam
).
then
((
res
)
=>
{
if
(
res
[
'success'
])
{
uni
.
navigateTo
({
...
...
@@ -153,7 +153,7 @@
},
readContract
(
contractItem
)
{
if
(
this
.
applyParam
.
approvalStatus
==
0
||
this
.
applyPara
m
.
approvalStatus
==
2
)
{
if
(
this
.
contractForm
.
approvalStatus
==
0
||
this
.
contractFor
m
.
approvalStatus
==
2
)
{
if
(
contractItem
.
confirmStatus
==
1
)
{
contractItem
.
confirmStatus
=
0
;
}
else
{
...
...
@@ -178,9 +178,9 @@
},
//同意合同条款
agree
()
{
//
if(this.nineTime == true){
//
return false
//
}
if
(
this
.
nineTime
==
true
){
return
false
}
this
.
isShow
=
false
;
for
(
let
i
=
0
;
i
<
this
.
contractTermsList
.
length
;
i
++
)
{
if
(
this
.
curContractId
==
this
.
contractTermsList
[
i
][
"id"
])
{
...
...
@@ -198,8 +198,14 @@
}).
then
((
res
)
=>
{
if
(
res
[
'success'
])
{
this
.
applyParam
=
res
[
'data'
][
'data'
];
if
(
this
.
applyParam
.
contractTerms
)
{
this
.
contractTermsConfirmsListParm
=
this
.
applyParam
.
contractTerms
.
split
(
','
);
if
(
uni
.
getStorageSync
(
'contractForm'
)){
this
.
contractForm
=
uni
.
getStorageSync
(
'contractForm'
)
}
else
{
this
.
contractForm
.
contractTerms
=
this
.
applyParam
.
contractTerms
}
this
.
contractForm
.
approvalStatus
=
this
.
applyParam
.
approvalStatus
if
(
this
.
contractForm
.
contractTerms
)
{
this
.
contractTermsConfirmsListParm
=
this
.
contractForm
.
contractTerms
.
split
(
','
);
console
.
log
(
this
.
contractTermsConfirmsListParm
)
for
(
let
i
=
0
;
i
<
this
.
contractTermsList
.
length
;
i
++
)
{
for
(
let
j
=
0
;
j
<
this
.
contractTermsConfirmsListParm
.
length
;
j
++
)
{
...
...
pages/application-process/education.vue
View file @
4cba4696
...
...
@@ -39,15 +39,15 @@
<view
class=
"contentItem"
>
<text>
毕业学校
</text>
<input
type=
"text"
class=
"form-control"
v-model=
"educationForm.lastGraduateSchool"
placeholder=
"请输入毕业院校"
:disabled=
"this.educationForm.approvalStatus!= 0 && this.educationForm.approvalStatus != 2"
/>
placeholder=
"请输入毕业院校"
:disabled=
"this.appStatus"
/>
</view>
<view
class=
"contentItem"
style=
"border:none;"
>
<text>
毕业证
</text>
<view></view>
</view>
</view>
<view
class=
"photo_wrapper"
v-if=
"!educationForm.lastGraduateCertificationOssPath"
@
click=
"upLoadPhoto()"
>
<view
class=
"photo_wrapper"
v-if=
"!educationForm.lastGraduateCertificationOssPath"
@
click=
"upLoadPhoto()"
>
<text
class=
"iconfont icon-weibiaoti553"
></text>
<view
style=
"margin-top: 10px;"
>
点击添加毕业证照片
</view>
</view>
...
...
@@ -80,7 +80,7 @@
name
:
'请选择'
}],
educationIdx
:
0
,
educationForm
:{
educationForm
:
{
lastGraduateGrade
:
''
,
lastGraduateSchool
:
''
,
lastGraduateCertificationOssPath
:
''
,
...
...
@@ -88,6 +88,7 @@
},
educationForm
:
{},
shareId
:
null
,
appStatus
:
false
,
dataForm
:
{
loginId
:
uni
.
getStorageSync
(
'cffp_userId'
),
targetType
:
"5"
,
...
...
@@ -110,22 +111,31 @@
}
},
onShow
()
{
if
(
uni
.
getStorageSync
(
'educationForm'
))
{
if
(
uni
.
getStorageSync
(
'educationForm'
))
{
this
.
educationForm
=
uni
.
getStorageSync
(
'educationForm'
)
}
uni
.
$on
(
"ckqueryById"
,
res
=>
{
if
(
res
==
true
){
// if (uni.getStorageSync('Refresh_query')) {
// this.queryById(null, uni.getStorageSync('cffp_userId'))
// }
uni
.
$on
(
"ckqueryById"
,
res
=>
{
console
.
log
(
'接受到了广播没'
)
if
(
res
==
true
)
{
this
.
queryById
(
null
,
uni
.
getStorageSync
(
'cffp_userId'
))
}
});
},
onUnload
()
{
// 移除监听事件
uni
.
$off
(
'ckqueryById'
);
},
methods
:
{
educationLevelQuery
()
{
api
.
educationLevelQuery
().
then
((
res
)
=>
{
console
.
log
(
res
)
if
(
res
[
'success'
])
{
this
.
educationLevelList
=
this
.
educationLevelList
.
concat
(
res
[
'data'
][
'educationLevelList'
]);
'educationLevelList'
]);
}
})
},
...
...
@@ -139,14 +149,21 @@
}).
then
((
res
)
=>
{
if
(
res
[
'success'
])
{
this
.
applyParam
=
res
[
'data'
][
'data'
];
console
.
log
(
uni
.
getStorageSync
(
'educationForm'
),
1515115
)
if
(
uni
.
getStorageSync
(
'educationForm'
))
{
console
.
log
(
res
,
114
)
if
(
uni
.
getStorageSync
(
'educationForm'
))
{
this
.
educationForm
=
uni
.
getStorageSync
(
'educationForm'
)
}
else
{
}
else
{
this
.
educationForm
.
lastGraduateGrade
=
this
.
applyParam
.
lastGraduateGrade
this
.
educationForm
.
lastGraduateSchool
=
this
.
applyParam
.
lastGraduateSchool
?
this
.
applyParam
.
lastGraduateSchool
:
''
this
.
educationForm
.
lastGraduateCertificationOssPath
=
this
.
applyParam
.
lastGraduateCertificationOssPath
this
.
educationForm
.
approvalStatus
=
this
.
applyParam
.
approvalStatus
this
.
educationForm
.
lastGraduateSchool
=
this
.
applyParam
.
lastGraduateSchool
!=
null
?
this
.
applyParam
.
lastGraduateSchool
:
''
this
.
educationForm
.
lastGraduateCertificationOssPath
=
this
.
applyParam
.
lastGraduateCertificationOssPath
}
this
.
educationForm
.
approvalStatus
=
this
.
applyParam
.
approvalStatus
uni
.
setStorageSync
(
'educationForm'
,
this
.
educationForm
)
if
(
this
.
educationForm
.
approvalStatus
!=
0
&&
this
.
educationForm
.
approvalStatus
!=
2
)
{
this
.
appStatus
=
false
}
this
.
educationForm
.
id
=
this
.
applyParam
.
id
for
(
let
i
=
0
;
i
<
this
.
educationLevelList
.
length
;
i
++
)
{
...
...
@@ -199,11 +216,11 @@
})
return
;
}
uni
.
setStorageSync
(
'educationForm'
,
this
.
educationForm
)
this
.
applyParam
.
lastGraduateGrade
=
this
.
educationForm
.
lastGraduateGrade
this
.
applyParam
.
lastGraduateSchool
=
this
.
educationForm
.
lastGraduateSchool
this
.
applyParam
.
lastGraduateCertificationOssPath
=
this
.
educationForm
.
lastGraduateCertificationOssPath
this
.
applyParam
.
approvalStatus
=
this
.
educationForm
.
approvalStatus
uni
.
setStorageSync
(
'educationForm'
,
this
.
educationForm
)
this
.
applyParam
.
lastGraduateGrade
=
this
.
educationForm
.
lastGraduateGrade
this
.
applyParam
.
lastGraduateSchool
=
this
.
educationForm
.
lastGraduateSchool
this
.
applyParam
.
lastGraduateCertificationOssPath
=
this
.
educationForm
.
lastGraduateCertificationOssPath
this
.
applyParam
.
approvalStatus
=
this
.
educationForm
.
approvalStatus
this
.
applyParam
=
{
...
this
.
applyParam
,
operatStep
:
4
,
...
...
@@ -226,6 +243,7 @@
uni
.
hideLoading
()
})
}
else
{
uni
.
hideLoading
()
uni
.
navigateTo
({
// url:`bank-card?id=${res['data']['id']}`
url
:
`bank-card`
...
...
pages/application-process/id-card.vue
View file @
4cba4696
...
...
@@ -102,12 +102,20 @@
if
(
uni
.
getStorageSync
(
'cardForm'
)){
this
.
cardForm
=
uni
.
getStorageSync
(
'cardForm'
)
}
uni
.
$on
(
"ckqueryById"
,
res
=>
{
if
(
res
==
true
){
// if(uni.getStorageSync('Refresh_query')){
// this.queryById(null, uni.getStorageSync('cffp_userId'))
// }
uni
.
$on
(
"ckqueryById"
,
res
=>
{
console
.
log
(
'接受到了广播没'
)
if
(
res
==
true
)
{
this
.
queryById
(
null
,
uni
.
getStorageSync
(
'cffp_userId'
))
}
});
},
onUnload
()
{
// 移除监听事件
uni
.
$off
(
'ckqueryById'
);
},
methods
:
{
queryById
(
id
,
userId
)
{
uni
.
showLoading
({
...
...
@@ -124,9 +132,10 @@
}
else
{
this
.
cardForm
.
idFrontPageOssPath
=
this
.
applyParam
.
idFrontPageOssPath
this
.
cardForm
.
idBackPageOssPath
=
this
.
applyParam
.
idBackPageOssPath
this
.
cardForm
.
approvalStatus
=
this
.
applyParam
.
approvalStatus
}
this
.
cardForm
.
approvalStatus
=
this
.
applyParam
.
approvalStatus
this
.
cardForm
.
id
=
this
.
applyParam
.
id
uni
.
setStorageSync
(
'cardForm'
,
this
.
cardForm
)
}
uni
.
hideLoading
()
})
...
...
@@ -198,6 +207,7 @@
uni
.
hideLoading
()
})
}
else
{
uni
.
hideLoading
()
uni
.
navigateTo
({
// url:`id-card?id=${res['data']['id']}`
url
:
`education`
...
...
pages/application-process/personal-statement.vue
View file @
4cba4696
...
...
@@ -19,86 +19,99 @@
</view>
<view
class=
"wrapper"
>
<view
class=
"title"
>
<view>
<view>
<text
class=
"line"
></text>
个人声明
</view>
<text
class=
"page_mark"
>
6/8
</text>
<text
class=
"page_mark"
>
6/8
</text>
</view>
<view
class=
"content"
>
<view
class=
"ulBox"
>
<view
class=
"liBox"
v-for=
"personalStatements in dropOptionsInfoList"
@
click=
"selectStatements(personalStatements)
"
>
<text
class=
"iconfont icon-yuanxingweixuanzhong"
v-if=
"!personalStatements.status"
></text>
<text
class=
"iconfont icon-selected-copy"
v-if=
"personalStatements.status"
></text>
<text
class=
"itemName"
>
{{
personalStatements
.
dropOptionName
}}
</text>
<text
class=
"iconfont icon-gougou"
v-if=
"personalStatements.status"
></text>
</view>
<view
class=
"liBox"
v-for=
"personalStatements in dropOptionsInfoList
"
@
click=
"selectStatements(personalStatements)"
>
<text
class=
"iconfont icon-yuanxingweixuanzhong"
v-if=
"!personalStatements.status"
></text>
<text
class=
"iconfont icon-selected-copy"
v-if=
"personalStatements.status"
></text>
<text
class=
"itemName"
>
{{
personalStatements
.
dropOptionName
}}
</text>
<text
class=
"iconfont icon-gougou"
v-if=
"personalStatements.status"
></text>
</view>
</view>
</view>
</view>
<view
class=
"fixed"
@
click=
"saveInfo()"
>
{{
(
this
.
applyParam
.
approvalStatus
==
0
||
this
.
applyPara
m
.
approvalStatus
==
2
)?
'保存并下一步'
:
'下一步'
}}
{{
(
this
.
personalForm
.
approvalStatus
==
0
||
this
.
personalFor
m
.
approvalStatus
==
2
)?
'保存并下一步'
:
'下一步'
}}
</view>
</view>
</
template
>
<
script
>
import
api
from
'../../api/api'
;
export
default
{
data
(){
export
default
{
data
()
{
return
{
dropOptionsInfoList
:[],
dropOptionsInfoList
:
[],
shareId
:
null
,
applyParam
:
{
personalStatement
:
''
,
approvalStatus
:
''
personalForm
:
{
personalStatement
:
''
,
approvalStatus
:
''
},
personalStatementList
:[]
applyParam
:
{},
personalStatementList
:
[]
}
},
components
:{},
onLoad
(
options
){
components
:
{},
onLoad
(
options
)
{
this
.
shareId
=
options
.
shareId
},
onShow
()
{
uni
.
showLoading
({
title
:
'加载中...'
title
:
'加载中...'
});
this
.
dropOptionsQuery
();
setTimeout
(()
=>
{
if
(
uni
.
getStorageSync
(
'applyId'
)){
this
.
queryById
(
uni
.
getStorageSync
(
'applyId'
),
null
)
}
else
if
(
this
.
shareId
){
this
.
queryById
(
this
.
shareId
,
null
)
}
else
{
this
.
queryById
(
null
,
uni
.
getStorageSync
(
'cffp_userId'
))
setTimeout
(()
=>
{
if
(
uni
.
getStorageSync
(
'applyId'
))
{
this
.
queryById
(
uni
.
getStorageSync
(
'applyId'
),
null
)
}
else
if
(
this
.
shareId
)
{
this
.
queryById
(
this
.
shareId
,
null
)
}
else
{
this
.
queryById
(
null
,
uni
.
getStorageSync
(
'cffp_userId'
))
}
},
500
)
},
500
)
this
.
dropOptionsQuery
();
},
methods
:{
dropOptionsQuery
(){
api
.
dropOptionsQuery
({
code
:
'CFFP_Partner_Statements'
}).
then
((
res
)
=>
{
methods
:
{
dropOptionsQuery
()
{
api
.
dropOptionsQuery
({
code
:
'CFFP_Partner_Statements'
}).
then
((
res
)
=>
{
this
.
dropOptionsInfoList
=
res
[
"data"
][
"dropMasterInfoList"
][
0
][
"dropOptionsInfoList"
];
})
},
selectStatements
(
personalStatements
)
{
if
(
this
.
applyParam
.
approvalStatus
==
0
||
this
.
applyParam
.
approvalStatus
==
2
)
{
if
(
this
.
personalForm
.
approvalStatus
==
0
||
this
.
personalForm
.
approvalStatus
==
2
)
{
if
(
personalStatements
.
status
==
1
)
{
personalStatements
.
status
=
0
;
personalStatements
.
status
=
0
;
}
else
{
personalStatements
.
status
=
1
;
personalStatements
.
status
=
1
;
}
}
},
queryById
(
id
,
userId
){
api
.
queryById
({
id
:
id
,
userId
:
userId
}).
then
((
res
)
=>
{
if
(
res
[
'success'
]){
queryById
(
id
,
userId
)
{
api
.
queryById
({
id
:
id
,
userId
:
userId
}).
then
((
res
)
=>
{
if
(
res
[
'success'
])
{
this
.
applyParam
=
res
[
'data'
][
'data'
];
if
(
this
.
applyParam
.
personalStatement
){
this
.
personalStatementList
=
this
.
applyParam
.
personalStatement
.
split
(
','
);
for
(
let
i
=
0
;
i
<
this
.
dropOptionsInfoList
.
length
;
i
++
){
for
(
let
j
=
0
;
j
<
this
.
personalStatementList
.
length
;
j
++
){
if
(
this
.
dropOptionsInfoList
[
i
][
'dropOptionName'
]
==
this
.
personalStatementList
[
j
]){
if
(
uni
.
getStorageSync
(
'personalForm'
))
{
this
.
personalForm
=
uni
.
getStorageSync
(
'personalForm'
)
}
else
{
this
.
personalForm
.
personalStatement
=
this
.
applyParam
.
personalStatement
}
this
.
personalForm
.
approvalStatus
=
this
.
applyParam
.
approvalStatus
if
(
this
.
personalForm
.
personalStatement
)
{
this
.
personalStatementList
=
this
.
personalForm
.
personalStatement
.
split
(
','
);
for
(
let
i
=
0
;
i
<
this
.
dropOptionsInfoList
.
length
;
i
++
)
{
for
(
let
j
=
0
;
j
<
this
.
personalStatementList
.
length
;
j
++
)
{
if
(
this
.
dropOptionsInfoList
[
i
][
'dropOptionName'
]
==
this
.
personalStatementList
[
j
])
{
this
.
dropOptionsInfoList
[
i
].
status
=
1
;
}
}
...
...
@@ -108,10 +121,10 @@
uni
.
hideLoading
()
})
},
saveInfo
(){
if
(
this
.
applyParam
.
approvalStatus
==
0
||
this
.
applyParam
.
approvalStatus
==
2
)
{
saveInfo
()
{
if
(
this
.
personalForm
.
approvalStatus
==
0
||
this
.
personalForm
.
approvalStatus
==
2
)
{
const
selectedPersonalStatement
=
this
.
dropOptionsInfoList
.
filter
((
item
)
=>
{
return
item
.
status
==
1
;
return
item
.
status
==
1
;
});
if
(
!
selectedPersonalStatement
.
length
)
{
uni
.
showToast
({
...
...
@@ -119,21 +132,25 @@
duration
:
2000
,
icon
:
'none'
})
return
;
return
;
}
this
.
personalStatementList
=
[];
for
(
let
i
=
0
;
i
<
selectedPersonalStatement
.
length
;
i
++
)
{
for
(
let
i
=
0
;
i
<
selectedPersonalStatement
.
length
;
i
++
)
{
this
.
personalStatementList
.
push
(
selectedPersonalStatement
[
i
][
'dropOptionName'
]);
}
this
.
applyParam
.
personalStatement
=
this
.
personalStatementList
.
join
(
','
);
this
.
applyParam
.
personalStatement
=
this
.
personalStatementList
.
join
(
','
);
this
.
personalForm
.
personalStatement
=
this
.
applyParam
.
personalStatement
this
.
applyParam
.
operatStep
=
6
;
api
.
saveApplyInfo
(
this
.
applyParam
).
then
((
res
)
=>
{
if
(
res
[
'success'
]){
uni
.
setStorageSync
(
'personalForm'
,
this
.
personalForm
)
this
.
applyParam
.
approvalStatus
=
this
.
personalForm
.
approvalStatus
api
.
saveApplyInfo
(
this
.
applyParam
).
then
((
res
)
=>
{
this
.
dropOptionsInfoList
=
[]
if
(
res
[
'success'
])
{
uni
.
navigateTo
({
// url:`contract?id=${res['data']['id']}`
url
:
`contract`
url
:
`contract`
});
}
else
{
}
else
{
uni
.
showToast
({
title
:
res
[
'message'
],
duration
:
2000
,
...
...
@@ -142,10 +159,10 @@
return
;
}
})
}
else
{
}
else
{
uni
.
navigateTo
({
// url:`contract?id=${res['data']['id']}`
url
:
`contract`
url
:
`contract`
});
}
}
...
...
@@ -155,7 +172,8 @@
<
style
lang=
"scss"
>
@import
'applyCommon.scss'
;
.container
{
background-color
:
#FBFBFB
;
}
</
style
>
\ No newline at end of file
</
style
>
pages/application-process/signature.vue
View file @
4cba4696
...
...
@@ -125,6 +125,7 @@
api
.
saveApplyInfo
(
this
.
applyParam
).
then
((
res
)
=>
{
if
(
res
[
'success'
]){
// 发送广播
uni
.
setStorageSync
(
'Refresh_query'
)
uni
.
$emit
(
"ckqueryById"
,
true
);
uni
.
navigateTo
({
url
:
`application-result?partnerLevel=
${
this
.
applyParam
.
partnerLevel
}
&areaName=
${
this
.
applyParam
.
areaName
}
&shareId=
${
this
.
shareId
}
`
,
...
...
pages/application-process/work-experience.vue
View file @
4cba4696
...
...
@@ -147,15 +147,22 @@
},
500
)
},
onShow
()
{
if
(
uni
.
getStorageSync
(
'workform'
))
{
if
(
uni
.
getStorageSync
(
'workform'
))
{
this
.
workform
=
uni
.
getStorageSync
(
'workform'
)
}
uni
.
$on
(
"ckqueryById"
,
res
=>
{
if
(
res
==
true
){
// if(uni.getStorageSync('Refresh_query')){
// this.queryById(null, uni.getStorageSync('cffp_userId'))
// }
uni
.
$on
(
"ckqueryById"
,
res
=>
{
if
(
res
==
true
)
{
this
.
queryById
(
null
,
uni
.
getStorageSync
(
'cffp_userId'
))
}
});
},
onUnload
()
{
// 移除监听事件
uni
.
$off
(
'ckqueryById'
);
},
methods
:
{
clickImg
(
i
)
{
ckbigImg
(
i
)
...
...
@@ -207,13 +214,13 @@
return
;
}
uni
.
setStorageSync
(
'workform'
,
this
.
workform
)
this
.
applyParam
.
workingCategoryId
=
this
.
workform
.
workingCategoryId
,
this
.
applyParam
.
workingCompany
=
this
.
workform
.
workingCompany
,
this
.
applyParam
.
position
=
this
.
workform
.
position
,
this
.
applyParam
.
workingStart
=
this
.
workform
.
workingStart
,
this
.
applyParam
.
workingEnd
=
this
.
workform
.
workingEnd
,
this
.
applyParam
.
certificate
=
this
.
workform
.
certificate
,
this
.
applyParam
.
approvalStatus
=
this
.
workform
.
approvalStatus
,
this
.
applyParam
.
workingCategoryId
=
this
.
workform
.
workingCategoryId
,
this
.
applyParam
.
workingCompany
=
this
.
workform
.
workingCompany
,
this
.
applyParam
.
position
=
this
.
workform
.
position
,
this
.
applyParam
.
workingStart
=
this
.
workform
.
workingStart
,
this
.
applyParam
.
workingEnd
=
this
.
workform
.
workingEnd
,
this
.
applyParam
.
certificate
=
this
.
workform
.
certificate
,
this
.
applyParam
.
approvalStatus
=
this
.
workform
.
approvalStatus
,
this
.
applyParam
=
{
...
this
.
applyParam
,
operatStep
:
2
,
...
...
@@ -237,6 +244,7 @@
uni
.
hideLoading
()
})
}
else
{
uni
.
hideLoading
()
uni
.
navigateTo
({
// url:`id-card?id=${res['data']['id']}`
url
:
`id-card`
...
...
@@ -248,20 +256,22 @@
id
:
id
,
userId
:
userId
}).
then
((
res
)
=>
{
console
.
log
(
res
)
if
(
res
[
'success'
])
{
this
.
applyParam
=
res
[
'data'
][
'data'
];
if
(
uni
.
getStorageSync
(
'workform'
)){
console
.
log
(
this
.
applyParam
.
approvalStatus
,
'执行了把1'
)
if
(
uni
.
getStorageSync
(
'workform'
))
{
this
.
workform
=
uni
.
getStorageSync
(
'workform'
)
}
else
{
}
else
{
this
.
workform
.
workingCategoryId
=
this
.
applyParam
.
workingCategoryId
;
this
.
workform
.
workingCompany
=
this
.
applyParam
.
workingCompany
;
this
.
workform
.
position
=
this
.
applyParam
.
position
;
this
.
workform
.
workingStart
=
this
.
applyParam
.
workingStart
;
this
.
workform
.
workingEnd
=
this
.
applyParam
.
workingEnd
;
this
.
workform
.
certificate
=
this
.
applyParam
.
certificate
;
this
.
workform
.
approvalStatus
=
this
.
applyParam
.
approvalStatus
;
}
this
.
workform
.
approvalStatus
=
this
.
applyParam
.
approvalStatus
;
uni
.
setStorageSync
(
'workform'
,
this
.
workform
)
console
.
log
(
this
.
workform
.
approvalStatus
,
'执行了把2'
)
this
.
workform
.
id
=
this
.
applyParam
.
id
if
(
this
.
applyParam
.
certificate
)
{
this
.
picList
=
this
.
applyParam
.
certificate
.
split
(
','
);
...
...
pages/personalCenter/myTeam.vue
View file @
4cba4696
<
template
>
<view
class=
"container"
>
<
text
class=
"iconfont icon-youjiantou zuojiantou"
@
click=
"goBack()"
style=
"left: 20rpx;"
></text
>
<
!--
<text
class=
"iconfont icon-youjiantou zuojiantou"
@
click=
"goBack()"
style=
"left: 20rpx;"
></text>
--
>
<view
v-for=
"item in minorMenuLists.filter(v=>v.isShow)"
:key=
"item.title"
@
click=
"goteam(item)"
class=
"liBox"
>
<view
class=
"infoBox"
>
<!--
<image
:src=
"'/static/moduleIcon/'+item.icon+'.png'"
alt=
""
srcset=
""
mode=
"widthFix"
></image>
-->
...
...
pages/personalCenter/teamMembers/jurisdiction.vue
View file @
4cba4696
...
...
@@ -3,7 +3,7 @@
<view
v-for=
"(item, index) in dataList"
:key=
"index"
>
<view
class=
"content-header"
>
<view
class=
"concent-title"
>
<text
class=
"concent-text"
>
{{
item
.
level
Name
}}
</text>
<text
class=
"concent-text"
>
{{
item
.
areaCenter
Name
}}
</text>
</view>
</view>
<view
style=
"text-align: right;margin: 20px;"
>
...
...
@@ -14,10 +14,10 @@
<view
class=
"d-td"
>
<text>
辖下组织/成员
</text>
</view>
<view
class=
"d-td"
>
<view
class=
"d-td"
style=
"flex: 1;text-align: center;"
>
<text>
职级
</text>
</view>
<view
class=
"d-td"
>
<view
class=
"d-td"
style=
"flex: 1;text-align: center;"
>
<text>
成员数量
</text>
</view>
</view>
...
...
@@ -113,7 +113,7 @@
display
:
flex
;
justify-content
:
center
;
}
.d-box
{
.d-box
{
display
:
flex
;
justify-content
:
space-between
;
//
padding
:
0
20
rpx
;
...
...
pages/personalCenter/teamMembers/teamMembers.vue
View file @
4cba4696
<
template
>
<view
class=
"container"
>
<
text
class=
"iconfont icon-youjiantou zuojiantou"
@
click=
"goBack()"
style=
"left: 20rpx;"
></text
>
<
!--
<text
class=
"iconfont icon-youjiantou zuojiantou"
@
click=
"goBack()"
style=
"left: 20rpx;"
></text>
--
>
<!-- tab选项 -->
<view
class=
"tabTitle"
>
<text
:class=
"
{'actived': tabType===1}" @click="switchTab(1)">直属团队
</text>
...
...
uni_modules/uni-share-wx/index.vue
View file @
4cba4696
...
...
@@ -70,6 +70,8 @@
},
fail
:
function
(
err
)
{
alert
(
err
)
alert
(
JSON
.
stringify
(
err
))
console
.
log
(
"fail:"
+
JSON
.
stringify
(
err
));
}
});
...
...
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