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
8cb67c62
Commit
8cb67c62
authored
Mar 22, 2024
by
pete谢兆麟
Browse files
Options
Browse Files
Download
Plain Diff
Merge commit '
26693db0
' into xiezhaolin
parents
420d5f69
26693db0
Changes
14
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
77 additions
and
120 deletions
+77
-120
project.pbxproj
galaxy/galaxy.xcodeproj/project.pbxproj
+14
-14
YHCertificateListContainerVC.swift
...MyCertificates(我的证书)/C/YHCertificateListContainerVC.swift
+5
-5
YHCertificateListVC.swift
...ce(服务中心)/MyCertificates(我的证书)/C/YHCertificateListVC.swift
+6
-6
YHCertificateSearchViewController.swift
...tificates(我的证书)/C/YHCertificateSearchViewController.swift
+1
-1
YHCertificateUploadContentListVC.swift
...rtificates(我的证书)/C/YHCertificateUploadContentListVC.swift
+10
-5
YHMineCertificateEntryViewController.swift
...icates(我的证书)/C/YHMineCertificateEntryViewController.swift
+1
-1
YHCertificateModel.swift
...ice(服务中心)/MyCertificates(我的证书)/M/YHCertificateModel.swift
+1
-1
YHCertificateNameCell.swift
...(服务中心)/MyCertificates(我的证书)/V/YHCertificateNameCell.swift
+1
-1
YHChildPrimaryInfoVC.swift
...ilyMember(家庭成员信息表)/C/Child(子女)/YHChildPrimaryInfoVC.swift
+14
-44
YHSpouseBasicInfoVC.swift
...ilyMember(家庭成员信息表)/C/Spouse(配偶)/YHSpouseBasicInfoVC.swift
+8
-3
YHSpousePrimaryInfoVC.swift
...yMember(家庭成员信息表)/C/Spouse(配偶)/YHSpousePrimaryInfoVC.swift
+3
-29
YHCodeSueecssViewController.swift
...ses/Modules/Login(登录)/C/YHCodeSueecssViewController.swift
+3
-0
YHPhoneLoginViewController.swift
...sses/Modules/Login(登录)/C/YHPhoneLoginViewController.swift
+6
-3
YHMyViewController.swift
...alaxy/Classes/Modules/Mine(我的)/C/YHMyViewController.swift
+4
-7
No files found.
galaxy/galaxy.xcodeproj/project.pbxproj
View file @
8cb67c62
This diff is collapsed.
Click to expand it.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/MyCertificates(我的证书)/C/YH
MaterialListViewController
.swift
→
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/MyCertificates(我的证书)/C/YH
CertificateListContainerVC
.swift
View file @
8cb67c62
...
@@ -34,7 +34,7 @@ class YHCertificateCategoryItem {
...
@@ -34,7 +34,7 @@ class YHCertificateCategoryItem {
}
}
}
}
class
YH
MaterialListViewController
:
YHBaseViewController
{
class
YH
CertificateListContainerVC
:
YHBaseViewController
{
static
let
segmentHeight
=
53.0
static
let
segmentHeight
=
53.0
...
@@ -66,7 +66,7 @@ class YHMaterialListViewController: YHBaseViewController {
...
@@ -66,7 +66,7 @@ class YHMaterialListViewController: YHBaseViewController {
YHCertificateCategoryItem
(
type
:
.
rejected
),
YHCertificateCategoryItem
(
type
:
.
rejected
),
YHCertificateCategoryItem
(
type
:
.
review
),
YHCertificateCategoryItem
(
type
:
.
review
),
YHCertificateCategoryItem
(
type
:
.
finish
)]
YHCertificateCategoryItem
(
type
:
.
finish
)]
var
itemVCs
:[
YHCertificate
ResourceUpload
VC
]
=
[]
var
itemVCs
:[
YHCertificate
List
VC
]
=
[]
lazy
var
segmentedView
:
JXSegmentedView
=
{
lazy
var
segmentedView
:
JXSegmentedView
=
{
let
segview
=
JXSegmentedView
(
frame
:
CGRect
(
x
:
0
,
y
:
k_Height_NavigationtBarAndStatuBar
,
width
:
KScreenWidth
,
height
:
Self
.
segmentHeight
))
let
segview
=
JXSegmentedView
(
frame
:
CGRect
(
x
:
0
,
y
:
k_Height_NavigationtBarAndStatuBar
,
width
:
KScreenWidth
,
height
:
Self
.
segmentHeight
))
...
@@ -132,7 +132,7 @@ class YHMaterialListViewController: YHBaseViewController {
...
@@ -132,7 +132,7 @@ class YHMaterialListViewController: YHBaseViewController {
NotificationCenter
.
default
.
addObserver
(
self
,
selector
:
#selector(
didCertificateCountStatistics(_:)
)
,
name
:
countStatisticsNotify
,
object
:
nil
)
NotificationCenter
.
default
.
addObserver
(
self
,
selector
:
#selector(
didCertificateCountStatistics(_:)
)
,
name
:
countStatisticsNotify
,
object
:
nil
)
for
item
in
categoryItems
{
for
item
in
categoryItems
{
let
vc
=
YHCertificate
ResourceUpload
VC
()
let
vc
=
YHCertificate
List
VC
()
vc
.
orderId
=
orderId
vc
.
orderId
=
orderId
vc
.
status
=
item
.
type
vc
.
status
=
item
.
type
vc
.
categoryInfo
=
categoryInfo
vc
.
categoryInfo
=
categoryInfo
...
@@ -219,7 +219,7 @@ class YHMaterialListViewController: YHBaseViewController {
...
@@ -219,7 +219,7 @@ class YHMaterialListViewController: YHBaseViewController {
}
}
extension
YH
MaterialListViewController
:
JXSegmentedViewDelegate
{
extension
YH
CertificateListContainerVC
:
JXSegmentedViewDelegate
{
func
segmentedView
(
_
segmentedView
:
JXSegmentedView
,
didSelectedItemAt
index
:
Int
)
{
func
segmentedView
(
_
segmentedView
:
JXSegmentedView
,
didSelectedItemAt
index
:
Int
)
{
if
0
<=
index
&&
index
<
itemVCs
.
count
{
if
0
<=
index
&&
index
<
itemVCs
.
count
{
...
@@ -240,7 +240,7 @@ extension YHMaterialListViewController: JXSegmentedViewDelegate {
...
@@ -240,7 +240,7 @@ extension YHMaterialListViewController: JXSegmentedViewDelegate {
}
}
}
}
extension
YH
MaterialListViewController
:
JXSegmentedListContainerViewDataSource
{
extension
YH
CertificateListContainerVC
:
JXSegmentedListContainerViewDataSource
{
func
numberOfLists
(
in
listContainerView
:
JXSegmentedListContainerView
)
->
Int
{
func
numberOfLists
(
in
listContainerView
:
JXSegmentedListContainerView
)
->
Int
{
if
let
titleDataSource
=
segmentedView
.
dataSource
as?
JXSegmentedBaseDataSource
{
if
let
titleDataSource
=
segmentedView
.
dataSource
as?
JXSegmentedBaseDataSource
{
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/MyCertificates(我的证书)/C/YHCertificate
ResourceUpload
VC.swift
→
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/MyCertificates(我的证书)/C/YHCertificate
List
VC.swift
View file @
8cb67c62
...
@@ -12,7 +12,7 @@ import UniformTypeIdentifiers
...
@@ -12,7 +12,7 @@ import UniformTypeIdentifiers
import
IQKeyboardManagerSwift
import
IQKeyboardManagerSwift
import
SwifterSwift
import
SwifterSwift
class
YHCertificate
ResourceUpload
VC
:
YHBaseViewController
{
class
YHCertificate
List
VC
:
YHBaseViewController
{
var
orderId
:
Int
?
var
orderId
:
Int
?
var
status
:
YHCertificateUploadStatus
=
.
all
var
status
:
YHCertificateUploadStatus
=
.
all
...
@@ -84,12 +84,12 @@ class YHCertificateResourceUploadVC: YHBaseViewController {
...
@@ -84,12 +84,12 @@ class YHCertificateResourceUploadVC: YHBaseViewController {
view
.
addSubview
(
tableView
)
view
.
addSubview
(
tableView
)
tableView
.
snp
.
makeConstraints
{
make
in
tableView
.
snp
.
makeConstraints
{
make
in
make
.
top
.
left
.
right
.
equalToSuperview
()
make
.
top
.
left
.
right
.
equalToSuperview
()
make
.
height
.
equalTo
(
KScreenHeight
-
k_Height_NavigationtBarAndStatuBar
-
YH
MaterialListViewController
.
segmentHeight
)
make
.
height
.
equalTo
(
KScreenHeight
-
k_Height_NavigationtBarAndStatuBar
-
YH
CertificateListContainerVC
.
segmentHeight
)
}
}
}
}
}
}
extension
YHCertificate
ResourceUpload
VC
:
UITableViewDelegate
,
UITableViewDataSource
{
extension
YHCertificate
List
VC
:
UITableViewDelegate
,
UITableViewDataSource
{
func
numberOfSections
(
in
tableView
:
UITableView
)
->
Int
{
func
numberOfSections
(
in
tableView
:
UITableView
)
->
Int
{
return
items
.
count
return
items
.
count
...
@@ -138,7 +138,7 @@ extension YHCertificateResourceUploadVC: UITableViewDelegate, UITableViewDataSou
...
@@ -138,7 +138,7 @@ extension YHCertificateResourceUploadVC: UITableViewDelegate, UITableViewDataSou
return
return
}
}
// 非待上传的进入详情
// 非待上传的进入详情
let
vc
=
YH
UploadConten
tVC
()
let
vc
=
YH
CertificateUploadContentLis
tVC
()
vc
.
orderId
=
orderId
vc
.
orderId
=
orderId
vc
.
categoryInfo
=
categoryInfo
vc
.
categoryInfo
=
categoryInfo
vc
.
supplementInfo
=
item
vc
.
supplementInfo
=
item
...
@@ -166,13 +166,13 @@ extension YHCertificateResourceUploadVC: UITableViewDelegate, UITableViewDataSou
...
@@ -166,13 +166,13 @@ extension YHCertificateResourceUploadVC: UITableViewDelegate, UITableViewDataSou
}
}
// MARK: - JXSegmentedListContainerViewListDelegate
// MARK: - JXSegmentedListContainerViewListDelegate
extension
YHCertificate
ResourceUpload
VC
:
JXSegmentedListContainerViewListDelegate
{
extension
YHCertificate
List
VC
:
JXSegmentedListContainerViewListDelegate
{
func
listView
()
->
UIView
{
func
listView
()
->
UIView
{
return
view
return
view
}
}
}
}
extension
YHCertificate
ResourceUpload
VC
{
extension
YHCertificate
List
VC
{
func
requestList
(
status
:
YHCertificateUploadStatus
,
extra
:[
String
:
Any
]
=
[:])
{
func
requestList
(
status
:
YHCertificateUploadStatus
,
extra
:[
String
:
Any
]
=
[:])
{
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/MyCertificates(我的证书)/C/YHCertificateSearchViewController.swift
View file @
8cb67c62
...
@@ -169,7 +169,7 @@ extension YHCertificateSearchViewController: UITableViewDelegate, UITableViewDat
...
@@ -169,7 +169,7 @@ extension YHCertificateSearchViewController: UITableViewDelegate, UITableViewDat
return
return
}
}
// 非待上传的进入详情
// 非待上传的进入详情
let
vc
=
YH
UploadConten
tVC
()
let
vc
=
YH
CertificateUploadContentLis
tVC
()
vc
.
orderId
=
orderId
vc
.
orderId
=
orderId
vc
.
categoryInfo
=
categoryInfo
vc
.
categoryInfo
=
categoryInfo
vc
.
supplementInfo
=
item
vc
.
supplementInfo
=
item
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/MyCertificates(我的证书)/C/YH
UploadConten
tVC.swift
→
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/MyCertificates(我的证书)/C/YH
CertificateUploadContentLis
tVC.swift
View file @
8cb67c62
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
import
UIKit
import
UIKit
import
IQKeyboardManagerSwift
import
IQKeyboardManagerSwift
class
YH
UploadConten
tVC
:
YHBaseViewController
{
class
YH
CertificateUploadContentLis
tVC
:
YHBaseViewController
{
var
orderId
:
Int
!
var
orderId
:
Int
!
var
categoryInfo
:
YHCategoryData
!
var
categoryInfo
:
YHCategoryData
!
...
@@ -159,7 +159,7 @@ class YHUploadContentVC: YHBaseViewController {
...
@@ -159,7 +159,7 @@ class YHUploadContentVC: YHBaseViewController {
}
}
}
}
extension
YH
UploadConten
tVC
:
UITableViewDelegate
,
UITableViewDataSource
{
extension
YH
CertificateUploadContentLis
tVC
:
UITableViewDelegate
,
UITableViewDataSource
{
func
numberOfSections
(
in
tableView
:
UITableView
)
->
Int
{
func
numberOfSections
(
in
tableView
:
UITableView
)
->
Int
{
return
2
return
2
...
@@ -224,7 +224,12 @@ extension YHUploadContentVC: UITableViewDelegate, UITableViewDataSource {
...
@@ -224,7 +224,12 @@ extension YHUploadContentVC: UITableViewDelegate, UITableViewDataSource {
}
}
}
else
if
editType
==
.
preview
{
// 预览
}
else
if
editType
==
.
preview
{
// 预览
// 预览 contentItem
print
(
contentItem
.
url
)
self
.
viewModel
.
getPublicImageUrl
(
contentItem
.
url
)
{
success
,
error
in
if
let
success
=
success
{
self
.
previewFileTool
.
openXLSXRemoteFile
(
urlString
:
success
)
}
}
}
}
}
.
show
()
}
.
show
()
}
}
...
@@ -408,7 +413,7 @@ extension YHUploadContentVC: UITableViewDelegate, UITableViewDataSource {
...
@@ -408,7 +413,7 @@ extension YHUploadContentVC: UITableViewDelegate, UITableViewDataSource {
}
}
}
}
extension
YH
UploadConten
tVC
{
extension
YH
CertificateUploadContentLis
tVC
{
func
addKeyBoardNotify
()
{
func
addKeyBoardNotify
()
{
...
@@ -443,7 +448,7 @@ extension YHUploadContentVC {
...
@@ -443,7 +448,7 @@ extension YHUploadContentVC {
}
}
}
}
extension
YH
UploadConten
tVC
{
extension
YH
CertificateUploadContentLis
tVC
{
func
requestList
()
{
func
requestList
()
{
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/MyCertificates(我的证书)/C/YHMineCertificateEntryViewController.swift
View file @
8cb67c62
...
@@ -190,7 +190,7 @@ extension YHMineCertificateEntryViewController : UITableViewDelegate,UITableView
...
@@ -190,7 +190,7 @@ extension YHMineCertificateEntryViewController : UITableViewDelegate,UITableView
guard
let
model
=
certificateReqVM
.
certificateEntryModel
else
{
return
}
guard
let
model
=
certificateReqVM
.
certificateEntryModel
else
{
return
}
let
vc
=
YH
MaterialListViewController
()
let
vc
=
YH
CertificateListContainerVC
()
vc
.
orderId
=
orderId
vc
.
orderId
=
orderId
if
indexPath
.
section
<
model
.
category_data
.
count
{
if
indexPath
.
section
<
model
.
category_data
.
count
{
vc
.
categoryInfo
=
model
.
category_data
[
indexPath
.
section
]
vc
.
categoryInfo
=
model
.
category_data
[
indexPath
.
section
]
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/MyCertificates(我的证书)/M/YHCertificateModel.swift
View file @
8cb67c62
...
@@ -160,7 +160,7 @@ class YHNameExtra: SmartCodable {
...
@@ -160,7 +160,7 @@ class YHNameExtra: SmartCodable {
enum
CodingKeys
:
String
,
CodingKey
{
enum
CodingKeys
:
String
,
CodingKey
{
case
applicant
=
"applicant"
case
applicant
=
"applicant"
case
userName
=
"user
N
ame"
case
userName
=
"user
_n
ame"
case
organization
=
"organization"
case
organization
=
"organization"
}
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/MyCertificates(我的证书)/V/YHCertificateNameCell.swift
View file @
8cb67c62
...
@@ -103,7 +103,7 @@ class YHCertificateNameCell: UITableViewCell {
...
@@ -103,7 +103,7 @@ class YHCertificateNameCell: UITableViewCell {
editBtn
=
UIButton
()
editBtn
=
UIButton
()
editBtn
.
setImage
(
UIImage
(
named
:
"my_cer_btn_edit"
),
for
:
.
normal
)
editBtn
.
setImage
(
UIImage
(
named
:
"my_cer_btn_edit"
),
for
:
.
normal
)
editBtn
.
YH_clickEdgeInsets
=
UIEdgeInsets
(
top
:
20
,
left
:
20
,
bottom
:
20
,
right
:
2
0
)
editBtn
.
YH_clickEdgeInsets
=
UIEdgeInsets
(
top
:
30
,
left
:
30
,
bottom
:
30
,
right
:
3
0
)
editBtn
.
addTarget
(
self
,
action
:
#selector(
didEditBtnClicked
)
,
for
:
.
touchUpInside
)
editBtn
.
addTarget
(
self
,
action
:
#selector(
didEditBtnClicked
)
,
for
:
.
touchUpInside
)
whiteView
.
addSubview
(
editBtn
)
whiteView
.
addSubview
(
editBtn
)
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(我的信息流程)/FamilyMember(家庭成员信息表)/C/Child(子女)/YHChildPrimaryInfoVC.swift
View file @
8cb67c62
...
@@ -38,7 +38,6 @@ class YHChildPrimaryInfoVC: YHBaseViewController, YHFamilyMemberProtol {
...
@@ -38,7 +38,6 @@ class YHChildPrimaryInfoVC: YHBaseViewController, YHFamilyMemberProtol {
tableView
.
register
(
YHFormItemEnterDetailCell
.
self
,
forCellReuseIdentifier
:
YHFormItemEnterDetailCell
.
cellReuseIdentifier
)
tableView
.
register
(
YHFormItemEnterDetailCell
.
self
,
forCellReuseIdentifier
:
YHFormItemEnterDetailCell
.
cellReuseIdentifier
)
tableView
.
register
(
YHFormItemTitleCell
.
self
,
forCellReuseIdentifier
:
YHFormItemTitleCell
.
cellReuseIdentifier
)
tableView
.
register
(
YHFormItemTitleCell
.
self
,
forCellReuseIdentifier
:
YHFormItemTitleCell
.
cellReuseIdentifier
)
tableView
.
register
(
YHFormItemAddCell
.
self
,
forCellReuseIdentifier
:
YHFormItemAddCell
.
cellReuseIdentifier
)
tableView
.
register
(
YHFormItemAddCell
.
self
,
forCellReuseIdentifier
:
YHFormItemAddCell
.
cellReuseIdentifier
)
tableView
.
register
(
YHFormItemQuestionsCell
.
self
,
forCellReuseIdentifier
:
YHFormItemQuestionsCell
.
cellReuseIdentifier
)
tableView
.
register
(
YHFormItemSelectSheetCell
.
self
,
forCellReuseIdentifier
:
YHFormItemSelectSheetCell
.
cellReuseIdentifier
)
tableView
.
register
(
YHFormItemSelectSheetCell
.
self
,
forCellReuseIdentifier
:
YHFormItemSelectSheetCell
.
cellReuseIdentifier
)
return
tableView
return
tableView
...
@@ -165,14 +164,12 @@ class YHChildPrimaryInfoVC: YHBaseViewController, YHFamilyMemberProtol {
...
@@ -165,14 +164,12 @@ class YHChildPrimaryInfoVC: YHBaseViewController, YHFamilyMemberProtol {
}
}
if
detailItem
.
type
==
.
isAccompanyToHK
if
detailItem
.
type
==
.
isAccompanyToHK
||
detailItem
.
type
==
.
isHandleHKPassPort
||
detailItem
.
type
==
.
isHandleHKPassPort
||
detailItem
.
type
==
.
ownCustody
||
detailItem
.
type
==
.
isLiveTother
||
detailItem
.
type
==
.
isLiveOverSeasMore1Year
{
{
return
.
twoChoice
return
.
twoChoice
}
}
if
detailItem
.
type
==
.
ownCustody
||
detailItem
.
type
==
.
isLiveTother
||
detailItem
.
type
==
.
isLiveOverSeasMore1Year
{
return
.
question
}
}
}
return
.
defaultType
return
.
defaultType
}
}
...
@@ -251,6 +248,17 @@ extension YHChildPrimaryInfoVC : UITableViewDelegate, UITableViewDataSource {
...
@@ -251,6 +248,17 @@ extension YHChildPrimaryInfoVC : UITableViewDelegate, UITableViewDataSource {
}
else
if
detailItem
.
type
==
.
isHandleHKPassPort
{
// 是否办理港澳通行证
}
else
if
detailItem
.
type
==
.
isHandleHKPassPort
{
// 是否办理港澳通行证
self
.
child
?
.
setNeedHandleHKPassPort
(
option
)
self
.
child
?
.
setNeedHandleHKPassPort
(
option
)
}
else
if
detailItem
.
type
==
.
isLiveTother
{
// 是否与主申请人同住
self
.
child
?
.
setLiveTother
(
option
)
if
option
{
self
.
child
?
.
address
.
clearAddress
()
}
}
else
if
detailItem
.
type
==
.
isLiveOverSeasMore1Year
{
// 是否在海外居住满1年及以上
self
.
child
?
.
setOverSearsOver1Year
(
option
)
}
else
if
detailItem
.
type
==
.
ownCustody
{
// 抚养权
self
.
child
?
.
setOwnCustody
(
option
)
}
}
self
.
loadInfo
()
self
.
loadInfo
()
save
()
save
()
...
@@ -299,46 +307,8 @@ extension YHChildPrimaryInfoVC : UITableViewDelegate, UITableViewDataSource {
...
@@ -299,46 +307,8 @@ extension YHChildPrimaryInfoVC : UITableViewDelegate, UITableViewDataSource {
}
}
}
}
return
cell
return
cell
}
else
if
cellType
==
.
question
{
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
YHFormItemQuestionsCell
.
cellReuseIdentifier
,
for
:
indexPath
)
as!
YHFormItemQuestionsCell
cell
.
isMust
=
detailItem
.
isNeed
cell
.
title
=
detailItem
.
getTitle
()
var
select
=
false
if
let
value
=
detailItem
.
value
{
select
=
Bool
(
value
)
!
}
let
answers
=
[
YHFormChoiceItem
(
title
:
"是"
.
local
,
isSelect
:
select
),
YHFormChoiceItem
(
title
:
"否"
.
local
,
isSelect
:
!
select
)]
cell
.
answerArr
=
answers
cell
.
answerBlock
=
{
[
weak
self
]
(
arr
,
selectIndex
)
in
let
selectItem
:
YHFormChoiceItem
=
arr
[
selectIndex
]
let
option
=
(
selectItem
.
title
==
"是"
.
local
?
true
:
false
)
guard
let
self
=
self
else
{
return
}
if
detailItem
.
type
==
.
isLiveTother
{
// 是否与主申请人同住
self
.
child
?
.
setLiveTother
(
option
)
if
option
{
self
.
child
?
.
address
.
clearAddress
()
}
}
else
if
detailItem
.
type
==
.
isLiveOverSeasMore1Year
{
// 是否在海外居住满1年及以上
self
.
child
?
.
setOverSearsOver1Year
(
option
)
}
else
if
detailItem
.
type
==
.
ownCustody
{
// 抚养权
self
.
child
?
.
setOwnCustody
(
option
)
}
self
.
loadInfo
()
save
()
}
return
cell
}
}
}
}
return
createDefaultCell
(
indexPath
)
return
createDefaultCell
(
indexPath
)
}
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(我的信息流程)/FamilyMember(家庭成员信息表)/C/Spouse(配偶)/YHSpouseBasicInfoVC.swift
View file @
8cb67c62
...
@@ -582,9 +582,14 @@ extension YHSpouseBasicInfoVC : UITableViewDelegate, UITableViewDataSource {
...
@@ -582,9 +582,14 @@ extension YHSpouseBasicInfoVC : UITableViewDelegate, UITableViewDataSource {
cell
.
deleteBlock
=
{
cell
.
deleteBlock
=
{
[
weak
self
]
in
[
weak
self
]
in
guard
let
self
=
self
else
{
return
}
guard
let
self
=
self
else
{
return
}
self
.
spouse
?
.
hasDegreeJson
.
remove
(
at
:
indexPath
.
row
-
2
)
loadInfo
()
var
msg
=
"确定删除学位信息
\(
indexPath
.
row
-
1
)
吗"
save
()
YHTwoOptionAlertView
.
showAlertView
(
message
:
msg
)
{
sure
in
if
!
sure
{
return
}
self
.
spouse
?
.
hasDegreeJson
.
remove
(
at
:
indexPath
.
row
-
2
)
self
.
loadInfo
()
self
.
save
()
}
}
}
}
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(我的信息流程)/FamilyMember(家庭成员信息表)/C/Spouse(配偶)/YHSpousePrimaryInfoVC.swift
View file @
8cb67c62
...
@@ -38,7 +38,6 @@ class YHSpousePrimaryInfoVC: YHBaseViewController, YHFamilyMemberProtol {
...
@@ -38,7 +38,6 @@ class YHSpousePrimaryInfoVC: YHBaseViewController, YHFamilyMemberProtol {
tableView
.
register
(
YHFormItemDoubleChoiceCell
.
self
,
forCellReuseIdentifier
:
YHFormItemDoubleChoiceCell
.
cellReuseIdentifier
)
tableView
.
register
(
YHFormItemDoubleChoiceCell
.
self
,
forCellReuseIdentifier
:
YHFormItemDoubleChoiceCell
.
cellReuseIdentifier
)
tableView
.
register
(
YHFormItemInputTextCell
.
self
,
forCellReuseIdentifier
:
YHFormItemInputTextCell
.
cellReuseIdentifier
)
tableView
.
register
(
YHFormItemInputTextCell
.
self
,
forCellReuseIdentifier
:
YHFormItemInputTextCell
.
cellReuseIdentifier
)
tableView
.
register
(
YHFormItemSelectSheetCell
.
self
,
forCellReuseIdentifier
:
YHFormItemSelectSheetCell
.
cellReuseIdentifier
)
tableView
.
register
(
YHFormItemSelectSheetCell
.
self
,
forCellReuseIdentifier
:
YHFormItemSelectSheetCell
.
cellReuseIdentifier
)
tableView
.
register
(
YHFormItemQuestionsCell
.
self
,
forCellReuseIdentifier
:
YHFormItemQuestionsCell
.
cellReuseIdentifier
)
tableView
.
register
(
YHFormItemTitleCell
.
self
,
forCellReuseIdentifier
:
YHFormItemTitleCell
.
cellReuseIdentifier
)
tableView
.
register
(
YHFormItemTitleCell
.
self
,
forCellReuseIdentifier
:
YHFormItemTitleCell
.
cellReuseIdentifier
)
tableView
.
register
(
YHFormItemAddCell
.
self
,
forCellReuseIdentifier
:
YHFormItemAddCell
.
cellReuseIdentifier
)
tableView
.
register
(
YHFormItemAddCell
.
self
,
forCellReuseIdentifier
:
YHFormItemAddCell
.
cellReuseIdentifier
)
return
tableView
return
tableView
...
@@ -168,7 +167,7 @@ extension YHSpousePrimaryInfoVC : UITableViewDelegate, UITableViewDataSource {
...
@@ -168,7 +167,7 @@ extension YHSpousePrimaryInfoVC : UITableViewDelegate, UITableViewDataSource {
let
detailItem
=
item
as!
YHFormDetailItem
let
detailItem
=
item
as!
YHFormDetailItem
// 是否随行到香港 / 是否办理港澳通行证 / // 是否与主申请人同住 均用双项按钮cell
// 是否随行到香港 / 是否办理港澳通行证 / // 是否与主申请人同住 均用双项按钮cell
if
detailItem
.
type
==
.
isAccompanyToHK
||
detailItem
.
type
==
.
isHandleHKPassPort
||
detailItem
.
type
==
.
isLiveTother
{
if
detailItem
.
type
==
.
isAccompanyToHK
||
detailItem
.
type
==
.
isHandleHKPassPort
||
detailItem
.
type
==
.
isLiveTother
||
detailItem
.
type
==
.
isLiveOverSeasMore1Year
{
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
YHFormItemDoubleChoiceCell
.
cellReuseIdentifier
,
for
:
indexPath
)
as!
YHFormItemDoubleChoiceCell
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
YHFormItemDoubleChoiceCell
.
cellReuseIdentifier
,
for
:
indexPath
)
as!
YHFormItemDoubleChoiceCell
cell
.
isMust
=
detailItem
.
isNeed
cell
.
isMust
=
detailItem
.
isNeed
...
@@ -212,32 +211,7 @@ extension YHSpousePrimaryInfoVC : UITableViewDelegate, UITableViewDataSource {
...
@@ -212,32 +211,7 @@ extension YHSpousePrimaryInfoVC : UITableViewDelegate, UITableViewDataSource {
}
else
if
detailItem
.
type
==
.
isLiveOverSeasMore1Year
{
// 是否在海外居住满1年及以上
}
else
if
detailItem
.
type
==
.
isLiveOverSeasMore1Year
{
// 是否在海外居住满1年及以上
self
.
spouse
?
.
setOverSearsOver1Year
(
option
)
self
.
spouse
?
.
setOverSearsOver1Year
(
option
)
self
.
loadInfo
()
self
.
loadInfo
()
}
}
else
if
detailItem
.
type
==
.
isLiveOverSeasMore1Year
{
// 是否在海外居住满1年及以上
save
()
}
return
cell
}
if
detailItem
.
type
==
.
isLiveOverSeasMore1Year
{
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
YHFormItemQuestionsCell
.
cellReuseIdentifier
,
for
:
indexPath
)
as!
YHFormItemQuestionsCell
cell
.
isMust
=
detailItem
.
isNeed
cell
.
title
=
detailItem
.
getTitle
()
cell
.
setTips
(
detailItem
.
tips
,
isShow
:
isNeedShowError
&&
detailItem
.
isShowTips
)
var
select
=
false
if
let
value
=
detailItem
.
value
{
select
=
Bool
(
value
)
!
}
let
answers
=
[
YHFormChoiceItem
(
title
:
"是"
.
local
,
isSelect
:
select
),
YHFormChoiceItem
(
title
:
"否"
.
local
,
isSelect
:
!
select
)]
cell
.
answerArr
=
answers
cell
.
answerBlock
=
{
[
weak
self
]
(
arr
,
selectIndex
)
in
guard
let
self
=
self
else
{
return
}
let
selectItem
:
YHFormChoiceItem
=
arr
[
selectIndex
]
let
option
=
(
selectItem
.
title
==
"是"
.
local
?
true
:
false
)
if
detailItem
.
type
==
.
isLiveOverSeasMore1Year
{
// 是否在海外居住满1年及以上
self
.
spouse
?
.
setOverSearsOver1Year
(
option
)
self
.
spouse
?
.
setOverSearsOver1Year
(
option
)
self
.
loadInfo
()
self
.
loadInfo
()
}
}
...
@@ -245,7 +219,7 @@ extension YHSpousePrimaryInfoVC : UITableViewDelegate, UITableViewDataSource {
...
@@ -245,7 +219,7 @@ extension YHSpousePrimaryInfoVC : UITableViewDelegate, UITableViewDataSource {
}
}
return
cell
return
cell
}
}
if
detailItem
.
type
==
.
nationOrArea
||
detailItem
.
type
==
.
liveCity
{
if
detailItem
.
type
==
.
nationOrArea
||
detailItem
.
type
==
.
liveCity
{
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
YHFormItemSelectSheetCell
.
cellReuseIdentifier
,
for
:
indexPath
)
as!
YHFormItemSelectSheetCell
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
YHFormItemSelectSheetCell
.
cellReuseIdentifier
,
for
:
indexPath
)
as!
YHFormItemSelectSheetCell
...
...
galaxy/galaxy/Classes/Modules/Login(登录)/C/YHCodeSueecssViewController.swift
View file @
8cb67c62
...
@@ -190,7 +190,10 @@ class YHCodeSueecssViewController: YHBaseViewController {
...
@@ -190,7 +190,10 @@ class YHCodeSueecssViewController: YHBaseViewController {
@objc
func
startClicked
()
{
@objc
func
startClicked
()
{
YHHUD
.
show
(
.
progress
(
message
:
""
))
viewModel
?
.
getLoginCode
(
phoneNumber
??
""
,
callBackBlock
:
{[
weak
self
]
success
,
error
in
viewModel
?
.
getLoginCode
(
phoneNumber
??
""
,
callBackBlock
:
{[
weak
self
]
success
,
error
in
YHHUD
.
hide
()
guard
let
self
=
self
else
{
return
}
guard
let
self
=
self
else
{
return
}
if
success
==
true
{
if
success
==
true
{
...
...
galaxy/galaxy/Classes/Modules/Login(登录)/C/YHPhoneLoginViewController.swift
View file @
8cb67c62
...
@@ -181,7 +181,10 @@ class YHPhoneLoginViewController: YHBaseViewController {
...
@@ -181,7 +181,10 @@ class YHPhoneLoginViewController: YHBaseViewController {
return
return
}
}
if
privacyView
.
isAgree
{
if
privacyView
.
isAgree
{
YHHUD
.
show
(
.
progress
(
message
:
""
))
viewModel
?
.
getLoginCode
(
phoneNumer
,
callBackBlock
:
{[
weak
self
]
success
,
error
in
viewModel
?
.
getLoginCode
(
phoneNumer
,
callBackBlock
:
{[
weak
self
]
success
,
error
in
YHHUD
.
hide
()
guard
let
self
=
self
else
{
return
}
guard
let
self
=
self
else
{
return
}
if
success
==
true
{
if
success
==
true
{
...
@@ -195,9 +198,9 @@ class YHPhoneLoginViewController: YHBaseViewController {
...
@@ -195,9 +198,9 @@ class YHPhoneLoginViewController: YHBaseViewController {
}
}
YHHUD
.
flash
(
message
:
msg
)
YHHUD
.
flash
(
message
:
msg
)
#if DEBUG
#if DEBUG
let
vc
=
YHCodeSueecssViewController
()
//
let vc = YHCodeSueecssViewController()
vc
.
phoneNumber
=
self
.
phoneMessageView
.
phoneTextField
.
text
//
vc.phoneNumber = self.phoneMessageView.phoneTextField.text
self
.
navigationController
?
.
pushViewController
(
vc
)
//
self.navigationController?.pushViewController(vc)
#endif
#endif
}
}
})
})
...
...
galaxy/galaxy/Classes/Modules/Mine(我的)/C/YHMyViewController.swift
View file @
8cb67c62
...
@@ -207,19 +207,16 @@ extension YHMyViewController : UITableViewDelegate, UITableViewDataSource {
...
@@ -207,19 +207,16 @@ extension YHMyViewController : UITableViewDelegate, UITableViewDataSource {
}
else
{
}
else
{
YHHUD
.
flash
(
message
:
"已登录: 功能完善中..."
)
YHHUD
.
flash
(
message
:
"已登录: 功能完善中..."
)
}
}
return
let
item
:
PersonalModuleItem
=
items
[
indexPath
.
row
];
let
item
:
PersonalModuleItem
=
items
[
indexPath
.
row
];
// 预览文件预研 杜宇todo
// 预览文件预研 杜宇todo
if
item
.
title
==
"我的消息"
{
if
item
.
title
==
"我的消息"
{
YHHUD
.
flash
(
message
:
"预览image"
)
self
.
openXLSXRemoteFile
(
urlString
:
"https://upload-cdn.galaxy-immi.com/crm/production/1620280305822.jpg"
)
}
else
if
item
.
title
==
"我的进度"
{
}
else
if
item
.
title
==
"我的进度"
{
YHHUD
.
flash
(
message
:
"预览pdf"
)
self
.
openXLSXRemoteFile
(
urlString
:
"https://upload-cdn.galaxy-immi.com/crm/production/1620271660487.pdf"
)
}
else
if
item
.
title
==
"积分中心"
{
}
else
if
item
.
title
==
"积分中心"
{
YHHUD
.
flash
(
message
:
"预览xlsx"
)
self
.
openXLSXRemoteFile
(
urlString
:
"https://test-cdn.galaxy-immi.com/4001001/8979989729091623170120240321152216.xlsx?Expires=1711007546&OSSAccessKeyId=LTAI5tNFvK2xGRrBeJ2z8R2j&Signature=UfM6tRcws5ObN4rp/3ZESEWbM2E%3D&v=1711005746"
)
}
else
if
item
.
title
==
"推荐有理"
{
}
else
if
item
.
title
==
"推荐有理"
{
}
else
if
item
.
title
==
"我的海报"
{
}
else
if
item
.
title
==
"我的海报"
{
...
...
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