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
81554b65
Commit
81554b65
authored
Oct 14, 2024
by
Steven杜宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
// 修改
parent
15cd397c
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
28 additions
and
5 deletions
+28
-5
YHResignAppointSubmitScheduleViewController.swift
...递交预约)/C/YHResignAppointSubmitScheduleViewController.swift
+11
-1
YHResignAppointTimeModifyViewController.swift
...t(在港递交预约)/C/YHResignAppointTimeModifyViewController.swift
+2
-1
YHResignAppointedScheduleLineView.swift
...Appoint(在港递交预约)/V/YHResignAppointedScheduleLineView.swift
+15
-3
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/Resign(续签)/ResignHKAppoint(在港递交预约)/C/YHResignAppointSubmitScheduleViewController.swift
View file @
81554b65
...
...
@@ -216,7 +216,9 @@ class YHResignAppointSubmitScheduleViewController: YHBaseViewController {
var
lastLeftUnselectUsers
:
[
YHResignAppointMember
]
=
appAppointUsers
.
deepCopy
()
var
groupArr
=
[
YHResignAppointTimeSettingModel
]()
for
(
index
,
group
)
in
scheduleArr
.
enumerated
()
{
let
model
=
YHResignAppointTimeSettingModel
()
let
status
=
group
.
getConfirmInHKStatus
()
model
.
isHaveAppointed
=
(
status
==
.
haveConfirmHK
)
...
...
@@ -248,15 +250,23 @@ class YHResignAppointSubmitScheduleViewController: YHBaseViewController {
lastLeftUnselectUsers
=
users
.
filter
{
return
$0
.
isSelected
==
false
}
.
deepCopy
()
}
else
{
// 已确认在港
let
users
=
group
.
user_list
.
map
{
return
$0
.
transformToMember
()
}
model
.
users
=
users
groupArr
.
append
(
model
)
lastLeftUnselectUsers
=
lastLeftUnselectUsers
.
filter
{
for
model
in
group
.
user_list
{
if
model
.
memberId
==
$0
.
id
{
// 该用户已经选择过
return
false
}
}
return
fals
e
return
tru
e
}
.
deepCopy
()
}
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/Resign(续签)/ResignHKAppoint(在港递交预约)/C/YHResignAppointTimeModifyViewController.swift
View file @
81554b65
...
...
@@ -347,6 +347,7 @@ extension YHResignAppointTimeModifyViewController {
var
batchs
:
[[
String
:
Any
]]
=
[]
for
group
in
self
.
selectGroupArr
{
group
.
isClickSubmit
=
false
if
!
group
.
isHaveAppointed
{
// 非已确认在港 才加入集合
let
selectUser
=
group
.
users
.
filter
{
let
item
=
$0
return
item
.
isSelected
...
...
@@ -359,7 +360,7 @@ extension YHResignAppointTimeModifyViewController {
"leave_hk_at"
:
group
.
notleaveHK
?
""
:
group
.
leave_hk_at
,
"users"
:
allUserInfoArr
]
as!
[
String
:
Any
]
batchs
.
append
(
dict
)
}
}
let
param
:
[
String
:
Any
]
=
[
"renewal_id"
:
renewalId
,
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/Resign(续签)/ResignHKAppoint(在港递交预约)/V/YHResignAppointedScheduleLineView.swift
View file @
81554b65
...
...
@@ -61,22 +61,34 @@ class YHResignAppointedScheduleLineView: UIView {
createUI
()
}
func
getDateOfYYYYMMDD
(
_
dateString
:
String
)
->
String
{
// dateString格式为yyyy-MM-dd HH:mm:ss 返回yyyy-MM-dd
if
dateString
.
count
<=
10
{
return
dateString
}
return
String
(
dateString
.
prefix
(
10
))
}
// 已确认在港时间 银河递交续签资料时间 查看递交回执时间
func
updateDates
(
confirmDate
:
String
,
submitDate
:
String
,
watchDate
:
String
)
{
let
newConfirmDate
=
getDateOfYYYYMMDD
(
confirmDate
)
let
newSubmitDate
=
getDateOfYYYYMMDD
(
submitDate
)
let
newWatchDate
=
getDateOfYYYYMMDD
(
watchDate
)
if
steps
.
count
>=
2
{
// 已确认在港节点
let
confirmModel
=
steps
[
1
]
confirmModel
.
time
=
c
onfirmDate
confirmModel
.
time
=
newC
onfirmDate
}
if
steps
.
count
>=
3
{
// 银河递交续签资料节点
let
submitModel
=
steps
[
2
]
submitModel
.
time
=
s
ubmitDate
submitModel
.
time
=
newS
ubmitDate
}
if
steps
.
count
>=
4
{
// 查看递交回执节点
let
watchModel
=
steps
[
3
]
watchModel
.
time
=
w
atchDate
watchModel
.
time
=
newW
atchDate
}
self
.
collectView
.
reloadData
()
}
...
...
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