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
0f658328
Commit
0f658328
authored
Aug 12, 2024
by
Steven杜宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
// 原则批
parent
8b3f30ef
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
47 additions
and
21 deletions
+47
-21
YHServiceOrderListViewController.swift
...entService(服务中心)/C/YHServiceOrderListViewController.swift
+17
-4
YHPrincipleApprovedMailViewController.swift
...eBatch(原则批)/C/YHPrincipleApprovedMailViewController.swift
+3
-1
YHPrincipleApprovedWaitSubmitVC.swift
...incipleBatch(原则批)/C/YHPrincipleApprovedWaitSubmitVC.swift
+4
-2
YHPrincipleUploadListVC.swift
...rvice/PrincipleBatch(原则批)/C/YHPrincipleUploadListVC.swift
+23
-14
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/C/YHServiceOrderListViewController.swift
View file @
0f658328
...
@@ -235,11 +235,24 @@ extension YHServiceOrderListView : UITableViewDelegate,UITableViewDataSource {
...
@@ -235,11 +235,24 @@ extension YHServiceOrderListView : UITableViewDelegate,UITableViewDataSource {
self
.
navigationController
?
.
pushViewController
(
vc
)
self
.
navigationController
?
.
pushViewController
(
vc
)
return
return
}
}
// 未发送邮件
// 未发送邮件
let
vc
=
YHPrincipleApprovedWaitSubmitVC
()
YHHUD
.
show
(
.
progress
(
message
:
"加载中"
))
vc
.
orderId
=
self
.
orderID
self
.
principleViewModel
.
getEnvelopeInfo
(
orderId
:
self
.
orderID
)
{
success
,
error
in
self
.
navigationController
?
.
pushViewController
(
vc
)
YHHUD
.
hide
()
// 已获得港府甄选名额
if
!
self
.
principleViewModel
.
envelopModel
.
name
.
isEmpty
,
!
self
.
principleViewModel
.
envelopModel
.
url
.
isEmpty
{
// 进入原则批已获批待提交页面
let
vc
=
YHPrincipleApprovedWaitSubmitVC
()
vc
.
orderId
=
self
.
orderID
self
.
navigationController
?
.
pushViewController
(
vc
)
}
else
{
// 进入原则批上传列表页面
let
vc
=
YHPrincipleUploadListVC
()
vc
.
orderId
=
self
.
orderID
self
.
navigationController
?
.
pushViewController
(
vc
)
}
}
}
}
}
else
if
model
.
type
==
15
{
}
else
if
model
.
type
==
15
{
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/CustomerService/PrincipleBatch(原则批)/C/YHPrincipleApprovedMailViewController.swift
View file @
0f658328
...
@@ -93,7 +93,9 @@ extension YHPrincipleApprovedMailViewController {
...
@@ -93,7 +93,9 @@ extension YHPrincipleApprovedMailViewController {
self
.
items
.
removeAll
()
self
.
items
.
removeAll
()
// 已获得港府甄选名额
// 已获得港府甄选名额
self
.
items
.
append
(
self
.
viewModel
.
envelopModel
)
if
!
self
.
viewModel
.
envelopModel
.
name
.
isEmpty
,
!
self
.
viewModel
.
envelopModel
.
url
.
isEmpty
{
self
.
items
.
append
(
self
.
viewModel
.
envelopModel
)
}
let
waitResultModel
=
self
.
viewModel
.
waitResultModel
let
waitResultModel
=
self
.
viewModel
.
waitResultModel
// 入境处已认收受理
// 入境处已认收受理
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/CustomerService/PrincipleBatch(原则批)/C/YHPrincipleApprovedWaitSubmitVC.swift
View file @
0f658328
...
@@ -98,8 +98,10 @@ class YHPrincipleApprovedWaitSubmitVC: YHBaseViewController {
...
@@ -98,8 +98,10 @@ class YHPrincipleApprovedWaitSubmitVC: YHBaseViewController {
viewModel
.
getEnvelopeInfo
(
orderId
:
orderId
)
{
success
,
error
in
viewModel
.
getEnvelopeInfo
(
orderId
:
orderId
)
{
success
,
error
in
self
.
items
.
removeAll
()
self
.
items
.
removeAll
()
// 已获得港府甄选名额
// 已获得港府甄选名额
self
.
viewModel
.
envelopModel
.
isUnfold
=
true
if
!
self
.
viewModel
.
envelopModel
.
name
.
isEmpty
,
!
self
.
viewModel
.
envelopModel
.
url
.
isEmpty
{
self
.
items
.
append
(
self
.
viewModel
.
envelopModel
)
self
.
viewModel
.
envelopModel
.
isUnfold
=
true
self
.
items
.
append
(
self
.
viewModel
.
envelopModel
)
}
self
.
tableView
.
reloadData
()
self
.
tableView
.
reloadData
()
}
}
}
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/CustomerService/PrincipleBatch(原则批)/C/YHPrincipleUploadListVC.swift
View file @
0f658328
...
@@ -130,27 +130,35 @@ class YHPrincipleUploadListVC: YHBaseViewController {
...
@@ -130,27 +130,35 @@ class YHPrincipleUploadListVC: YHBaseViewController {
// 赴港居留同意书
// 赴港居留同意书
let
agreementModel
=
self
.
viewModel
.
uploadDetailModel
.
file_data
.
agreement
let
agreementModel
=
self
.
viewModel
.
uploadDetailModel
.
file_data
.
agreement
agreementModel
.
customType
=
YHPrincipleAgreementType
.
agreement
.
rawValue
if
agreementModel
.
id
>
0
{
agreementModel
.
isMust
=
true
agreementModel
.
customType
=
YHPrincipleAgreementType
.
agreement
.
rawValue
agreementModel
.
isNeedTemplate
=
true
agreementModel
.
isMust
=
true
self
.
items
.
append
(
agreementModel
)
agreementModel
.
isNeedTemplate
=
true
self
.
items
.
append
(
agreementModel
)
}
// 申请人意见访问
// 申请人意见访问
let
opinionModel
=
self
.
viewModel
.
uploadDetailModel
.
file_data
.
opinion
let
opinionModel
=
self
.
viewModel
.
uploadDetailModel
.
file_data
.
opinion
opinionModel
.
customType
=
YHPrincipleAgreementType
.
opinion
.
rawValue
if
opinionModel
.
id
>
0
{
opinionModel
.
isMust
=
true
opinionModel
.
customType
=
YHPrincipleAgreementType
.
opinion
.
rawValue
opinionModel
.
isNeedTemplate
=
true
opinionModel
.
isMust
=
true
self
.
items
.
append
(
opinionModel
)
opinionModel
.
isNeedTemplate
=
true
self
.
items
.
append
(
opinionModel
)
}
// 其他证明条件
// 其他证明条件
let
otherModel
=
self
.
viewModel
.
uploadDetailModel
.
file_data
.
other
let
otherModel
=
self
.
viewModel
.
uploadDetailModel
.
file_data
.
other
otherModel
.
customType
=
YHPrincipleAgreementType
.
other
.
rawValue
if
otherModel
.
id
>
0
{
otherModel
.
isMust
=
false
otherModel
.
customType
=
YHPrincipleAgreementType
.
other
.
rawValue
otherModel
.
isNeedTemplate
=
false
otherModel
.
isMust
=
false
self
.
items
.
append
(
otherModel
)
otherModel
.
isNeedTemplate
=
false
self
.
items
.
append
(
otherModel
)
}
// 已获得港府甄选名额
// 已获得港府甄选名额
self
.
items
.
append
(
self
.
viewModel
.
envelopModel
)
if
!
self
.
viewModel
.
envelopModel
.
name
.
isEmpty
,
!
self
.
viewModel
.
envelopModel
.
url
.
isEmpty
{
self
.
items
.
append
(
self
.
viewModel
.
envelopModel
)
}
let
waitResultModel
=
self
.
viewModel
.
waitResultModel
let
waitResultModel
=
self
.
viewModel
.
waitResultModel
// 入境处已认收受理
// 入境处已认收受理
...
@@ -301,7 +309,8 @@ extension YHPrincipleUploadListVC {
...
@@ -301,7 +309,8 @@ extension YHPrincipleUploadListVC {
}
}
}
else
if
editType
==
.
preview
{
// 预览
}
else
if
editType
==
.
preview
{
// 预览
print
(
model
.
url
)
print
(
model
.
url
)
self
.
viewModel
.
getPublicImageUrl
(
model
.
url
)
{
success
,
error
in
let
fileUrl
=
!
model
.
url
.
isEmpty
?
model
.
url
:
model
.
fileUrl
self
.
viewModel
.
getPublicImageUrl
(
fileUrl
)
{
success
,
error
in
if
let
success
=
success
{
if
let
success
=
success
{
self
.
previewFileTool
.
openXLSXRemoteFile
(
urlString
:
success
,
fileName
:
model
.
name
)
self
.
previewFileTool
.
openXLSXRemoteFile
(
urlString
:
success
,
fileName
:
model
.
name
)
}
}
...
...
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