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
161fe2d8
Commit
161fe2d8
authored
May 21, 2025
by
pete谢兆麟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
服务中心逻辑
parent
b83e48b8
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
1069 additions
and
116 deletions
+1069
-116
project.pbxproj
galaxy/galaxy.xcodeproj/project.pbxproj
+8
-8
YHServiceCenterViewController.swift
...中心)/OrderList(服务订单)/C/YHServiceCenterViewController.swift
+25
-5
YHServiceOrderListViewController.swift
.../OrderList(服务订单)/C/YHServiceOrderListViewController.swift
+290
-1
YHContactItemModel.swift
...tService(服务中心)/OrderList(服务订单)/M/YHContactItemModel.swift
+1
-1
YHServiceOrderProgressTableViewCell.swift
...derList(服务订单)/V/YHServiceOrderProgressTableViewCell.swift
+744
-100
YHAnalytics.swift
galaxy/galaxy/Classes/Tools/Analytics/YHAnalytics.swift
+1
-1
No files found.
galaxy/galaxy.xcodeproj/project.pbxproj
View file @
161fe2d8
...
...
@@ -8494,7 +8494,7 @@
CODE_SIGN_ENTITLEMENTS
=
galaxy/galaxyTestEnv.entitlements
;
CODE_SIGN_IDENTITY
=
"Apple Development"
;
CODE_SIGN_STYLE
=
Automatic
;
CURRENT_PROJECT_VERSION
=
2
;
CURRENT_PROJECT_VERSION
=
1
;
DEVELOPMENT_TEAM
=
RXHYW88XR7
;
ENABLE_USER_SCRIPT_SANDBOXING
=
NO
;
FRAMEWORK_SEARCH_PATHS
=
(
...
...
@@ -8521,7 +8521,7 @@
"$(inherited)"
,
"@executable_path/Frameworks"
,
);
MARKETING_VERSION
=
2.2.
3
;
MARKETING_VERSION
=
2.2.
4
;
PRODUCT_BUNDLE_IDENTIFIER
=
com.intelligence.galaxy
;
PRODUCT_NAME
=
"$(TARGET_NAME)"
;
PROVISIONING_PROFILE_SPECIFIER
=
""
;
...
...
@@ -8642,7 +8642,7 @@
CODE_SIGN_ENTITLEMENTS
=
galaxy/galaxy.entitlements
;
CODE_SIGN_IDENTITY
=
"Apple Development"
;
CODE_SIGN_STYLE
=
Automatic
;
CURRENT_PROJECT_VERSION
=
2
;
CURRENT_PROJECT_VERSION
=
1
;
DEVELOPMENT_TEAM
=
RXHYW88XR7
;
ENABLE_USER_SCRIPT_SANDBOXING
=
NO
;
FRAMEWORK_SEARCH_PATHS
=
(
...
...
@@ -8669,7 +8669,7 @@
"$(inherited)"
,
"@executable_path/Frameworks"
,
);
MARKETING_VERSION
=
2.2.
3
;
MARKETING_VERSION
=
2.2.
4
;
PRODUCT_BUNDLE_IDENTIFIER
=
com.intelligence.galaxy
;
PRODUCT_NAME
=
"$(TARGET_NAME)"
;
PROVISIONING_PROFILE_SPECIFIER
=
""
;
...
...
@@ -8852,7 +8852,7 @@
CODE_SIGN_ENTITLEMENTS
=
galaxy/galaxyDebug.entitlements
;
CODE_SIGN_IDENTITY
=
"Apple Development"
;
CODE_SIGN_STYLE
=
Automatic
;
CURRENT_PROJECT_VERSION
=
2
;
CURRENT_PROJECT_VERSION
=
1
;
DEVELOPMENT_TEAM
=
RXHYW88XR7
;
ENABLE_USER_SCRIPT_SANDBOXING
=
NO
;
FRAMEWORK_SEARCH_PATHS
=
(
...
...
@@ -8879,7 +8879,7 @@
"$(inherited)"
,
"@executable_path/Frameworks"
,
);
MARKETING_VERSION
=
2.2.
3
;
MARKETING_VERSION
=
2.2.
4
;
PRODUCT_BUNDLE_IDENTIFIER
=
com.intelligence.galaxy
;
PRODUCT_NAME
=
"$(TARGET_NAME)"
;
PROVISIONING_PROFILE_SPECIFIER
=
""
;
...
...
@@ -8902,7 +8902,7 @@
CODE_SIGN_ENTITLEMENTS
=
galaxy/galaxy.entitlements
;
CODE_SIGN_IDENTITY
=
"Apple Development"
;
CODE_SIGN_STYLE
=
Automatic
;
CURRENT_PROJECT_VERSION
=
2
;
CURRENT_PROJECT_VERSION
=
1
;
DEVELOPMENT_TEAM
=
RXHYW88XR7
;
ENABLE_USER_SCRIPT_SANDBOXING
=
NO
;
FRAMEWORK_SEARCH_PATHS
=
(
...
...
@@ -8929,7 +8929,7 @@
"$(inherited)"
,
"@executable_path/Frameworks"
,
);
MARKETING_VERSION
=
2.2.
3
;
MARKETING_VERSION
=
2.2.
4
;
PRODUCT_BUNDLE_IDENTIFIER
=
com.intelligence.galaxy
;
PRODUCT_NAME
=
"$(TARGET_NAME)"
;
PROVISIONING_PROFILE_SPECIFIER
=
""
;
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/OrderList(服务订单)/C/YHServiceCenterViewController.swift
View file @
161fe2d8
...
...
@@ -341,8 +341,12 @@ extension YHServiceCenterViewController {
self
.
homeTableView
.
tableHeaderView
=
UIView
()
if
self
.
model
.
product_type
==
1
{
self
.
titleLabel
.
setTitle
(
"优才审批阶段"
,
for
:
.
normal
)
}
else
{
}
else
if
self
.
model
.
product_type
==
2
{
self
.
titleLabel
.
setTitle
(
"高才审批阶段"
,
for
:
.
normal
)
}
else
if
self
.
model
.
product_type
==
3
{
self
.
titleLabel
.
setTitle
(
"专才审批阶段"
,
for
:
.
normal
)
}
else
if
self
.
model
.
product_type
==
4
{
self
.
titleLabel
.
setTitle
(
"留学审批阶段"
,
for
:
.
normal
)
}
self
.
titleLabel
.
setImage
(
UIImage
(
named
:
"service_center_select_step"
),
for
:
.
normal
)
}
...
...
@@ -362,8 +366,12 @@ extension YHServiceCenterViewController {
self
.
headView
.
dataSource
=
self
.
serviceCenterMainReqVM
.
mainModel
.
renewalSection
.
list
if
self
.
model
.
product_type
==
1
{
self
.
titleLabel
.
setTitle
(
"优才续签阶段"
,
for
:
.
normal
)
}
else
{
}
else
if
self
.
model
.
product_type
==
2
{
self
.
titleLabel
.
setTitle
(
"高才续签阶段"
,
for
:
.
normal
)
}
else
if
self
.
model
.
product_type
==
3
{
self
.
titleLabel
.
setTitle
(
"专才续签阶段"
,
for
:
.
normal
)
}
else
if
self
.
model
.
product_type
==
4
{
self
.
titleLabel
.
setTitle
(
"留学续签阶段"
,
for
:
.
normal
)
}
self
.
titleLabel
.
setImage
(
UIImage
(
named
:
"service_center_select_step"
),
for
:
.
normal
)
self
.
isCanSelectStep
=
true
...
...
@@ -413,8 +421,12 @@ extension YHServiceCenterViewController {
self
.
homeTableView
.
tableHeaderView
=
UIView
()
if
self
.
model
.
product_type
==
1
{
self
.
titleLabel
.
setTitle
(
"优才申请阶段"
,
for
:
.
normal
)
}
else
{
}
else
if
self
.
model
.
product_type
==
2
{
self
.
titleLabel
.
setTitle
(
"高才申请阶段"
,
for
:
.
normal
)
}
else
if
self
.
model
.
product_type
==
3
{
self
.
titleLabel
.
setTitle
(
"专才申请阶段"
,
for
:
.
normal
)
}
else
if
self
.
model
.
product_type
==
4
{
self
.
titleLabel
.
setTitle
(
"留学申请阶段"
,
for
:
.
normal
)
}
self
.
titleLabel
.
setImage
(
UIImage
(
named
:
""
),
for
:
.
normal
)
}
...
...
@@ -423,8 +435,12 @@ extension YHServiceCenterViewController {
self
.
homeTableView
.
tableHeaderView
=
UIView
()
if
self
.
model
.
product_type
==
1
{
self
.
titleLabel
.
setTitle
(
"优才审批阶段"
,
for
:
.
normal
)
}
else
{
}
else
if
self
.
model
.
product_type
==
2
{
self
.
titleLabel
.
setTitle
(
"高才审批阶段"
,
for
:
.
normal
)
}
else
if
self
.
model
.
product_type
==
3
{
self
.
titleLabel
.
setTitle
(
"专才审批阶段"
,
for
:
.
normal
)
}
else
if
self
.
model
.
product_type
==
4
{
self
.
titleLabel
.
setTitle
(
"留学审批阶段"
,
for
:
.
normal
)
}
if
isCanSelectStep
{
self
.
titleLabel
.
setImage
(
UIImage
(
named
:
"service_center_select_step"
),
for
:
.
normal
)
...
...
@@ -448,8 +464,12 @@ extension YHServiceCenterViewController {
self
.
headView
.
dataSource
=
self
.
serviceCenterMainReqVM
.
mainModel
.
renewalSection
.
list
if
self
.
model
.
product_type
==
1
{
self
.
titleLabel
.
setTitle
(
"优才续签阶段"
,
for
:
.
normal
)
}
else
{
}
else
if
self
.
model
.
product_type
==
2
{
self
.
titleLabel
.
setTitle
(
"高才续签阶段"
,
for
:
.
normal
)
}
else
if
self
.
model
.
product_type
==
3
{
self
.
titleLabel
.
setTitle
(
"专才续签阶段"
,
for
:
.
normal
)
}
else
if
self
.
model
.
product_type
==
4
{
self
.
titleLabel
.
setTitle
(
"留学续签阶段"
,
for
:
.
normal
)
}
self
.
titleLabel
.
setImage
(
UIImage
(
named
:
"service_center_select_step"
),
for
:
.
normal
)
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/OrderList(服务订单)/C/YHServiceOrderListViewController.swift
View file @
161fe2d8
...
...
@@ -63,6 +63,8 @@ class YHServiceOrderListViewController: YHBaseViewController {
NotificationCenter
.
default
.
addObserver
(
self
,
selector
:
#selector(
endDragging
)
,
name
:
Notification
.
Name
(
rawValue
:
"scrollViewDidEndDragging0"
),
object
:
nil
)
}
// swiftlint:disable function_body_length
// swiftlint:disable cyclomatic_complexity
class
func
jumpToMessageController
(
type
:
Int
,
orderId
:
Int
,
_
stepId
:
Int
=
0
,
productType
:
Int
=
0
)
{
if
type
==
1
{
// 我的证件
...
...
@@ -204,6 +206,291 @@ class YHServiceOrderListViewController: YHBaseViewController {
let
vc
=
YHUploadCertificateVC
()
vc
.
orderId
=
orderId
UIViewController
.
current
?
.
navigationController
?
.
pushViewController
(
vc
)
}
else
if
type
==
211
||
type
==
212
||
type
==
214
{
// 11 原则批等待结果
// 12 原则批待补件
// 14 原则批未获批准
let
vc
=
YHPrincipleWaitResultViewController
()
vc
.
status
=
type
vc
.
orderId
=
orderId
UIViewController
.
current
?
.
navigationController
?
.
pushViewController
(
vc
)
}
else
if
type
==
213
{
// 原则批已获批~
let
vc
=
YHPrincipleApprovedResultVC
()
vc
.
orderId
=
orderId
UIViewController
.
current
?
.
navigationController
?
.
pushViewController
(
vc
)
}
else
if
type
==
215
{
// 正式批已获批~
let
vc
=
YHOfficialApprovalResultVC
()
UIViewController
.
current
?
.
navigationController
?
.
pushViewController
(
vc
)
}
else
if
type
==
221
{
// 新增受养人
let
vc
=
YHAddAdoptersViewController
()
vc
.
orderId
=
orderId
UIViewController
.
current
?
.
navigationController
?
.
pushViewController
(
vc
)
}
else
if
type
==
222
{
// 家庭信息确认
let
vc
=
YHFamilyInfoConfirmViewController
()
vc
.
orderId
=
orderId
UIViewController
.
current
?
.
navigationController
?
.
pushViewController
(
vc
)
}
else
if
type
==
223
{
// 电子签字缴费
let
vc
=
YHVisaPaymentVC
()
vc
.
orderID
=
orderId
UIViewController
.
current
?
.
navigationController
?
.
pushViewController
(
vc
)
}
else
if
type
==
224
{
// 赴港时间预约
let
vc
=
YHCertificateAppointViewController
()
vc
.
orderId
=
orderId
UIViewController
.
current
?
.
navigationController
?
.
pushViewController
(
vc
)
}
else
if
type
==
225
{
// 赴港行程指引
YHHUD
.
show
(
.
progress
(
message
:
"加载中..."
))
let
appointViewModel
=
YHCerAppointViewModel
()
appointViewModel
.
getIsNeedGoToHK
(
orderId
:
orderId
)
{
// needGoHK 1需要赴港 0不需要 2没有选择
// reservationToHK 0 没有预约 1 已经预約
needGoHK
,
reservationToHK
in
YHHUD
.
hide
()
var
isNeedAppoint
=
true
if
needGoHK
==
1
,
reservationToHK
==
1
{
// 选择赴港且已预约
isNeedAppoint
=
false
}
else
if
needGoHK
==
0
{
// 赴港选择否
isNeedAppoint
=
false
}
if
isNeedAppoint
{
// 预约弹窗
let
alert
=
YHDisappointHKAlertView
.
alertView
()
alert
.
confirmBlock
=
{
let
vc
=
YHCertificateAppointViewController
()
vc
.
orderId
=
orderId
UIViewController
.
current
?
.
navigationController
?
.
pushViewController
(
vc
)
}
alert
.
show
()
}
else
{
// 已预约过直接进入赴港行程指引
if
let
token
=
YHLoginManager
.
shared
.
userModel
?
.
token
,
token
.
count
>
5
{
var
url
=
YHBaseUrlManager
.
shared
.
curH5URL
()
+
"superAppBridge.html#/tohkList"
url
=
url
+
"?paramO=
\(
orderId
)
"
+
"¶m="
+
YHLoginManager
.
shared
.
h5Token
url
=
url
+
"&app_platform=ios"
+
"&app_version="
+
UIDevice
.
appVersion
()
printLog
(
"UURL:
\(
url
)
"
)
let
vc
=
YHH5WebViewVC
()
vc
.
title
=
"赴港行程指引"
vc
.
url
=
url
vc
.
isFullScreenFlag
=
false
vc
.
navTitle
=
"赴港行程指引"
vc
.
isNeedRefreshDataFlag
=
true
UIViewController
.
current
?
.
navigationController
?
.
pushViewController
(
vc
)
}
}
}
}
else
if
type
==
226
{
// 旅行证件准备
let
vc
=
YHTravelDocsPreparationListViewController
()
vc
.
orderId
=
orderId
UIViewController
.
current
?
.
navigationController
?
.
pushViewController
(
vc
)
}
else
if
type
==
227
{
// 上传过关证件
let
vc
=
YHUploadCertificateVC
()
vc
.
orderId
=
orderId
UIViewController
.
current
?
.
navigationController
?
.
pushViewController
(
vc
)
}
else
if
type
==
311
||
type
==
312
||
type
==
314
{
// 11 原则批等待结果
// 12 原则批待补件
// 14 原则批未获批准
let
vc
=
YHPrincipleWaitResultViewController
()
vc
.
status
=
type
vc
.
orderId
=
orderId
UIViewController
.
current
?
.
navigationController
?
.
pushViewController
(
vc
)
}
else
if
type
==
313
{
// 原则批已获批~
let
vc
=
YHPrincipleApprovedResultVC
()
vc
.
orderId
=
orderId
UIViewController
.
current
?
.
navigationController
?
.
pushViewController
(
vc
)
}
else
if
type
==
315
{
// 正式批已获批~
let
vc
=
YHOfficialApprovalResultVC
()
UIViewController
.
current
?
.
navigationController
?
.
pushViewController
(
vc
)
}
else
if
type
==
321
{
// 新增受养人
let
vc
=
YHAddAdoptersViewController
()
vc
.
orderId
=
orderId
UIViewController
.
current
?
.
navigationController
?
.
pushViewController
(
vc
)
}
else
if
type
==
322
{
// 家庭信息确认
let
vc
=
YHFamilyInfoConfirmViewController
()
vc
.
orderId
=
orderId
UIViewController
.
current
?
.
navigationController
?
.
pushViewController
(
vc
)
}
else
if
type
==
323
{
// 电子签字缴费
let
vc
=
YHVisaPaymentVC
()
vc
.
orderID
=
orderId
UIViewController
.
current
?
.
navigationController
?
.
pushViewController
(
vc
)
}
else
if
type
==
324
{
// 赴港时间预约
let
vc
=
YHCertificateAppointViewController
()
vc
.
orderId
=
orderId
UIViewController
.
current
?
.
navigationController
?
.
pushViewController
(
vc
)
}
else
if
type
==
325
{
// 赴港行程指引
YHHUD
.
show
(
.
progress
(
message
:
"加载中..."
))
let
appointViewModel
=
YHCerAppointViewModel
()
appointViewModel
.
getIsNeedGoToHK
(
orderId
:
orderId
)
{
// needGoHK 1需要赴港 0不需要 2没有选择
// reservationToHK 0 没有预约 1 已经预約
needGoHK
,
reservationToHK
in
YHHUD
.
hide
()
var
isNeedAppoint
=
true
if
needGoHK
==
1
,
reservationToHK
==
1
{
// 选择赴港且已预约
isNeedAppoint
=
false
}
else
if
needGoHK
==
0
{
// 赴港选择否
isNeedAppoint
=
false
}
if
isNeedAppoint
{
// 预约弹窗
let
alert
=
YHDisappointHKAlertView
.
alertView
()
alert
.
confirmBlock
=
{
let
vc
=
YHCertificateAppointViewController
()
vc
.
orderId
=
orderId
UIViewController
.
current
?
.
navigationController
?
.
pushViewController
(
vc
)
}
alert
.
show
()
}
else
{
// 已预约过直接进入赴港行程指引
if
let
token
=
YHLoginManager
.
shared
.
userModel
?
.
token
,
token
.
count
>
5
{
var
url
=
YHBaseUrlManager
.
shared
.
curH5URL
()
+
"superAppBridge.html#/tohkList"
url
=
url
+
"?paramO=
\(
orderId
)
"
+
"¶m="
+
YHLoginManager
.
shared
.
h5Token
url
=
url
+
"&app_platform=ios"
+
"&app_version="
+
UIDevice
.
appVersion
()
printLog
(
"UURL:
\(
url
)
"
)
let
vc
=
YHH5WebViewVC
()
vc
.
title
=
"赴港行程指引"
vc
.
url
=
url
vc
.
isFullScreenFlag
=
false
vc
.
navTitle
=
"赴港行程指引"
vc
.
isNeedRefreshDataFlag
=
true
UIViewController
.
current
?
.
navigationController
?
.
pushViewController
(
vc
)
}
}
}
}
else
if
type
==
326
{
// 旅行证件准备
let
vc
=
YHTravelDocsPreparationListViewController
()
vc
.
orderId
=
orderId
UIViewController
.
current
?
.
navigationController
?
.
pushViewController
(
vc
)
}
else
if
type
==
327
{
// 上传过关证件
let
vc
=
YHUploadCertificateVC
()
vc
.
orderId
=
orderId
UIViewController
.
current
?
.
navigationController
?
.
pushViewController
(
vc
)
}
else
if
type
==
411
||
type
==
412
||
type
==
414
{
// 11 原则批等待结果
// 12 原则批待补件
// 14 原则批未获批准
let
vc
=
YHPrincipleWaitResultViewController
()
vc
.
status
=
type
vc
.
orderId
=
orderId
UIViewController
.
current
?
.
navigationController
?
.
pushViewController
(
vc
)
}
else
if
type
==
413
{
// 原则批已获批~
let
vc
=
YHPrincipleApprovedResultVC
()
vc
.
orderId
=
orderId
UIViewController
.
current
?
.
navigationController
?
.
pushViewController
(
vc
)
}
else
if
type
==
415
{
// 正式批已获批~
let
vc
=
YHOfficialApprovalResultVC
()
UIViewController
.
current
?
.
navigationController
?
.
pushViewController
(
vc
)
}
else
if
type
==
421
{
// 新增受养人
let
vc
=
YHAddAdoptersViewController
()
vc
.
orderId
=
orderId
UIViewController
.
current
?
.
navigationController
?
.
pushViewController
(
vc
)
}
else
if
type
==
422
{
// 家庭信息确认
let
vc
=
YHFamilyInfoConfirmViewController
()
vc
.
orderId
=
orderId
UIViewController
.
current
?
.
navigationController
?
.
pushViewController
(
vc
)
}
else
if
type
==
423
{
// 电子签字缴费
let
vc
=
YHVisaPaymentVC
()
vc
.
orderID
=
orderId
UIViewController
.
current
?
.
navigationController
?
.
pushViewController
(
vc
)
}
else
if
type
==
424
{
// 赴港时间预约
let
vc
=
YHCertificateAppointViewController
()
vc
.
orderId
=
orderId
UIViewController
.
current
?
.
navigationController
?
.
pushViewController
(
vc
)
}
else
if
type
==
425
{
// 赴港行程指引
YHHUD
.
show
(
.
progress
(
message
:
"加载中..."
))
let
appointViewModel
=
YHCerAppointViewModel
()
appointViewModel
.
getIsNeedGoToHK
(
orderId
:
orderId
)
{
// needGoHK 1需要赴港 0不需要 2没有选择
// reservationToHK 0 没有预约 1 已经预約
needGoHK
,
reservationToHK
in
YHHUD
.
hide
()
var
isNeedAppoint
=
true
if
needGoHK
==
1
,
reservationToHK
==
1
{
// 选择赴港且已预约
isNeedAppoint
=
false
}
else
if
needGoHK
==
0
{
// 赴港选择否
isNeedAppoint
=
false
}
if
isNeedAppoint
{
// 预约弹窗
let
alert
=
YHDisappointHKAlertView
.
alertView
()
alert
.
confirmBlock
=
{
let
vc
=
YHCertificateAppointViewController
()
vc
.
orderId
=
orderId
UIViewController
.
current
?
.
navigationController
?
.
pushViewController
(
vc
)
}
alert
.
show
()
}
else
{
// 已预约过直接进入赴港行程指引
if
let
token
=
YHLoginManager
.
shared
.
userModel
?
.
token
,
token
.
count
>
5
{
var
url
=
YHBaseUrlManager
.
shared
.
curH5URL
()
+
"superAppBridge.html#/tohkList"
url
=
url
+
"?paramO=
\(
orderId
)
"
+
"¶m="
+
YHLoginManager
.
shared
.
h5Token
url
=
url
+
"&app_platform=ios"
+
"&app_version="
+
UIDevice
.
appVersion
()
printLog
(
"UURL:
\(
url
)
"
)
let
vc
=
YHH5WebViewVC
()
vc
.
title
=
"赴港行程指引"
vc
.
url
=
url
vc
.
isFullScreenFlag
=
false
vc
.
navTitle
=
"赴港行程指引"
vc
.
isNeedRefreshDataFlag
=
true
UIViewController
.
current
?
.
navigationController
?
.
pushViewController
(
vc
)
}
}
}
}
else
if
type
==
426
{
// 旅行证件准备
let
vc
=
YHTravelDocsPreparationListViewController
()
vc
.
orderId
=
orderId
UIViewController
.
current
?
.
navigationController
?
.
pushViewController
(
vc
)
}
else
if
type
==
427
{
// 上传过关证件
let
vc
=
YHUploadCertificateVC
()
vc
.
orderId
=
orderId
UIViewController
.
current
?
.
navigationController
?
.
pushViewController
(
vc
)
}
else
if
type
==
31
{
// 续签资料管理
let
vc
=
YHResinMaterialManageContainerVC
()
...
...
@@ -350,6 +637,8 @@ class YHServiceOrderListViewController: YHBaseViewController {
UIViewController
.
current
?
.
navigationController
?
.
pushViewController
(
vc
)
}
}
// swiftlint:enable function_body_length
// swiftlint:enable cyclomatic_complexity
}
extension
YHServiceOrderListViewController
{
...
...
@@ -561,7 +850,7 @@ extension YHServiceOrderListViewController: UITableViewDelegate, UITableViewData
let
arr
=
self
.
arrDataForSeviceCenterProgress
if
0
<=
indexPath
.
row
,
indexPath
.
row
<
arr
.
count
{
let
model
=
arr
[
indexPath
.
row
]
if
model
.
type
==
27
||
model
.
type
==
32
||
model
.
type
==
31
||
model
.
type
==
34
||
model
.
type
==
42
||
model
.
type
==
41
||
model
.
type
==
44
{
if
model
.
type
==
27
||
model
.
type
==
227
||
model
.
type
==
327
||
model
.
type
==
427
||
model
.
type
==
32
||
model
.
type
==
31
||
model
.
type
==
34
||
model
.
type
==
42
||
model
.
type
==
41
||
model
.
type
==
44
{
return
162
}
return
144
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/OrderList(服务订单)/M/YHContactItemModel.swift
View file @
161fe2d8
...
...
@@ -18,7 +18,7 @@ struct YHContactItemModel: SmartCodable {
var
type
:
String
=
""
var
mobile
:
String
=
""
var
status
:
Int
=
0
var
product_type
:
Int
=
0
// 1-优才 2-高才
var
product_type
:
Int
=
0
// 1-优才 2-高才
// 3-专才 // 4-留学
var
isOther
:
Bool
=
false
// 是否协作单
var
service_name
:
String
=
""
}
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/OrderList(服务订单)/V/YHServiceOrderProgressTableViewCell.swift
View file @
161fe2d8
...
...
@@ -154,6 +154,149 @@ extension YHServiceOrderProgressTableViewCell {
messageLabel
.
text
=
"点击保存入境小白条及香港身份证(后续身份续签、永居均涉及)"
}
if
model
.
type
==
222
{
titleLabel
.
text
=
"家庭信息确认"
messageLabel
.
text
=
"请确认现阶段信息是否存在变更~"
}
if
model
.
type
==
221
{
titleLabel
.
text
=
"新增受养人"
messageLabel
.
text
=
"如需,建议现阶段新增,激活后新增需香港住址证明"
progress
.
isHidden
=
true
progressImageView
.
isHidden
=
true
progressLabel
.
isHidden
=
true
messageLabel
.
snp
.
remakeConstraints
{
make
in
make
.
top
.
equalTo
(
49
)
make
.
left
.
equalTo
(
21
)
make
.
right
.
equalTo
(
-
21
)
}
}
if
model
.
type
==
224
{
titleLabel
.
text
=
"赴港办证预约"
messageLabel
.
text
=
"请填写意向办证时间,银河代预约~"
}
if
model
.
type
==
223
{
titleLabel
.
text
=
"电子签证缴费"
messageLabel
.
text
=
"请根据指引缴费领取电子签证~"
}
if
model
.
type
==
225
{
titleLabel
.
text
=
"赴港行程指引"
messageLabel
.
text
=
"请根据指引清单提前规划赴港行程"
progressImageView
.
isHidden
=
true
progressLabel
.
isHidden
=
true
messageLabel
.
snp
.
remakeConstraints
{
make
in
make
.
top
.
equalTo
(
49
)
make
.
left
.
equalTo
(
21
)
make
.
right
.
equalTo
(
-
21
)
}
}
if
model
.
type
==
226
{
titleLabel
.
text
=
"旅行证件准备"
messageLabel
.
text
=
"请更新所有赴港人员的旅行证件"
}
if
model
.
type
==
227
{
titleLabel
.
text
=
"上传过关证件"
messageLabel
.
text
=
"点击保存入境小白条及香港身份证(后续身份续签、永居均涉及)"
}
if
model
.
type
==
322
{
titleLabel
.
text
=
"家庭信息确认"
messageLabel
.
text
=
"请确认现阶段信息是否存在变更~"
}
if
model
.
type
==
321
{
titleLabel
.
text
=
"新增受养人"
messageLabel
.
text
=
"如需,建议现阶段新增,激活后新增需香港住址证明"
progress
.
isHidden
=
true
progressImageView
.
isHidden
=
true
progressLabel
.
isHidden
=
true
messageLabel
.
snp
.
remakeConstraints
{
make
in
make
.
top
.
equalTo
(
49
)
make
.
left
.
equalTo
(
21
)
make
.
right
.
equalTo
(
-
21
)
}
}
if
model
.
type
==
324
{
titleLabel
.
text
=
"赴港办证预约"
messageLabel
.
text
=
"请填写意向办证时间,银河代预约~"
}
if
model
.
type
==
323
{
titleLabel
.
text
=
"电子签证缴费"
messageLabel
.
text
=
"请根据指引缴费领取电子签证~"
}
if
model
.
type
==
325
{
titleLabel
.
text
=
"赴港行程指引"
messageLabel
.
text
=
"请根据指引清单提前规划赴港行程"
progressImageView
.
isHidden
=
true
progressLabel
.
isHidden
=
true
messageLabel
.
snp
.
remakeConstraints
{
make
in
make
.
top
.
equalTo
(
49
)
make
.
left
.
equalTo
(
21
)
make
.
right
.
equalTo
(
-
21
)
}
}
if
model
.
type
==
326
{
titleLabel
.
text
=
"旅行证件准备"
messageLabel
.
text
=
"请更新所有赴港人员的旅行证件"
}
if
model
.
type
==
327
{
titleLabel
.
text
=
"上传过关证件"
messageLabel
.
text
=
"点击保存入境小白条及香港身份证(后续身份续签、永居均涉及)"
}
if
model
.
type
==
422
{
titleLabel
.
text
=
"家庭信息确认"
messageLabel
.
text
=
"请确认现阶段信息是否存在变更~"
}
if
model
.
type
==
421
{
titleLabel
.
text
=
"新增受养人"
messageLabel
.
text
=
"如需,建议现阶段新增,激活后新增需香港住址证明"
progress
.
isHidden
=
true
progressImageView
.
isHidden
=
true
progressLabel
.
isHidden
=
true
messageLabel
.
snp
.
remakeConstraints
{
make
in
make
.
top
.
equalTo
(
49
)
make
.
left
.
equalTo
(
21
)
make
.
right
.
equalTo
(
-
21
)
}
}
if
model
.
type
==
424
{
titleLabel
.
text
=
"赴港办证预约"
messageLabel
.
text
=
"请填写意向办证时间,银河代预约~"
}
if
model
.
type
==
423
{
titleLabel
.
text
=
"电子签证缴费"
messageLabel
.
text
=
"请根据指引缴费领取电子签证~"
}
if
model
.
type
==
425
{
titleLabel
.
text
=
"赴港行程指引"
messageLabel
.
text
=
"请根据指引清单提前规划赴港行程"
progressImageView
.
isHidden
=
true
progressLabel
.
isHidden
=
true
messageLabel
.
snp
.
remakeConstraints
{
make
in
make
.
top
.
equalTo
(
49
)
make
.
left
.
equalTo
(
21
)
make
.
right
.
equalTo
(
-
21
)
}
}
if
model
.
type
==
426
{
titleLabel
.
text
=
"旅行证件准备"
messageLabel
.
text
=
"请更新所有赴港人员的旅行证件"
}
if
model
.
type
==
427
{
titleLabel
.
text
=
"上传过关证件"
messageLabel
.
text
=
"点击保存入境小白条及香港身份证(后续身份续签、永居均涉及)"
}
if
model
.
type
==
31
{
titleLabel
.
text
=
"续签资料管理"
messageLabel
.
text
=
"请根据资料清单上传您的续签证明文件~"
...
...
@@ -229,112 +372,509 @@ extension YHServiceOrderProgressTableViewCell {
messageLabel
.
text
=
"请根据指引缴费并领取新电子签证~"
}
if
model
.
type
==
48
{
titleLabel
.
text
=
"上传旅行证件"
messageLabel
.
text
=
"请上传&核对续签旅行证件~"
if
model
.
type
==
48
{
titleLabel
.
text
=
"上传旅行证件"
messageLabel
.
text
=
"请上传&核对续签旅行证件~"
}
if
model
.
type
==
201
{
titleLabel
.
text
=
"我的信息"
}
if
model
.
type
==
202
{
titleLabel
.
text
=
"我的方案"
messageLabel
.
text
=
"您的专属方案还没生成哦~"
}
if
model
.
type
==
203
{
titleLabel
.
text
=
"我的证件"
messageLabel
.
text
=
"您的证件还没生成哦~"
}
if
model
.
type
==
204
{
titleLabel
.
text
=
"我的签字"
messageLabel
.
text
=
"您的文件还没签字哦~"
}
}
if
model
.
status
==
2
{
titleLabel
.
textColor
=
UIColor
.
mainTextColor
buttonLabel
.
text
=
"进行中"
buttonLabel
.
backgroundColor
=
UIColor
.
brandMainColor
progressImageView
.
image
=
UIImage
(
named
:
"service_progress_start"
)
progress
.
changeColor
(
UIColor
.
brandMainColor
)
// 1 证件 2 信息完善 3 我的评分 4 我的方案 5 我的签字 6我的文书
if
model
.
type
==
1
{
titleLabel
.
text
=
"我的证件"
// messageLabel.text = "恭喜您,证件已全部上传完~"
buttonLabel
.
text
=
"去上传"
let
a
:
ASAttributedString
=
.
init
(
"您还有"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
13
)),
.
foreground
(
UIColor
.
yhGreyColor
))
let
aa
:
ASAttributedString
=
.
init
(
NSAttributedString
(
string
:
"
\(
model
.
num
)
份"
),
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
13
)),
.
foreground
(
UIColor
.
brandMainColor
))
let
aaa
:
ASAttributedString
=
.
init
(
"证件待上传哦~"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
13
)),
.
foreground
(
UIColor
.
yhGreyColor
))
messageLabel
.
attributed
.
text
=
a
+
aa
+
aaa
}
if
model
.
type
==
2
{
titleLabel
.
text
=
"我的信息"
buttonLabel
.
text
=
"去填写"
if
model
.
reject_status
==
0
{
let
a
:
ASAttributedString
=
.
init
(
"您还有"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
13
)),
.
foreground
(
UIColor
.
yhGreyColor
))
let
aa
:
ASAttributedString
=
.
init
(
NSAttributedString
(
string
:
"
\(
model
.
num
)
份"
),
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
13
)),
.
foreground
(
UIColor
.
brandMainColor
))
let
aaa
:
ASAttributedString
=
.
init
(
"信息待填写哦~"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
13
)),
.
foreground
(
UIColor
.
yhGreyColor
))
messageLabel
.
attributed
.
text
=
a
+
aa
+
aaa
}
else
{
let
a
:
ASAttributedString
=
.
init
(
"您的信息被"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
13
)),
.
foreground
(
UIColor
.
yhGreyColor
))
let
aa
:
ASAttributedString
=
.
init
(
NSAttributedString
(
string
:
"驳回"
),
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
13
)),
.
foreground
(
UIColor
.
failColor
))
let
aaa
:
ASAttributedString
=
.
init
(
"了哦~"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
13
)),
.
foreground
(
UIColor
.
yhGreyColor
))
messageLabel
.
attributed
.
text
=
a
+
aa
+
aaa
buttonLabel
.
text
=
"去修改"
}
}
if
model
.
type
==
3
{
titleLabel
.
text
=
"我的评分"
messageLabel
.
text
=
"后端出问题会显示"
}
if
model
.
type
==
4
{
titleLabel
.
text
=
"我的方案"
messageLabel
.
text
=
"后端出问题会显示"
}
if
model
.
type
==
5
{
titleLabel
.
text
=
"我的签字"
buttonLabel
.
text
=
"去签字"
let
a
:
ASAttributedString
=
.
init
(
"您还有"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
13
)),
.
foreground
(
UIColor
.
yhGreyColor
))
let
aa
:
ASAttributedString
=
.
init
(
NSAttributedString
(
string
:
"
\(
model
.
num
)
份"
),
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
13
)),
.
foreground
(
UIColor
.
brandMainColor
))
let
aaa
:
ASAttributedString
=
.
init
(
"文件待签字哦~"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
13
)),
.
foreground
(
UIColor
.
yhGreyColor
))
messageLabel
.
attributed
.
text
=
a
+
aa
+
aaa
}
if
model
.
type
==
6
{
titleLabel
.
text
=
"我的文书"
buttonLabel
.
text
=
"去确认"
if
model
.
percentage
==
66
{
let
a
:
ASAttributedString
=
.
init
(
"您的文书正在"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
13
)),
.
foreground
(
UIColor
.
yhGreyColor
))
let
aa
:
ASAttributedString
=
.
init
(
NSAttributedString
(
string
:
"审核中"
),
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
13
)),
.
foreground
(
UIColor
.
brandMainColor
))
let
aaa
:
ASAttributedString
=
.
init
(
"哦~"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
13
)),
.
foreground
(
UIColor
.
yhGreyColor
))
messageLabel
.
attributed
.
text
=
a
+
aa
+
aaa
buttonLabel
.
text
=
"请稍候"
buttonLabel
.
backgroundColor
=
UIColor
.
mainTextColor50
}
else
{
let
a
:
ASAttributedString
=
.
init
(
"您还有"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
13
)),
.
foreground
(
UIColor
.
yhGreyColor
))
let
aa
:
ASAttributedString
=
.
init
(
NSAttributedString
(
string
:
"
\(
model
.
num
)
份"
),
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
13
)),
.
foreground
(
UIColor
.
brandMainColor
))
let
aaa
:
ASAttributedString
=
.
init
(
"文书待返稿哦~"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
13
)),
.
foreground
(
UIColor
.
yhGreyColor
))
messageLabel
.
attributed
.
text
=
a
+
aa
+
aaa
}
}
if
model
.
type
==
7
{
titleLabel
.
text
=
"递交确认"
let
a
:
ASAttributedString
=
.
init
(
"您还有"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
13
)),
.
foreground
(
UIColor
.
yhGreyColor
))
let
aa
:
ASAttributedString
=
.
init
(
NSAttributedString
(
string
:
"
\(
model
.
num
)
项"
),
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
13
)),
.
foreground
(
UIColor
.
brandMainColor
))
let
aaa
:
ASAttributedString
=
.
init
(
"信息确认签署待完成哦~"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
13
)),
.
foreground
(
UIColor
.
yhGreyColor
))
messageLabel
.
attributed
.
text
=
a
+
aa
+
aaa
buttonLabel
.
text
=
"去确认"
}
let
b
:
ASAttributedString
=
.
init
(
NSAttributedString
(
string
:
"
\(
model
.
percentage
)
"
),
.
font
(
UIFont
(
name
:
"DINAlternate-Bold"
,
size
:
24
)
!
),
.
foreground
(
UIColor
.
mainTextColor
))
let
bb
:
ASAttributedString
=
.
init
(
"%"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
10
)),
.
foreground
(
UIColor
.
mainTextColor
.
withAlphaComponent
(
0.3
)))
progressLabel
.
attributed
.
text
=
b
+
bb
if
model
.
type
==
11
{
titleLabel
.
text
=
"港府获批结果"
messageLabel
.
text
=
"正在等待原则批结果~"
buttonLabel
.
text
=
"去查看"
buttonLabel
.
backgroundColor
=
UIColor
.
brandMainColor
messageLabel
.
textColor
=
UIColor
.
mainTextColor50
progress
.
changeColor
(
UIColor
.
brandMainColor
)
progressImageView
.
image
=
UIImage
(
named
:
"service_progress_normal"
)
let
b
:
ASAttributedString
=
.
init
(
NSAttributedString
(
string
:
"
\(
model
.
percentage
)
"
),
.
font
(
UIFont
(
name
:
"DINAlternate-Bold"
,
size
:
24
)
!
),
.
foreground
(
UIColor
.
mainTextColor
.
withAlphaComponent
(
0.3
)))
let
bb
:
ASAttributedString
=
.
init
(
"%"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
10
)),
.
foreground
(
UIColor
.
mainTextColor
.
withAlphaComponent
(
0.3
)))
progressLabel
.
attributed
.
text
=
b
+
bb
}
if
model
.
type
==
12
{
titleLabel
.
text
=
"港府获批结果"
messageLabel
.
text
=
"正在进行原则批补件~"
buttonLabel
.
text
=
"去查看"
buttonLabel
.
backgroundColor
=
UIColor
.
brandMainColor
messageLabel
.
textColor
=
UIColor
.
mainTextColor50
progress
.
changeColor
(
UIColor
.
brandMainColor
)
progressImageView
.
image
=
UIImage
(
named
:
"service_progress_normal"
)
let
b
:
ASAttributedString
=
.
init
(
NSAttributedString
(
string
:
"
\(
model
.
percentage
)
"
),
.
font
(
UIFont
(
name
:
"DINAlternate-Bold"
,
size
:
24
)
!
),
.
foreground
(
UIColor
.
mainTextColor
.
withAlphaComponent
(
0.3
)))
let
bb
:
ASAttributedString
=
.
init
(
"%"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
10
)),
.
foreground
(
UIColor
.
mainTextColor
.
withAlphaComponent
(
0.3
)))
progressLabel
.
attributed
.
text
=
b
+
bb
}
if
model
.
type
==
13
{
titleLabel
.
text
=
"港府获批结果"
messageLabel
.
text
=
"恭喜您,原则批已获批~"
buttonLabel
.
text
=
"去查看"
buttonLabel
.
backgroundColor
=
UIColor
.
brandMainColor
messageLabel
.
textColor
=
UIColor
.
mainTextColor50
progress
.
changeColor
(
UIColor
.
brandMainColor
)
progressImageView
.
image
=
UIImage
(
named
:
"service_progress_start"
)
let
b
:
ASAttributedString
=
.
init
(
NSAttributedString
(
string
:
"
\(
model
.
percentage
)
"
),
.
font
(
UIFont
(
name
:
"DINAlternate-Bold"
,
size
:
24
)
!
),
.
foreground
(
UIColor
.
mainTextColor
))
let
bb
:
ASAttributedString
=
.
init
(
"%"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
10
)),
.
foreground
(
UIColor
.
mainTextColor
.
withAlphaComponent
(
0.3
)))
progressLabel
.
attributed
.
text
=
b
+
bb
}
if
model
.
type
==
14
{
titleLabel
.
text
=
"港府获批结果"
messageLabel
.
text
=
"很遗憾,您未获批准~"
buttonLabel
.
text
=
"去查看"
buttonLabel
.
backgroundColor
=
UIColor
(
hex
:
0x55cba0
)
messageLabel
.
textColor
=
UIColor
.
mainTextColor50
progress
.
changeColor
(
UIColor
(
hex
:
0x55cba0
))
progressImageView
.
image
=
UIImage
(
named
:
"service_progress_end"
)
let
b
:
ASAttributedString
=
.
init
(
NSAttributedString
(
string
:
"
\(
model
.
percentage
)
"
),
.
font
(
UIFont
(
name
:
"DINAlternate-Bold"
,
size
:
24
)
!
),
.
foreground
(
UIColor
.
mainTextColor
))
let
bb
:
ASAttributedString
=
.
init
(
"%"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
10
)),
.
foreground
(
UIColor
.
mainTextColor
.
withAlphaComponent
(
0.3
)))
progressLabel
.
attributed
.
text
=
b
+
bb
}
if
model
.
type
==
15
{
titleLabel
.
text
=
"港府获批结果"
messageLabel
.
text
=
"恭喜您,正式批已获批~"
buttonLabel
.
text
=
"去查看"
buttonLabel
.
backgroundColor
=
UIColor
(
hex
:
0x55cba0
)
messageLabel
.
textColor
=
UIColor
.
mainTextColor50
progress
.
changeColor
(
UIColor
(
hex
:
0x55cba0
))
progressImageView
.
image
=
UIImage
(
named
:
"service_progress_end"
)
let
b
:
ASAttributedString
=
.
init
(
NSAttributedString
(
string
:
"
\(
model
.
percentage
)
"
),
.
font
(
UIFont
(
name
:
"DINAlternate-Bold"
,
size
:
24
)
!
),
.
foreground
(
UIColor
.
mainTextColor
))
let
bb
:
ASAttributedString
=
.
init
(
"%"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
10
)),
.
foreground
(
UIColor
.
mainTextColor
.
withAlphaComponent
(
0.3
)))
progressLabel
.
attributed
.
text
=
b
+
bb
}
if
model
.
type
==
22
{
titleLabel
.
text
=
"家庭信息确认"
messageLabel
.
text
=
"请确认现阶段信息是否存在变更~"
buttonLabel
.
text
=
"待确认"
messageLabel
.
textColor
=
UIColor
.
mainTextColor50
}
if
model
.
type
==
21
{
titleLabel
.
text
=
"新增受养人"
messageLabel
.
text
=
"如需,建议现阶段新增,激活后新增需香港住址证明"
buttonLabel
.
text
=
"待完善"
progress
.
isHidden
=
true
progressImageView
.
isHidden
=
true
progressLabel
.
isHidden
=
true
messageLabel
.
textColor
=
UIColor
.
mainTextColor50
messageLabel
.
snp
.
remakeConstraints
{
make
in
make
.
top
.
equalTo
(
49
)
make
.
left
.
equalTo
(
21
)
make
.
right
.
equalTo
(
-
21
)
}
}
if
model
.
type
==
24
{
titleLabel
.
text
=
"赴港办证预约"
if
model
.
percentage
==
50
{
messageLabel
.
text
=
"抢号中~"
}
else
{
messageLabel
.
text
=
"请填写意向办证时间,银河代预约~"
}
buttonLabel
.
text
=
"去查看"
messageLabel
.
textColor
=
UIColor
.
mainTextColor50
}
if
model
.
type
==
23
{
titleLabel
.
text
=
"电子签证缴费"
messageLabel
.
text
=
"请根据指引缴费领取电子签证~"
buttonLabel
.
text
=
"待缴费"
messageLabel
.
textColor
=
UIColor
.
mainTextColor50
}
if
model
.
type
==
25
{
titleLabel
.
text
=
"赴港行程指引"
messageLabel
.
text
=
"请根据指引清单提前规划赴港行程"
buttonLabel
.
text
=
"去查看"
messageLabel
.
textColor
=
UIColor
.
mainTextColor50
progressImageView
.
isHidden
=
true
progressLabel
.
isHidden
=
true
messageLabel
.
snp
.
remakeConstraints
{
make
in
make
.
top
.
equalTo
(
49
)
make
.
left
.
equalTo
(
21
)
make
.
right
.
equalTo
(
-
21
)
}
}
if
model
.
type
==
26
{
titleLabel
.
text
=
"旅行证件准备"
messageLabel
.
text
=
"请更新所有赴港人员的旅行证件"
buttonLabel
.
text
=
"去上传"
messageLabel
.
textColor
=
UIColor
.
mainTextColor50
}
if
model
.
type
==
27
{
titleLabel
.
text
=
"上传过关证件"
messageLabel
.
text
=
"点击保存入境小白条及香港身份证(后续身份续签、永居均涉及)"
buttonLabel
.
text
=
"去上传"
messageLabel
.
textColor
=
UIColor
.
mainTextColor50
}
if
model
.
type
==
211
{
titleLabel
.
text
=
"港府获批结果"
messageLabel
.
text
=
"正在等待原则批结果~"
buttonLabel
.
text
=
"去查看"
buttonLabel
.
backgroundColor
=
UIColor
.
brandMainColor
messageLabel
.
textColor
=
UIColor
.
mainTextColor50
progress
.
changeColor
(
UIColor
.
brandMainColor
)
progressImageView
.
image
=
UIImage
(
named
:
"service_progress_normal"
)
let
b
:
ASAttributedString
=
.
init
(
NSAttributedString
(
string
:
"
\(
model
.
percentage
)
"
),
.
font
(
UIFont
(
name
:
"DINAlternate-Bold"
,
size
:
24
)
!
),
.
foreground
(
UIColor
.
mainTextColor
.
withAlphaComponent
(
0.3
)))
let
bb
:
ASAttributedString
=
.
init
(
"%"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
10
)),
.
foreground
(
UIColor
.
mainTextColor
.
withAlphaComponent
(
0.3
)))
progressLabel
.
attributed
.
text
=
b
+
bb
}
if
model
.
type
==
212
{
titleLabel
.
text
=
"港府获批结果"
messageLabel
.
text
=
"正在进行原则批补件~"
buttonLabel
.
text
=
"去查看"
buttonLabel
.
backgroundColor
=
UIColor
.
brandMainColor
messageLabel
.
textColor
=
UIColor
.
mainTextColor50
progress
.
changeColor
(
UIColor
.
brandMainColor
)
progressImageView
.
image
=
UIImage
(
named
:
"service_progress_normal"
)
let
b
:
ASAttributedString
=
.
init
(
NSAttributedString
(
string
:
"
\(
model
.
percentage
)
"
),
.
font
(
UIFont
(
name
:
"DINAlternate-Bold"
,
size
:
24
)
!
),
.
foreground
(
UIColor
.
mainTextColor
.
withAlphaComponent
(
0.3
)))
let
bb
:
ASAttributedString
=
.
init
(
"%"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
10
)),
.
foreground
(
UIColor
.
mainTextColor
.
withAlphaComponent
(
0.3
)))
progressLabel
.
attributed
.
text
=
b
+
bb
}
if
model
.
type
==
213
{
titleLabel
.
text
=
"港府获批结果"
messageLabel
.
text
=
"恭喜您,原则批已获批~"
buttonLabel
.
text
=
"去查看"
buttonLabel
.
backgroundColor
=
UIColor
.
brandMainColor
messageLabel
.
textColor
=
UIColor
.
mainTextColor50
progress
.
changeColor
(
UIColor
.
brandMainColor
)
progressImageView
.
image
=
UIImage
(
named
:
"service_progress_start"
)
let
b
:
ASAttributedString
=
.
init
(
NSAttributedString
(
string
:
"
\(
model
.
percentage
)
"
),
.
font
(
UIFont
(
name
:
"DINAlternate-Bold"
,
size
:
24
)
!
),
.
foreground
(
UIColor
.
mainTextColor
))
let
bb
:
ASAttributedString
=
.
init
(
"%"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
10
)),
.
foreground
(
UIColor
.
mainTextColor
.
withAlphaComponent
(
0.3
)))
progressLabel
.
attributed
.
text
=
b
+
bb
}
if
model
.
type
==
214
{
titleLabel
.
text
=
"港府获批结果"
messageLabel
.
text
=
"很遗憾,您未获批准~"
buttonLabel
.
text
=
"去查看"
buttonLabel
.
backgroundColor
=
UIColor
(
hex
:
0x55cba0
)
messageLabel
.
textColor
=
UIColor
.
mainTextColor50
progress
.
changeColor
(
UIColor
(
hex
:
0x55cba0
))
progressImageView
.
image
=
UIImage
(
named
:
"service_progress_end"
)
let
b
:
ASAttributedString
=
.
init
(
NSAttributedString
(
string
:
"
\(
model
.
percentage
)
"
),
.
font
(
UIFont
(
name
:
"DINAlternate-Bold"
,
size
:
24
)
!
),
.
foreground
(
UIColor
.
mainTextColor
))
let
bb
:
ASAttributedString
=
.
init
(
"%"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
10
)),
.
foreground
(
UIColor
.
mainTextColor
.
withAlphaComponent
(
0.3
)))
progressLabel
.
attributed
.
text
=
b
+
bb
}
if
model
.
type
==
215
{
titleLabel
.
text
=
"港府获批结果"
messageLabel
.
text
=
"恭喜您,正式批已获批~"
buttonLabel
.
text
=
"去查看"
buttonLabel
.
backgroundColor
=
UIColor
(
hex
:
0x55cba0
)
messageLabel
.
textColor
=
UIColor
.
mainTextColor50
progress
.
changeColor
(
UIColor
(
hex
:
0x55cba0
))
progressImageView
.
image
=
UIImage
(
named
:
"service_progress_end"
)
let
b
:
ASAttributedString
=
.
init
(
NSAttributedString
(
string
:
"
\(
model
.
percentage
)
"
),
.
font
(
UIFont
(
name
:
"DINAlternate-Bold"
,
size
:
24
)
!
),
.
foreground
(
UIColor
.
mainTextColor
))
let
bb
:
ASAttributedString
=
.
init
(
"%"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
10
)),
.
foreground
(
UIColor
.
mainTextColor
.
withAlphaComponent
(
0.3
)))
progressLabel
.
attributed
.
text
=
b
+
bb
}
if
model
.
type
==
222
{
titleLabel
.
text
=
"家庭信息确认"
messageLabel
.
text
=
"请确认现阶段信息是否存在变更~"
buttonLabel
.
text
=
"待确认"
messageLabel
.
textColor
=
UIColor
.
mainTextColor50
}
if
model
.
type
==
221
{
titleLabel
.
text
=
"新增受养人"
messageLabel
.
text
=
"如需,建议现阶段新增,激活后新增需香港住址证明"
buttonLabel
.
text
=
"待完善"
progress
.
isHidden
=
true
progressImageView
.
isHidden
=
true
progressLabel
.
isHidden
=
true
messageLabel
.
textColor
=
UIColor
.
mainTextColor50
messageLabel
.
snp
.
remakeConstraints
{
make
in
make
.
top
.
equalTo
(
49
)
make
.
left
.
equalTo
(
21
)
make
.
right
.
equalTo
(
-
21
)
}
}
if
model
.
type
==
224
{
titleLabel
.
text
=
"赴港办证预约"
if
model
.
percentage
==
50
{
messageLabel
.
text
=
"抢号中~"
}
else
{
messageLabel
.
text
=
"请填写意向办证时间,银河代预约~"
}
buttonLabel
.
text
=
"去查看"
messageLabel
.
textColor
=
UIColor
.
mainTextColor50
}
if
model
.
type
==
223
{
titleLabel
.
text
=
"电子签证缴费"
messageLabel
.
text
=
"请根据指引缴费领取电子签证~"
buttonLabel
.
text
=
"待缴费"
messageLabel
.
textColor
=
UIColor
.
mainTextColor50
}
if
model
.
type
==
225
{
titleLabel
.
text
=
"赴港行程指引"
messageLabel
.
text
=
"请根据指引清单提前规划赴港行程"
buttonLabel
.
text
=
"去查看"
messageLabel
.
textColor
=
UIColor
.
mainTextColor50
progressImageView
.
isHidden
=
true
progressLabel
.
isHidden
=
true
messageLabel
.
snp
.
remakeConstraints
{
make
in
make
.
top
.
equalTo
(
49
)
make
.
left
.
equalTo
(
21
)
make
.
right
.
equalTo
(
-
21
)
}
}
if
model
.
type
==
226
{
titleLabel
.
text
=
"旅行证件准备"
messageLabel
.
text
=
"请更新所有赴港人员的旅行证件"
buttonLabel
.
text
=
"去上传"
messageLabel
.
textColor
=
UIColor
.
mainTextColor50
}
if
model
.
type
==
227
{
titleLabel
.
text
=
"上传过关证件"
messageLabel
.
text
=
"点击保存入境小白条及香港身份证(后续身份续签、永居均涉及)"
buttonLabel
.
text
=
"去上传"
messageLabel
.
textColor
=
UIColor
.
mainTextColor50
}
if
model
.
type
==
311
{
titleLabel
.
text
=
"港府获批结果"
messageLabel
.
text
=
"正在等待原则批结果~"
buttonLabel
.
text
=
"去查看"
buttonLabel
.
backgroundColor
=
UIColor
.
brandMainColor
messageLabel
.
textColor
=
UIColor
.
mainTextColor50
progress
.
changeColor
(
UIColor
.
brandMainColor
)
progressImageView
.
image
=
UIImage
(
named
:
"service_progress_normal"
)
let
b
:
ASAttributedString
=
.
init
(
NSAttributedString
(
string
:
"
\(
model
.
percentage
)
"
),
.
font
(
UIFont
(
name
:
"DINAlternate-Bold"
,
size
:
24
)
!
),
.
foreground
(
UIColor
.
mainTextColor
.
withAlphaComponent
(
0.3
)))
let
bb
:
ASAttributedString
=
.
init
(
"%"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
10
)),
.
foreground
(
UIColor
.
mainTextColor
.
withAlphaComponent
(
0.3
)))
progressLabel
.
attributed
.
text
=
b
+
bb
}
if
model
.
type
==
312
{
titleLabel
.
text
=
"港府获批结果"
messageLabel
.
text
=
"正在进行原则批补件~"
buttonLabel
.
text
=
"去查看"
buttonLabel
.
backgroundColor
=
UIColor
.
brandMainColor
messageLabel
.
textColor
=
UIColor
.
mainTextColor50
progress
.
changeColor
(
UIColor
.
brandMainColor
)
progressImageView
.
image
=
UIImage
(
named
:
"service_progress_normal"
)
let
b
:
ASAttributedString
=
.
init
(
NSAttributedString
(
string
:
"
\(
model
.
percentage
)
"
),
.
font
(
UIFont
(
name
:
"DINAlternate-Bold"
,
size
:
24
)
!
),
.
foreground
(
UIColor
.
mainTextColor
.
withAlphaComponent
(
0.3
)))
let
bb
:
ASAttributedString
=
.
init
(
"%"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
10
)),
.
foreground
(
UIColor
.
mainTextColor
.
withAlphaComponent
(
0.3
)))
progressLabel
.
attributed
.
text
=
b
+
bb
}
if
model
.
type
==
313
{
titleLabel
.
text
=
"港府获批结果"
messageLabel
.
text
=
"恭喜您,原则批已获批~"
buttonLabel
.
text
=
"去查看"
buttonLabel
.
backgroundColor
=
UIColor
.
brandMainColor
messageLabel
.
textColor
=
UIColor
.
mainTextColor50
progress
.
changeColor
(
UIColor
.
brandMainColor
)
progressImageView
.
image
=
UIImage
(
named
:
"service_progress_start"
)
let
b
:
ASAttributedString
=
.
init
(
NSAttributedString
(
string
:
"
\(
model
.
percentage
)
"
),
.
font
(
UIFont
(
name
:
"DINAlternate-Bold"
,
size
:
24
)
!
),
.
foreground
(
UIColor
.
mainTextColor
))
let
bb
:
ASAttributedString
=
.
init
(
"%"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
10
)),
.
foreground
(
UIColor
.
mainTextColor
.
withAlphaComponent
(
0.3
)))
progressLabel
.
attributed
.
text
=
b
+
bb
}
if
model
.
type
==
314
{
titleLabel
.
text
=
"港府获批结果"
messageLabel
.
text
=
"很遗憾,您未获批准~"
buttonLabel
.
text
=
"去查看"
buttonLabel
.
backgroundColor
=
UIColor
(
hex
:
0x55cba0
)
messageLabel
.
textColor
=
UIColor
.
mainTextColor50
progress
.
changeColor
(
UIColor
(
hex
:
0x55cba0
))
progressImageView
.
image
=
UIImage
(
named
:
"service_progress_end"
)
let
b
:
ASAttributedString
=
.
init
(
NSAttributedString
(
string
:
"
\(
model
.
percentage
)
"
),
.
font
(
UIFont
(
name
:
"DINAlternate-Bold"
,
size
:
24
)
!
),
.
foreground
(
UIColor
.
mainTextColor
))
let
bb
:
ASAttributedString
=
.
init
(
"%"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
10
)),
.
foreground
(
UIColor
.
mainTextColor
.
withAlphaComponent
(
0.3
)))
progressLabel
.
attributed
.
text
=
b
+
bb
}
if
model
.
type
==
201
{
titleLabel
.
text
=
"我的信息"
}
if
model
.
type
==
202
{
titleLabel
.
text
=
"我的方案"
messageLabel
.
text
=
"您的专属方案还没生成哦~"
if
model
.
type
==
315
{
titleLabel
.
text
=
"港府获批结果"
messageLabel
.
text
=
"恭喜您,正式批已获批~"
buttonLabel
.
text
=
"去查看"
buttonLabel
.
backgroundColor
=
UIColor
(
hex
:
0x55cba0
)
messageLabel
.
textColor
=
UIColor
.
mainTextColor50
progress
.
changeColor
(
UIColor
(
hex
:
0x55cba0
))
progressImageView
.
image
=
UIImage
(
named
:
"service_progress_end"
)
let
b
:
ASAttributedString
=
.
init
(
NSAttributedString
(
string
:
"
\(
model
.
percentage
)
"
),
.
font
(
UIFont
(
name
:
"DINAlternate-Bold"
,
size
:
24
)
!
),
.
foreground
(
UIColor
.
mainTextColor
))
let
bb
:
ASAttributedString
=
.
init
(
"%"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
10
)),
.
foreground
(
UIColor
.
mainTextColor
.
withAlphaComponent
(
0.3
)))
progressLabel
.
attributed
.
text
=
b
+
bb
}
if
model
.
type
==
203
{
titleLabel
.
text
=
"我的证件"
messageLabel
.
text
=
"您的证件还没生成哦~"
if
model
.
type
==
322
{
titleLabel
.
text
=
"家庭信息确认"
messageLabel
.
text
=
"请确认现阶段信息是否存在变更~"
buttonLabel
.
text
=
"待确认"
messageLabel
.
textColor
=
UIColor
.
mainTextColor50
}
if
model
.
type
==
204
{
titleLabel
.
text
=
"我的签字"
messageLabel
.
text
=
"您的文件还没签字哦~"
if
model
.
type
==
321
{
titleLabel
.
text
=
"新增受养人"
messageLabel
.
text
=
"如需,建议现阶段新增,激活后新增需香港住址证明"
buttonLabel
.
text
=
"待完善"
progress
.
isHidden
=
true
progressImageView
.
isHidden
=
true
progressLabel
.
isHidden
=
true
messageLabel
.
textColor
=
UIColor
.
mainTextColor50
messageLabel
.
snp
.
remakeConstraints
{
make
in
make
.
top
.
equalTo
(
49
)
make
.
left
.
equalTo
(
21
)
make
.
right
.
equalTo
(
-
21
)
}
}
}
if
model
.
status
==
2
{
titleLabel
.
textColor
=
UIColor
.
mainTextColor
buttonLabel
.
text
=
"进行中"
buttonLabel
.
backgroundColor
=
UIColor
.
brandMainColor
progressImageView
.
image
=
UIImage
(
named
:
"service_progress_start"
)
progress
.
changeColor
(
UIColor
.
brandMainColor
)
// 1 证件 2 信息完善 3 我的评分 4 我的方案 5 我的签字 6我的文书
if
model
.
type
==
1
{
titleLabel
.
text
=
"我的证件"
// messageLabel.text = "恭喜您,证件已全部上传完~"
buttonLabel
.
text
=
"去上传"
let
a
:
ASAttributedString
=
.
init
(
"您还有"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
13
)),
.
foreground
(
UIColor
.
yhGreyColor
))
let
aa
:
ASAttributedString
=
.
init
(
NSAttributedString
(
string
:
"
\(
model
.
num
)
份"
),
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
13
)),
.
foreground
(
UIColor
.
brandMainColor
))
let
aaa
:
ASAttributedString
=
.
init
(
"证件待上传哦~"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
13
)),
.
foreground
(
UIColor
.
yhGreyColor
))
messageLabel
.
attributed
.
text
=
a
+
aa
+
aaa
}
if
model
.
type
==
2
{
titleLabel
.
text
=
"我的信息"
buttonLabel
.
text
=
"去填写"
if
model
.
reject_status
==
0
{
let
a
:
ASAttributedString
=
.
init
(
"您还有"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
13
)),
.
foreground
(
UIColor
.
yhGreyColor
))
let
aa
:
ASAttributedString
=
.
init
(
NSAttributedString
(
string
:
"
\(
model
.
num
)
份"
),
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
13
)),
.
foreground
(
UIColor
.
brandMainColor
))
let
aaa
:
ASAttributedString
=
.
init
(
"信息待填写哦~"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
13
)),
.
foreground
(
UIColor
.
yhGreyColor
))
messageLabel
.
attributed
.
text
=
a
+
aa
+
aaa
if
model
.
type
==
324
{
titleLabel
.
text
=
"赴港办证预约"
if
model
.
percentage
==
50
{
messageLabel
.
text
=
"抢号中~"
}
else
{
let
a
:
ASAttributedString
=
.
init
(
"您的信息被"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
13
)),
.
foreground
(
UIColor
.
yhGreyColor
))
let
aa
:
ASAttributedString
=
.
init
(
NSAttributedString
(
string
:
"驳回"
),
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
13
)),
.
foreground
(
UIColor
.
failColor
))
let
aaa
:
ASAttributedString
=
.
init
(
"了哦~"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
13
)),
.
foreground
(
UIColor
.
yhGreyColor
))
messageLabel
.
attributed
.
text
=
a
+
aa
+
aaa
buttonLabel
.
text
=
"去修改"
messageLabel
.
text
=
"请填写意向办证时间,银河代预约~"
}
buttonLabel
.
text
=
"去查看"
messageLabel
.
textColor
=
UIColor
.
mainTextColor50
}
if
model
.
type
==
3
{
titleLabel
.
text
=
"我的评分"
messageLabel
.
text
=
"后端出问题会显示"
}
if
model
.
type
==
4
{
titleLabel
.
text
=
"我的方案"
messageLabel
.
text
=
"后端出问题会显示"
}
if
model
.
type
==
5
{
titleLabel
.
text
=
"我的签字"
buttonLabel
.
text
=
"去签字"
let
a
:
ASAttributedString
=
.
init
(
"您还有"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
13
)),
.
foreground
(
UIColor
.
yhGreyColor
))
let
aa
:
ASAttributedString
=
.
init
(
NSAttributedString
(
string
:
"
\(
model
.
num
)
份"
),
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
13
)),
.
foreground
(
UIColor
.
brandMainColor
))
let
aaa
:
ASAttributedString
=
.
init
(
"文件待签字哦~"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
13
)),
.
foreground
(
UIColor
.
yhGreyColor
))
messageLabel
.
attributed
.
text
=
a
+
aa
+
aaa
if
model
.
type
==
323
{
titleLabel
.
text
=
"电子签证缴费"
messageLabel
.
text
=
"请根据指引缴费领取电子签证~"
buttonLabel
.
text
=
"待缴费"
messageLabel
.
textColor
=
UIColor
.
mainTextColor50
}
if
model
.
type
==
6
{
titleLabel
.
text
=
"我的文书"
buttonLabel
.
text
=
"去确认"
if
model
.
percentage
==
66
{
let
a
:
ASAttributedString
=
.
init
(
"您的文书正在"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
13
)),
.
foreground
(
UIColor
.
yhGreyColor
))
let
aa
:
ASAttributedString
=
.
init
(
NSAttributedString
(
string
:
"审核中"
),
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
13
)),
.
foreground
(
UIColor
.
brandMainColor
))
let
aaa
:
ASAttributedString
=
.
init
(
"哦~"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
13
)),
.
foreground
(
UIColor
.
yhGreyColor
))
messageLabel
.
attributed
.
text
=
a
+
aa
+
aaa
buttonLabel
.
text
=
"请稍候"
buttonLabel
.
backgroundColor
=
UIColor
.
mainTextColor50
}
else
{
let
a
:
ASAttributedString
=
.
init
(
"您还有"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
13
)),
.
foreground
(
UIColor
.
yhGreyColor
))
let
aa
:
ASAttributedString
=
.
init
(
NSAttributedString
(
string
:
"
\(
model
.
num
)
份"
),
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
13
)),
.
foreground
(
UIColor
.
brandMainColor
))
let
aaa
:
ASAttributedString
=
.
init
(
"文书待返稿哦~"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
13
)),
.
foreground
(
UIColor
.
yhGreyColor
))
messageLabel
.
attributed
.
text
=
a
+
aa
+
aaa
if
model
.
type
==
325
{
titleLabel
.
text
=
"赴港行程指引"
messageLabel
.
text
=
"请根据指引清单提前规划赴港行程"
buttonLabel
.
text
=
"去查看"
messageLabel
.
textColor
=
UIColor
.
mainTextColor50
progressImageView
.
isHidden
=
true
progressLabel
.
isHidden
=
true
messageLabel
.
snp
.
remakeConstraints
{
make
in
make
.
top
.
equalTo
(
49
)
make
.
left
.
equalTo
(
21
)
make
.
right
.
equalTo
(
-
21
)
}
}
if
model
.
type
==
7
{
titleLabel
.
text
=
"递交确认"
let
a
:
ASAttributedString
=
.
init
(
"您还有"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
13
)),
.
foreground
(
UIColor
.
yhGreyColor
))
let
aa
:
ASAttributedString
=
.
init
(
NSAttributedString
(
string
:
"
\(
model
.
num
)
项"
),
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
13
)),
.
foreground
(
UIColor
.
brandMainColor
))
let
aaa
:
ASAttributedString
=
.
init
(
"信息确认签署待完成哦~"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
13
)),
.
foreground
(
UIColor
.
yhGreyColor
))
messageLabel
.
attributed
.
text
=
a
+
aa
+
aaa
buttonLabel
.
text
=
"去确认"
if
model
.
type
==
326
{
titleLabel
.
text
=
"旅行证件准备"
messageLabel
.
text
=
"请更新所有赴港人员的旅行证件"
buttonLabel
.
text
=
"去上传"
messageLabel
.
textColor
=
UIColor
.
mainTextColor50
}
let
b
:
ASAttributedString
=
.
init
(
NSAttributedString
(
string
:
"
\(
model
.
percentage
)
"
),
.
font
(
UIFont
(
name
:
"DINAlternate-Bold"
,
size
:
24
)
!
),
.
foreground
(
UIColor
.
mainTextColor
))
let
bb
:
ASAttributedString
=
.
init
(
"%"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
10
)),
.
foreground
(
UIColor
.
mainTextColor
.
withAlphaComponent
(
0.3
)))
progressLabel
.
attributed
.
text
=
b
+
bb
if
model
.
type
==
11
{
if
model
.
type
==
327
{
titleLabel
.
text
=
"上传过关证件"
messageLabel
.
text
=
"点击保存入境小白条及香港身份证(后续身份续签、永居均涉及)"
buttonLabel
.
text
=
"去上传"
messageLabel
.
textColor
=
UIColor
.
mainTextColor50
}
if
model
.
type
==
411
{
titleLabel
.
text
=
"港府获批结果"
messageLabel
.
text
=
"正在等待原则批结果~"
buttonLabel
.
text
=
"去查看"
...
...
@@ -347,7 +887,7 @@ extension YHServiceOrderProgressTableViewCell {
progressLabel
.
attributed
.
text
=
b
+
bb
}
if
model
.
type
==
12
{
if
model
.
type
==
4
12
{
titleLabel
.
text
=
"港府获批结果"
messageLabel
.
text
=
"正在进行原则批补件~"
buttonLabel
.
text
=
"去查看"
...
...
@@ -360,7 +900,7 @@ extension YHServiceOrderProgressTableViewCell {
progressLabel
.
attributed
.
text
=
b
+
bb
}
if
model
.
type
==
13
{
if
model
.
type
==
4
13
{
titleLabel
.
text
=
"港府获批结果"
messageLabel
.
text
=
"恭喜您,原则批已获批~"
buttonLabel
.
text
=
"去查看"
...
...
@@ -373,7 +913,7 @@ extension YHServiceOrderProgressTableViewCell {
progressLabel
.
attributed
.
text
=
b
+
bb
}
if
model
.
type
==
14
{
if
model
.
type
==
4
14
{
titleLabel
.
text
=
"港府获批结果"
messageLabel
.
text
=
"很遗憾,您未获批准~"
buttonLabel
.
text
=
"去查看"
...
...
@@ -386,7 +926,7 @@ extension YHServiceOrderProgressTableViewCell {
progressLabel
.
attributed
.
text
=
b
+
bb
}
if
model
.
type
==
15
{
if
model
.
type
==
4
15
{
titleLabel
.
text
=
"港府获批结果"
messageLabel
.
text
=
"恭喜您,正式批已获批~"
buttonLabel
.
text
=
"去查看"
...
...
@@ -399,14 +939,14 @@ extension YHServiceOrderProgressTableViewCell {
progressLabel
.
attributed
.
text
=
b
+
bb
}
if
model
.
type
==
22
{
if
model
.
type
==
4
22
{
titleLabel
.
text
=
"家庭信息确认"
messageLabel
.
text
=
"请确认现阶段信息是否存在变更~"
buttonLabel
.
text
=
"待确认"
messageLabel
.
textColor
=
UIColor
.
mainTextColor50
}
if
model
.
type
==
21
{
if
model
.
type
==
4
21
{
titleLabel
.
text
=
"新增受养人"
messageLabel
.
text
=
"如需,建议现阶段新增,激活后新增需香港住址证明"
buttonLabel
.
text
=
"待完善"
...
...
@@ -421,7 +961,7 @@ extension YHServiceOrderProgressTableViewCell {
}
}
if
model
.
type
==
24
{
if
model
.
type
==
4
24
{
titleLabel
.
text
=
"赴港办证预约"
if
model
.
percentage
==
50
{
messageLabel
.
text
=
"抢号中~"
...
...
@@ -432,14 +972,14 @@ extension YHServiceOrderProgressTableViewCell {
messageLabel
.
textColor
=
UIColor
.
mainTextColor50
}
if
model
.
type
==
23
{
if
model
.
type
==
4
23
{
titleLabel
.
text
=
"电子签证缴费"
messageLabel
.
text
=
"请根据指引缴费领取电子签证~"
buttonLabel
.
text
=
"待缴费"
messageLabel
.
textColor
=
UIColor
.
mainTextColor50
}
if
model
.
type
==
25
{
if
model
.
type
==
4
25
{
titleLabel
.
text
=
"赴港行程指引"
messageLabel
.
text
=
"请根据指引清单提前规划赴港行程"
buttonLabel
.
text
=
"去查看"
...
...
@@ -453,14 +993,14 @@ extension YHServiceOrderProgressTableViewCell {
}
}
if
model
.
type
==
26
{
if
model
.
type
==
4
26
{
titleLabel
.
text
=
"旅行证件准备"
messageLabel
.
text
=
"请更新所有赴港人员的旅行证件"
buttonLabel
.
text
=
"去上传"
messageLabel
.
textColor
=
UIColor
.
mainTextColor50
}
if
model
.
type
==
27
{
if
model
.
type
==
4
27
{
titleLabel
.
text
=
"上传过关证件"
messageLabel
.
text
=
"点击保存入境小白条及香港身份证(后续身份续签、永居均涉及)"
buttonLabel
.
text
=
"去上传"
...
...
@@ -691,7 +1231,111 @@ extension YHServiceOrderProgressTableViewCell {
messageLabel
.
text
=
"点击保存入境小白条及香港身份证(后续身份续签、永居均涉及)"
buttonLabel
.
text
=
"已完成"
}
if
model
.
type
==
215
{
titleLabel
.
text
=
"港府获批结果"
messageLabel
.
text
=
"恭喜您,正式批已获批~"
buttonLabel
.
text
=
"去查看"
}
if
model
.
type
==
222
{
titleLabel
.
text
=
"家庭信息确认"
messageLabel
.
text
=
"请确认现阶段信息是否存在变更~"
buttonLabel
.
text
=
"已完成"
}
if
model
.
type
==
224
{
titleLabel
.
text
=
"赴港办证预约"
messageLabel
.
text
=
"请填写意向办证时间,银河代预约~"
buttonLabel
.
text
=
"已完成"
}
if
model
.
type
==
223
{
titleLabel
.
text
=
"电子签证缴费"
messageLabel
.
text
=
"请根据指引缴费领取电子签证~"
buttonLabel
.
text
=
"已完成"
}
if
model
.
type
==
226
{
titleLabel
.
text
=
"旅行证件准备"
messageLabel
.
text
=
"请更新所有赴港人员的旅行证件"
buttonLabel
.
text
=
"已完成"
}
if
model
.
type
==
227
{
titleLabel
.
text
=
"上传过关证件"
messageLabel
.
text
=
"点击保存入境小白条及香港身份证(后续身份续签、永居均涉及)"
buttonLabel
.
text
=
"已完成"
}
if
model
.
type
==
315
{
titleLabel
.
text
=
"港府获批结果"
messageLabel
.
text
=
"恭喜您,正式批已获批~"
buttonLabel
.
text
=
"去查看"
}
if
model
.
type
==
322
{
titleLabel
.
text
=
"家庭信息确认"
messageLabel
.
text
=
"请确认现阶段信息是否存在变更~"
buttonLabel
.
text
=
"已完成"
}
if
model
.
type
==
324
{
titleLabel
.
text
=
"赴港办证预约"
messageLabel
.
text
=
"请填写意向办证时间,银河代预约~"
buttonLabel
.
text
=
"已完成"
}
if
model
.
type
==
323
{
titleLabel
.
text
=
"电子签证缴费"
messageLabel
.
text
=
"请根据指引缴费领取电子签证~"
buttonLabel
.
text
=
"已完成"
}
if
model
.
type
==
326
{
titleLabel
.
text
=
"旅行证件准备"
messageLabel
.
text
=
"请更新所有赴港人员的旅行证件"
buttonLabel
.
text
=
"已完成"
}
if
model
.
type
==
327
{
titleLabel
.
text
=
"上传过关证件"
messageLabel
.
text
=
"点击保存入境小白条及香港身份证(后续身份续签、永居均涉及)"
buttonLabel
.
text
=
"已完成"
}
if
model
.
type
==
415
{
titleLabel
.
text
=
"港府获批结果"
messageLabel
.
text
=
"恭喜您,正式批已获批~"
buttonLabel
.
text
=
"去查看"
}
if
model
.
type
==
422
{
titleLabel
.
text
=
"家庭信息确认"
messageLabel
.
text
=
"请确认现阶段信息是否存在变更~"
buttonLabel
.
text
=
"已完成"
}
if
model
.
type
==
424
{
titleLabel
.
text
=
"赴港办证预约"
messageLabel
.
text
=
"请填写意向办证时间,银河代预约~"
buttonLabel
.
text
=
"已完成"
}
if
model
.
type
==
423
{
titleLabel
.
text
=
"电子签证缴费"
messageLabel
.
text
=
"请根据指引缴费领取电子签证~"
buttonLabel
.
text
=
"已完成"
}
if
model
.
type
==
426
{
titleLabel
.
text
=
"旅行证件准备"
messageLabel
.
text
=
"请更新所有赴港人员的旅行证件"
buttonLabel
.
text
=
"已完成"
}
if
model
.
type
==
427
{
titleLabel
.
text
=
"上传过关证件"
messageLabel
.
text
=
"点击保存入境小白条及香港身份证(后续身份续签、永居均涉及)"
buttonLabel
.
text
=
"已完成"
}
if
model
.
type
==
31
{
titleLabel
.
text
=
"续签资料管理"
messageLabel
.
text
=
"请根据资料清单上传您的续签证明文件~"
...
...
galaxy/galaxy/Classes/Tools/Analytics/YHAnalytics.swift
View file @
161fe2d8
...
...
@@ -17,7 +17,7 @@ class YHAnalytics {
#if DEBUG
let
options
=
SAConfigOptions
.
init
(
serverURL
:
YhConstant
.
SensorsAnalytics
.
urlForTest
,
launchOptions
:
launchOptions
)
// 开启log
options
.
enableLog
=
tru
e
options
.
enableLog
=
fals
e
SensorsAnalyticsSDK
.
sharedInstance
()?
.
set
([
"evn"
:
"test"
])
#elseif TESTENV
let
options
=
SAConfigOptions
.
init
(
serverURL
:
YhConstant
.
SensorsAnalytics
.
urlForTest
,
launchOptions
:
launchOptions
)
...
...
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