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
8f612d8a
Commit
8f612d8a
authored
Mar 17, 2025
by
Steven杜宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
// lint
parent
467450ed
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
42 additions
and
26 deletions
+42
-26
YHHomePageViewModel.swift
...axy/Classes/Modules/Home(首页)/VM/YHHomePageViewModel.swift
+1
-1
YHCertificateAppointViewController.swift
...cate(3 赴港办证预约)/C/YHCertificateAppointViewController.swift
+3
-1
YHPrincipleApprovedMailViewController.swift
...eBatch(原则批)/C/YHPrincipleApprovedMailViewController.swift
+3
-1
YHHKPlanItemView.swift
...服务中心)/QMAS(优才)/MyDocuments(我的文书)/V/YHHKPlanItemView.swift
+2
-2
YHLookResignResultViewController.swift
...gnResult(查看续签结果)/C/YHLookResignResultViewController.swift
+6
-2
YHResignCertificateDetailPassPortViewController.swift
...)/C/YHResignCertificateDetailPassPortViewController.swift
+1
-1
YHResignAppointTimeModifyViewController.swift
...t(在港递交预约)/C/YHResignAppointTimeModifyViewController.swift
+9
-3
YHResignAppointTimeViewController.swift
...Appoint(在港递交预约)/C/YHResignAppointTimeViewController.swift
+3
-3
YHBasicInfoFillModel.swift
...的信息流程)/BaseInformation(基本资料)/M/YHBasicInfoFillModel.swift
+9
-9
YHEducationDetailVC.swift
...ation&Qualification(学历专业资格填写)/C/YHEducationDetailVC.swift
+1
-1
YHEducationInfoListVC.swift
...ion&Qualification(学历专业资格填写)/C/YHEducationInfoListVC.swift
+4
-2
No files found.
galaxy/galaxy/Classes/Modules/Home(首页)/VM/YHHomePageViewModel.swift
View file @
8f612d8a
...
...
@@ -454,7 +454,7 @@ extension YHHomePageViewModel {
self
.
arrHomeNewsData
=
result
.
data
curPageIndex
=
1
}
else
{
curPageIndex
=
curPageIndex
+
1
curPageIndex
+=
1
self
.
arrHomeNewsData
?
.
append
(
contentsOf
:
result
.
data
)
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/QMAS(优才)/CustomerService(客服段)/Certificate(办证段)/AppointCertificate(3 赴港办证预约)/C/YHCertificateAppointViewController.swift
View file @
8f612d8a
...
...
@@ -433,7 +433,9 @@ extension YHCertificateAppointViewController: UITableViewDelegate, UITableViewDa
if
item
.
type
==
.
confirmGoHKInfo
{
// 请您确认第X批赴港信息
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
YHSelectApplicantGroupCell
.
cellReuseIdentifier
,
for
:
indexPath
)
as!
YHSelectApplicantGroupCell
guard
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
YHSelectApplicantGroupCell
.
cellReuseIdentifier
,
for
:
indexPath
)
as?
YHSelectApplicantGroupCell
else
{
return
UITableViewCell
()
}
cell
.
dataModel
=
arr
[
indexPath
.
row
]
cell
.
refreshBlock
=
{
[
weak
self
]
in
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/QMAS(优才)/CustomerService(客服段)/PrincipleBatch(原则批)/C/YHPrincipleApprovedMailViewController.swift
View file @
8f612d8a
...
...
@@ -145,7 +145,9 @@ extension YHPrincipleApprovedMailViewController: UITableViewDelegate, UITableVie
}
}
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
YHPrincipleEnvelopeCell
.
cellReuseIdentifier
,
for
:
indexPath
)
as!
YHPrincipleEnvelopeCell
guard
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
YHPrincipleEnvelopeCell
.
cellReuseIdentifier
,
for
:
indexPath
)
as?
YHPrincipleEnvelopeCell
else
{
return
UITableViewCell
()
}
if
0
<=
indexPath
.
row
&&
indexPath
.
row
<
items
.
count
{
let
m
=
items
[
indexPath
.
row
]
if
m
is
YHPrincipleEnvelopeModel
{
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/QMAS(优才)/MyDocuments(我的文书)/V/YHHKPlanItemView.swift
View file @
8f612d8a
...
...
@@ -452,10 +452,10 @@ private extension YHHKPlanItemView {
if
index
==
stringLength
-
1
{
if
isPreDone
==
false
{
totalNumber
=
totalNumber
+
1
totalNumber
+=
1
if
totalNumber
<=
maxNumbler
{
returStrn
=
returStrn
+
String
(
scalar
)
returStrn
+=
String
(
scalar
)
}
else
{
return
returStrn
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/QMAS(优才)/Resign(续签)/LookResignResult(查看续签结果)/C/YHLookResignResultViewController.swift
View file @
8f612d8a
...
...
@@ -231,7 +231,9 @@ extension YHLookResignResultViewController: UITableViewDelegate, UITableViewData
}
else
{
if
indexPath
.
section
==
0
{
let
approveCell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
YHLookResignResultStateThreePeopleTableViewCell
.
cellReuseIdentifier
,
for
:
indexPath
)
as!
YHLookResignResultStateThreePeopleTableViewCell
guard
let
approveCell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
YHLookResignResultStateThreePeopleTableViewCell
.
cellReuseIdentifier
,
for
:
indexPath
)
as?
YHLookResignResultStateThreePeopleTableViewCell
else
{
return
UITableViewCell
()
}
approveCell
.
title
=
"第"
+
convertNumberToChineseText
(
self
.
viewModel
.
dataModel
.
data
.
data
[
indexPath
.
row
]
.
number
)
+
"批"
approveCell
.
dataSource
=
self
.
viewModel
.
dataModel
.
data
.
data
[
indexPath
.
row
]
if
indexPath
.
row
==
self
.
viewModel
.
dataModel
.
data
.
data
.
count
-
1
{
...
...
@@ -241,7 +243,9 @@ extension YHLookResignResultViewController: UITableViewDelegate, UITableViewData
}
return
approveCell
}
else
{
let
approveCell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
YHLookResignResultStateThreeTableViewCell
.
cellReuseIdentifier
,
for
:
indexPath
)
as!
YHLookResignResultStateThreeTableViewCell
guard
let
approveCell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
YHLookResignResultStateThreeTableViewCell
.
cellReuseIdentifier
,
for
:
indexPath
)
as?
YHLookResignResultStateThreeTableViewCell
else
{
return
UITableViewCell
()
}
approveCell
.
state
=
state
approveCell
.
dataSource
=
self
.
viewModel
.
dataModel
.
data
.
letters
return
approveCell
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/QMAS(优才)/Resign(续签)/ResignCertificateManage(续期证件管理)/C/YHResignCertificateDetailPassPortViewController.swift
View file @
8f612d8a
...
...
@@ -298,7 +298,7 @@ extension YHResignCertificateDetailPassPortViewController: UITableViewDelegate,
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(续签)/ResignHKAppoint(在港递交预约)/C/YHResignAppointTimeModifyViewController.swift
View file @
8f612d8a
...
...
@@ -168,7 +168,9 @@ extension YHResignAppointTimeModifyViewController: UITableViewDelegate, UITableV
}
if
self
.
isTogether
{
// 选择是一起递交
let
cell2
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
YHResignAppointTimeSingleCell
.
cellReuseIdentifier
,
for
:
indexPath
)
as!
YHResignAppointTimeSingleCell
guard
let
cell2
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
YHResignAppointTimeSingleCell
.
cellReuseIdentifier
,
for
:
indexPath
)
as?
YHResignAppointTimeSingleCell
else
{
return
UITableViewCell
()
}
cell2
.
updateModel
(
self
.
oneGroupTimeSetting
)
cell2
.
switchBlock
=
{
[
weak
self
]
isOn
in
...
...
@@ -187,13 +189,17 @@ extension YHResignAppointTimeModifyViewController: UITableViewDelegate, UITableV
if
0
<=
indexPath
.
row
&&
indexPath
.
row
<
selectGroupArr
.
count
{
let
model
=
selectGroupArr
[
indexPath
.
row
]
if
model
.
isHaveAppointed
{
// 已确认在港 只展示信息
let
cell1
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
YHResignHaveAppointedApplicantsInfoCell
.
cellReuseIdentifier
,
for
:
indexPath
)
as!
YHResignHaveAppointedApplicantsInfoCell
guard
let
cell1
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
YHResignHaveAppointedApplicantsInfoCell
.
cellReuseIdentifier
,
for
:
indexPath
)
as?
YHResignHaveAppointedApplicantsInfoCell
else
{
return
UITableViewCell
()
}
cell1
.
updateModel
(
model
)
return
cell1
}
// 分批次cell
let
cell1
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
YHResignAppointTimeMultipleCell
.
cellReuseIdentifier
,
for
:
indexPath
)
as!
YHResignAppointTimeMultipleCell
guard
let
cell1
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
YHResignAppointTimeMultipleCell
.
cellReuseIdentifier
,
for
:
indexPath
)
as?
YHResignAppointTimeMultipleCell
else
{
return
UITableViewCell
()
}
cell1
.
updateModel
(
model
)
cell1
.
selectUserBlock
=
{
[
weak
self
]
member
,
isSelect
,
groupIndex
in
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/QMAS(优才)/Resign(续签)/ResignHKAppoint(在港递交预约)/C/YHResignAppointTimeViewController.swift
View file @
8f612d8a
...
...
@@ -318,9 +318,9 @@ class YHResignAppointTimeViewController: YHBaseViewController {
let
dict
=
[
"member_id"
:
"
\(
$0
.
id
)
"
]
return
dict
}
let
dict
=
[
"ready_to_submit_at"
:
group
.
getSubmitHKTime
(),
"leave_hk_at"
:
group
.
notleaveHK
?
""
:
group
.
getLeaveHKTime
(),
"users"
:
allUserInfoArr
]
as!
[
String
:
Any
]
let
dict
:[
String
:
Any
]
=
[
"ready_to_submit_at"
:
group
.
getSubmitHKTime
(),
"leave_hk_at"
:
group
.
notleaveHK
?
""
:
group
.
getLeaveHKTime
(),
"users"
:
allUserInfoArr
]
batchs
.
append
(
dict
)
if
allAppointUsers
.
count
<=
0
{
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/QMAS(优才)/ServiceProcess(我的信息流程)/BaseInformation(基本资料)/M/YHBasicInfoFillModel.swift
View file @
8f612d8a
...
...
@@ -25,7 +25,7 @@ class YHBasicInfoFillModel: SmartCodable {
class
BackgroundModel
:
SmartCodable
{
var
subset
:
[
SubsetModel
]
=
[]
var
background_member
:
Background
_m
emberModel
?
var
background_member
:
Background
M
emberModel
?
required
init
()
{
...
...
@@ -41,7 +41,7 @@ class SubsetModel: SmartCodable {
}
}
class
Background
_m
emberModel
:
SmartCodable
{
class
Background
M
emberModel
:
SmartCodable
{
var
has
:
String
=
""
var
info
:
String
=
""
...
...
@@ -53,8 +53,8 @@ class Background_memberModel: SmartCodable {
class
SpouseModel
:
SmartCodable
{
var
id
:
Int
=
0
var
subset_name
:
String
=
""
var
child_departure
:
Background
_m
emberModel
?
var
child_deny
:
Background
_m
emberModel
?
var
child_departure
:
Background
M
emberModel
?
var
child_deny
:
Background
M
emberModel
?
required
init
()
{
}
...
...
@@ -62,11 +62,11 @@ class SpouseModel: SmartCodable {
class
ApplicantModel
:
SmartCodable
{
var
id
:
Int
=
0
var
has_conviction
:
Background
_m
emberModel
?
var
has_departure
:
Background
_m
emberModel
?
var
has_deny
:
Background
_m
emberModel
?
var
has_breaking_law
:
Background
_m
emberModel
?
var
has_other_id
:
Background
_m
emberModel
?
var
has_conviction
:
Background
M
emberModel
?
var
has_departure
:
Background
M
emberModel
?
var
has_deny
:
Background
M
emberModel
?
var
has_breaking_law
:
Background
M
emberModel
?
var
has_other_id
:
Background
M
emberModel
?
required
init
()
{
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/QMAS(优才)/ServiceProcess(我的信息流程)/Education&Qualification(学历专业资格填写)/C/YHEducationDetailVC.swift
View file @
8f612d8a
...
...
@@ -200,7 +200,7 @@ extension YHEducationDetailVC: UITableViewDelegate, UITableViewDataSource {
if
item
is
YHFormDetailItem
{
let
detailItem
=
item
as!
YHFormDetailItem
guard
let
detailItem
=
item
as?
YHFormDetailItem
else
{
return
UITableViewCell
()
}
let
cellType
=
getCellType
(
detailItem
)
if
cellType
==
.
inputText
{
guard
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
YHFormItemInputTextCell
.
cellReuseIdentifier
,
for
:
indexPath
)
as?
YHFormItemInputTextCell
else
{
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/QMAS(优才)/ServiceProcess(我的信息流程)/Education&Qualification(学历专业资格填写)/C/YHEducationInfoListVC.swift
View file @
8f612d8a
...
...
@@ -200,9 +200,11 @@ extension YHEducationInfoListVC: UITableViewDelegate, UITableViewDataSource {
if
item
is
YHFormTitleItem
{
// 是标题
let
formItem
=
item
as!
YHFormTitleItem
guard
let
formItem
=
item
as?
YHFormTitleItem
else
{
return
UITableViewCell
()
}
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
YHFormItemTitleCell
.
cellReuseIdentifier
,
for
:
indexPath
)
as!
YHFormItemTitleCell
guard
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
YHFormItemTitleCell
.
cellReuseIdentifier
,
for
:
indexPath
)
as?
YHFormItemTitleCell
else
{
return
UITableViewCell
()
}
let
isNeedWrap
=
(
formItem
.
type
==
.
mainApplicantProfessionalQualification
)
// 决定右边按钮显示样式
...
...
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