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
969d4aeb
Commit
969d4aeb
authored
Aug 23, 2024
by
pete谢兆麟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
部分逻辑添加
parent
56baa4d7
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
33 additions
and
9 deletions
+33
-9
YHServiceOrderListViewController.swift
...entService(服务中心)/C/YHServiceOrderListViewController.swift
+2
-4
YHAddAdoptersViewController.swift
...)/AddAdopters(2新增受养人)/C/YHAddAdoptersViewController.swift
+4
-1
YHAddpterViewModel.swift
...cate(办证段)/AddAdopters(2新增受养人)/VM/YHAddpterViewModel.swift
+21
-0
YHServiceOrderProgressTableViewCell.swift
...Service(服务中心)/V/YHServiceOrderProgressTableViewCell.swift
+4
-4
YHAllApiName.swift
galaxy/galaxy/Classes/Tools/NetWork/YHAllApiName.swift
+2
-0
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/C/YHServiceOrderListViewController.swift
View file @
969d4aeb
...
...
@@ -252,14 +252,12 @@ extension YHServiceOrderListView : UITableViewDelegate,UITableViewDataSource {
vc
.
orderId
=
orderID
self
.
navigationController
?
.
pushViewController
(
vc
)
}
else
if
model
.
type
==
23
{
//赴港时间预约
}
else
if
model
.
type
==
24
{
//电子签字缴费
let
vc
=
YHVisaPaymentVC
()
vc
.
orderID
=
orderID
navigationController
?
.
pushViewController
(
vc
)
}
else
if
model
.
type
==
24
{
//赴港时间预约
}
else
if
model
.
type
==
25
{
//赴港行程指引
}
else
if
model
.
type
==
26
{
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/CustomerService/Certificate(办证段)/AddAdopters(2新增受养人)/C/YHAddAdoptersViewController.swift
View file @
969d4aeb
...
...
@@ -156,7 +156,10 @@ extension YHAddAdoptersViewController: UITableViewDelegate, UITableViewDataSourc
}
cell
.
deleteBlock
=
{
[
weak
self
]
model
in
guard
let
self
=
self
else
{
return
}
self
.
viewModel
.
postDependentsDel
(
id
:
model
.
id
)
{
[
weak
self
]
success
,
error
in
guard
let
self
=
self
else
{
return
}
self
.
getData
()
}
}
cell
.
clickBlock
=
{
[
weak
self
]
model
in
guard
let
self
=
self
else
{
return
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/CustomerService/Certificate(办证段)/AddAdopters(2新增受养人)/VM/YHAddpterViewModel.swift
View file @
969d4aeb
...
...
@@ -90,4 +90,25 @@ class YHAddpterViewModel: YHBaseViewModel {
callBackBlock
(
false
,
err
)
}
}
func
postDependentsDel
(
id
:
Int
,
callBackBlock
:
@escaping
(
_
success
:
Bool
,
_
error
:
YHErrorModel
?)
->
())
{
let
params
:
[
String
:
Any
]
=
[
"id"
:
id
]
let
strUrl
=
YHBaseUrlManager
.
shared
.
curURL
()
+
YHAllApiName
.
Adopter
.
del
let
_
=
YHNetRequest
.
postRequest
(
url
:
strUrl
,
params
:
params
)
{
[
weak
self
]
json
,
code
in
//1. json字符串 转 对象
guard
let
self
=
self
else
{
return
}
if
json
.
code
==
200
{
let
dic
=
json
.
data
callBackBlock
(
true
,
nil
)
}
else
{
let
err
=
YHErrorModel
(
errorCode
:
Int32
(
json
.
code
),
errorMsg
:
json
.
msg
.
isEmpty
?
""
:
json
.
msg
)
callBackBlock
(
false
,
err
)
}
}
failBlock
:
{
err
in
callBackBlock
(
false
,
err
)
}
}
}
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/V/YHServiceOrderProgressTableViewCell.swift
View file @
969d4aeb
...
...
@@ -269,14 +269,14 @@ extension YHServiceOrderProgressTableViewCell {
}
}
if
model
.
type
==
2
3
{
if
model
.
type
==
2
4
{
titleLabel
.
text
=
"赴港办证预约"
messageLabel
.
text
=
"抢号中~"
buttonLabel
.
text
=
"去查看"
messageLabel
.
textColor
=
UIColor
.
yhGreyColor50
}
if
model
.
type
==
2
4
{
if
model
.
type
==
2
3
{
titleLabel
.
text
=
"电子签证缴费"
messageLabel
.
text
=
"请根据指引缴费领取电子签证~"
buttonLabel
.
text
=
"待缴费"
...
...
@@ -343,13 +343,13 @@ extension YHServiceOrderProgressTableViewCell {
buttonLabel
.
text
=
"已完成"
}
if
model
.
type
==
2
3
{
if
model
.
type
==
2
4
{
titleLabel
.
text
=
"赴港办证预约"
messageLabel
.
text
=
"请填写意向办证时间,银河代预约~"
buttonLabel
.
text
=
"已完成"
}
if
model
.
type
==
2
4
{
if
model
.
type
==
2
3
{
titleLabel
.
text
=
"电子签证缴费"
messageLabel
.
text
=
"请根据指引缴费领取电子签证~"
buttonLabel
.
text
=
"已完成"
...
...
galaxy/galaxy/Classes/Tools/NetWork/YHAllApiName.swift
View file @
969d4aeb
...
...
@@ -456,6 +456,8 @@ class YHAllApiName {
static
let
add
=
"super-app/order/information/dependent/add"
// 新增配偶子女
static
let
managementAdd
=
"super-app/order/information/management/add"
static
let
del
=
"super-app/order/information/dependents/del"
}
}
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