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
5e93d467
Commit
5e93d467
authored
Oct 14, 2024
by
Steven杜宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
// 信息确认
parent
b9b8fd1c
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
35 additions
and
15 deletions
+35
-15
YHResignAppointSubmitScheduleViewController.swift
...递交预约)/C/YHResignAppointSubmitScheduleViewController.swift
+13
-8
YHResignAppointMember.swift
...续签)/ResignHKAppoint(在港递交预约)/M/YHResignAppointMember.swift
+4
-2
YHResignHaveAppointedMultipleInfoCell.swift
...int(在港递交预约)/V/YHResignHaveAppointedMultipleInfoCell.swift
+3
-2
YHResignAppointViewModel.swift
...ResignHKAppoint(在港递交预约)/VM/YHResignAppointViewModel.swift
+1
-1
YHResignConfirmInfoListViewController.swift
...irm(续签信息确认)/C/YHResignConfirmInfoListViewController.swift
+14
-2
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/Resign(续签)/ResignHKAppoint(在港递交预约)/C/YHResignAppointSubmitScheduleViewController.swift
View file @
5e93d467
...
...
@@ -178,15 +178,20 @@ class YHResignAppointSubmitScheduleViewController: YHBaseViewController {
let
vc
=
YHResignAppointTimeViewController
()
vc
.
renewalId
=
self
.
renewalId
if
scheduleArr
.
count
>
0
{
let
group
=
scheduleArr
[
0
]
vc
.
togetherSetting
.
isCanEdit
=
false
vc
.
togetherSetting
.
is_together
=
1
vc
.
defaultSubmitTime
=
group
.
ready_to_submit_at
vc
.
defaultLeaveHKTime
=
group
.
leave_hk_at
vc
.
allAppointUsers
=
group
.
user_list
.
map
{
return
$0
.
transformToMember
()
// 先得到所有分批用户的集合
YHHUD
.
show
(
.
progress
(
message
:
"加载中..."
))
self
.
viewModel
.
getResignAppointUserlist
(
renewalId
:
self
.
renewalId
)
{
[
weak
self
]
success
,
error
in
YHHUD
.
hide
()
guard
let
self
=
self
else
{
return
}
let
group
=
scheduleArr
[
0
]
vc
.
togetherSetting
.
isCanEdit
=
false
vc
.
togetherSetting
.
is_together
=
1
vc
.
defaultSubmitTime
=
group
.
ready_to_submit_at
vc
.
defaultLeaveHKTime
=
group
.
leave_hk_at
vc
.
allAppointUsers
=
self
.
viewModel
.
appointUsers
self
.
navigationController
?
.
pushViewController
(
vc
)
}
self
.
navigationController
?
.
pushViewController
(
vc
)
}
return
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/Resign(续签)/ResignHKAppoint(在港递交预约)/M/YHResignAppointMember.swift
View file @
5e93d467
...
...
@@ -31,6 +31,7 @@ class YHResignAppointMember: SmartCodable, NSCopying {
var
apply_name
:
String
=
""
var
stay_deadline
:
String
=
""
var
state
:
String
=
""
var
stay_deadline_start
:
String
=
""
// 自定义 是否选中
var
isSelected
:
Bool
=
false
...
...
@@ -39,7 +40,7 @@ class YHResignAppointMember: SmartCodable, NSCopying {
}
init
(
id
:
Int
,
renewal_number
:
Int
,
apply_relation
:
Int
,
apply_uid
:
String
,
apply_name
:
String
,
stay_deadline
:
String
,
state
:
String
,
isSelected
:
Bool
)
{
init
(
id
:
Int
,
renewal_number
:
Int
,
apply_relation
:
Int
,
apply_uid
:
String
,
apply_name
:
String
,
stay_deadline
:
String
,
state
:
String
,
stay_deadline_start
:
String
,
isSelected
:
Bool
)
{
self
.
id
=
id
self
.
renewal_number
=
renewal_number
...
...
@@ -49,11 +50,12 @@ class YHResignAppointMember: SmartCodable, NSCopying {
self
.
stay_deadline
=
stay_deadline
self
.
state
=
state
self
.
isSelected
=
isSelected
self
.
stay_deadline_start
=
stay_deadline_start
}
func
copy
(
with
zone
:
NSZone
?
=
nil
)
->
Any
{
return
YHResignAppointMember
(
id
:
self
.
id
,
renewal_number
:
self
.
renewal_number
,
apply_relation
:
self
.
apply_relation
,
apply_uid
:
self
.
apply_uid
,
apply_name
:
self
.
apply_name
,
stay_deadline
:
self
.
stay_deadline
,
state
:
self
.
state
,
isSelected
:
self
.
isSelected
)
return
YHResignAppointMember
(
id
:
self
.
id
,
renewal_number
:
self
.
renewal_number
,
apply_relation
:
self
.
apply_relation
,
apply_uid
:
self
.
apply_uid
,
apply_name
:
self
.
apply_name
,
stay_deadline
:
self
.
stay_deadline
,
state
:
self
.
state
,
stay_deadline_start
:
self
.
stay_deadline_start
,
isSelected
:
self
.
isSelected
)
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/Resign(续签)/ResignHKAppoint(在港递交预约)/V/YHResignHaveAppointedMultipleInfoCell.swift
View file @
5e93d467
...
...
@@ -106,6 +106,7 @@ class YHResignHaveAppointedMultipleInfoCell: UITableViewCell {
}
func
updateModel
(
_
model
:
YHResignAppointGroup
)
{
titleLabel
.
text
=
"第
\(
String
.
convertNumberToChineseText
(
model
.
batchIndex
)
)
批"
var
names
=
"申请人:"
for
(
index
,
user
)
in
model
.
user_list
.
enumerated
()
{
...
...
@@ -141,11 +142,11 @@ class YHResignHaveAppointedMultipleInfoCell: UITableViewCell {
}
}
confirmHKTimeLabel
.
removeFromSuperview
()
confirmHKTimeLabel
.
snp
.
removeConstraints
()
confirmHKTimeLabel
.
isHidden
=
true
if
self
.
confirmHKStatus
==
.
haveConfirmHK
{
// 已确认在港 需要显示确认在港时间
self
.
addSubview
(
confirmHKTimeLabel
)
confirmHKTimeLabel
.
isHidden
=
false
confirmHKTimeLabel
.
snp
.
remakeConstraints
{
make
in
make
.
left
.
equalTo
(
18
)
make
.
right
.
equalTo
(
-
18
)
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/Resign(续签)/ResignHKAppoint(在港递交预约)/VM/YHResignAppointViewModel.swift
View file @
5e93d467
...
...
@@ -115,7 +115,7 @@ class YHResignAppointViewModel: NSObject {
func
submitConfirmInHK
(
id
:
Int
,
callBack
:
@escaping
(
_
success
:
Bool
,
_
error
:
YHErrorModel
?)
->
())
{
let
params
:[
String
:
Any
]
=
[
"id"
:
id
]
let
strUrl
=
YHBaseUrlManager
.
shared
.
curURL
()
+
YHAllApiName
.
ResignAppoint
.
confirmInHK
let
_
=
YHNetRequest
.
ge
tRequest
(
url
:
strUrl
,
params
:
params
)
{
[
weak
self
]
json
,
code
in
let
_
=
YHNetRequest
.
pos
tRequest
(
url
:
strUrl
,
params
:
params
)
{
[
weak
self
]
json
,
code
in
//1. json字符串 转 对象
guard
let
_
=
self
else
{
return
}
if
json
.
code
==
200
{
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/Resign(续签)/ResignInfoConfirm(续签信息确认)/C/YHResignConfirmInfoListViewController.swift
View file @
5e93d467
...
...
@@ -91,12 +91,24 @@ class YHResignConfirmInfoListViewController: YHBaseViewController {
override
func
viewWillAppear
(
_
animated
:
Bool
)
{
super
.
viewWillAppear
(
animated
)
showRiskAlertView
()
requestList
()
}
@objc
func
didBottomBtnClicked
()
{
// 风险弹窗
YHResignRiskWarningAlertView
.
alertView
()
.
show
()
}
func
showRiskAlertView
()
{
let
isShowKey
=
"isShowResignConfirmRisk_
\(
stepId
)
"
if
let
isShow
=
UserDefaults
.
standard
.
value
(
forKey
:
isShowKey
)
as?
Bool
,
isShow
==
true
{
}
else
{
// 风险弹窗
YHResignRiskWarningAlertView
.
alertView
()
.
show
()
UserDefaults
.
standard
.
set
(
true
,
forKey
:
isShowKey
)
UserDefaults
.
standard
.
synchronize
()
}
}
}
...
...
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