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
e50d29f7
Commit
e50d29f7
authored
Oct 14, 2024
by
Steven杜宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
// 预约
parent
27b7b0c8
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
31 additions
and
5 deletions
+31
-5
YHResignAppointContainerViewController.swift
...nt(在港递交预约)/C/YHResignAppointContainerViewController.swift
+0
-1
YHResignAppointSubmitScheduleViewController.swift
...递交预约)/C/YHResignAppointSubmitScheduleViewController.swift
+2
-1
YHResignAppointTimeModifyViewController.swift
...t(在港递交预约)/C/YHResignAppointTimeModifyViewController.swift
+0
-1
YHResignAppointTimeViewController.swift
...Appoint(在港递交预约)/C/YHResignAppointTimeViewController.swift
+5
-1
YHResignAppointGroup.swift
...(续签)/ResignHKAppoint(在港递交预约)/M/YHResignAppointGroup.swift
+24
-1
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/Resign(续签)/ResignHKAppoint(在港递交预约)/C/YHResignAppointContainerViewController.swift
View file @
e50d29f7
...
...
@@ -68,7 +68,6 @@ class YHResignAppointContainerViewController: YHBaseViewController {
return
}
self
.
appointVC
.
allAppointUsers
=
self
.
viewModel
.
appointUsers
self
.
appointVC
.
updateUI
()
self
.
appointVC
.
view
.
isHidden
=
false
self
.
scheduleVC
.
view
.
isHidden
=
true
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/Resign(续签)/ResignHKAppoint(在港递交预约)/C/YHResignAppointSubmitScheduleViewController.swift
View file @
e50d29f7
...
...
@@ -197,6 +197,7 @@ class YHResignAppointSubmitScheduleViewController: YHBaseViewController {
// 多人多批
var
groupArr
=
[
YHResignAppointTimeSettingModel
]()
for
(
index
,
group
)
in
scheduleArr
.
enumerated
()
{
let
model
=
YHResignAppointTimeSettingModel
()
let
status
=
group
.
getConfirmInHKStatus
()
...
...
@@ -212,7 +213,7 @@ class YHResignAppointSubmitScheduleViewController: YHBaseViewController {
m
.
isSelected
=
false
return
m
}
// 更新已选择状态
//
group.user_list 表示当前批已选用户组
更新已选择状态
for
selectUser
in
group
.
user_list
{
for
user
in
users
{
if
user
.
id
==
selectUser
.
id
{
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/Resign(续签)/ResignHKAppoint(在港递交预约)/C/YHResignAppointTimeModifyViewController.swift
View file @
e50d29f7
...
...
@@ -13,7 +13,6 @@ import SwifterSwift
class
YHResignAppointTimeModifyViewController
:
YHBaseViewController
{
var
renewalId
:
Int
=
0
var
familyArr
:
[
String
]
=
[
""
,
""
,
""
,
""
,
""
]
var
selectGroupArr
:
[
YHResignAppointTimeSettingModel
]
=
[]
let
viewModel
=
YHResignAppointViewModel
()
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/Resign(续签)/ResignHKAppoint(在港递交预约)/C/YHResignAppointTimeViewController.swift
View file @
e50d29f7
...
...
@@ -17,7 +17,11 @@ class YHResignAppointTimeViewController: YHBaseViewController {
var
renewalId
:
Int
=
0
// 所有预约人员
var
allAppointUsers
:
[
YHResignAppointMember
]
=
[]
var
allAppointUsers
=
[
YHResignAppointMember
]()
{
didSet
{
self
.
updateUI
()
}
}
// 预约在港递交时间
var
defaultSubmitTime
:
String
=
""
// 预计离港时间
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/Resign(续签)/ResignHKAppoint(在港递交预约)/M/YHResignAppointGroup.swift
View file @
e50d29f7
...
...
@@ -83,7 +83,7 @@ class YHResignAppointGroup: SmartCodable {
}
}
class
YHResignAppointUser
:
SmartCodable
{
class
YHResignAppointUser
:
SmartCodable
,
NSCopying
{
var
id
:
Int
=
0
var
name
:
String
=
""
...
...
@@ -93,6 +93,16 @@ class YHResignAppointUser: SmartCodable {
}
init
(
id
:
Int
,
name
:
String
,
memberId
:
Int
)
{
self
.
id
=
id
self
.
name
=
name
self
.
memberId
=
memberId
}
func
copy
(
with
zone
:
NSZone
?
=
nil
)
->
Any
{
return
YHResignAppointUser
(
id
:
self
.
id
,
name
:
self
.
name
,
memberId
:
self
.
memberId
)
}
func
transformToMember
()
->
YHResignAppointMember
{
let
m
=
YHResignAppointMember
()
m
.
id
=
self
.
id
...
...
@@ -100,3 +110,16 @@ class YHResignAppointUser: SmartCodable {
return
m
}
}
// [YHResignAppointUser] 数组实现神拷贝
extension
Array
where
Element
==
YHResignAppointUser
{
func
deepCopy
()
->
[
YHResignAppointUser
]
{
var
results
:
[
YHResignAppointUser
]
=
[]
for
item
in
self
{
let
newItem
=
item
.
copy
()
results
.
append
(
newItem
as!
YHResignAppointUser
)
}
return
results
}
}
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