Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
galaxy-iOS
Project
Project
Details
Activity
Releases
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
mobile-group
galaxy-iOS
Commits
cc31b9fb
Commit
cc31b9fb
authored
May 13, 2024
by
pete谢兆麟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化证件上传逻辑
parent
2af6be11
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
20 additions
and
8 deletions
+20
-8
YHCertificateUploadVC.swift
...息表)/C/Certificates(证书上传和证书信息)/YHCertificateUploadVC.swift
+2
-0
YHIdentityCardCell.swift
...(我的信息流程)/FamilyMember(家庭成员信息表)/V/YHIdentityCardCell.swift
+8
-4
YHMainApplicantInformationViewController.swift
...(主申请人信息)/C/YHMainApplicantInformationViewController.swift
+2
-0
YHMainInformationCardTableViewCell.swift
...mation(主申请人信息)/V/YHMainInformationCardTableViewCell.swift
+8
-4
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(我的信息流程)/FamilyMember(家庭成员信息表)/C/Certificates(证书上传和证书信息)/YHCertificateUploadVC.swift
View file @
cc31b9fb
...
...
@@ -81,6 +81,8 @@ extension YHCertificateUploadVC: UITableViewDelegate, UITableViewDataSource {
let
cell
=
tableView
.
dequeueReusableCell
(
withClass
:
YHIdentityCardCell
.
self
)
cell
.
type
=
YHCardType
(
rawValue
:
indexPath
.
row
)
??
.
identity
cell
.
viewModel
=
viewModel
cell
.
backSurfaceDeleteButton
.
isHidden
=
true
cell
.
frontDeleteButton
.
isHidden
=
true
cell
.
informationBlock
=
{[
weak
self
]
type
,
image
,
isLeft
in
guard
let
self
=
self
else
{
return
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(我的信息流程)/FamilyMember(家庭成员信息表)/V/YHIdentityCardCell.swift
View file @
cc31b9fb
...
...
@@ -28,8 +28,9 @@ class YHIdentityCardCell: UITableViewCell {
self
.
viewModel
.
getPublicImageUrl
(
viewModel
.
mainModel
.
certificates
.
cnIdentityCard
.
imgFront
)
{[
weak
self
]
success
,
error
in
guard
let
self
=
self
else
{
return
}
guard
let
url
=
success
else
{
return
}
self
.
frontImageButton
.
kf
.
setBackgroundImage
(
with
:
URL
(
string
:
url
),
for
:
.
normal
)
self
.
frontImageButton
.
kf
.
setBackgroundImage
(
with
:
URL
(
string
:
url
),
for
:
.
normal
,
completionHandler
:
{
_
in
self
.
frontDeleteButton
.
isHidden
=
false
})
self
.
frontImageButton
.
setContent
(
""
,
""
)
}
}
...
...
@@ -37,8 +38,9 @@ class YHIdentityCardCell: UITableViewCell {
self
.
viewModel
.
getPublicImageUrl
(
viewModel
.
mainModel
.
certificates
.
cnIdentityCard
.
imgBack
)
{[
weak
self
]
success
,
error
in
guard
let
self
=
self
else
{
return
}
guard
let
url
=
success
else
{
return
}
self
.
backSurfaceImageButton
.
kf
.
setBackgroundImage
(
with
:
URL
(
string
:
url
),
for
:
.
normal
)
self
.
backSurfaceImageButton
.
kf
.
setBackgroundImage
(
with
:
URL
(
string
:
url
),
for
:
.
normal
,
completionHandler
:
{
_
in
self
.
backSurfaceDeleteButton
.
isHidden
=
false
})
self
.
backSurfaceImageButton
.
setContent
(
""
,
""
)
}
}
...
...
@@ -47,8 +49,9 @@ class YHIdentityCardCell: UITableViewCell {
self
.
viewModel
.
getPublicImageUrl
(
viewModel
.
mainModel
.
certificates
.
hkMacaoPass
.
imgFront
)
{[
weak
self
]
success
,
error
in
guard
let
self
=
self
else
{
return
}
guard
let
url
=
success
else
{
return
}
self
.
frontImageButton
.
kf
.
setBackgroundImage
(
with
:
URL
(
string
:
url
),
for
:
.
normal
)
self
.
frontImageButton
.
kf
.
setBackgroundImage
(
with
:
URL
(
string
:
url
),
for
:
.
normal
,
completionHandler
:
{
_
in
self
.
frontDeleteButton
.
isHidden
=
false
})
self
.
frontImageButton
.
setContent
(
""
,
""
)
}
}
...
...
@@ -56,8 +59,9 @@ class YHIdentityCardCell: UITableViewCell {
self
.
viewModel
.
getPublicImageUrl
(
viewModel
.
mainModel
.
certificates
.
hkMacaoPass
.
imgBack
)
{[
weak
self
]
success
,
error
in
guard
let
self
=
self
else
{
return
}
guard
let
url
=
success
else
{
return
}
self
.
backSurfaceImageButton
.
kf
.
setBackgroundImage
(
with
:
URL
(
string
:
url
),
for
:
.
normal
)
self
.
backSurfaceImageButton
.
kf
.
setBackgroundImage
(
with
:
URL
(
string
:
url
),
for
:
.
normal
,
completionHandler
:
{
_
in
self
.
backSurfaceDeleteButton
.
isHidden
=
false
})
self
.
backSurfaceImageButton
.
setContent
(
""
,
""
)
}
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(我的信息流程)/MainApplicantInformation(主申请人信息)/C/YHMainApplicantInformationViewController.swift
View file @
cc31b9fb
...
...
@@ -164,6 +164,8 @@ extension YHMainApplicantInformationViewController: UITableViewDelegate, UITable
let
cell
=
tableView
.
dequeueReusableCell
(
withClass
:
YHMainInformationCardTableViewCell
.
self
)
cell
.
type
=
YHCardType
(
rawValue
:
indexPath
.
row
)
??
.
identity
cell
.
viewModel
=
viewModel
cell
.
backSurfaceDeleteButton
.
isHidden
=
true
cell
.
frontDeleteButton
.
isHidden
=
true
cell
.
informationBlock
=
{[
weak
self
]
type
,
image
,
isLeft
in
guard
let
self
=
self
else
{
return
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(我的信息流程)/MainApplicantInformation(主申请人信息)/V/YHMainInformationCardTableViewCell.swift
View file @
cc31b9fb
...
...
@@ -35,8 +35,9 @@ class YHMainInformationCardTableViewCell: UITableViewCell {
self
.
viewModel
.
getPublicImageUrl
(
viewModel
.
mainModel
.
certificates
.
cn_identity_card
.
img_front
)
{[
weak
self
]
success
,
error
in
guard
let
self
=
self
else
{
return
}
guard
let
url
=
success
else
{
return
}
self
.
frontImageButton
.
kf
.
setBackgroundImage
(
with
:
URL
(
string
:
url
),
for
:
.
normal
)
self
.
frontImageButton
.
kf
.
setBackgroundImage
(
with
:
URL
(
string
:
url
),
for
:
.
normal
,
completionHandler
:
{
_
in
self
.
frontDeleteButton
.
isHidden
=
false
})
self
.
frontImageButton
.
setContent
(
""
,
""
)
}
}
...
...
@@ -44,8 +45,9 @@ class YHMainInformationCardTableViewCell: UITableViewCell {
self
.
viewModel
.
getPublicImageUrl
(
viewModel
.
mainModel
.
certificates
.
cn_identity_card
.
img_back
)
{[
weak
self
]
success
,
error
in
guard
let
self
=
self
else
{
return
}
guard
let
url
=
success
else
{
return
}
self
.
backSurfaceImageButton
.
kf
.
setBackgroundImage
(
with
:
URL
(
string
:
url
),
for
:
.
normal
)
self
.
backSurfaceImageButton
.
kf
.
setBackgroundImage
(
with
:
URL
(
string
:
url
),
for
:
.
normal
,
completionHandler
:
{
_
in
self
.
backSurfaceDeleteButton
.
isHidden
=
false
})
self
.
backSurfaceImageButton
.
setContent
(
""
,
""
)
}
}
...
...
@@ -54,8 +56,9 @@ class YHMainInformationCardTableViewCell: UITableViewCell {
self
.
viewModel
.
getPublicImageUrl
(
viewModel
.
mainModel
.
certificates
.
hk_macao_pass
.
img_front
)
{[
weak
self
]
success
,
error
in
guard
let
self
=
self
else
{
return
}
guard
let
url
=
success
else
{
return
}
self
.
frontImageButton
.
kf
.
setBackgroundImage
(
with
:
URL
(
string
:
url
),
for
:
.
normal
)
self
.
frontImageButton
.
kf
.
setBackgroundImage
(
with
:
URL
(
string
:
url
),
for
:
.
normal
,
completionHandler
:
{
_
in
self
.
frontDeleteButton
.
isHidden
=
false
})
self
.
frontImageButton
.
setContent
(
""
,
""
)
}
}
...
...
@@ -63,8 +66,9 @@ class YHMainInformationCardTableViewCell: UITableViewCell {
self
.
viewModel
.
getPublicImageUrl
(
viewModel
.
mainModel
.
certificates
.
hk_macao_pass
.
img_back
)
{[
weak
self
]
success
,
error
in
guard
let
self
=
self
else
{
return
}
guard
let
url
=
success
else
{
return
}
self
.
backSurfaceImageButton
.
kf
.
setBackgroundImage
(
with
:
URL
(
string
:
url
),
for
:
.
normal
)
self
.
backSurfaceImageButton
.
kf
.
setBackgroundImage
(
with
:
URL
(
string
:
url
),
for
:
.
normal
,
completionHandler
:
{
_
in
self
.
backSurfaceDeleteButton
.
isHidden
=
false
})
self
.
backSurfaceImageButton
.
setContent
(
""
,
""
)
}
}
...
...
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