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
370fea5c
Commit
370fea5c
authored
Mar 17, 2025
by
Steven杜宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
// lint
parent
a46e9997
Changes
32
Hide whitespace changes
Inline
Side-by-side
Showing
32 changed files
with
103 additions
and
57 deletions
+103
-57
YHInvatationShareViewController.swift
...onWithGifts(邀请有礼)/C/YHInvatationShareViewController.swift
+3
-1
YHInvitationWithGiftsSecondTableViewCell.swift
...ts(邀请有礼)/V/YHInvitationWithGiftsSecondTableViewCell.swift
+1
-1
YHHomePageViewModel.swift
...axy/Classes/Modules/Home(首页)/VM/YHHomePageViewModel.swift
+1
-1
YHAdopterAddNewTableViewCell.swift
.../AddAdopters(2新增受养人)/V/YHAdopterAddNewTableViewCell.swift
+3
-2
YHCertificateAppointViewController.swift
...cate(3 赴港办证预约)/C/YHCertificateAppointViewController.swift
+1
-1
YHFamilyInfoConfirmViewController.swift
...nfirm(1 家庭信息确认)/C/YHFamilyInfoConfirmViewController.swift
+1
-1
YHTravelDocsPreparationDetailVC.swift
...aration(6 旅行证件准备)/C/YHTravelDocsPreparationDetailVC.swift
+3
-1
YHUploadCertificateVC.swift
.../UploadCertificate(7上传过关证件)/C/YHUploadCertificateVC.swift
+3
-1
YHVisaPaymentVC.swift
...ificate(办证段)/VisaPayment(4电子签字缴费)/C/YHVisaPaymentVC.swift
+6
-2
YHPrincipleApprovedMailViewController.swift
...eBatch(原则批)/C/YHPrincipleApprovedMailViewController.swift
+9
-8
YHPrincipleUploadListVC.swift
...(客服段)/PrincipleBatch(原则批)/C/YHPrincipleUploadListVC.swift
+6
-2
YHPrincipleWaitResultViewController.swift
...pleBatch(原则批)/C/YHPrincipleWaitResultViewController.swift
+1
-1
YHPrincipleUploadStatusCell.swift
...)/PrincipleBatch(原则批)/V/YHPrincipleUploadStatusCell.swift
+3
-1
YHMyFileListViewController.swift
...MAS(优才)/FileList(文件清单)/C/YHMyFileListViewController.swift
+3
-1
YHCertificateUploadContentListVC.swift
...rtificates(我的证书)/C/YHCertificateUploadContentListVC.swift
+3
-1
YHCertificateFilterView.swift
...(优才)/MyCertificates(我的证书)/V/YHCertificateFilterView.swift
+3
-1
YHDocumentUploadTableViewCell.swift
...)/MyDocuments(我的文书)/V/YHDocumentUploadTableViewCell.swift
+1
-1
YHHKPlanItemView.swift
...服务中心)/QMAS(优才)/MyDocuments(我的文书)/V/YHHKPlanItemView.swift
+7
-7
YHImproveSchemeViewController.swift
...)/MyNewScheme(我的方案)/C/YHImproveSchemeViewController.swift
+3
-1
YHMyNewSchemeViewController.swift
...优才)/MyNewScheme(我的方案)/C/YHMyNewSchemeViewController.swift
+9
-7
YHResignCertificateDetailHkViewController.swift
...续期证件管理)/C/YHResignCertificateDetailHkViewController.swift
+1
-1
YHResignCertificateDetailPassPortViewController.swift
...)/C/YHResignCertificateDetailPassPortViewController.swift
+1
-1
YHResignCertificateListTableViewCell.swift
...nage(续期证件管理)/V/YHResignCertificateListTableViewCell.swift
+1
-1
YHResignAppointScheduleListViewController.swift
...在港递交预约)/C/YHResignAppointScheduleListViewController.swift
+6
-3
YHResignAppointTimeModifyViewController.swift
...t(在港递交预约)/C/YHResignAppointTimeModifyViewController.swift
+3
-1
YHResignMaterialUploadVC.swift
...gnMaterialManage(续期资料管理)/C/YHResignMaterialUploadVC.swift
+3
-1
YHResignUploadDocDetailViewController.swift
...adDoc(续签补件)/C/YHResignUploadDocDetailViewController.swift
+3
-1
YHResignUploadDocListViewController.swift
...loadDoc(续签补件)/C/YHResignUploadDocListViewController.swift
+3
-1
YHResignUploadTravelHKViewController.swift
...Crad(上传旅行证件)/C/YHResignUploadTravelHKViewController.swift
+1
-1
YHResignUploadTravelPassportViewController.swift
...传旅行证件)/C/YHResignUploadTravelPassportViewController.swift
+6
-2
YHResignUploadTravelCardListfootView.swift
...Crad(上传旅行证件)/V/YHResignUploadTravelCardListfootView.swift
+4
-1
YHResignUploadTravelGuideView.swift
...dTravelCrad(上传旅行证件)/V/YHResignUploadTravelGuideView.swift
+1
-1
No files found.
galaxy/galaxy/Classes/Modules/Home(首页)/InvitationWithGifts(邀请有礼)/C/YHInvatationShareViewController.swift
View file @
370fea5c
...
...
@@ -221,7 +221,9 @@ extension YHInvatationShareViewController: UICollectionViewDelegate, UICollectio
func
collectionView
(
_
collectionView
:
UICollectionView
,
cellForItemAt
indexPath
:
IndexPath
)
->
UICollectionViewCell
{
if
indexPath
.
row
==
0
{
let
cell
=
collectionView
.
dequeueReusableCell
(
withReuseIdentifier
:
YHShareOneCollectionViewCell
.
cellReuseIdentifier
,
for
:
indexPath
)
as!
YHShareOneCollectionViewCell
guard
let
cell
=
collectionView
.
dequeueReusableCell
(
withReuseIdentifier
:
YHShareOneCollectionViewCell
.
cellReuseIdentifier
,
for
:
indexPath
)
as?
YHShareOneCollectionViewCell
else
{
return
UICollectionViewCell
()
}
return
cell
}
else
{
let
cell
=
collectionView
.
dequeueReusableCell
(
withReuseIdentifier
:
YHShareTwoCollectionViewCell
.
cellReuseIdentifier
,
for
:
indexPath
)
as!
YHShareTwoCollectionViewCell
...
...
galaxy/galaxy/Classes/Modules/Home(首页)/InvitationWithGifts(邀请有礼)/V/YHInvitationWithGiftsSecondTableViewCell.swift
View file @
370fea5c
...
...
@@ -391,7 +391,7 @@ class YHInvitationWithGiftsSecondTableViewCell: UITableViewCell {
tableView
.
es
.
addInfiniteScrolling
{
self
.
viewModel
.
postRecord
(
page
:
self
.
page
+
1
)
{[
weak
self
]
_
,
_
in
guard
let
self
=
self
else
{
return
}
self
.
page
=
self
.
page
+
1
self
.
page
+=
1
self
.
tableView
.
es
.
stopLoadingMore
()
if
self
.
viewModel
.
recordModel
.
page_count
==
self
.
page
{
self
.
tableView
.
es
.
noticeNoMoreData
()
...
...
galaxy/galaxy/Classes/Modules/Home(首页)/VM/YHHomePageViewModel.swift
View file @
370fea5c
...
...
@@ -348,7 +348,7 @@ extension YHHomePageViewModel {
self
.
totalCount
=
result
.
total
self
.
arrHomeNewsData
=
result
.
data
}
else
{
self
.
curPageIndex
=
self
.
curPageIndex
+
1
self
.
curPageIndex
+=
1
self
.
arrHomeNewsData
?
.
append
(
contentsOf
:
result
.
data
)
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/QMAS(优才)/CustomerService(客服段)/Certificate(办证段)/AddAdopters(2新增受养人)/V/YHAdopterAddNewTableViewCell.swift
View file @
370fea5c
...
...
@@ -203,8 +203,9 @@ class YHAdopterAddNewTableViewCell: UITableViewCell {
cannalButton
.
isHidden
=
true
}
for
i
in
0
..<
(
dataSource
?
.
count
??
0
)
{
let
view
=
mainItemView
.
viewWithTag
(
4000
+
i
)
as!
YHAdopterItemView
view
.
isShowDelete
(
i
,
isShow
:
false
)
if
let
view
=
mainItemView
.
viewWithTag
(
4000
+
i
)
as?
YHAdopterItemView
{
view
.
isShowDelete
(
i
,
isShow
:
false
)
}
}
if
let
block
=
isMoreBlock
{
block
(
false
)
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/QMAS(优才)/CustomerService(客服段)/Certificate(办证段)/AppointCertificate(3 赴港办证预约)/C/YHCertificateAppointViewController.swift
View file @
370fea5c
...
...
@@ -390,7 +390,7 @@ extension YHCertificateAppointViewController: UITableViewDelegate, UITableViewDa
if
item
.
type
==
.
noNeedMakeCertificateMembers
{
// 无需预约办证成员(未满11岁)
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
YHNoNeedAppointMembersCell
.
cellReuseIdentifier
,
for
:
indexPath
)
as!
YHNoNeedAppointMembersCell
guard
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
YHNoNeedAppointMembersCell
.
cellReuseIdentifier
,
for
:
indexPath
)
as?
YHNoNeedAppointMembersCell
else
{
return
UITableViewCell
()
}
cell
.
members
=
noNeedAppointMembers
return
cell
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/QMAS(优才)/CustomerService(客服段)/Certificate(办证段)/FamilyInfoConfirm(1 家庭信息确认)/C/YHFamilyInfoConfirmViewController.swift
View file @
370fea5c
...
...
@@ -162,7 +162,7 @@ extension YHFamilyInfoConfirmViewController: UITableViewDelegate, UITableViewDat
}
}
let
warmTipsCell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
YHFamilyWarmTipsCell
.
cellReuseIdentifier
,
for
:
indexPath
)
as!
YHFamilyWarmTipsCell
guard
let
warmTipsCell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
YHFamilyWarmTipsCell
.
cellReuseIdentifier
,
for
:
indexPath
)
as?
YHFamilyWarmTipsCell
else
{
return
UITableViewCell
}
return
warmTipsCell
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/QMAS(优才)/CustomerService(客服段)/Certificate(办证段)/TravelDocumentsPreparation(6 旅行证件准备)/C/YHTravelDocsPreparationDetailVC.swift
View file @
370fea5c
...
...
@@ -399,7 +399,9 @@ extension YHTravelDocsPreparationDetailVC: UITableViewDelegate, UITableViewDataS
}
}
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
YHTravelCertificateUploadCell
.
cellReuseIdentifier
,
for
:
indexPath
)
as!
YHTravelCertificateUploadCell
guard
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
YHTravelCertificateUploadCell
.
cellReuseIdentifier
,
for
:
indexPath
)
as?
YHTravelCertificateUploadCell
else
{
return
UITableViewCell
()
}
if
0
<=
indexPath
.
section
&&
indexPath
.
section
<
sectionItems
.
count
{
let
item
=
sectionItems
[
indexPath
.
section
]
cell
.
updateModel
(
item
.
cerDetailModel
)
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/QMAS(优才)/CustomerService(客服段)/Certificate(办证段)/UploadCertificate(7上传过关证件)/C/YHUploadCertificateVC.swift
View file @
370fea5c
...
...
@@ -159,7 +159,9 @@ extension YHUploadCertificateVC: UITableViewDelegate, UITableViewDataSource {
warningCell
.
updateTitle
(
title
)
return
warningCell
}
else
{
let
approveCell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
YHUploadCertificateDetailCell
.
cellReuseIdentifier
,
for
:
indexPath
)
as!
YHUploadCertificateDetailCell
guard
let
approveCell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
YHUploadCertificateDetailCell
.
cellReuseIdentifier
,
for
:
indexPath
)
as?
YHUploadCertificateDetailCell
else
{
return
UITableViewCell
()
}
if
let
model
=
viewModel
.
uploadCertificateDataListModel
{
if
indexPath
.
section
==
0
{
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/QMAS(优才)/CustomerService(客服段)/Certificate(办证段)/VisaPayment(4电子签字缴费)/C/YHVisaPaymentVC.swift
View file @
370fea5c
...
...
@@ -203,12 +203,16 @@ extension YHVisaPaymentVC: UITableViewDelegate, UITableViewDataSource {
let
warningCell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
YHVisaPaymentTipsCell
.
cellReuseIdentifier
,
for
:
indexPath
)
return
warningCell
}
else
if
indexPath
.
section
==
1
{
let
approveCell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
YHVisaPayTypeCell
.
cellReuseIdentifier
,
for
:
indexPath
)
as!
YHVisaPayTypeCell
guard
let
approveCell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
YHVisaPayTypeCell
.
cellReuseIdentifier
,
for
:
indexPath
)
as?
YHVisaPayTypeCell
else
{
return
UITableViewCell
()
}
approveCell
.
dataModel
=
self
.
viewModel
.
visaPaymentData
return
approveCell
}
else
if
indexPath
.
section
==
2
{
let
approveCell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
YHPayMembersCell
.
cellReuseIdentifier
,
for
:
indexPath
)
as!
YHPayMembersCell
guard
let
approveCell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
YHPayMembersCell
.
cellReuseIdentifier
,
for
:
indexPath
)
as?
YHPayMembersCell
else
{
return
UITableViewCell
()
}
approveCell
.
dataModel
=
self
.
viewModel
.
visaPaymentData
return
approveCell
}
else
{
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/QMAS(优才)/CustomerService(客服段)/PrincipleBatch(原则批)/C/YHPrincipleApprovedMailViewController.swift
View file @
370fea5c
...
...
@@ -130,14 +130,15 @@ extension YHPrincipleApprovedMailViewController: UITableViewDelegate, UITableVie
}
let
m
=
items
[
indexPath
.
row
]
if
m
is
YHPrincipleWaitResultModel
{
let
model
=
m
as!
YHPrincipleWaitResultModel
if
model
.
type
==
.
profile
||
model
.
type
==
.
entry
{
cell
.
updateModel
(
model
)
cell
.
expandClick
=
{
[
weak
self
]
isUnfold
in
guard
let
self
=
self
else
{
return
}
model
.
isUnfold
=
isUnfold
self
.
tableView
.
reloadData
()
if
let
model
=
m
as?
YHPrincipleWaitResultModel
{
if
model
.
type
==
.
profile
||
model
.
type
==
.
entry
{
cell
.
updateModel
(
model
)
cell
.
expandClick
=
{
[
weak
self
]
isUnfold
in
guard
let
self
=
self
else
{
return
}
model
.
isUnfold
=
isUnfold
self
.
tableView
.
reloadData
()
}
}
}
return
cell
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/QMAS(优才)/CustomerService(客服段)/PrincipleBatch(原则批)/C/YHPrincipleUploadListVC.swift
View file @
370fea5c
...
...
@@ -355,8 +355,12 @@ extension YHPrincipleUploadListVC: UITableViewDelegate, UITableViewDataSource {
if
m
is
YHPrincipleWaitResultModel
{
// 入境处已认收受理 和 申请资料已递交港府留档 cell
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
YHPrincipleProfileListCell
.
cellReuseIdentifier
,
for
:
indexPath
)
as!
YHPrincipleProfileListCell
let
model
=
m
as!
YHPrincipleWaitResultModel
guard
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
YHPrincipleProfileListCell
.
cellReuseIdentifier
,
for
:
indexPath
)
as?
YHPrincipleProfileListCell
else
{
return
UITableViewCell
()
}
guard
let
model
=
m
as?
YHPrincipleWaitResultModel
else
{
return
UITableViewCell
()
}
cell
.
updateModel
(
model
)
// 点击展开
cell
.
expandClick
=
{
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/QMAS(优才)/CustomerService(客服段)/PrincipleBatch(原则批)/C/YHPrincipleWaitResultViewController.swift
View file @
370fea5c
...
...
@@ -160,7 +160,7 @@ extension YHPrincipleWaitResultViewController: UITableViewDelegate, UITableViewD
if
0
<=
indexPath
.
row
&&
indexPath
.
row
<
items
.
count
{
let
model
=
items
[
indexPath
.
row
]
if
model
.
type
==
.
photo
{
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
YHPrinciplePhotoListCell
.
cellReuseIdentifier
,
for
:
indexPath
)
as!
YHPrinciplePhotoListCell
guard
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
YHPrinciplePhotoListCell
.
cellReuseIdentifier
,
for
:
indexPath
)
as?
YHPrinciplePhotoListCell
else
{
return
UITableViewCell
()
}
model
.
isQuerying
=
self
.
isQuerying
cell
.
updateModel
(
model
)
cell
.
expandClick
=
{
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/QMAS(优才)/CustomerService(客服段)/PrincipleBatch(原则批)/V/YHPrincipleUploadStatusCell.swift
View file @
370fea5c
...
...
@@ -463,7 +463,9 @@ extension YHPrincipleUploadStatusCell: UITableViewDataSource, UITableViewDelegat
func
tableView
(
_
tableView
:
UITableView
,
cellForRowAt
indexPath
:
IndexPath
)
->
UITableViewCell
{
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
YHPrincipleUploadFileCell
.
cellReuseIdentifier
,
for
:
indexPath
)
as!
YHPrincipleUploadFileCell
guard
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
YHPrincipleUploadFileCell
.
cellReuseIdentifier
,
for
:
indexPath
)
as?
YHPrincipleUploadFileCell
else
{
return
UITableViewCell
()
}
if
0
<=
indexPath
.
section
,
indexPath
.
section
<
items
.
count
{
let
model
:
YHPrincipleContentUrlModel
=
items
[
indexPath
.
section
]
cell
.
updateModel
(
model
)
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/QMAS(优才)/FileList(文件清单)/C/YHMyFileListViewController.swift
View file @
370fea5c
...
...
@@ -304,7 +304,9 @@ extension YHMyFileListViewController: UITableViewDelegate, UITableViewDataSource
if
0
<=
indexPath
.
section
&&
indexPath
.
section
<
items
.
count
{
let
model
=
items
[
indexPath
.
section
]
if
model
.
supplement_list
.
count
>
0
{
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
YHMyFileListCell
.
cellReuseIdentifier
,
for
:
indexPath
)
as!
YHMyFileListCell
guard
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
YHMyFileListCell
.
cellReuseIdentifier
,
for
:
indexPath
)
as?
YHMyFileListCell
else
{
return
UITableViewCell
()
}
if
0
<=
indexPath
.
row
&&
indexPath
.
row
<
model
.
supplement_list
.
count
{
cell
.
indexLabel
.
text
=
"
\(
indexPath
.
row
+
1
)
"
cell
.
model
=
model
.
supplement_list
[
indexPath
.
row
]
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/QMAS(优才)/MyCertificates(我的证书)/C/YHCertificateUploadContentListVC.swift
View file @
370fea5c
...
...
@@ -236,7 +236,9 @@ extension YHCertificateUploadContentListVC: UITableViewDelegate, UITableViewData
return
cell
}
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
YHCertificateNameCell
.
cellReuseIdentifier
,
for
:
indexPath
)
as!
YHCertificateNameCell
guard
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
YHCertificateNameCell
.
cellReuseIdentifier
,
for
:
indexPath
)
as?
YHCertificateNameCell
else
{
return
UITableViewCell
()
}
if
0
<=
indexPath
.
row
&&
indexPath
.
row
<
items
.
count
{
let
item
=
items
[
indexPath
.
row
]
cell
.
updateModel
(
item
)
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/QMAS(优才)/MyCertificates(我的证书)/V/YHCertificateFilterView.swift
View file @
370fea5c
...
...
@@ -349,7 +349,9 @@ extension YHCertificateFilterView: UICollectionViewDataSource, UICollectionViewD
}
func
collectionView
(
_
collectionView
:
UICollectionView
,
cellForItemAt
indexPath
:
IndexPath
)
->
UICollectionViewCell
{
let
cell
=
collectionView
.
dequeueReusableCell
(
withReuseIdentifier
:
YHCertificateFilterItemCell
.
cellReuseIdentifier
,
for
:
indexPath
)
as!
YHCertificateFilterItemCell
guard
let
cell
=
collectionView
.
dequeueReusableCell
(
withReuseIdentifier
:
YHCertificateFilterItemCell
.
cellReuseIdentifier
,
for
:
indexPath
)
as?
YHCertificateFilterItemCell
else
{
return
UICollectionViewCell
()
}
if
0
<=
indexPath
.
section
&&
indexPath
.
section
<
items
.
count
{
let
sectionInfo
=
items
[
indexPath
.
section
]
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/QMAS(优才)/MyDocuments(我的文书)/V/YHDocumentUploadTableViewCell.swift
View file @
370fea5c
...
...
@@ -170,7 +170,7 @@ class YHDocumentUploadTableViewCell: UITableViewCell {
make
.
height
.
equalTo
(
h
)
make
.
right
.
equalTo
(
-
18
)
}
y
=
y
+
h
y
+=
h
}
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/QMAS(优才)/MyDocuments(我的文书)/V/YHHKPlanItemView.swift
View file @
370fea5c
...
...
@@ -414,13 +414,13 @@ private extension YHHKPlanItemView {
if
scalar
.
value
>=
0x4E00
&&
scalar
.
value
<=
0x9FFF
{
// 中文字符的Unicode范围
if
isPreDone
==
false
{
totalNumber
=
totalNumber
+
1
totalNumber
+=
1
}
totalNumber
=
totalNumber
+
1
totalNumber
+=
1
isPreDone
=
true
if
totalNumber
<=
maxNumbler
{
returStrn
=
returStrn
+
String
(
scalar
)
returStrn
+=
String
(
scalar
)
}
else
{
return
returStrn
}
...
...
@@ -428,19 +428,19 @@ private extension YHHKPlanItemView {
// 英文字符(不包括ASCII数字和标点符号)
isPreDone
=
false
returStrn
=
returStrn
+
String
(
scalar
)
returStrn
+=
String
(
scalar
)
}
else
if
scalar
.
isASCII
&&
(
scalar
>=
"0"
&&
scalar
<=
"9"
)
{
// 数字
isPreDone
=
false
returStrn
=
returStrn
+
String
(
scalar
)
returStrn
+=
String
(
scalar
)
}
else
{
if
isPreDone
==
false
{
totalNumber
=
totalNumber
+
1
totalNumber
+=
1
if
totalNumber
<=
maxNumbler
{
isPreDone
=
true
returStrn
=
returStrn
+
String
(
scalar
)
returStrn
+=
String
(
scalar
)
}
else
{
return
returStrn
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/QMAS(优才)/MyNewScheme(我的方案)/C/YHImproveSchemeViewController.swift
View file @
370fea5c
...
...
@@ -296,7 +296,9 @@ extension YHImproveSchemeViewController: UITableViewDelegate, UITableViewDataSou
return
cell
}
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
YHImproveTargetListCell
.
cellReuseIdentifier
,
for
:
indexPath
)
as!
YHImproveTargetListCell
guard
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
YHImproveTargetListCell
.
cellReuseIdentifier
,
for
:
indexPath
)
as?
YHImproveTargetListCell
else
{
return
UITableViewCell
()
}
cell
.
arr
=
self
.
items
return
cell
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/QMAS(优才)/MyNewScheme(我的方案)/C/YHMyNewSchemeViewController.swift
View file @
370fea5c
...
...
@@ -427,19 +427,21 @@ extension YHMyNewSchemeViewController: UITableViewDelegate, UITableViewDataSourc
}
if
item
.
type
==
.
hkRequireList
{
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
YHHKRequiredItemListCell
.
cellReuseIdentifier
,
for
:
indexPath
)
as!
YHHKRequiredItemListCell
guard
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
YHHKRequiredItemListCell
.
cellReuseIdentifier
,
for
:
indexPath
)
as?
YHHKRequiredItemListCell
else
{
return
UITableViewCell
()
}
cell
.
passArr
=
self
.
passArr
targetCell
=
cell
}
if
item
.
type
==
.
industryLocation
{
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
YHIndustryLocationCell
.
cellReuseIdentifier
,
for
:
indexPath
)
as!
YHIndustryLocationCell
guard
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
YHIndustryLocationCell
.
cellReuseIdentifier
,
for
:
indexPath
)
as?
YHIndustryLocationCell
else
{
return
UITableViewCell
()
}
cell
.
industry
=
self
.
getIndustryDetail
()
targetCell
=
cell
}
if
item
.
type
==
.
materialList
{
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
YHMaterialListCell
.
cellReuseIdentifier
,
for
:
indexPath
)
as!
YHMaterialListCell
guard
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
YHMaterialListCell
.
cellReuseIdentifier
,
for
:
indexPath
)
as?
YHMaterialListCell
else
{
return
UITableViewCell
()
}
cell
.
rightBtnClick
=
{
[
weak
self
]
in
guard
let
self
=
self
else
{
return
}
...
...
@@ -460,7 +462,7 @@ extension YHMyNewSchemeViewController: UITableViewDelegate, UITableViewDataSourc
}
if
item
.
type
==
.
documentList
{
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
YHDocumentListCell
.
cellReuseIdentifier
,
for
:
indexPath
)
as!
YHDocumentListCell
guard
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
YHDocumentListCell
.
cellReuseIdentifier
,
for
:
indexPath
)
as?
YHDocumentListCell
else
{
return
UITableViewCell
()
}
cell
.
rightBtnClick
=
{
[
weak
self
]
in
guard
let
self
=
self
else
{
return
}
...
...
@@ -483,7 +485,7 @@ extension YHMyNewSchemeViewController: UITableViewDelegate, UITableViewDataSourc
if
item
.
type
==
.
improveScheme
{
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
YHImproveSchemeCell
.
cellReuseIdentifier
,
for
:
indexPath
)
as!
YHImproveSchemeCell
guard
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
YHImproveSchemeCell
.
cellReuseIdentifier
,
for
:
indexPath
)
as?
YHImproveSchemeCell
else
{
return
UITableViewCell
()
}
cell
.
rightBtnClick
=
{
[
weak
self
]
in
guard
let
self
=
self
else
{
return
}
...
...
@@ -501,7 +503,7 @@ extension YHMyNewSchemeViewController: UITableViewDelegate, UITableViewDataSourc
}
if
item
.
type
==
.
modifyInfo
{
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
YHModifySchemeInfoCell
.
cellReuseIdentifier
,
for
:
indexPath
)
as!
YHModifySchemeInfoCell
guard
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
YHModifySchemeInfoCell
.
cellReuseIdentifier
,
for
:
indexPath
)
as?
YHModifySchemeInfoCell
else
{
return
UITableViewCell
()
}
cell
.
modifyBlock
=
{
[
weak
self
]
in
guard
let
self
=
self
else
{
return
}
...
...
@@ -511,7 +513,7 @@ extension YHMyNewSchemeViewController: UITableViewDelegate, UITableViewDataSourc
}
if
item
.
type
==
.
improveTarget
{
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
YHImproveTargetCell
.
cellReuseIdentifier
,
for
:
indexPath
)
as!
YHImproveTargetCell
guard
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
YHImproveTargetCell
.
cellReuseIdentifier
,
for
:
indexPath
)
as?
YHImproveTargetCell
else
{
return
UITableViewCell
()
}
cell
.
unpassArr
=
unpassArr
cell
.
submitClick
=
{
[
weak
self
]
in
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/QMAS(优才)/Resign(续签)/ResignCertificateManage(续期证件管理)/C/YHResignCertificateDetailHkViewController.swift
View file @
370fea5c
...
...
@@ -275,7 +275,7 @@ extension YHResignCertificateDetailHkViewController: UITableViewDelegate, UITabl
return
cell
}
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
YHResignCertificateHKTableViewCell
.
cellReuseIdentifier
,
for
:
indexPath
)
as!
YHResignCertificateHKTableViewCell
guard
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
YHResignCertificateHKTableViewCell
.
cellReuseIdentifier
,
for
:
indexPath
)
as?
YHResignCertificateHKTableViewCell
else
{
return
UITableViewCell
()
}
cell
.
firstImageName
=
"service_adopter_card_travel_front"
cell
.
lastImageName
=
"service_adopter_card_travel_back"
cell
.
firstLabelName
=
"港澳通行证正面"
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/QMAS(优才)/Resign(续签)/ResignCertificateManage(续期证件管理)/C/YHResignCertificateDetailPassPortViewController.swift
View file @
370fea5c
...
...
@@ -254,7 +254,7 @@ extension YHResignCertificateDetailPassPortViewController: UITableViewDelegate,
return
cell
}
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
YHResignCertificatePassportTableViewCell
.
cellReuseIdentifier
,
for
:
indexPath
)
as!
YHResignCertificatePassportTableViewCell
guard
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
YHResignCertificatePassportTableViewCell
.
cellReuseIdentifier
,
for
:
indexPath
)
as?
YHResignCertificatePassportTableViewCell
else
{
return
UITableViewCell
()
}
cell
.
firstImageName
=
"service_adopter_card_china_travel_front"
cell
.
firstLabelName
=
"护照资料页"
cell
.
dataModel
=
dataModel
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/QMAS(优才)/Resign(续签)/ResignCertificateManage(续期证件管理)/V/YHResignCertificateListTableViewCell.swift
View file @
370fea5c
...
...
@@ -112,7 +112,7 @@ class YHResignCertificateListTableViewCell: UITableViewCell {
make
.
height
.
equalTo
(
51
)
make
.
right
.
equalTo
(
-
18
)
}
total
=
total
+
51
total
+=
51
}
}
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/QMAS(优才)/Resign(续签)/ResignHKAppoint(在港递交预约)/C/YHResignAppointScheduleListViewController.swift
View file @
370fea5c
...
...
@@ -335,9 +335,12 @@ class YHResignAppointScheduleListViewController: YHBaseViewController {
model
.
itemIndex
=
targetIndex
+
1
let
users
=
lastLeftUnselectUsers
.
map
{
let
m
=
$0
.
copy
()
as!
YHResignAppointMember
m
.
isSelected
=
true
return
m
if
let
m
=
$0
.
copy
()
as?
YHResignAppointMember
{
m
.
isSelected
=
true
return
m
}
return
YHResignAppointMember
()
}
model
.
users
=
users
groupArr
.
append
(
model
)
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/QMAS(优才)/Resign(续签)/ResignHKAppoint(在港递交预约)/C/YHResignAppointTimeModifyViewController.swift
View file @
370fea5c
...
...
@@ -146,7 +146,9 @@ extension YHResignAppointTimeModifyViewController: UITableViewDelegate, UITableV
if
indexPath
.
section
==
0
{
// 不能编辑是否一起递交 只展示
if
!
self
.
isCanEditTogether
{
let
cell1
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
YHResignAppointOptionResultCell
.
cellReuseIdentifier
,
for
:
indexPath
)
as!
YHResignAppointOptionResultCell
guard
let
cell1
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
YHResignAppointOptionResultCell
.
cellReuseIdentifier
,
for
:
indexPath
)
as?
YHResignAppointOptionResultCell
else
{
return
UITableViewCell
()
}
cell1
.
isTogether
=
self
.
isTogether
return
cell1
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/QMAS(优才)/Resign(续签)/ResignMaterialManage(续期资料管理)/C/YHResignMaterialUploadVC.swift
View file @
370fea5c
...
...
@@ -226,7 +226,9 @@ extension YHResignMaterialUploadVC: UITableViewDelegate, UITableViewDataSource {
return
cell
}
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
YHResignMaterialNameCell
.
cellReuseIdentifier
,
for
:
indexPath
)
as!
YHResignMaterialNameCell
guard
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
YHResignMaterialNameCell
.
cellReuseIdentifier
,
for
:
indexPath
)
as?
YHResignMaterialNameCell
else
{
return
UITableViewCell
()
}
if
0
<=
indexPath
.
row
&&
indexPath
.
row
<
items
.
count
{
let
item
=
items
[
indexPath
.
row
]
cell
.
updateModel
(
item
)
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/QMAS(优才)/Resign(续签)/ResignUploadDoc(续签补件)/C/YHResignUploadDocDetailViewController.swift
View file @
370fea5c
...
...
@@ -262,7 +262,9 @@ extension YHResignUploadDocDetailViewController: UITableViewDelegate, UITableVie
return
cell
}
if
indexPath
.
section
==
1
{
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
YHResignUploadDetailFileNameCell
.
cellReuseIdentifier
,
for
:
indexPath
)
as!
YHResignUploadDetailFileNameCell
guard
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
YHResignUploadDetailFileNameCell
.
cellReuseIdentifier
,
for
:
indexPath
)
as?
YHResignUploadDetailFileNameCell
else
{
return
UITableViewCell
()
}
if
0
<=
indexPath
.
row
&&
indexPath
.
row
<
items
.
count
{
let
item
=
items
[
indexPath
.
row
]
cell
.
updateModel
(
item
)
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/QMAS(优才)/Resign(续签)/ResignUploadDoc(续签补件)/C/YHResignUploadDocListViewController.swift
View file @
370fea5c
...
...
@@ -244,7 +244,9 @@ extension YHResignUploadDocListViewController: UITableViewDelegate, UITableViewD
}
return
approveCell
}
else
{
let
approveCell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
YHResignUploadSuccessDocListCell
.
cellReuseIdentifier
,
for
:
indexPath
)
as!
YHResignUploadSuccessDocListCell
guard
let
approveCell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
YHResignUploadSuccessDocListCell
.
cellReuseIdentifier
,
for
:
indexPath
)
as?
YHResignUploadSuccessDocListCell
else
{
return
UITableViewCell
()
}
approveCell
.
dataSource
=
[
self
.
viewModel
.
mainModel
.
supplement_voucher_url
]
return
approveCell
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/QMAS(优才)/Resign(续签)/UploadTravelCrad(上传旅行证件)/C/YHResignUploadTravelHKViewController.swift
View file @
370fea5c
...
...
@@ -324,7 +324,7 @@ extension YHResignUploadTravelHKViewController: UITableViewDelegate, UITableView
let
message
=
item
.
message
??
""
let
isNeed
=
item
.
isNeed
??
false
if
isShow
&&
message
.
count
==
0
&&
isNeed
{
tatol
=
tatol
+
20
tatol
+=
20
}
}
return
CGFloat
(
501
+
tatol
)
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/QMAS(优才)/Resign(续签)/UploadTravelCrad(上传旅行证件)/C/YHResignUploadTravelPassportViewController.swift
View file @
370fea5c
...
...
@@ -211,13 +211,17 @@ extension YHResignUploadTravelPassportViewController: UITableViewDelegate, UITab
func
tableView
(
_
tableView
:
UITableView
,
cellForRowAt
indexPath
:
IndexPath
)
->
UITableViewCell
{
if
indexPath
.
section
==
0
{
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
YHTravelCertificateTipsCell
.
cellReuseIdentifier
,
for
:
indexPath
)
as!
YHTravelCertificateTipsCell
guard
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
YHTravelCertificateTipsCell
.
cellReuseIdentifier
,
for
:
indexPath
)
as?
YHTravelCertificateTipsCell
else
{
return
UITableViewCell
()
}
cell
.
userName
=
self
.
dataModel
.
name
cell
.
tipsArr
=
tipsArr
return
cell
}
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
YHResignUploadTravelPassportTableViewCell
.
cellReuseIdentifier
,
for
:
indexPath
)
as!
YHResignUploadTravelPassportTableViewCell
guard
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
YHResignUploadTravelPassportTableViewCell
.
cellReuseIdentifier
,
for
:
indexPath
)
as?
YHResignUploadTravelPassportTableViewCell
else
{
return
UITableViewCell
()
}
cell
.
firstImageName
=
"service_adopter_card_china_travel_front"
cell
.
firstLabelName
=
"护照资料页"
cell
.
dataModel
=
dataModel
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/QMAS(优才)/Resign(续签)/UploadTravelCrad(上传旅行证件)/V/YHResignUploadTravelCardListfootView.swift
View file @
370fea5c
...
...
@@ -188,6 +188,9 @@ extension YHResignUploadTravelCardListfootView: JXSegmentedListContainerViewData
}
func
listContainerView
(
_
listContainerView
:
JXSegmentedListContainerView
,
initListAt
index
:
Int
)
->
JXSegmentedListContainerViewListDelegate
{
return
arrItemVCs
[
index
]
as!
JXSegmentedListContainerViewListDelegate
if
let
vc
=
arrItemVCs
[
index
]
as?
JXSegmentedListContainerViewListDelegate
else
{
return
YHResignUploadTravelCardFootViewController
()
}
return
vc
}
}
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/QMAS(优才)/Resign(续签)/UploadTravelCrad(上传旅行证件)/V/YHResignUploadTravelGuideView.swift
View file @
370fea5c
...
...
@@ -147,7 +147,7 @@ private extension YHResignUploadTravelGuideView {
@objc
func
timerFired
()
{
// 定时器触发时执行的代码
print
(
"Timer fired"
)
self
.
maxCount
=
self
.
maxCount
-
1
self
.
maxCount
-=
1
if
self
.
maxCount
<
1
{
self
.
stopTimer
()
self
.
setButtonEnable
(
true
)
...
...
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