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
2c18f7ce
Commit
2c18f7ce
authored
Aug 24, 2024
by
David黄金龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
上传过关证件
parent
1be88d79
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
62 additions
and
65 deletions
+62
-65
YHUploadCertificateDetailVC.swift
...dCertificate(7上传过关证件)/C/YHUploadCertificateDetailVC.swift
+0
-0
YHUploadCertificateVC.swift
.../UploadCertificate(7上传过关证件)/C/YHUploadCertificateVC.swift
+48
-47
YHUploadCertificateDateItem.swift
...dCertificate(7上传过关证件)/V/YHUploadCertificateDateItem.swift
+4
-0
YHVisaPaymentVC.swift
...ificate(办证段)/VisaPayment(4电子签字缴费)/C/YHVisaPaymentVC.swift
+2
-3
YHFileListBottomView.swift
...Service(服务中心)/FileList(文件清单)/V/YHFileListBottomView.swift
+8
-5
YHMyViewController.swift
...alaxy/Classes/Modules/Mine(我的)/C/YHMyViewController.swift
+0
-10
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/CustomerService/Certificate(办证段)/UploadCertificate(7上传过关证件)/C/YHUploadCertificateDetailVC.swift
View file @
2c18f7ce
This diff is collapsed.
Click to expand it.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/CustomerService/Certificate(办证段)/UploadCertificate(7上传过关证件)/C/YHUploadCertificateVC.swift
View file @
2c18f7ce
...
@@ -9,8 +9,6 @@
...
@@ -9,8 +9,6 @@
import
UIKit
import
UIKit
class
YHUploadCertificateVC
:
YHBaseViewController
{
class
YHUploadCertificateVC
:
YHBaseViewController
{
var
items
:
[
String
]
=
[
"1"
,
"1"
]
lazy
var
viewModel
:
YHUploadCertificateViewModel
=
{
lazy
var
viewModel
:
YHUploadCertificateViewModel
=
{
let
vm
=
YHUploadCertificateViewModel
()
let
vm
=
YHUploadCertificateViewModel
()
...
@@ -71,7 +69,7 @@ class YHUploadCertificateVC: YHBaseViewController {
...
@@ -71,7 +69,7 @@ class YHUploadCertificateVC: YHBaseViewController {
setupUI
()
setupUI
()
orderId
=
150661
//for test hjl
//
orderId = 150661 //for test hjl
loadData
()
loadData
()
}
}
}
}
...
@@ -149,48 +147,43 @@ extension YHUploadCertificateVC: UITableViewDelegate, UITableViewDataSource {
...
@@ -149,48 +147,43 @@ extension YHUploadCertificateVC: UITableViewDelegate, UITableViewDataSource {
}
}
func
tableView
(
_
tableView
:
UITableView
,
cellForRowAt
indexPath
:
IndexPath
)
->
UITableViewCell
{
func
tableView
(
_
tableView
:
UITableView
,
cellForRowAt
indexPath
:
IndexPath
)
->
UITableViewCell
{
if
0
<=
indexPath
.
section
&&
indexPath
.
section
<
items
.
count
{
if
indexPath
.
row
==
0
{
if
indexPath
.
row
==
0
{
let
warningCell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
YHUploadCertificateTitleCell
.
cellReuseIdentifier
,
for
:
indexPath
)
as!
YHUploadCertificateTitleCell
let
warningCell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
YHUploadCertificateTitleCell
.
cellReuseIdentifier
,
for
:
indexPath
)
as!
YHUploadCertificateTitleCell
var
title
=
""
var
title
=
""
if
indexPath
.
section
==
0
{
if
indexPath
.
section
==
0
{
title
=
"小白条"
title
=
"小白条"
}
else
{
title
=
"香港身份证"
}
warningCell
.
updateTitle
(
title
)
return
warningCell
}
else
{
}
else
{
let
approveCell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
YHUploadCertificateDetailCell
.
cellReuseIdentifier
,
for
:
indexPath
)
as!
YHUploadCertificateDetailCell
title
=
"香港身份证"
}
if
let
model
=
viewModel
.
uploadCertificateDataListModel
{
warningCell
.
updateTitle
(
title
)
if
indexPath
.
section
==
0
{
return
warningCell
let
tmp
=
model
.
small_whites
[
indexPath
.
row
-
1
]
}
else
{
approveCell
.
dataModel
=
tmp
let
approveCell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
YHUploadCertificateDetailCell
.
cellReuseIdentifier
,
for
:
indexPath
)
as!
YHUploadCertificateDetailCell
if
indexPath
.
row
==
model
.
small_whites
.
count
{
if
let
model
=
viewModel
.
uploadCertificateDataListModel
{
approveCell
.
isLastCell
=
true
if
indexPath
.
section
==
0
{
}
else
{
let
tmp
=
model
.
small_whites
[
indexPath
.
row
-
1
]
approveCell
.
isLastCell
=
false
approveCell
.
dataModel
=
tmp
}
}
else
if
indexPath
.
section
==
1
{
if
indexPath
.
row
==
model
.
small_whites
.
count
{
let
tmp
=
model
.
id_cards
[
indexPath
.
row
-
1
]
approveCell
.
isLastCell
=
true
approveCell
.
dataModel
=
tmp
}
else
{
approveCell
.
isLastCell
=
false
if
indexPath
.
row
==
model
.
id_cards
.
count
{
}
approveCell
.
isLastCell
=
true
}
else
if
indexPath
.
section
==
1
{
}
else
{
let
tmp
=
model
.
id_cards
[
indexPath
.
row
-
1
]
approveCell
.
isLastCell
=
false
approveCell
.
dataModel
=
tmp
}
if
indexPath
.
row
==
model
.
id_cards
.
count
{
approveCell
.
isLastCell
=
true
}
else
{
approveCell
.
isLastCell
=
false
}
}
}
}
return
approveCell
}
}
return
approveCell
}
}
let
approveCell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
"cell"
,
for
:
indexPath
)
return
approveCell
}
}
func
tableView
(
_
tableView
:
UITableView
,
heightForRowAt
indexPath
:
IndexPath
)
->
CGFloat
{
func
tableView
(
_
tableView
:
UITableView
,
heightForRowAt
indexPath
:
IndexPath
)
->
CGFloat
{
...
@@ -201,14 +194,22 @@ extension YHUploadCertificateVC: UITableViewDelegate, UITableViewDataSource {
...
@@ -201,14 +194,22 @@ extension YHUploadCertificateVC: UITableViewDelegate, UITableViewDataSource {
}
}
func
tableView
(
_
tableView
:
UITableView
,
didSelectRowAt
indexPath
:
IndexPath
)
{
func
tableView
(
_
tableView
:
UITableView
,
didSelectRowAt
indexPath
:
IndexPath
)
{
let
vc
=
YHUploadCertificateDetailVC
()
//
if
0
<=
indexPath
.
section
&&
indexPath
.
section
<
items
.
count
{
if
let
model
=
viewModel
.
uploadCertificateDataListModel
{
var
tmp
:
YHUploadCertificateModel
?
if
indexPath
.
section
==
0
{
let
vc
=
YHUploadCertificateDetailVC
()
tmp
=
model
.
small_whites
[
indexPath
.
row
-
1
]
vc
.
detailType
=
.
SmallWhiteNote
vc
.
detailType
=
.
SmallWhiteNote
self
.
navigationController
?
.
pushViewController
(
vc
)
}
else
if
indexPath
.
section
==
1
{
tmp
=
model
.
id_cards
[
indexPath
.
row
-
1
]
vc
.
detailType
=
.
HongKongCard
}
if
let
tmp
=
tmp
{
vc
.
dataModel
=
tmp
self
.
navigationController
?
.
pushViewController
(
vc
)
}
}
}
}
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/CustomerService/Certificate(办证段)/UploadCertificate(7上传过关证件)/V/YHUploadCertificateDateItem.swift
View file @
2c18f7ce
...
@@ -99,5 +99,9 @@ extension YHUploadCertificateDateItem {
...
@@ -99,5 +99,9 @@ extension YHUploadCertificateDateItem {
cardLabel
.
attributed
.
text
=
b
cardLabel
.
attributed
.
text
=
b
}
}
}
}
func
updateDate
(
date
:
String
)
{
dateTextField
.
text
=
date
}
}
}
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/CustomerService/Certificate(办证段)/VisaPayment(4电子签字缴费)/C/YHVisaPaymentVC.swift
View file @
2c18f7ce
...
@@ -130,9 +130,7 @@ private extension YHVisaPaymentVC {
...
@@ -130,9 +130,7 @@ private extension YHVisaPaymentVC {
self
.
orderID
=
(
id
as?
Int
)
??
0
self
.
orderID
=
(
id
as?
Int
)
??
0
}
}
}
}
// orderID = 133874//for test hjl
view
.
addSubview
(
tableView
)
view
.
addSubview
(
tableView
)
view
.
addSubview
(
bottomView
)
view
.
addSubview
(
bottomView
)
bottomView
.
snp
.
makeConstraints
{
make
in
bottomView
.
snp
.
makeConstraints
{
make
in
...
@@ -155,6 +153,7 @@ private extension YHVisaPaymentVC {
...
@@ -155,6 +153,7 @@ private extension YHVisaPaymentVC {
if
self
.
viewModel
.
isAllMemberPay
()
{
if
self
.
viewModel
.
isAllMemberPay
()
{
//跳转
//跳转
let
vc
=
YHUploadCertificateVC
()
let
vc
=
YHUploadCertificateVC
()
vc
.
orderId
=
orderID
self
.
navigationController
?
.
push
(
vc
,
removeClass
:
YHVisaPaymentVC
.
self
)
self
.
navigationController
?
.
push
(
vc
,
removeClass
:
YHVisaPaymentVC
.
self
)
}
else
{
}
else
{
postPaymentResult
()
postPaymentResult
()
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/FileList(文件清单)/V/YHFileListBottomView.swift
View file @
2c18f7ce
...
@@ -39,6 +39,7 @@ private extension YHFileListBottomView {
...
@@ -39,6 +39,7 @@ private extension YHFileListBottomView {
button
.
layer
.
cornerRadius
=
kCornerRadius3
button
.
layer
.
cornerRadius
=
kCornerRadius3
button
.
clipsToBounds
=
true
button
.
clipsToBounds
=
true
button
.
addTarget
(
self
,
action
:
#selector(
submit
)
,
for
:
.
touchUpInside
)
button
.
addTarget
(
self
,
action
:
#selector(
submit
)
,
for
:
.
touchUpInside
)
button
.
backgroundColor
=
UIColor
.
brandMainColor
return
button
return
button
}()
}()
addSubview
(
nextButton
)
addSubview
(
nextButton
)
...
@@ -49,14 +50,16 @@ private extension YHFileListBottomView {
...
@@ -49,14 +50,16 @@ private extension YHFileListBottomView {
make
.
left
.
equalTo
(
kMargin
)
make
.
left
.
equalTo
(
kMargin
)
}
}
nextButton
.
layoutIfNeeded
()
nextButton
.
addYinHeGradualLayer
()
}
}
@objc
func
save
()
{
block
?(
0
)
}
@objc
func
submit
()
{
@objc
func
submit
()
{
block
?(
1
)
block
?(
1
)
}
}
}
}
extension
YHFileListBottomView
{
func
updateBtnTitle
(
title
:
String
)
{
nextButton
.
setTitle
(
title
,
for
:
.
normal
)
}
}
galaxy/galaxy/Classes/Modules/Mine(我的)/C/YHMyViewController.swift
View file @
2c18f7ce
...
@@ -142,16 +142,6 @@ class YHMyViewController: YHBaseViewController, ConstraintRelatableTarget {
...
@@ -142,16 +142,6 @@ class YHMyViewController: YHBaseViewController, ConstraintRelatableTarget {
vc
.
myDefaultNavItemIndex
=
2
vc
.
myDefaultNavItemIndex
=
2
self
.
navigationController
?
.
pushViewController
(
vc
)
self
.
navigationController
?
.
pushViewController
(
vc
)
print
(
"最近浏览"
)
print
(
"最近浏览"
)
// let view = YHRangeDatePickerSheetView.sheetView()
// view.block = { (startDate,endDate) in
// print("选择的日期是:")
// print(startDate)
// print(endDate)
// }
// view.show() //for test hjl
}
}
return
view
return
view
}()
}()
...
...
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