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
20da7d33
Commit
20da7d33
authored
Mar 06, 2024
by
pete谢兆麟
Browse files
Options
Browse Files
Download
Plain Diff
Merge commit '
4d7a4c8d
' into xiezhaolin
parents
fe4a1861
4d7a4c8d
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
32 additions
and
36 deletions
+32
-36
YHChildInfoContainerVC.swift
...yMember(家庭成员信息表)/C/Child(子女)/YHChildInfoContainerVC.swift
+3
-4
YHSpouseInfoContainerVC.swift
...ember(家庭成员信息表)/C/Spouse(配偶)/YHSpouseInfoContainerVC.swift
+1
-3
YHOtherResidenceFillView.swift
...)/OtherInformation(其他信息)/V/YHOtherResidenceFillView.swift
+1
-1
YHPreviewBaseViewController.swift
...ersonInfoList(个人信息预览)/C/YHPreviewBaseViewController.swift
+0
-10
YHPreviewControllerHoldViewController.swift
...ist(个人信息预览)/C/YHPreviewControllerHoldViewController.swift
+0
-3
YHPreviewInfoCell.swift
...cess(流程)/PersonInfoList(个人信息预览)/V/YHPreviewInfoCell.swift
+1
-1
YHPreviewInfoWorkSummaryView.swift
...rsonInfoList(个人信息预览)/V/YHPreviewInfoWorkSummaryView.swift
+25
-2
YHImageViewController.swift
...ss(流程)/WorkExperience(工作经验)/C/YHImageViewController.swift
+1
-12
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/FamilyMember(家庭成员信息表)/C/Child(子女)/YHChildInfoContainerVC.swift
View file @
20da7d33
...
@@ -171,7 +171,6 @@ class YHChildInfoContainerVC: YHBaseViewController, YHSpouseInfoVCProtocol {
...
@@ -171,7 +171,6 @@ class YHChildInfoContainerVC: YHBaseViewController, YHSpouseInfoVCProtocol {
guard
let
self
=
self
else
{
return
}
guard
let
self
=
self
else
{
return
}
if
let
targetStep
=
getStepForArrayIndex
(
index
)
{
if
let
targetStep
=
getStepForArrayIndex
(
index
)
{
currentStep
=
targetStep
currentStep
=
targetStep
child
.
step
=
targetStep
}
}
print
(
"index:
\(
index
)
"
)
print
(
"index:
\(
index
)
"
)
}
}
...
@@ -196,10 +195,10 @@ class YHChildInfoContainerVC: YHBaseViewController, YHSpouseInfoVCProtocol {
...
@@ -196,10 +195,10 @@ class YHChildInfoContainerVC: YHBaseViewController, YHSpouseInfoVCProtocol {
if
let
cur
=
getArrayIndexOfCurrentStep
(),
let
item
=
stepVCs
[
safe
:
cur
+
1
]
{
if
let
cur
=
getArrayIndexOfCurrentStep
(),
let
item
=
stepVCs
[
safe
:
cur
+
1
]
{
currentStep
=
item
.
step
currentStep
=
item
.
step
child
?
.
step
=
item
.
step
if
cur
+
1
>
stepView
.
maxIndex
{
if
cur
+
1
>
stepView
.
maxIndex
{
stepView
.
maxIndex
=
cur
+
1
stepView
.
maxIndex
=
cur
+
1
}
}
}
}
print
(
"currentIndex:
\(
currentStep
)
"
)
print
(
"currentIndex:
\(
currentStep
)
"
)
}
}
}
}
...
@@ -247,7 +246,7 @@ extension YHChildInfoContainerVC {
...
@@ -247,7 +246,7 @@ extension YHChildInfoContainerVC {
let
dict
:[
String
:
Any
]
=
[
"order_id"
:
child
.
orderId
,
let
dict
:[
String
:
Any
]
=
[
"order_id"
:
child
.
orderId
,
"relation"
:
child
.
relation
,
"relation"
:
child
.
relation
,
"step"
:
child
.
step
,
"step"
:
isSubmit
?
currentStep
:
0
,
"next"
:
isSubmit
,
"next"
:
isSubmit
,
"info"
:
info
]
"info"
:
info
]
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/FamilyMember(家庭成员信息表)/C/Spouse(配偶)/YHSpouseInfoContainerVC.swift
View file @
20da7d33
...
@@ -189,7 +189,6 @@ class YHSpouseInfoContainerVC: YHBaseViewController, YHSpouseInfoVCProtocol {
...
@@ -189,7 +189,6 @@ class YHSpouseInfoContainerVC: YHBaseViewController, YHSpouseInfoVCProtocol {
guard
let
self
=
self
else
{
return
}
guard
let
self
=
self
else
{
return
}
if
let
targetStep
=
getStepForArrayIndex
(
index
)
{
if
let
targetStep
=
getStepForArrayIndex
(
index
)
{
currentStep
=
targetStep
currentStep
=
targetStep
spouse
.
step
=
targetStep
}
}
print
(
"index:
\(
index
)
"
)
print
(
"index:
\(
index
)
"
)
}
}
...
@@ -210,7 +209,7 @@ extension YHSpouseInfoContainerVC {
...
@@ -210,7 +209,7 @@ extension YHSpouseInfoContainerVC {
let
dict
:[
String
:
Any
]
=
[
"order_id"
:
spouse
.
orderId
,
let
dict
:[
String
:
Any
]
=
[
"order_id"
:
spouse
.
orderId
,
"relation"
:
spouse
.
relation
,
"relation"
:
spouse
.
relation
,
"step"
:
spouse
.
step
,
"step"
:
isSubmit
?
currentStep
:
0
,
"next"
:
isSubmit
,
"next"
:
isSubmit
,
"info"
:
info
]
"info"
:
info
]
...
@@ -245,7 +244,6 @@ extension YHSpouseInfoContainerVC {
...
@@ -245,7 +244,6 @@ extension YHSpouseInfoContainerVC {
if
let
cur
=
getArrayIndexOfCurrentStep
(),
let
item
=
stepVCs
[
safe
:
cur
+
1
]
{
if
let
cur
=
getArrayIndexOfCurrentStep
(),
let
item
=
stepVCs
[
safe
:
cur
+
1
]
{
currentStep
=
item
.
step
currentStep
=
item
.
step
spouse
?
.
step
=
item
.
step
if
cur
+
1
>
stepView
.
maxIndex
{
if
cur
+
1
>
stepView
.
maxIndex
{
stepView
.
maxIndex
=
cur
+
1
stepView
.
maxIndex
=
cur
+
1
}
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/OtherInformation(其他信息)/V/YHOtherResidenceFillView.swift
View file @
20da7d33
...
@@ -127,7 +127,7 @@ extension YHOtherResidenceFillView {
...
@@ -127,7 +127,7 @@ extension YHOtherResidenceFillView {
self
.
layoutIfNeeded
()
self
.
layoutIfNeeded
()
}
}
self
.
parentViewController
?
.
navigationController
?
.
pushViewController
(
vc
)
UIViewController
.
current
?
.
navigationController
?
.
pushViewController
(
vc
)
}
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/PersonInfoList(个人信息预览)/C/YHPreviewBaseViewController.swift
View file @
20da7d33
...
@@ -37,16 +37,6 @@ class YHPreviewBaseViewController: YHBaseViewController {
...
@@ -37,16 +37,6 @@ class YHPreviewBaseViewController: YHBaseViewController {
make
.
left
.
equalTo
(
16
)
make
.
left
.
equalTo
(
16
)
make
.
right
.
equalTo
(
-
16
)
make
.
right
.
equalTo
(
-
16
)
}
}
}
override
func
viewWillLayoutSubviews
()
{
super
.
viewWillLayoutSubviews
()
// homeTableView.snp.makeConstraints { make in
// make.top.bottom.equalToSuperview()
// make.left.equalTo(16)
// make.right.equalTo(-16)
// }
}
}
}
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/PersonInfoList(个人信息预览)/C/YHPreviewControllerHoldViewController.swift
View file @
20da7d33
...
@@ -129,9 +129,6 @@ class YHPreviewControllerHoldViewController: UIViewController {
...
@@ -129,9 +129,6 @@ class YHPreviewControllerHoldViewController: UIViewController {
segmentedView
.
frame
=
CGRect
(
x
:
0
,
y
:
0
,
width
:
view
.
bounds
.
size
.
width
,
height
:
55
)
segmentedView
.
frame
=
CGRect
(
x
:
0
,
y
:
0
,
width
:
view
.
bounds
.
size
.
width
,
height
:
55
)
listContainerView
.
frame
=
CGRect
(
x
:
0
,
y
:
55
,
width
:
view
.
bounds
.
size
.
width
,
height
:
view
.
bounds
.
size
.
height
-
55
)
listContainerView
.
frame
=
CGRect
(
x
:
0
,
y
:
55
,
width
:
view
.
bounds
.
size
.
width
,
height
:
view
.
bounds
.
size
.
height
-
55
)
segmentedView
.
backgroundColor
=
.
white
segmentedView
.
backgroundColor
=
.
white
view
.
backgroundColor
=
.
yellow
//for test hjl
}
}
}
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/PersonInfoList(个人信息预览)/V/YHPreviewInfoCell.swift
View file @
20da7d33
...
@@ -48,7 +48,7 @@ extension YHPreviewInfoCell {
...
@@ -48,7 +48,7 @@ extension YHPreviewInfoCell {
holdView
.
snp
.
makeConstraints
{
make
in
holdView
.
snp
.
makeConstraints
{
make
in
make
.
top
.
equalTo
(
14
)
make
.
top
.
equalTo
(
14
)
make
.
left
.
equalToSuperview
()
make
.
left
.
equalToSuperview
()
make
.
bottom
.
equalToSuperview
()
.
offset
(
-
40
)
make
.
bottom
.
equalToSuperview
()
make
.
width
.
equalTo
(
contentView
.
snp
.
width
)
make
.
width
.
equalTo
(
contentView
.
snp
.
width
)
}
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/PersonInfoList(个人信息预览)/V/YHPreviewInfoWorkSummaryView.swift
View file @
20da7d33
...
@@ -21,12 +21,16 @@ class YHPreviewInfoWorkSummaryView: UIView {
...
@@ -21,12 +21,16 @@ class YHPreviewInfoWorkSummaryView: UIView {
updateUI
()
updateUI
()
}
}
}
}
var
arrFiles
:
[
WorkExpFilePreviewModel
]
=
[]
}
}
extension
YHPreviewInfoWorkSummaryView
{
extension
YHPreviewInfoWorkSummaryView
{
func
updateUI
()
{
func
updateUI
()
{
guard
let
model
=
dataModel
else
{
return
}
guard
let
model
=
dataModel
else
{
return
}
removeSubviews
()
removeSubviews
()
arrFiles
.
removeAll
()
if
model
.
data
.
isEmpty
==
false
{
if
model
.
data
.
isEmpty
==
false
{
...
@@ -45,7 +49,7 @@ extension YHPreviewInfoWorkSummaryView {
...
@@ -45,7 +49,7 @@ extension YHPreviewInfoWorkSummaryView {
var
lastTagView
:
UIView
=
sessionView
var
lastTagView
:
UIView
=
sessionView
let
arr
=
model
.
data
as?
[
WorkExpFilePreviewModel
]
??
[]
let
arr
=
model
.
data
as?
[
WorkExpFilePreviewModel
]
??
[]
for
(
_
,
item
)
in
arr
.
enumerated
()
{
for
(
index
,
item
)
in
arr
.
enumerated
()
{
let
label
:
UILabel
=
UILabel
()
let
label
:
UILabel
=
UILabel
()
label
.
text
=
model
.
title
label
.
text
=
model
.
title
...
@@ -53,6 +57,7 @@ extension YHPreviewInfoWorkSummaryView {
...
@@ -53,6 +57,7 @@ extension YHPreviewInfoWorkSummaryView {
label
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
14
)
label
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
14
)
label
.
numberOfLines
=
0
label
.
numberOfLines
=
0
label
.
text
=
item
.
fileName
label
.
text
=
item
.
fileName
label
.
tag
=
index
addSubview
(
label
)
addSubview
(
label
)
label
.
snp
.
makeConstraints
{
make
in
label
.
snp
.
makeConstraints
{
make
in
make
.
top
.
equalTo
(
lastTagView
.
snp
.
bottom
)
.
offset
(
8
)
make
.
top
.
equalTo
(
lastTagView
.
snp
.
bottom
)
.
offset
(
8
)
...
@@ -60,8 +65,13 @@ extension YHPreviewInfoWorkSummaryView {
...
@@ -60,8 +65,13 @@ extension YHPreviewInfoWorkSummaryView {
make
.
left
.
equalToSuperview
()
.
offset
(
kMargin
)
make
.
left
.
equalToSuperview
()
.
offset
(
kMargin
)
make
.
height
.
greaterThanOrEqualTo
(
20
)
// >=20
make
.
height
.
greaterThanOrEqualTo
(
20
)
// >=20
}
}
addSubview
(
label
)
lastTagView
=
label
lastTagView
=
label
arrFiles
.
append
(
item
)
label
.
isUserInteractionEnabled
=
true
let
tap
=
UITapGestureRecognizer
(
target
:
self
,
action
:
#selector(
handleTap
)
)
label
.
addGestureRecognizer
(
tap
)
}
}
let
tagView
:
UIView
=
UIView
()
let
tagView
:
UIView
=
UIView
()
...
@@ -76,4 +86,17 @@ extension YHPreviewInfoWorkSummaryView {
...
@@ -76,4 +86,17 @@ extension YHPreviewInfoWorkSummaryView {
}
}
}
}
}
}
@objc
func
handleTap
(
_
gestureRecognizer
:
UITapGestureRecognizer
)
{
guard
let
label
=
gestureRecognizer
.
view
else
{
return
}
if
label
.
tag
<
arrFiles
.
count
{
let
vc
=
YHImageViewController
()
vc
.
imgString
=
arrFiles
[
label
.
tag
]
.
fileUrl
UIViewController
.
current
?
.
navigationController
?
.
pushViewController
(
vc
)
}
else
{
printLog
(
"error: 数组越界"
)
}
}
}
}
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/WorkExperience(工作经验)/C/YHImageViewController.swift
View file @
20da7d33
...
@@ -66,19 +66,8 @@ class YHImageViewController: YHBaseViewController {
...
@@ -66,19 +66,8 @@ class YHImageViewController: YHBaseViewController {
func
getData
()
{
func
getData
()
{
self
.
viewModel
.
getPublicImageUrl
(
imgString
)
{[
weak
self
]
success
,
error
in
self
.
viewModel
.
getPublicImageUrl
(
imgString
)
{[
weak
self
]
success
,
error
in
guard
let
self
=
self
else
{
return
}
guard
let
self
=
self
else
{
return
}
guard
let
url
=
success
else
{
return
}
guard
success
!=
nil
else
{
return
}
self
.
resultView
.
kf
.
setImage
(
with
:
URL
(
string
:
success
))
self
.
resultView
.
kf
.
setImage
(
with
:
URL
(
string
:
success
))
}
}
}
}
/*
// MARK: - Navigation
// In a storyboard-based application, you will often want to do a little preparation before navigation
override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
// Get the new view controller using segue.destination.
// Pass the selected object to the new view controller.
}
*/
}
}
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