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
7a93ee6c
Commit
7a93ee6c
authored
Dec 23, 2022
by
sunerhu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.修改申请加盟缓存不刷新问题
parent
4cba4696
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
5 deletions
+14
-5
pages/application-process/basic-info.vue
+7
-0
pages/application-process/education.vue
+2
-1
pages/application-process/id-card.vue
+1
-1
pages/application-process/work-experience.vue
+4
-3
No files found.
pages/application-process/basic-info.vue
View file @
7a93ee6c
...
...
@@ -171,6 +171,13 @@
if
(
options
.
shareId
)
{
this
.
shareId
=
options
.
shareId
uni
.
setStorageSync
(
'applyId'
,
''
)
uni
.
removeStorageSync
(
'workform'
)
uni
.
removeStorageSync
(
'cardForm'
)
uni
.
removeStorageSync
(
'educationForm'
)
uni
.
removeStorageSync
(
'backForm'
)
uni
.
removeStorageSync
(
'personalForm'
)
uni
.
removeStorageSync
(
'contractForm'
)
uni
.
removeStorageSync
(
'picList'
)
}
else
{
this
.
cffp_userInfo
=
uni
.
getStorageSync
(
'cffp_userInfo'
);
if
(
this
.
cffp_userInfo
)
{
...
...
pages/application-process/education.vue
View file @
7a93ee6c
...
...
@@ -118,7 +118,6 @@
// this.queryById(null, uni.getStorageSync('cffp_userId'))
// }
uni
.
$on
(
"ckqueryById"
,
res
=>
{
console
.
log
(
'接受到了广播没'
)
if
(
res
==
true
)
{
this
.
queryById
(
null
,
uni
.
getStorageSync
(
'cffp_userId'
))
}
...
...
@@ -176,10 +175,12 @@
})
},
upLoadPhoto
(
event
)
{
uni
.
setStorageSync
(
'educationForm'
,
this
.
educationForm
)
if
(
this
.
educationForm
.
approvalStatus
==
0
||
this
.
educationForm
.
approvalStatus
==
2
)
{
this
.
dataForm
.
targetId
=
this
.
educationForm
.
id
CommonUpload
(
this
.
dataForm
).
then
(
res
=>
{
this
.
educationForm
.
lastGraduateCertificationOssPath
=
res
.
data
.
filePath
;
uni
.
setStorageSync
(
'educationForm'
,
this
.
educationForm
)
});
}
},
...
...
pages/application-process/id-card.vue
View file @
7a93ee6c
...
...
@@ -106,7 +106,6 @@
// this.queryById(null, uni.getStorageSync('cffp_userId'))
// }
uni
.
$on
(
"ckqueryById"
,
res
=>
{
console
.
log
(
'接受到了广播没'
)
if
(
res
==
true
)
{
this
.
queryById
(
null
,
uni
.
getStorageSync
(
'cffp_userId'
))
}
...
...
@@ -156,6 +155,7 @@
if
(
type
==
'back'
)
{
this
.
cardForm
.
idBackPageOssPath
=
res
.
data
.
filePath
;
}
uni
.
setStorageSync
(
'cardForm'
,
this
.
cardForm
)
console
.
log
(
this
.
cardForm
.
idBackPageOssPath
,
151515
)
})
}
...
...
pages/application-process/work-experience.vue
View file @
7a93ee6c
...
...
@@ -149,6 +149,7 @@
onShow
()
{
if
(
uni
.
getStorageSync
(
'workform'
))
{
this
.
workform
=
uni
.
getStorageSync
(
'workform'
)
this
.
picList
=
uni
.
getStorageSync
(
'picList'
)?
uni
.
getStorageSync
(
'picList'
)
:[];
}
// if(uni.getStorageSync('Refresh_query')){
// this.queryById(null, uni.getStorageSync('cffp_userId'))
...
...
@@ -194,10 +195,12 @@
},
upLoadPhoto
(
event
)
{
this
.
dataForm
.
targetId
=
this
.
workform
.
id
uni
.
setStorageSync
(
'workform'
,
this
.
workform
);
CommonUpload
(
this
.
dataForm
).
then
(
res
=>
{
console
.
log
(
res
,
1145
)
this
.
workform
.
certificate
=
res
.
data
.
filePath
;
this
.
picList
.
push
(
this
.
workform
.
certificate
);
console
.
log
(
this
.
workform
,
1111
)
uni
.
setStorageSync
(
'picList'
,
this
.
picList
);
});
},
saveInfo
()
{
...
...
@@ -258,7 +261,6 @@
}).
then
((
res
)
=>
{
if
(
res
[
'success'
])
{
this
.
applyParam
=
res
[
'data'
][
'data'
];
console
.
log
(
this
.
applyParam
.
approvalStatus
,
'执行了把1'
)
if
(
uni
.
getStorageSync
(
'workform'
))
{
this
.
workform
=
uni
.
getStorageSync
(
'workform'
)
}
else
{
...
...
@@ -271,7 +273,6 @@
}
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
(
','
);
...
...
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