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
d879dace
Commit
d879dace
authored
Oct 15, 2024
by
Steven杜宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
// 预约
parent
a3f02389
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
5 deletions
+9
-5
YHResignAppointScheduleListViewController.swift
...在港递交预约)/C/YHResignAppointScheduleListViewController.swift
+3
-2
YHResignAppointTimeViewController.swift
...Appoint(在港递交预约)/C/YHResignAppointTimeViewController.swift
+6
-3
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/Resign(续签)/ResignHKAppoint(在港递交预约)/C/YHResignAppointScheduleListViewController.swift
View file @
d879dace
...
...
@@ -186,8 +186,6 @@ class YHResignAppointScheduleListViewController: YHBaseViewController {
}
if
isOnlyOneUser
||
isOnlyOneGroup
{
// 只有一个人或多人单批 此时scheduleArr只有一个元素
let
vc
=
YHResignAppointTimeViewController
()
vc
.
renewalId
=
self
.
renewalId
if
scheduleArr
.
count
>
0
{
// 先得到所有分批用户的集合
YHHUD
.
show
(
.
progress
(
message
:
"加载中..."
))
...
...
@@ -196,6 +194,9 @@ class YHResignAppointScheduleListViewController: YHBaseViewController {
YHHUD
.
hide
()
guard
let
self
=
self
else
{
return
}
let
group
=
scheduleArr
[
0
]
let
vc
=
YHResignAppointTimeViewController
()
vc
.
isUpdate
=
true
vc
.
renewalId
=
self
.
renewalId
vc
.
togetherSetting
.
isCanEdit
=
false
vc
.
togetherSetting
.
is_together
=
self
.
isTogether
vc
.
defaultSubmitTime
=
group
.
ready_to_submit_at
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/Resign(续签)/ResignHKAppoint(在港递交预约)/C/YHResignAppointTimeViewController.swift
View file @
d879dace
...
...
@@ -10,10 +10,12 @@ import UIKit
import
AttributedString
import
SwifterSwift
// 初始是单人或初始默认为所有人为一批的情况 可用此VC
// 之前从未分过批的情况 可用此VC
// 之前单人或多人一批的情况 需要编辑时 可用此VC
class
YHResignAppointTimeViewController
:
YHBaseViewController
{
var
isUpdate
:
Bool
=
false
// 是否是编辑已有信息
// 订单ID
var
orderId
:
Int
=
0
// 批次ID
...
...
@@ -22,6 +24,7 @@ class YHResignAppointTimeViewController: YHBaseViewController {
// 所有预约人员
var
allAppointUsers
=
[
YHResignAppointMember
]()
{
didSet
{
self
.
updateUI
()
}
}
...
...
@@ -147,7 +150,7 @@ class YHResignAppointTimeViewController: YHBaseViewController {
let
model1
=
YHResignAppointTimeSettingModel
()
model1
.
ready_to_submit_at
=
defaultSubmitTime
model1
.
leave_hk_at
=
defaultLeaveHKTime
model1
.
notleaveHK
=
defaultLeaveHKTime
.
isEmpty
model1
.
notleaveHK
=
defaultLeaveHKTime
.
isEmpty
&&
self
.
isUpdate
selectGroupArr
.
append
(
model1
)
self
.
tableView
.
reloadData
()
return
...
...
@@ -160,7 +163,7 @@ class YHResignAppointTimeViewController: YHBaseViewController {
let
model1
=
YHResignAppointTimeSettingModel
()
model1
.
ready_to_submit_at
=
defaultSubmitTime
model1
.
leave_hk_at
=
defaultLeaveHKTime
model1
.
notleaveHK
=
defaultLeaveHKTime
.
isEmpty
model1
.
notleaveHK
=
defaultLeaveHKTime
.
isEmpty
&&
self
.
isUpdate
if
self
.
togetherSetting
.
is_together
==
2
{
// 不一起递交 需显示候选人列表
// 默认全部选中
let
users
=
allAppointUsers
.
deepCopy
()
.
map
{
...
...
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