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
da3e50c2
Commit
da3e50c2
authored
Dec 30, 2022
by
sunchao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
一些bug修复
parent
e11b0bde
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
124 additions
and
110 deletions
+124
-110
components/bootpage/bootpage.vue
+1
-0
components/courseItem/courseItem.vue
+1
-1
components/myteam/lazy-tree.vue
+3
-3
pages/application-process/applyCommon.scss
+14
-16
pages/application-process/bank-card.vue
+3
-1
pages/application-process/contract.vue
+15
-14
pages/application-process/education.vue
+3
-4
pages/application-process/id-card.vue
+12
-19
pages/application-process/work-experience.vue
+4
-4
pages/courseDetail/courseDetail.vue
+4
-1
pages/index/index.vue
+11
-0
pages/orderConfirm/orderConfirm.vue
+32
-34
pages/personalCenter/teamMembers/jurisdiction.vue
+19
-11
pages/personalCenter/teamMembers/teamMembers.vue
+2
-2
No files found.
components/bootpage/bootpage.vue
View file @
da3e50c2
...
...
@@ -136,6 +136,7 @@
},
closebootpage
()
{
debugger
;
this
.
$emit
(
'close'
,
this
.
userId
)
},
}
...
...
components/courseItem/courseItem.vue
View file @
da3e50c2
...
...
@@ -153,7 +153,7 @@
strong
{
color
:
#F15A1F
;
font-size
:
30
rpx
;
//
margin
:
10
rpx
20
rpx
10
rpx
0
;
margin
:
10
rpx
20
rpx
10
rpx
0
;
}
text
{
...
...
components/myteam/lazy-tree.vue
View file @
da3e50c2
...
...
@@ -29,7 +29,7 @@
<text>
{{
item
.
areaCenterName
}}
</text>
<view
class=
""
style=
"width: 36rpx;height: 36rpx;margin-left: 5rpx; "
>
<image
style=
"width: 36rpx;height: 36rpx;"
src=
"../../static/Group1665.png"
mode=
""
></image>
mode=
"
widthFix
"
></image>
</view>
</view>
...
...
@@ -42,7 +42,7 @@
<text>
{{
item
.
areaCenterName
}}
</text>
<view
class=
""
style=
"width: 36rpx;height: 36rpx;margin-left: 5rpx; "
>
<image
style=
"width: 36rpx;height: 36rpx;"
src=
"../../static/Group1665.png"
mode=
""
></image>
mode=
"
widthFix
"
></image>
</view>
</view>
</view>
...
...
@@ -54,7 +54,7 @@
<text>
{{
item
.
areaCenterName
}}
</text>
<view
class=
""
style=
"width: 36rpx;height: 36rpx;margin-left: 5rpx;"
>
<image
style=
"width: 36rpx;height: 36rpx;"
src=
"../../static/Group1665.png"
mode=
""
></image>
mode=
"
widthFix
"
></image>
</view>
</view>
</view>
...
...
pages/application-process/applyCommon.scss
View file @
da3e50c2
...
...
@@ -36,21 +36,19 @@
justify-content
:
space-between
;
align-items
:
center
;
margin
:
0
16rpx
10rpx
16rpx
;
input
.form-control
,
select
.form-control
{
display
:
inline-block
;
margin
:
0
10rpx
;
background
:
none
;
outline
:
none
;
border
:
none
;
text-align
:
right
;
box-shadow
:
none
;
display
:
flex
;
flex-wrap
:
wrap
;
font-size
:
30rpx
;
.form-control
{
width
:
50%
;
}
}
input
.form-control
,
select
.form-control
{
display
:
inline-block
;
margin
:
0
10rpx
;
background
:
none
;
outline
:
none
;
border
:
none
;
text-align
:
right
;
box-shadow
:
none
;
display
:
flex
;
flex-wrap
:
wrap
;
font-size
:
30rpx
;
width
:
60%
!
important
;
}
}
.contentItem
:last-child
{
border-bottom
:
none
;
...
...
@@ -121,7 +119,7 @@
}
.fixed
{
position
:
fixed
;
bottom
:
4
0rpx
;
bottom
:
3
0rpx
;
left
:
0
;
right
:
0
;
height
:
100rpx
;
...
...
pages/application-process/bank-card.vue
View file @
da3e50c2
...
...
@@ -130,7 +130,9 @@
}
if
(
this
.
backForm
.
approvalStatus
==
0
||
this
.
backForm
.
approvalStatus
==
2
)
{
if
(
this
.
backForm
.
bankAccountId
||
this
.
sureBankAccountId
)
{
if
(
this
.
backForm
.
bankAccountId
!=
this
.
sureBankAccountId
)
{
if
(
Number
(
this
.
backForm
.
bankAccountId
)
!=
Number
(
this
.
sureBankAccountId
))
{
alert
(
'卡号'
,
this
.
backForm
.
bankAccountId
)
alert
(
'确认卡号'
,
this
.
sureBankAccountId
)
uni
.
showToast
({
title
:
'两次银行卡号不一致,请重新输入'
,
duration
:
2000
,
...
...
pages/application-process/contract.vue
View file @
da3e50c2
...
...
@@ -46,10 +46,11 @@
</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>
-->
<view
class=
"agree"
@
click=
"agree(curContractId)"
>
同意
</view>
</scroll-view>
...
...
@@ -158,15 +159,15 @@
contractItem
.
confirmStatus
=
0
;
}
else
{
this
.
isShow
=
true
;
this
.
nineTime
=
true
;
this
.
timer
=
setInterval
(()
=>
{
this
.
remainTimes
--
;
if
(
this
.
remainTimes
<=
0
)
{
this
.
nineTime
=
false
this
.
remainTimes
=
10
;
clearInterval
(
this
.
timer
);
}
},
1000
);
//
this.nineTime = true;
//
this.timer = setInterval(() => {
//
this.remainTimes--;
//
if (this.remainTimes
<=
0
)
{
//
this.nineTime = false
//
this.remainTimes = 10;
//
clearInterval(this.timer);
//
}
//
}, 1000);
this
.
curContract
=
contractItem
.
termNote
;
this
.
curTitle
=
contractItem
.
termName
;
this
.
curContractId
=
contractItem
.
id
;
...
...
@@ -178,9 +179,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"
])
{
...
...
pages/application-process/education.vue
View file @
da3e50c2
...
...
@@ -24,7 +24,7 @@
</view>
<text
class=
"page_mark"
>
4/8
</text>
</view>
<view
class=
"content"
>
<view
class=
"content"
style=
"padding-bottom: 150rpx;"
>
<view
class=
"contentDetail employ"
>
<view
class=
"contentItem"
>
<text>
最高学历:如本科、专科、硕士
</text>
...
...
@@ -53,7 +53,7 @@
</view>
<!-- mode="widthFix" -->
<view
class=
"photo_w"
v-if=
"educationForm.lastGraduateCertificationOssPath"
>
<image
:src=
"educationForm.lastGraduateCertificationOssPath"
@
click=
"upLoadPhoto()"
></image>
<image
:src=
"educationForm.lastGraduateCertificationOssPath"
@
click=
"upLoadPhoto()"
mode=
"widthFix"
></image>
</view>
<view
class=
"tips"
>
...
...
@@ -259,10 +259,9 @@
@import
'applyCommon.scss'
;
.photo_w
{
height
:
380
rpx
;
//
height
:
380
rpx
;
width
:
80%
;
margin
:
auto
;
padding-bottom
:
20
rpx
;
}
.photo_w
image
{
...
...
pages/application-process/id-card.vue
View file @
da3e50c2
...
...
@@ -24,16 +24,16 @@
</view>
<text
class=
"page_mark"
>
3/8
</text>
</view>
<view
class=
"content"
>
<view
class=
"content"
style=
"padding-bottom: 150rpx;"
>
<view
class=
"content_wrapper"
>
<view
class=
"photo"
v-if=
"!cardForm.idFrontPageOssPath"
@
click=
"upLoadPhoto('front')"
>
<image
src=
"../../static/front.png"
alt=
"身份证正面"
mode=
"widthFix"
></image>
<text
class=
"iconfont icon-weibiaoti553"
></text>
<view
class=
"choseBtn"
>
点击添加身份证正面
</view>
</view>
<
view
class=
"content_w"
v-if=
"cardForm.idFrontPageOssPath"
>
<image
:src=
"cardForm.idFrontPageOssPath"
@
click=
"upLoadPhoto('front')
"
></image>
<
/view
>
<
!--
<view
class=
"content_w"
v-if=
"cardForm.idFrontPageOssPath"
>
--
>
<image
class=
"picImg"
v-if=
"cardForm.idFrontPageOssPath"
:src=
"cardForm.idFrontPageOssPath"
@
click=
"upLoadPhoto('front')"
mode=
"widthFix
"
></image>
<
!--
</view>
--
>
<view
class=
"tips"
>
<view>
(正确示例:身份证正面,字体清晰)
</view>
<view>
(jpg,png 文件大小不大于1mb)
</view>
...
...
@@ -45,9 +45,9 @@
<text
class=
"iconfont icon-weibiaoti553"
></text>
<view
class=
"choseBtn"
>
点击添加身份证反面
</view>
</view>
<
view
class=
"content_w"
v-if=
"cardForm.idBackPageOssPath"
>
<image
:src=
"cardForm.idBackPageOssPath"
@
click=
"upLoadPhoto('back')
"
></image>
<
/view
>
<
!--
<view
class=
"content_w"
v-if=
"cardForm.idBackPageOssPath"
>
--
>
<image
class=
"picImg"
v-if=
"cardForm.idBackPageOssPath"
:src=
"cardForm.idBackPageOssPath"
@
click=
"upLoadPhoto('back')"
mode=
"widthFix
"
></image>
<
!--
</view>
--
>
<view
class=
"tips"
>
<view>
(正确示例:身份证反面,字体清晰)
</view>
<view>
(jpg,png 文件大小不大于1mb)
</view>
...
...
@@ -226,7 +226,7 @@
justify-content
:
center
;
flex-wrap
:
wrap
;
margin-top
:
10px
;
overflow
:
hidden
;
overflow
:
auto
;
.photo
{
text-align
:
center
;
...
...
@@ -253,17 +253,10 @@
bottom
:
19%
;
}
}
.picImg
{
width
:
60%
!important
;
}
}
.content_w
{
height
:
380
rpx
;
width
:
76%
;
margin
:
auto
;
padding-bottom
:
20
rpx
;
}
.content_w
image
{
width
:
100%
;
height
:
100%
;
}
</
style
>
pages/application-process/work-experience.vue
View file @
da3e50c2
...
...
@@ -28,7 +28,7 @@
<view
class=
"content"
>
<view
class=
"contentDetail employ"
>
<view
class=
"contentItem"
>
<text>
职业类型
</text>
<text>
职业类型
1
</text>
<picker
@
change=
"changeIndustry"
:value=
"industryIdx"
:range=
"industry"
range-key=
"industryName"
:disabled=
"this.workform.approvalStatus!= 0 && this.workform.approvalStatus != 2"
>
...
...
@@ -77,7 +77,7 @@
</view>
<view
v-if=
"workform.certificate"
style=
"width: 100%;text-align: center;"
>
<view
class=
"photo_w"
v-for=
"picItem in picList"
>
<image
style=
"width: 100%;"
:src=
"picItem"
@
click=
"clickImg(picItem)"
></image>
<image
style=
"width: 100%;"
:src=
"picItem"
@
click=
"clickImg(picItem)"
mode=
"widthFix"
></image>
</view>
</view>
<view
class=
"tips"
>
...
...
@@ -296,8 +296,8 @@
@import
'applyCommon.scss'
;
.photo_w
{
height
:
380
rpx
;
width
:
80
%
;
//
height
:
380
rpx
;
width
:
55
%
;
margin
:
auto
;
padding-bottom
:
20
rpx
;
}
...
...
pages/courseDetail/courseDetail.vue
View file @
da3e50c2
...
...
@@ -187,7 +187,10 @@
this
.
sharelogin
=
false
this
.
userId
=
val
uni
.
setStorageSync
(
'cffp_userId'
,
this
.
userId
);
this
.
getuserRead
(
1
)
this
.
courseDetail
();
setTimeout
(()
=>
{
this
.
getuserRead
(
this
.
courseInfo
.
status
)
},
500
)
}
else
{
this
.
sharelogin
=
false
}
...
...
pages/index/index.vue
View file @
da3e50c2
...
...
@@ -179,6 +179,7 @@
})
},
featureSelect
(
featureItem
)
{
console
.
log
(
featureItem
)
if
(
this
.
loginornot
==
false
&&
featureItem
.
name
!=
"学习认证"
&&
featureItem
.
name
!=
"更多功能"
){
uni
.
showToast
({
title
:
"请登陆个人账户使用该功能"
,
...
...
@@ -190,6 +191,16 @@
})
return
false
}
if
(
featureItem
.
key
==
'02'
){
if
(
this
.
cffpUserInfo
.
levelCode
==
'C1'
||
this
.
cffpUserInfo
.
levelCode
==
'C2'
||
this
.
cffpUserInfo
.
levelCode
==
'C3'
){
uni
.
showToast
({
title
:
"您已是区域服务中心,无需申请加盟"
,
duration
:
2000
,
icon
:
'none'
});
return
false
}
}
if
(
this
.
cffpUserInfo
.
partnerType
==
null
&&
featureItem
.
name
==
'邀请加盟'
)
{
uni
.
showToast
({
title
:
"您本人尚未加盟,您加盟后可邀请加盟"
,
...
...
pages/orderConfirm/orderConfirm.vue
View file @
da3e50c2
...
...
@@ -171,6 +171,7 @@
tipsFlag
:
false
,
isRedirect
:
null
,
amount
:
0
,
calculatedPrice
:
0
}
},
computed
:{
...
...
@@ -191,9 +192,6 @@
},
methods
:
{
replaceUrl
(){
},
// 支付
pay
(){
if
(
this
.
paymentBtnDisabled
){
...
...
@@ -202,10 +200,10 @@
this
.
paymentBtnDisabled
=
true
;
let
param
=
{
orderId
:
this
.
orderId
,
amount
:
this
.
totalPrice
,
amount
:
this
.
isRedirect
==
1
?
this
.
calculatedPrice
:
this
.
totalPrice
,
paymentMethod
:
this
.
paymentMethod
,
userId
:
this
.
userId
,
integralExchange
:
this
.
isDeduction
==
true
?
parseFloat
(
this
.
deductionCore
)
:
0
,
integralExchange
:
this
.
isDeduction
?
parseFloat
(
this
.
deductionCore
)
:
0
,
paymentType
:
''
,
isPayOrAuth
:
''
,
fileId
:
this
.
fileId
...
...
@@ -223,21 +221,19 @@
param
.
paymentType
=
2
;
//deviceType:PC为1,移动端为2,微信为3
if
(
this
.
deviceType
==
3
){
if
(
this
.
amount
==
'0'
){
uni
.
navigateTo
({
url
:
`/pages/orderStatus/orderStatus?orderId=
${
this
.
orderId
}
&fileId=
${
this
.
fileId
}
&orderStatus=2&userId=
${
this
.
userId
}
&isRedirect=1`
})
return
false
}
else
{
param
.
isPayOrAuth
=
1
;
api
.
wxAuthorize
(
param
).
then
((
res
)
=>
{
this
.
paymentBtnDisabled
=
false
;
if
(
res
[
'success'
]){
window
.
location
.
href
=
res
[
'data'
][
'paymentForm'
][
'action'
];
}
})
}
param
.
isPayOrAuth
=
1
;
api
.
wxAuthorize
(
param
).
then
((
res
)
=>
{
this
.
paymentBtnDisabled
=
false
;
if
(
this
.
amount
==
'0'
){
uni
.
navigateTo
({
url
:
`/pages/orderStatus/orderStatus?orderId=
${
this
.
orderId
}
&fileId=
${
this
.
fileId
}
&orderStatus=2&userId=
${
this
.
userId
}
&isRedirect=1`
})
return
false
}
if
(
res
[
'success'
]){
window
.
location
.
href
=
res
[
'data'
][
'paymentForm'
][
'action'
];
}
})
}
else
{
//微信二维码支付
...
...
@@ -290,24 +286,27 @@
}
})
// #endif
console
.
log
(
param
)
//#ifdef H5
//支付宝h5支付
console
.
log
(
JSON
.
stringify
(
param
))
param
.
paymentType
=
2
;
this
.
amount
=
this
.
totalPrice
;
//
this.amount = this.totalPrice;
if
(
this
.
deviceType
==
3
){
this
.
tipsFlag
=
true
;
this
.
amount
=
this
.
totalPrice
;
//
this.amount = this.totalPrice;
this
.
paymentBtnDisabled
=
false
;
let
deductionCore
=
this
.
isDeduction
==
true
?
parseFloat
(
this
.
deductionCore
)
:
0
;
let
url
=
window
.
location
.
href
+
`&isRedirect=1&amount=
${
this
.
amount
}
&
jumptime=
${
new
Date
()}
&isDeduction=
${
this
.
isDeduction
}
&deductionCore=
${
deductionCore
}
`
;
let
url
=
window
.
location
.
href
+
`&isRedirect=1&amount=
${
this
.
amount
}
&
isDeduction=
${
this
.
isDeduction
}
&deductionCore=
${
deductionCore
}
&jumptime=
${
new
Date
()
}
`
;
window
.
history
.
replaceState
(
null
,
''
,
url
);
return
;
}
api
.
unifiedPay
(
param
).
then
((
res
)
=>
{
const
data
=
res
[
'data'
];
this
.
paymentBtnDisabled
=
false
;
if
(
res
[
'success'
]){
debugger
;
if
(
data
.
orderStatus
!=
''
&&
data
.
orderStatus
!=
null
){
uni
.
navigateTo
({
url
:
`/pages/orderStatus/orderStatus?orderId=
${
this
.
orderId
}
&fileId=
${
this
.
fileId
}
&orderStatus=2&userId=
${
this
.
userId
}
&isRedirect=1`
...
...
@@ -315,10 +314,10 @@
return
false
}
this
.
payForm
=
res
[
'data'
][
'aliOrderString'
];
this
.
$nextTick
(()
=>
{
console
.
log
(
document
.
forms
)
document
.
forms
[
'punchout_form'
].
submit
();
})
//
this.$nextTick(() => {
//
console.log(document.forms)
//
document.forms['punchout_form'].submit();
//
})
}
else
{
uni
.
showModal
({
content
:
res
[
'message'
],
...
...
@@ -410,12 +409,11 @@
}
this
.
isRedirect
=
option
.
isRedirect
;
if
(
this
.
isRedirect
==
1
){
if
(
option
.
amount
){
this
.
deductionCore
=
option
.
deductionCore
;
this
.
amount
=
option
.
amount
;
this
.
isDeduction
=
option
.
isDeduction
;
}
this
.
totalPrice
=
this
.
amount
;
this
.
deductionCore
=
option
.
deductionCore
;
this
.
amount
=
Number
(
option
.
amount
);
this
.
isDeduction
=
option
.
isDeduction
;
this
.
calculatedPrice
=
Number
(
this
.
amount
);
console
.
log
(
JSON
.
stringify
(
option
))
setTimeout
(()
=>
{
this
.
pay
();
},
500
)
...
...
pages/personalCenter/teamMembers/jurisdiction.vue
View file @
da3e50c2
...
...
@@ -6,10 +6,10 @@
<text
class=
"concent-text"
>
{{
item
.
areaCenterName
}}
</text>
</view>
</view>
<view
style=
"text-align: right;margin: 20px;"
>
合计:
{{
item
.
rank
}}
<view
style=
"text-align: right;margin: 20
rpx 40r
px;"
>
合计:
{{
item
.
count
}}
</view>
<view
class=
""
>
<view
class=
""
style=
"margin-bottom: 80rpx;"
>
<view
class=
"d-box"
>
<view
class=
"d-td"
>
<text>
辖下组织/成员
</text>
...
...
@@ -21,7 +21,7 @@
<text>
成员数量
</text>
</view>
</view>
<lazy-tree
:datatitleList=
"datatitleList"
:dataList=
"
dataList
"
type=
"2"
></lazy-tree>
<lazy-tree
:datatitleList=
"datatitleList"
:dataList=
"
getList(item,dataList)
"
type=
"2"
></lazy-tree>
<!--
<myteam-table
:datatitleList=
"datatitleList"
:dataList=
"raiseList"
type=
"2"
></myteam-table>
-->
<!--
<view
class=
"table-content"
>
<span>
辖下组织/成员
</span>
...
...
@@ -57,27 +57,35 @@
this
.
dataList
=
this
.
raiseList
console
.
log
(
this
.
raiseList
,
77777
)
},
methods
:{
getList
(
item
,
arr
){
return
arr
.
filter
((
val
)
=>
{
return
item
.
areaCenterName
==
val
.
areaCenterName
})
}
},
data
()
{
return
{
datatitleList
:[
'辖下组织/成员'
,
'职级'
,
'合计'
],
dataList
:[]
dataList
:[],
lazyTreeData
:[],
// dataList:[
// {
// name: 'shirley一级服务中心',
// rank: '50',
// dataL:[
// {name:'成员',
rms:'2级别',smn
:'111'},
// {name:'成员',
rms:'2级别',smn
:'111'},
// {name:'成员',
rms:'2级别',smn
:'111'}
// {name:'成员',
levelName:'2级别',count
:'111'},
// {name:'成员',
levelName:'2级别',count
:'111'},
// {name:'成员',
levelName:'2级别',count
:'111'}
// ]
// },
// {
// name: '雪梨一级服务中心',
// rank: '80',
// dataL:[
// {name:'成员',
rms:'2级别',smn
:'111'},
// {name:'成员',
rms:'2级别',smn
:'111'},
// {name:'成员',
rms:'2级别',smn
:'111'}
// {name:'成员',
levelName:'2级别',count
:'111'},
// {name:'成员',
levelName:'2级别',count
:'111'},
// {name:'成员',
levelName:'2级别',count
:'111'}
// ]
// }
// ]
...
...
pages/personalCenter/teamMembers/teamMembers.vue
View file @
da3e50c2
...
...
@@ -22,7 +22,7 @@
</view>
</view>
<view
class=
"other"
v-if=
"tabType===3"
>
<other-team
v-if=
"otherList
.length != 0
"
:otherList=
"otherList"
></other-team>
<other-team
v-if=
"otherList"
:otherList=
"otherList"
></other-team>
<view
v-else
class=
"zdata"
style=
""
>
<text>
暂无数据!
</text>
</view>
...
...
@@ -58,7 +58,7 @@
},
mounted
()
{
this
.
switchTab
(
1
)
this
.
switchTab
(
2
)
this
.
getmyseatem
()
},
methods
:{
...
...
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