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
f5a7414c
Commit
f5a7414c
authored
Aug 26, 2024
by
pete谢兆麟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
上传逻辑添加
parent
b82edf49
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
420 additions
and
162 deletions
+420
-162
YHAdopterNewPeopleViewController.swift
...Adopters(2新增受养人)/C/YHAdopterNewPeopleViewController.swift
+35
-46
YHAdopterTravelViewController.swift
...AddAdopters(2新增受养人)/C/YHAdopterTravelViewController.swift
+32
-13
YHAdopterDependentDataModel.swift
...)/AddAdopters(2新增受养人)/M/YHAdopterDependentDataModel.swift
+32
-3
YHAdopterCardTableViewCell.swift
...段)/AddAdopters(2新增受养人)/V/YHAdopterCardTableViewCell.swift
+26
-6
YHAdopterIncomeTitleTableViewCell.swift
...dopters(2新增受养人)/V/YHAdopterIncomeTitleTableViewCell.swift
+39
-0
YHAdopterTravelCardTableViewCell.swift
...Adopters(2新增受养人)/V/YHAdopterTravelCardTableViewCell.swift
+78
-82
YHAdopterNewPeopleViewModel.swift
.../AddAdopters(2新增受养人)/VM/YHAdopterNewPeopleViewModel.swift
+23
-0
YHYHAdopterTravelViewModel.swift
...)/AddAdopters(2新增受养人)/VM/YHYHAdopterTravelViewModel.swift
+153
-12
YHAllApiName.swift
galaxy/galaxy/Classes/Tools/NetWork/YHAllApiName.swift
+2
-0
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/CustomerService/Certificate(办证段)/AddAdopters(2新增受养人)/C/YHAdopterNewPeopleViewController.swift
View file @
f5a7414c
...
...
@@ -14,7 +14,7 @@ class YHAdopterNewPeopleViewController: YHBaseViewController {
var
tableView
:
UITableView
!
var
viewModel
:
YHAdopterNewPeopleViewModel
!
var
dataSource
:
[
YHSectionItemModel
]
=
[]
var
cardDataSource
:
[
YHAdopter
Card
Model
]
=
[]
var
cardDataSource
:
[
YHAdopter
DependentDataDoc
Model
]
=
[]
var
isShowPrompt
:
Bool
=
false
var
id
:
Int
=
0
...
...
@@ -25,10 +25,15 @@ class YHAdopterNewPeopleViewController: YHBaseViewController {
gk_navBackgroundColor
=
.
white
gk_navBarAlpha
=
1
setView
()
getData
()
//
getData()
// Do any additional setup after loading the view.
}
override
func
viewWillAppear
(
_
animated
:
Bool
)
{
super
.
viewWillAppear
(
animated
)
getData
()
}
func
getData
()
{
self
.
updateDataSource
()
viewModel
.
getDependentsData
(
id
:
id
)
{[
weak
self
]
success
,
error
in
...
...
@@ -42,7 +47,7 @@ class YHAdopterNewPeopleViewController: YHBaseViewController {
self
.
dataSource
=
self
.
viewModel
.
getBaseDataSource
(
isShowPrompt
)
self
.
bottomView
.
nextButton
.
setTitle
(
"下一步"
,
for
:
.
normal
)
}
else
if
self
.
stepView
.
currentIndex
==
1
{
self
.
cardDataSource
=
self
.
viewModel
.
getIdCardInformation
()
self
.
cardDataSource
=
self
.
viewModel
.
mainModel
.
docList
// self.bottomView.nextButton.setTitle("下一步", for: .normal)
}
self
.
tableView
.
reloadData
()
...
...
@@ -113,36 +118,17 @@ class YHAdopterNewPeopleViewController: YHBaseViewController {
make
.
left
.
equalTo
(
bottom
.
saveButton
.
snp
.
right
)
.
offset
(
10
)
}
self
.
stepView
.
currentIndex
=
self
.
stepView
.
currentIndex
+
1
let
view
=
YHAdopterCardOtherGuideView
.
sheetView
()
view
.
ischeckBeforeFlag
=
false
view
.
block
=
{
self
.
updateDataSource
()
if
self
.
viewModel
.
mainModel
.
info
.
is_read_agreement
==
0
{
let
view
=
YHAdopterCardOtherGuideView
.
sheetView
()
view
.
ischeckBeforeFlag
=
false
view
.
block
=
{
self
.
viewModel
.
postIsReadAgreement
(
id
:
self
.
id
)
{
success
,
error
in
}
}
view
.
show
()
}
view
.
show
()
}
// self.viewModel.mainModel.step = self.stepView.currentIndex
// self.viewModel.updateMainInformation(.submit, self.orderId, self.stepView.currentIndex) {[weak self] success, error in
// guard let self = self else { return }
// if let error = error {
// YHHUD.flash(message: error.errorMsg )
// } else {
// YHHUD.hideFlashMessage()
// self.stepView.currentIndex = self.stepView.currentIndex + 1
// self.isShowPrompt = false
// self.stepView.currentIndex = self.stepView.currentIndex
// if self.stepView.currentIndex == 3 {
// self.bottomView.nextButton.setTitle("提交", for: .normal)
// } else {
// self.bottomView.nextButton.setTitle("下一步", for: .normal)
// }
// if self.stepView.currentIndex == self.stepView.dataSource?.count {
// YHHUD.flash(message: "提交成功")
// self.navigationController?.popViewController()
// } else {
// self.updateDataSource()
// }
// }
// }
}
else
{
bottom
.
nextButton
.
isEnabled
=
true
self
.
isShowPrompt
=
true
...
...
@@ -203,7 +189,7 @@ extension YHAdopterNewPeopleViewController: UITableViewDelegate, UITableViewData
func
tableView
(
_
tableView
:
UITableView
,
heightForRowAt
indexPath
:
IndexPath
)
->
CGFloat
{
if
stepView
.
currentIndex
==
1
{
let
model
=
cardDataSource
[
indexPath
.
row
]
if
model
.
type
==
.
china
||
model
.
type
==
.
resident
{
if
model
.
dep_id
==
1
||
model
.
dep_id
==
2
{
return
90
}
else
{
return
78
...
...
@@ -254,34 +240,37 @@ extension YHAdopterNewPeopleViewController: UITableViewDelegate, UITableViewData
func
tableView
(
_
tableView
:
UITableView
,
didSelectRowAt
indexPath
:
IndexPath
)
{
if
stepView
.
currentIndex
==
1
{
let
model
=
cardDataSource
[
indexPath
.
row
]
switch
model
.
type
{
case
.
travel
:
switch
model
.
dep_
type
{
case
0
:
//旅行证件(港澳通行证/护照)
let
vc
=
YHAdopterTravelViewController
()
vc
.
model
=
model
self
.
navigationController
?
.
pushViewController
(
vc
)
case
.
china
:
case
1
:
//身份证(正反面)
let
vc
=
YHAdopterChinaViewController
()
self
.
navigationController
?
.
pushViewController
(
vc
)
case
.
resident
:
case
2
:
//户口信息页
let
vc
=
YHAdopterResidentViewController
()
self
.
navigationController
?
.
pushViewController
(
vc
)
case
.
birth
:
let
vc
=
YHAdopter
Birth
ViewController
()
case
3
:
//结婚证信息页
let
vc
=
YHAdopter
Marry
ViewController
()
self
.
navigationController
?
.
pushViewController
(
vc
)
case
.
id
:
case
4
:
//证件照片
let
vc
=
YHAdopterIdCardViewController
()
self
.
navigationController
?
.
pushViewController
(
vc
)
case
.
other
:
let
vc
=
YHAdopter
Other
ViewController
()
case
5
:
//出生医学证明
let
vc
=
YHAdopter
Birth
ViewController
()
self
.
navigationController
?
.
pushViewController
(
vc
)
case
.
marry
:
let
vc
=
YHAdopter
Marry
ViewController
()
case
6
:
//中国居留许可签证(有效期内)
let
vc
=
YHAdopter
ChinaLife
ViewController
()
self
.
navigationController
?
.
pushViewController
(
vc
)
case
.
chinaTravel
:
case
7
:
//中国旅行证
let
vc
=
YHAdoptedChinaTravelViewController
()
self
.
navigationController
?
.
pushViewController
(
vc
)
case
.
chinaLife
:
let
vc
=
YHAdopter
ChinaLife
ViewController
()
case
8
:
//其他证件(请致电客服咨询后上传相关证件)
let
vc
=
YHAdopter
Other
ViewController
()
self
.
navigationController
?
.
pushViewController
(
vc
)
default
:
break
}
}
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/CustomerService/Certificate(办证段)/AddAdopters(2新增受养人)/C/YHAdopterTravelViewController.swift
View file @
f5a7414c
...
...
@@ -15,7 +15,9 @@ class YHAdopterTravelViewController: YHBaseViewController {
var
clickIndex
=
-
1
var
data
:
[
YHItemModel
]
=
[]
var
viewModel
=
YHYHAdopterTravelViewModel
()
var
model
:
YHAdopterDependentDataDocModel
=
YHAdopterDependentDataDocModel
()
var
isShowPrompt
=
false
var
urls
:
[
String
]
=
[
""
,
""
]
override
func
viewDidLoad
()
{
super
.
viewDidLoad
()
gk_navTitle
=
"上传旅行证件"
...
...
@@ -26,7 +28,11 @@ class YHAdopterTravelViewController: YHBaseViewController {
}
func
getData
()
{
data
=
viewModel
.
getBaseDataSource
(
false
)
data
=
viewModel
.
getBaseDataSource
(
isShowPrompt
)
urls
=
model
.
url
if
urls
.
count
==
0
{
urls
=
[
""
,
""
]
}
tableView
.
reloadData
()
}
...
...
@@ -73,11 +79,13 @@ class YHAdopterTravelViewController: YHBaseViewController {
}
@objc
func
nextStep
()
{
}
@objc
func
submit
()
{
if
self
.
viewModel
.
isCanNext
(
1
)
{
}
else
{
self
.
isShowPrompt
=
true
self
.
getData
()
YHHUD
.
flash
(
message
:
"您还有信息未填写"
)
}
}
}
...
...
@@ -98,10 +106,17 @@ extension YHAdopterTravelViewController: UITableViewDelegate, UITableViewDataSou
if
indexPath
.
section
==
0
{
if
indexPath
.
row
==
0
{
let
cell
=
tableView
.
dequeueReusableCell
(
withClass
:
YHAdopterIncomeTitleTableViewCell
.
self
)
cell
.
docDataSource
=
model
return
cell
}
if
indexPath
.
row
==
1
{
let
cell
=
tableView
.
dequeueReusableCell
(
withClass
:
YHAdopterTravelCardTableViewCell
.
self
)
cell
.
urls
=
urls
cell
.
urlBlock
=
{
[
weak
self
]
url
,
index
in
guard
let
self
=
self
else
{
return
}
self
.
urls
[
index
]
=
url
self
.
tableView
.
reloadData
()
}
return
cell
}
}
...
...
@@ -109,11 +124,11 @@ extension YHAdopterTravelViewController: UITableViewDelegate, UITableViewDataSou
cell
.
dataSource
=
data
[
indexPath
.
row
]
cell
.
informationBlock
=
{[
weak
self
]
model
in
guard
let
self
=
self
else
{
return
}
//
self.viewModel.updateModel(model)
//
let id = model.id
// if id != .id32 && id != .id4 && id != .id8 && id != .id9 && id != .id12 && id != .id13 && id != .id17 && id != .id18 && id != .id21 && id != .id22 && id != .id23 && id != .id34 && id != .id29 && id != .id30 && id != .id35
{
// self.updateDataSource
()
//
}
self
.
viewModel
.
updateModel
(
model
)
let
id
=
model
.
id
if
id
!=
.
id2
&&
id
!=
.
id3
&&
id
!=
.
id4
{
self
.
getData
()
}
}
return
cell
}
...
...
@@ -121,7 +136,11 @@ extension YHAdopterTravelViewController: UITableViewDelegate, UITableViewDataSou
func
tableView
(
_
tableView
:
UITableView
,
heightForRowAt
indexPath
:
IndexPath
)
->
CGFloat
{
if
indexPath
.
section
==
0
{
if
indexPath
.
row
==
0
{
return
119
if
model
.
reject_reason
.
count
!=
0
{
return
119
}
else
{
return
86
}
}
if
indexPath
.
row
==
1
{
return
173
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/CustomerService/Certificate(办证段)/AddAdopters(2新增受养人)/M/YHAdopterDependentDataModel.swift
View file @
f5a7414c
...
...
@@ -31,7 +31,8 @@ class YHAdopterDependentDataInfoModel: SmartCodable {
var
deleted_at
:
String
=
""
var
is_spouse
:
Int
=
0
var
sync_subset_id
:
Int
=
0
var
is_read_agreement
:
Int
=
0
required
init
()
{
}
}
...
...
@@ -49,10 +50,38 @@ class YHAdopterDependentDataDocModel: SmartCodable {
var
updated_at
:
String
=
""
var
deleted_at
:
String
=
""
var
reject_reason
:
String
=
""
var
require
:
String
=
""
var
certificates_info
:
String
=
""
var
require
:
Int
=
0
var
certificates_info
:
YHAdopterDependentDataDocCertificatesModel
=
YHAdopterDependentDataDocCertificatesModel
()
var
url
:
[
String
]
=
[]
required
init
()
{
}
}
class
YHAdopterDependentDataDocCertificatesModel
:
SmartCodable
{
var
gender
:
Int
=
0
// 1男,2女
var
marital_status
:
Int
=
0
//婚姻状况
var
travel_papers_type
:
Int
=
0
// 旅行证件类型
var
current_place
:
String
=
""
// 现居地址
var
is_forever_identiry
:
Int
=
0
//是否永久身份:1是,2否
var
is_live_hk
:
Int
=
0
// 是否正在港:1否,2是
var
hk_identity
:
Int
=
0
// 在港身份
var
en_name
:
String
=
""
// 英文名称
var
former_name
:
String
=
""
// 曾用名
var
before_marriage_name
:
String
=
""
// 婚前姓氏
var
birthday
:
String
=
""
// 出生日期
var
birth_place
:
String
=
""
// 出生地点
var
idcard
:
String
=
""
// 身份证号
var
hk_idcard
:
String
=
""
//香港身份证号
var
travel_papers_number
:
String
=
""
//旅行证件号码
var
sign_address
:
String
=
""
// 签发地点
var
sign_date
:
String
=
""
//签发时间
var
sign_expire_date
:
String
=
""
//签发届满时间
var
live_time
:
String
=
""
// 定居居留时间
var
approve_date
:
String
=
""
//批准逗留日期
var
will_to_hk_date
:
String
=
""
//打算赴港日期
var
will_live_time
:
String
=
""
//打算在港逗留时间
required
init
()
{
}
}
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/CustomerService/Certificate(办证段)/AddAdopters(2新增受养人)/V/YHAdopterCardTableViewCell.swift
View file @
f5a7414c
...
...
@@ -16,7 +16,7 @@ class YHAdopterCardTableViewCell: UITableViewCell {
var
titleLabel
:
UILabel
!
var
selectLabel
:
UILabel
!
var
moreButton
:
UIButton
!
var
dataSource
:
YHAdopter
Card
Model
?
{
var
dataSource
:
YHAdopter
DependentDataDoc
Model
?
{
didSet
{
updateContent
()
}
...
...
@@ -130,8 +130,8 @@ class YHAdopterCardTableViewCell: UITableViewCell {
func
updateContent
()
{
guard
let
data
=
dataSource
else
{
return
}
if
data
.
type
==
.
travel
||
data
.
type
==
.
marry
||
data
.
type
==
.
id
{
let
str
=
"*"
+
data
.
titl
e
if
data
.
require
==
1
{
let
str
=
"*"
+
data
.
dep_nam
e
let
attributes
:
[
NSAttributedString
.
Key
:
Any
]
=
[
.
font
:
UIFont
.
PFSC_R
(
ofSize
:
16
),
.
foregroundColor
:
UIColor
.
mainTextColor
...
...
@@ -141,7 +141,7 @@ class YHAdopterCardTableViewCell: UITableViewCell {
questionAttrStr
.
addAttribute
(
NSAttributedString
.
Key
.
foregroundColor
,
value
:
UIColor
.
failColor
,
range
:
starRange
)
titleLabel
.
attributedText
=
questionAttrStr
}
else
{
let
str
=
data
.
titl
e
let
str
=
data
.
dep_nam
e
let
attributes
:
[
NSAttributedString
.
Key
:
Any
]
=
[
.
font
:
UIFont
.
PFSC_R
(
ofSize
:
16
),
.
foregroundColor
:
UIColor
.
mainTextColor
...
...
@@ -150,7 +150,7 @@ class YHAdopterCardTableViewCell: UITableViewCell {
titleLabel
.
attributedText
=
questionAttrStr
}
if
data
.
type
==
.
china
{
if
data
.
dep_type
==
1
{
let
a
:
ASAttributedString
=
.
init
(
"如有"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
13
)),
.
foreground
(
UIColor
.
mainTextColor50
))
let
b
:
ASAttributedString
=
.
init
(
"中国身份证"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
13
)),
.
foreground
(
UIColor
.
brandMainColor
))
let
c
:
ASAttributedString
=
.
init
(
",需要供用做证明"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
13
)),
.
foreground
(
UIColor
.
mainTextColor50
))
...
...
@@ -161,7 +161,7 @@ class YHAdopterCardTableViewCell: UITableViewCell {
make
.
height
.
equalTo
(
22
)
make
.
right
.
equalTo
(
-
18
)
}
}
else
if
data
.
type
==
.
resident
{
}
else
if
data
.
dep_type
==
2
{
let
a
:
ASAttributedString
=
.
init
(
"如曾更名,需要供用做证明"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
13
)),
.
foreground
(
UIColor
.
mainTextColor50
))
selectLabel
.
attributed
.
text
=
a
titleLabel
.
snp
.
remakeConstraints
{
make
in
...
...
@@ -181,5 +181,25 @@ class YHAdopterCardTableViewCell: UITableViewCell {
}
}
if
data
.
status
==
0
{
moreButton
.
setTitle
(
"待上传"
,
for
:
.
normal
)
moreButton
.
setTitleColor
(
UIColor
.
brandMainColor
,
for
:
.
normal
)
moreButton
.
setImage
(
UIImage
(
named
:
"service_adopter_income_start"
),
for
:
.
normal
)
}
if
data
.
status
==
1
{
moreButton
.
setTitle
(
"审核中"
,
for
:
.
normal
)
moreButton
.
setTitleColor
(
UIColor
(
hex
:
0xff8000
),
for
:
.
normal
)
moreButton
.
setImage
(
UIImage
(
named
:
"service_adopter_income_wait"
),
for
:
.
normal
)
}
if
data
.
status
==
2
{
moreButton
.
setTitle
(
"已驳回"
,
for
:
.
normal
)
moreButton
.
setTitleColor
(
UIColor
.
failColor
,
for
:
.
normal
)
moreButton
.
setImage
(
UIImage
(
named
:
"service_adopter_income_fail"
),
for
:
.
normal
)
}
if
data
.
status
==
3
{
moreButton
.
setTitle
(
"已完成"
,
for
:
.
normal
)
moreButton
.
setTitleColor
(
UIColor
(
hex
:
0x3cc694
),
for
:
.
normal
)
moreButton
.
setImage
(
UIImage
(
named
:
"service_adopter_income_success"
),
for
:
.
normal
)
}
}
}
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/CustomerService/Certificate(办证段)/AddAdopters(2新增受养人)/V/YHAdopterIncomeTitleTableViewCell.swift
View file @
f5a7414c
...
...
@@ -20,6 +20,12 @@ class YHAdopterIncomeTitleTableViewCell: UITableViewCell {
}
}
var
docDataSource
:
YHAdopterDependentDataDocModel
?
{
didSet
{
updateDocContent
()
}
}
override
func
awakeFromNib
()
{
super
.
awakeFromNib
()
// Initialization code
...
...
@@ -159,4 +165,37 @@ class YHAdopterIncomeTitleTableViewCell: UITableViewCell {
}
failLabel
.
text
=
data
.
remark
}
func
updateDocContent
()
{
guard
let
data
=
docDataSource
else
{
return
}
if
data
.
status
==
0
{
subTitleLabel
.
textColor
=
UIColor
.
brandMainColor
subTitleLabel
.
backgroundColor
=
UIColor
(
hex
:
0xf0f4fb
)
failImageView
.
isHidden
=
true
failLabel
.
isHidden
=
true
subTitleLabel
.
text
=
"待上传"
}
if
data
.
status
==
1
{
subTitleLabel
.
textColor
=
UIColor
(
hex
:
0xff8000
)
subTitleLabel
.
backgroundColor
=
UIColor
(
hex
:
0xfff5eb
)
failImageView
.
isHidden
=
true
failLabel
.
isHidden
=
true
subTitleLabel
.
text
=
"审核中"
}
if
data
.
status
==
2
{
subTitleLabel
.
textColor
=
UIColor
(
hex
:
0x3cc694
)
subTitleLabel
.
backgroundColor
=
UIColor
(
hex
:
0xf0fbf7
)
failImageView
.
isHidden
=
true
failLabel
.
isHidden
=
true
subTitleLabel
.
text
=
"已完成"
}
if
data
.
status
==
3
{
subTitleLabel
.
textColor
=
UIColor
(
hex
:
0xf81d22
)
subTitleLabel
.
backgroundColor
=
UIColor
(
hex
:
0xfff2f2
)
failImageView
.
isHidden
=
false
failLabel
.
isHidden
=
false
subTitleLabel
.
text
=
"已驳回"
}
failLabel
.
text
=
data
.
reject_reason
}
}
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/CustomerService/Certificate(办证段)/AddAdopters(2新增受养人)/V/YHAdopterTravelCardTableViewCell.swift
View file @
f5a7414c
...
...
@@ -9,8 +9,8 @@
import
UIKit
class
YHAdopterTravelCardTableViewCell
:
UITableViewCell
{
typealias
InformationBlock
=
(
_
type
:
YHCardType
,
_
image
:
UIImage
,
_
isleft
:
Bool
)
->
()
var
informationBlock
:
Information
Block
?
typealias
UrlBlock
=
(
_
url
:
String
,
_
index
:
Int
)
->
()
var
urlBlock
:
Url
Block
?
var
frontLabel
:
UILabel
!
var
backSurfaceLabel
:
UILabel
!
var
frontImageButton
:
YHCardButton
!
...
...
@@ -18,28 +18,30 @@ class YHAdopterTravelCardTableViewCell: UITableViewCell {
var
frontDeleteButton
:
UIButton
!
var
backSurfaceDeleteButton
:
UIButton
!
var
activityIndicator
:
UIActivityIndicatorView
!
var
viewModel
:
YHMainApplicantInformationViewModel
!
{
var
viewModel
:
YHBaseViewModel
=
YHBaseViewModel
()
var
firstUrl
:
String
=
""
var
lastUrl
:
String
=
""
var
urls
:
[
String
]?
{
didSet
{
if
viewModel
.
mainModel
.
certificates
.
cn_identity_card
.
img_front
.
count
!=
0
{
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
,
completionHandler
:
{
_
in
self
.
frontDeleteButton
.
isHidden
=
false
})
self
.
frontImageButton
.
setContent
(
""
,
""
)
}
guard
let
firstUrl
=
urls
?
.
first
else
{
return
}
self
.
viewModel
.
getPublicImageUrl
(
firstUrl
)
{[
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
,
completionHandler
:
{
_
in
self
.
frontDeleteButton
.
isHidden
=
false
})
self
.
frontImageButton
.
setContent
(
""
,
""
)
}
if
viewModel
.
mainModel
.
certificates
.
cn_identity_card
.
img_back
.
count
!=
0
{
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
,
completionHandler
:
{
_
in
self
.
backSurfaceDeleteButton
.
isHidden
=
false
})
self
.
backSurfaceImageButton
.
setContent
(
""
,
""
)
}
guard
let
lastUrl
=
urls
?
.
last
else
{
return
}
self
.
viewModel
.
getPublicImageUrl
(
lastUrl
)
{[
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
,
completionHandler
:
{
_
in
self
.
backSurfaceDeleteButton
.
isHidden
=
false
})
self
.
backSurfaceImageButton
.
setContent
(
""
,
""
)
}
}
}
...
...
@@ -192,70 +194,64 @@ class YHAdopterTravelCardTableViewCell: UITableViewCell {
}
@objc
func
frontImageClick
()
{
// if viewModel.mainModel.certificates.cn_identity_card.img_front.count != 0 {
// if viewModel.mainModel.certificates.cn_identity_card.img_front.isEmpty == false {
// let vc = YHImageViewController()
// vc.imgString = viewModel.mainModel.certificates.cn_identity_card.img_front
// UIViewController.current?.navigationController?.pushViewController(vc)
// }
// return
// }
// YHImagePickerView.show() {[weak self] image in
// guard let self = self else { return }
// self.frontImageButton.setContent("card_loading", "上传中")
// self.frontImageButton.startRotationAnimation()
// self.viewModel.uploadImage(image) {[weak self] success, error in
// guard let self = self else { return }
// self.frontImageButton.stopRotationAnimation()
// self.frontImageButton.setContent("", "")
//
// guard let url = success else { return }
//// self.viewModel.updateModel(self.type, isFront: true, url: url)
// self.frontImageButton.setBackgroundImage(image, for: .normal)
// self.frontDeleteButton.isHidden = false
//
// self.viewModel.getPublicImageUrl(url) {[weak self] success, error in
// guard let self = self else { return }
// guard let url = success else { return }
//
//
// self.viewModel.requestHkIDCardMessage(url, isBack: 0) {[weak self] success, error in
// }
// }
// }
// }
if
firstUrl
.
count
!=
0
{
let
vc
=
YHImageViewController
()
vc
.
imgString
=
firstUrl
UIViewController
.
current
?
.
navigationController
?
.
pushViewController
(
vc
)
return
}
YHImagePickerView
.
show
()
{[
weak
self
]
image
in
guard
let
self
=
self
else
{
return
}
self
.
frontImageButton
.
setContent
(
"card_loading"
,
"上传中"
)
self
.
frontImageButton
.
startRotationAnimation
()
self
.
viewModel
.
uploadImage
(
image
)
{[
weak
self
]
success
,
error
in
guard
let
self
=
self
else
{
return
}
self
.
frontImageButton
.
stopRotationAnimation
()
self
.
frontImageButton
.
setContent
(
""
,
""
)
guard
let
url
=
success
else
{
return
}
self
.
frontImageButton
.
setBackgroundImage
(
image
,
for
:
.
normal
)
self
.
frontDeleteButton
.
isHidden
=
false
self
.
viewModel
.
getPublicImageUrl
(
url
)
{[
weak
self
]
success
,
error
in
guard
let
self
=
self
else
{
return
}
guard
let
url
=
success
else
{
return
}
if
let
block
=
self
.
urlBlock
{
block
(
url
,
0
)
}
}
}
}
}
@objc
func
backSurfaceImageClick
()
{
// if viewModel.mainModel.certificates.hk_macao_pass.img_back.count != 0 {
// if viewModel.mainModel.certificates.hk_macao_pass.img_back.isEmpty == false {
// let vc = YHImageViewController()
// vc.imgString = viewModel.mainModel.certificates.hk_macao_pass.img_back
// UIViewController.current?.navigationController?.pushViewController(vc)
// }
// return
// }
// YHImagePickerView.show() {[weak self] image in
// guard let self = self else { return }
// self.backSurfaceImageButton.setContent("card_loading", "上传中")
// self.backSurfaceImageButton.startRotationAnimation()
// self.viewModel.uploadImage(image) {[weak self] success, error in
// guard let self = self else { return }
// self.backSurfaceImageButton.stopRotationAnimation()
// self.backSurfaceImageButton.setContent("", "")
//
// guard let url = success else { return }
// self.backSurfaceImageButton.setBackgroundImage(image, for: .normal)
//// self.viewModel.updateModel(self.type, isFront: false, url: url)
// self.backSurfaceDeleteButton.isHidden = false
// self.viewModel.getPublicImageUrl(url) {[weak self] success, error in
// guard let self = self else { return }
// guard let url = success else { return }
// self.viewModel.requestHkIDCardMessage(url, isBack: 1 ) {[weak self] success, error in
// }
// }
// }
// }
if
lastUrl
.
count
!=
0
{
let
vc
=
YHImageViewController
()
vc
.
imgString
=
lastUrl
UIViewController
.
current
?
.
navigationController
?
.
pushViewController
(
vc
)
return
}
YHImagePickerView
.
show
()
{[
weak
self
]
image
in
guard
let
self
=
self
else
{
return
}
self
.
backSurfaceImageButton
.
setContent
(
"card_loading"
,
"上传中"
)
self
.
backSurfaceImageButton
.
startRotationAnimation
()
self
.
viewModel
.
uploadImage
(
image
)
{[
weak
self
]
success
,
error
in
guard
let
self
=
self
else
{
return
}
self
.
backSurfaceImageButton
.
stopRotationAnimation
()
self
.
backSurfaceImageButton
.
setContent
(
""
,
""
)
guard
let
url
=
success
else
{
return
}
self
.
backSurfaceImageButton
.
setBackgroundImage
(
image
,
for
:
.
normal
)
self
.
backSurfaceDeleteButton
.
isHidden
=
false
self
.
viewModel
.
getPublicImageUrl
(
url
)
{[
weak
self
]
success
,
error
in
guard
let
self
=
self
else
{
return
}
guard
let
url
=
success
else
{
return
}
if
let
block
=
self
.
urlBlock
{
block
(
url
,
1
)
}
}
}
}
}
@objc
func
frontDeleteClick
()
{
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/CustomerService/Certificate(办证段)/AddAdopters(2新增受养人)/VM/YHAdopterNewPeopleViewModel.swift
View file @
f5a7414c
...
...
@@ -130,4 +130,27 @@ class YHAdopterNewPeopleViewModel: YHBaseViewModel {
callBackBlock
(
false
,
err
)
}
}
func
postIsReadAgreement
(
id
:
Int
,
callBackBlock
:
@escaping
(
_
success
:
Bool
,
_
error
:
YHErrorModel
?)
->
())
{
let
params
:
[
String
:
Any
]
=
[
"id"
:
id
,
"is_read_agreement"
:
1
,
"order_id"
:
mainModel
.
info
.
order_id
]
let
strUrl
=
YHBaseUrlManager
.
shared
.
curURL
()
+
YHAllApiName
.
Adopter
.
isReadAgreement
let
_
=
YHNetRequest
.
postRequest
(
url
:
strUrl
,
params
:
params
)
{
[
weak
self
]
json
,
code
in
//1. json字符串 转 对象
guard
let
self
=
self
else
{
return
}
if
json
.
code
==
200
{
let
dic
=
json
.
data
callBackBlock
(
true
,
nil
)
}
else
{
let
err
=
YHErrorModel
(
errorCode
:
Int32
(
json
.
code
),
errorMsg
:
json
.
msg
.
isEmpty
?
""
:
json
.
msg
)
callBackBlock
(
false
,
err
)
}
}
failBlock
:
{
err
in
callBackBlock
(
false
,
err
)
}
}
}
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/CustomerService/Certificate(办证段)/AddAdopters(2新增受养人)/VM/YHYHAdopterTravelViewModel.swift
View file @
f5a7414c
...
...
@@ -9,28 +9,169 @@
import
UIKit
class
YHYHAdopterTravelViewModel
:
YHBaseViewModel
{
var
mainModel
:
YH
MainInformationModel
=
YHMainInformation
Model
()
var
mainModel
:
YH
AdopterDependentDataDocModel
=
YHAdopterDependentDataDoc
Model
()
override
init
()
{
super
.
init
()
}
func
getBaseDataSource
(
_
isShowPrompt
:
Bool
)
->
[
YHItemModel
]
{
let
item
=
YHItemModel
(
id
:
.
id1
,
isNeed
:
true
,
title
:
"旅行证件类型"
,
isUserKeyBoard
:
false
,
prompts
:
"请选择"
,
message
:
""
,
type
:
.
id
,
isShowPrompts
:
isShowPrompt
,
alertMessage
:
"请选择旅行证件类型"
)
let
item1
=
YHItemModel
(
id
:
.
id
1
,
isNeed
:
true
,
title
:
"英文姓名"
,
isUserKeyBoard
:
true
,
prompts
:
"请输入"
,
message
:
""
,
isShowPrompts
:
isShowPrompt
,
alertMessage
:
"请输入英文姓名"
)
let
item2
=
YHItemModel
(
id
:
.
id
1
,
isNeed
:
true
,
title
:
"旅行证件号码"
,
isUserKeyBoard
:
true
,
prompts
:
"请输入"
,
message
:
""
,
isShowPrompts
:
isShowPrompt
,
alertMessage
:
"请输入旅行证件号码"
)
let
item3
=
YHItemModel
(
id
:
.
id
1
,
isNeed
:
true
,
title
:
"签发地点"
,
isUserKeyBoard
:
true
,
prompts
:
"请输入"
,
message
:
""
,
isShowPrompts
:
isShowPrompt
,
alertMessage
:
"请输入签发地点"
)
let
item4
=
YHItemModel
(
id
:
.
id
1
,
isNeed
:
true
,
title
:
"签发日期"
,
isUserKeyBoard
:
false
,
prompts
:
"请选择"
,
message
:
""
,
type
:
.
time
,
isShowPrompts
:
isShowPrompt
,
alertMessage
:
"请选择签发日期"
)
let
item5
=
YHItemModel
(
id
:
.
id
1
,
isNeed
:
true
,
title
:
"届满日期"
,
isUserKeyBoard
:
false
,
prompts
:
"请选择"
,
message
:
""
,
type
:
.
time
,
isShowPrompts
:
isShowPrompt
,
alertMessage
:
"请选择届满日期"
)
let
item
=
YHItemModel
(
id
:
.
id1
,
isNeed
:
true
,
title
:
"旅行证件类型"
,
isUserKeyBoard
:
false
,
prompts
:
"请选择"
,
message
:
"
\(
mainModel
.
certificates_info
.
travel_papers_type
)
"
,
type
:
.
id
,
isShowPrompts
:
isShowPrompt
,
alertMessage
:
"请选择旅行证件类型"
)
let
item1
=
YHItemModel
(
id
:
.
id
2
,
isNeed
:
true
,
title
:
"英文姓名"
,
isUserKeyBoard
:
true
,
prompts
:
"请输入"
,
message
:
mainModel
.
certificates_info
.
en_name
,
isShowPrompts
:
isShowPrompt
,
alertMessage
:
"请输入英文姓名"
)
let
item2
=
YHItemModel
(
id
:
.
id
3
,
isNeed
:
true
,
title
:
"旅行证件号码"
,
isUserKeyBoard
:
true
,
prompts
:
"请输入"
,
message
:
mainModel
.
certificates_info
.
travel_papers_number
,
isShowPrompts
:
isShowPrompt
,
alertMessage
:
"请输入旅行证件号码"
)
let
item3
=
YHItemModel
(
id
:
.
id
4
,
isNeed
:
true
,
title
:
"签发地点"
,
isUserKeyBoard
:
true
,
prompts
:
"请输入"
,
message
:
mainModel
.
certificates_info
.
sign_address
,
isShowPrompts
:
isShowPrompt
,
alertMessage
:
"请输入签发地点"
)
let
item4
=
YHItemModel
(
id
:
.
id
5
,
isNeed
:
true
,
title
:
"签发日期"
,
isUserKeyBoard
:
false
,
prompts
:
"请选择"
,
message
:
mainModel
.
certificates_info
.
sign_date
,
type
:
.
time
,
isShowPrompts
:
isShowPrompt
,
alertMessage
:
"请选择签发日期"
)
let
item5
=
YHItemModel
(
id
:
.
id
6
,
isNeed
:
true
,
title
:
"届满日期"
,
isUserKeyBoard
:
false
,
prompts
:
"请选择"
,
message
:
mainModel
.
certificates_info
.
sign_expire_date
,
type
:
.
time
,
isShowPrompts
:
isShowPrompt
,
alertMessage
:
"请选择届满日期"
)
return
[
item
,
item1
,
item2
,
item3
,
item4
,
item5
]
}
func
getChinaDataSource
(
_
isShowPrompt
:
Bool
)
->
[
YHItemModel
]
{
let
item
=
YHItemModel
(
id
:
.
id1
,
isNeed
:
true
,
title
:
"姓名"
,
isUserKeyBoard
:
true
,
prompts
:
"请输入"
,
message
:
""
,
type
:
.
id
,
isShowPrompts
:
isShowPrompt
,
alertMessage
:
"请输入姓名"
)
let
item1
=
YHItemModel
(
id
:
.
id1
,
isNeed
:
true
,
title
:
"身份证号码"
,
isUserKeyBoard
:
true
,
prompts
:
"请输入"
,
message
:
""
,
isShowPrompts
:
isShowPrompt
,
alertMessage
:
"请输入身份证号码"
)
let
item2
=
YHItemModel
(
id
:
.
id1
,
isNeed
:
true
,
title
:
"出生日期"
,
isUserKeyBoard
:
false
,
prompts
:
"请选择"
,
message
:
""
,
type
:
.
time
,
isShowPrompts
:
isShowPrompt
,
alertMessage
:
"请选择出生日期"
)
let
item3
=
YHItemModel
(
id
:
.
id1
,
isNeed
:
true
,
title
:
"出生地点"
,
isUserKeyBoard
:
true
,
prompts
:
"请输入"
,
message
:
""
,
isShowPrompts
:
isShowPrompt
,
alertMessage
:
"请输入出生地点"
)
let
item4
=
YHItemModel
(
id
:
.
id1
,
isNeed
:
true
,
title
:
"性别"
,
isUserKeyBoard
:
false
,
prompts
:
"请选择"
,
message
:
"
"
,
type
:
.
sex
,
isShowPrompts
:
isShowPrompt
,
alertMessage
:
"请选择性别"
)
let
item
=
YHItemModel
(
id
:
.
id1
1
,
isNeed
:
true
,
title
:
"姓名"
,
isUserKeyBoard
:
true
,
prompts
:
"请输入"
,
message
:
mainModel
.
certificates_info
.
en_name
,
type
:
.
id
,
isShowPrompts
:
isShowPrompt
,
alertMessage
:
"请输入姓名"
)
let
item1
=
YHItemModel
(
id
:
.
id1
2
,
isNeed
:
true
,
title
:
"身份证号码"
,
isUserKeyBoard
:
true
,
prompts
:
"请输入"
,
message
:
mainModel
.
certificates_info
.
idcard
,
isShowPrompts
:
isShowPrompt
,
alertMessage
:
"请输入身份证号码"
)
let
item2
=
YHItemModel
(
id
:
.
id1
3
,
isNeed
:
true
,
title
:
"出生日期"
,
isUserKeyBoard
:
false
,
prompts
:
"请选择"
,
message
:
mainModel
.
certificates_info
.
birthday
,
type
:
.
time
,
isShowPrompts
:
isShowPrompt
,
alertMessage
:
"请选择出生日期"
)
let
item3
=
YHItemModel
(
id
:
.
id1
4
,
isNeed
:
true
,
title
:
"出生地点"
,
isUserKeyBoard
:
true
,
prompts
:
"请输入"
,
message
:
mainModel
.
certificates_info
.
birth_place
,
isShowPrompts
:
isShowPrompt
,
alertMessage
:
"请输入出生地点"
)
let
item4
=
YHItemModel
(
id
:
.
id1
5
,
isNeed
:
true
,
title
:
"性别"
,
isUserKeyBoard
:
false
,
prompts
:
"请选择"
,
message
:
"
\(
mainModel
.
certificates_info
.
gender
)
"
,
type
:
.
sex
,
isShowPrompts
:
isShowPrompt
,
alertMessage
:
"请选择性别"
)
return
[
item
,
item1
,
item2
,
item3
,
item4
]
}
func
updateModel
(
_
item
:
YHItemModel
)
{
guard
let
type
=
item
.
id
else
{
return
}
switch
type
{
case
.
id1
:
mainModel
.
certificates_info
.
travel_papers_type
=
item
.
value
?
.
first
?
.
int
??
0
case
.
id2
:
mainModel
.
certificates_info
.
en_name
=
item
.
message
??
""
case
.
id3
:
mainModel
.
certificates_info
.
travel_papers_number
=
item
.
message
??
""
case
.
id4
:
mainModel
.
certificates_info
.
sign_address
=
item
.
message
??
""
case
.
id5
:
mainModel
.
certificates_info
.
sign_date
=
item
.
message
??
""
case
.
id6
:
mainModel
.
certificates_info
.
sign_expire_date
=
item
.
message
??
""
case
.
id11
:
mainModel
.
certificates_info
.
en_name
=
item
.
message
??
""
case
.
id12
:
mainModel
.
certificates_info
.
idcard
=
item
.
message
??
""
case
.
id13
:
mainModel
.
certificates_info
.
birthday
=
item
.
message
??
""
case
.
id14
:
mainModel
.
certificates_info
.
birth_place
=
item
.
message
??
""
case
.
id15
:
mainModel
.
certificates_info
.
gender
=
item
.
value
?
.
first
?
.
int
??
0
default
:
break
}
}
func
updateModel
(
_
model
:
YHHKIDCardModel
)
{
if
model
.
name
.
count
!=
0
{
mainModel
.
certificates_info
.
en_name
=
model
.
name
}
if
model
.
birth
.
count
!=
0
{
mainModel
.
certificates_info
.
birthday
=
model
.
birth
}
if
model
.
gender
.
count
!=
0
{
if
model
.
gender
==
"女"
{
mainModel
.
certificates_info
.
gender
=
1
}
else
{
mainModel
.
certificates_info
.
gender
=
0
}
}
if
model
.
term_begins
.
count
!=
0
{
mainModel
.
certificates_info
.
sign_date
=
model
.
term_begins
}
if
model
.
end_of_term
.
count
!=
0
{
mainModel
.
certificates_info
.
sign_expire_date
=
model
.
end_of_term
}
if
model
.
issuing_authority
.
count
!=
0
{
mainModel
.
certificates_info
.
sign_address
=
model
.
issuing_authority
}
if
model
.
card_num
.
count
!=
0
{
mainModel
.
certificates_info
.
travel_papers_number
=
model
.
card_num
}
}
func
updateModel
(
_
model
:
YHCNIDCardModel
)
{
if
model
.
name
.
count
!=
0
{
mainModel
.
certificates_info
.
en_name
=
model
.
name
}
if
model
.
birth
.
count
!=
0
{
mainModel
.
certificates_info
.
birthday
=
model
.
birth
}
if
model
.
gender
.
count
!=
0
{
if
model
.
gender
==
"女"
{
mainModel
.
certificates_info
.
gender
=
1
}
else
{
mainModel
.
certificates_info
.
gender
=
0
}
}
// if model.term_begins.count != 0 {
// mainModel.certificates.cn_identity_card.issue_date_start_at = model.term_begins
// }
// if model.end_of_term.count != 0 {
// mainModel.certificates.cn_identity_card.issue_date_end_at = model.end_of_term
// }
if
model
.
issuing_authority
.
count
!=
0
{
mainModel
.
certificates_info
.
birth_place
=
model
.
issuing_authority
}
if
model
.
card_num
.
count
!=
0
{
mainModel
.
certificates_info
.
idcard
=
model
.
card_num
}
}
func
isCanNext
(
_
step
:
Int
)
->
Bool
{
if
step
==
1
{
let
travel_papers_type
=
mainModel
.
certificates_info
.
travel_papers_type
let
en_name
=
mainModel
.
certificates_info
.
en_name
let
travel_papers_number
=
mainModel
.
certificates_info
.
travel_papers_number
let
sign_address
=
mainModel
.
certificates_info
.
sign_address
let
sign_date
=
mainModel
.
certificates_info
.
sign_date
let
sign_expire_date
=
mainModel
.
certificates_info
.
sign_expire_date
guard
travel_papers_type
>
0
else
{
return
false
}
guard
en_name
.
count
>
4
else
{
return
false
}
guard
travel_papers_number
.
count
>
0
else
{
return
false
}
guard
sign_address
.
count
>
0
else
{
return
false
}
guard
sign_date
.
count
>
0
else
{
return
false
}
guard
sign_expire_date
.
count
>
0
else
{
return
false
}
return
true
}
else
{
let
en_name
=
mainModel
.
certificates_info
.
en_name
let
idcard
=
mainModel
.
certificates_info
.
idcard
let
birthday
=
mainModel
.
certificates_info
.
birthday
let
birth_place
=
mainModel
.
certificates_info
.
birth_place
let
gender
=
mainModel
.
certificates_info
.
gender
guard
gender
<
2
else
{
return
false
}
guard
en_name
.
count
>
4
else
{
return
false
}
guard
birthday
.
count
>
0
else
{
return
false
}
guard
birth_place
.
count
>
0
else
{
return
false
}
guard
idcard
.
count
>
0
else
{
return
false
}
return
true
}
}
func
requestHkIDCardMessage
(
_
url
:
String
,
isBack
:
Int
,
callBackBlock
:
@escaping
(
_
success
:
Bool
,
_
error
:
YHErrorModel
?)
->
())
{
let
strUrl
=
YHBaseUrlManager
.
shared
.
curOssURL
()
+
YHAllApiName
.
OCR
.
hk
let
params
:
[
String
:
Any
]
=
[
"url"
:
url
,
"is_back"
:
isBack
]
let
_
=
YHNetRequest
.
postRequest
(
url
:
strUrl
,
params
:
params
)
{
[
weak
self
]
json
,
code
in
//1. json字符串 转 对象
guard
let
self
=
self
else
{
return
}
if
json
.
code
==
200
{
let
dic
=
json
.
data
guard
let
result
=
YHHKIDCardModel
.
deserialize
(
from
:
dic
as?
Dictionary
)
else
{
callBackBlock
(
false
,
nil
)
return
}
self
.
updateModel
(
result
)
callBackBlock
(
true
,
nil
)
}
else
{
let
error
:
YHErrorModel
=
YHErrorModel
(
errorCode
:
Int32
(
json
.
code
),
errorMsg
:
json
.
msg
)
callBackBlock
(
false
,
error
)
}
}
failBlock
:
{
err
in
callBackBlock
(
false
,
err
)
}
}
}
galaxy/galaxy/Classes/Tools/NetWork/YHAllApiName.swift
View file @
f5a7414c
...
...
@@ -485,6 +485,8 @@ class YHAllApiName {
static
let
dependents
=
"super-app/order/information/dependents/get"
static
let
dependentsAdd
=
"super-app/order/information/dependents/add"
static
let
isReadAgreement
=
"super-app/order/is-read-agreement"
}
}
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