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
bee410eb
Commit
bee410eb
authored
Feb 20, 2024
by
Steven杜宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
// 学历/专业资格填写
parent
81df950a
Changes
11
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
246 additions
and
47 deletions
+246
-47
project.pbxproj
galaxy/galaxy.xcodeproj/project.pbxproj
+24
-0
YHInformationPerfectListVC.swift
...telligentService(服务中心)/C/YHInformationPerfectListVC.swift
+3
-0
YHFamilyInitialInfo.swift
...ess(流程)/FamilyMember(家庭成员信息表)/M/YHFamilyInitialInfo.swift
+11
-2
YHEducationalQualificationVC.swift
...Process(流程)/学历专业资格填写/C/YHEducationalQualificationVC.swift
+0
-0
YHEducationInfo.swift
...服务中心)/ServiceProcess(流程)/学历专业资格填写/M/YHEducationInfo.swift
+78
-0
YHEducationRequestViewModel.swift
...eProcess(流程)/学历专业资格填写/M/YHEducationRequestViewModel.swift
+44
-0
YHQuestionInfo.swift
...(服务中心)/ServiceProcess(流程)/学历专业资格填写/M/YHQuestionInfo.swift
+52
-0
YHQuestionList.plist
...(服务中心)/ServiceProcess(流程)/学历专业资格填写/M/YHQuestionList.plist
+22
-0
YHEducationInfoCell.swift
...)/ServiceProcess(流程)/学历专业资格填写/V/YHEducationInfoCell.swift
+4
-44
YHAllApiName.swift
galaxy/galaxy/Classes/Tools/NetWork/YHAllApiName.swift
+7
-0
YHNetRequest.swift
galaxy/galaxy/Classes/Tools/NetWork/YHNetRequest.swift
+1
-1
No files found.
galaxy/galaxy.xcodeproj/project.pbxproj
View file @
bee410eb
...
...
@@ -18,6 +18,10 @@
041B52D62B5F899E007EBCEB
/* YHSpousePrimaryInfoVC.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
041B52D52B5F899E007EBCEB
/* YHSpousePrimaryInfoVC.swift */
;
};
041B52DB2B5FDF8E007EBCEB
/* YHFamilyInitialInfo.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
041B52DA2B5FDF8E007EBCEB
/* YHFamilyInitialInfo.swift */
;
};
041B52DD2B60A889007EBCEB
/* YHTest.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
041B52DC2B60A889007EBCEB
/* YHTest.swift */
;
};
042F888B2B8477C6008B60BD
/* YHEducationInfo.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
042F888A2B8477C6008B60BD
/* YHEducationInfo.swift */
;
};
042F888F2B847B2D008B60BD
/* YHEducationRequestViewModel.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
042F888E2B847B2D008B60BD
/* YHEducationRequestViewModel.swift */
;
};
042F88932B84AEF0008B60BD
/* YHQuestionInfo.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
042F88922B84AEF0008B60BD
/* YHQuestionInfo.swift */
;
};
042F88952B84AFC7008B60BD
/* YHQuestionList.plist in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
042F88942B84AFC7008B60BD
/* YHQuestionList.plist */
;
};
042FBBBB2B62806D00F9DE23
/* YHCertificateInfoController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
042FBBBA2B62806D00F9DE23
/* YHCertificateInfoController.swift */
;
};
042FBBBD2B63519C00F9DE23
/* YHFormItemSelectSheetCell.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
042FBBBC2B63519C00F9DE23
/* YHFormItemSelectSheetCell.swift */
;
};
042FBBBF2B639F0300F9DE23
/* YHSpouseBasicInfoVC.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
042FBBBE2B639F0300F9DE23
/* YHSpouseBasicInfoVC.swift */
;
};
...
...
@@ -269,6 +273,10 @@
041B52D52B5F899E007EBCEB
/* YHSpousePrimaryInfoVC.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHSpousePrimaryInfoVC.swift
;
sourceTree
=
"<group>"
;
};
041B52DA2B5FDF8E007EBCEB
/* YHFamilyInitialInfo.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHFamilyInitialInfo.swift
;
sourceTree
=
"<group>"
;
};
041B52DC2B60A889007EBCEB
/* YHTest.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHTest.swift
;
sourceTree
=
"<group>"
;
};
042F888A2B8477C6008B60BD
/* YHEducationInfo.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHEducationInfo.swift
;
sourceTree
=
"<group>"
;
};
042F888E2B847B2D008B60BD
/* YHEducationRequestViewModel.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHEducationRequestViewModel.swift
;
sourceTree
=
"<group>"
;
};
042F88922B84AEF0008B60BD
/* YHQuestionInfo.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHQuestionInfo.swift
;
sourceTree
=
"<group>"
;
};
042F88942B84AFC7008B60BD
/* YHQuestionList.plist */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
text.plist.xml
;
path
=
YHQuestionList.plist
;
sourceTree
=
"<group>"
;
};
042FBBBA2B62806D00F9DE23
/* YHCertificateInfoController.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHCertificateInfoController.swift
;
sourceTree
=
"<group>"
;
};
042FBBBC2B63519C00F9DE23
/* YHFormItemSelectSheetCell.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHFormItemSelectSheetCell.swift
;
sourceTree
=
"<group>"
;
};
042FBBBE2B639F0300F9DE23
/* YHSpouseBasicInfoVC.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHSpouseBasicInfoVC.swift
;
sourceTree
=
"<group>"
;
};
...
...
@@ -580,6 +588,17 @@
path
=
M
;
sourceTree
=
"<group>"
;
};
042F88892B847720008B60BD
/* M */
=
{
isa
=
PBXGroup
;
children
=
(
042F888A2B8477C6008B60BD
/* YHEducationInfo.swift */
,
042F888E2B847B2D008B60BD
/* YHEducationRequestViewModel.swift */
,
042F88922B84AEF0008B60BD
/* YHQuestionInfo.swift */
,
042F88942B84AFC7008B60BD
/* YHQuestionList.plist */
,
);
path
=
M
;
sourceTree
=
"<group>"
;
};
042FBBD22B67A2F900F9DE23
/* PickerView */
=
{
isa
=
PBXGroup
;
children
=
(
...
...
@@ -706,6 +725,7 @@
04C693652B73183E004C1758
/* 学历专业资格填写 */
=
{
isa
=
PBXGroup
;
children
=
(
042F88892B847720008B60BD
/* M */
,
04C693672B7318D3004C1758
/* V */
,
04C693662B7318CD004C1758
/* C */
,
);
...
...
@@ -1535,6 +1555,7 @@
A5FD63DC2B6628F600D1D9DA
/* scoreOptionData.plist in Resources */
,
04808C062B4686510056D53C
/* ATAuthSDK.bundle in Resources */
,
A5C5B2EE2B4F9B8800A7C5D1
/* Localizable.xcstrings in Resources */
,
042F88952B84AFC7008B60BD
/* YHQuestionList.plist in Resources */
,
A58951C52B398D1000225C19
/* Launch Screen.storyboard in Resources */
,
0468D4772B68A08600CFB916
/* area.plist in Resources */
,
A51044182B493675006B60BB
/* README.md in Resources */
,
...
...
@@ -1636,6 +1657,7 @@
A5ACE9292B4564F7002C94D2
/* YHSmsCodeInputView.swift in Sources */
,
A5ACE9452B4564F7002C94D2
/* YHHUDContainerView.swift in Sources */
,
A5ACE93A2B4564F7002C94D2
/* NSAttributedString+Extension.swift in Sources */
,
042F888B2B8477C6008B60BD
/* YHEducationInfo.swift in Sources */
,
04AF58C42B4FC51C0066011A
/* YHLocalizable.swift in Sources */
,
042FBBBF2B639F0300F9DE23
/* YHSpouseBasicInfoVC.swift in Sources */
,
A5C5B2E82B4EC95600A7C5D1
/* YHDavidTestCollectionViewCell.swift in Sources */
,
...
...
@@ -1702,6 +1724,7 @@
A5C5B32D2B57D66000A7C5D1
/* YHBbxCollectionViewCell.swift in Sources */
,
A50AB89D2B81F1FB00C227DE
/* YHOtherInfoFillViewModel.swift in Sources */
,
0468D47C2B68A08600CFB916
/* YHAddressPickView.swift in Sources */
,
042F888F2B847B2D008B60BD
/* YHEducationRequestViewModel.swift in Sources */
,
04C693622B723AB8004C1758
/* YHMySettingViewController.swift in Sources */
,
A5FD63D82B6603A500D1D9DA
/* YHScoreResultView.swift in Sources */
,
A5ACE9342B4564F7002C94D2
/* YHAllApiName.swift in Sources */
,
...
...
@@ -1712,6 +1735,7 @@
A5FD63EA2B67D95100D1D9DA
/* YHFamilyMemberViewController.swift in Sources */
,
04E86E432B8357EC00A35F4B
/* YHMainInformationModel.swift in Sources */
,
04E86E2F2B81EA1000A35F4B
/* YHWorkExperienceListViewController.swift in Sources */
,
042F88932B84AEF0008B60BD
/* YHQuestionInfo.swift in Sources */
,
A5ACE93F2B4564F7002C94D2
/* UIViewController+Extension.swift in Sources */
,
042FBBD62B67BDD500F9DE23
/* YHBrotherInfoVC.swift in Sources */
,
A5ACE9472B4564F7002C94D2
/* YHHUD.swift in Sources */
,
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/C/YHInformationPerfectListVC.swift
View file @
bee410eb
...
...
@@ -325,6 +325,7 @@ extension YHInformationPerfectListVC : UITableViewDelegate,UITableViewDataSource
}
else
if
indexPath
.
row
==
1
{
//家庭程序信息
let
vc
=
YHFamilyMemberInfoVC
(
orderId
:
orderId
??
0
)
vc
.
orderId
=
133971
navigationController
?
.
pushViewController
(
vc
)
}
else
if
indexPath
.
row
==
2
{
//基本信息
...
...
@@ -334,6 +335,8 @@ extension YHInformationPerfectListVC : UITableViewDelegate,UITableViewDataSource
}
else
if
indexPath
.
row
==
3
{
//学历/专业资格
let
vc
=
YHEducationalQualificationVC
()
vc
.
orderId
=
orderId
vc
.
orderId
=
133971
navigationController
?
.
pushViewController
(
vc
)
}
else
if
indexPath
.
row
==
4
{
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/FamilyMember(家庭成员信息表)/M/YHFamilyInitialInfo.swift
View file @
bee410eb
...
...
@@ -81,6 +81,8 @@ enum YHFormAddItemType:Int {
case
addChild
=
1
case
addBrother
case
addDegree
case
addEducation
case
addCertificateInfo
}
// 表单具体条目类型
...
...
@@ -189,6 +191,8 @@ enum YHFormDetailItemType:Int {
// 上课城市
case
educationCity
// 证书信息
case
certificateInfo
// 资格证书名称
case
qualificationCertificateName
// 颁授机构全称
...
...
@@ -218,6 +222,10 @@ class YHFormAddItem : YHFormItemProtocol
return
"新增兄弟姐妹"
.
local
case
.
addDegree
:
return
"增加学位信息"
.
local
case
.
addEducation
:
return
"新增学历信息"
.
local
case
.
addCertificateInfo
:
return
"新增证书信息"
.
local
}
}
...
...
@@ -481,6 +489,8 @@ class YHFormDetailItem : YHFormItemProtocol {
case
.
educationInfo
:
return
""
.
local
case
.
certificateInfo
:
return
""
.
local
case
.
universityFullName
:
return
"学校全称"
.
local
case
.
educationStyle
:
...
...
@@ -510,9 +520,8 @@ class YHFormDetailItem : YHFormItemProtocol {
return
"颁授国家/地区"
.
local
case
.
conferCity
:
return
"颁授城市"
.
local
}
}
func
getSubTitle
()
->
String
{
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/学历专业资格填写/C/YHEducationalQualificationVC.swift
View file @
bee410eb
This diff is collapsed.
Click to expand it.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/学历专业资格填写/M/YHEducationInfo.swift
0 → 100644
View file @
bee410eb
//
// YHEducationInfo.swift
// galaxy
//
// Created by edy on 2024/2/20.
// Copyright © 2024 https://www.galaxy-immi.com. All rights reserved.
//
import
UIKit
import
SmartCodable
class
YHEducationListInfo
:
SmartCodable
{
var
eduList
:
[
YHEducationInfo
]?
var
eduCount
:
Int
=
0
var
quaList
:
[
YHQualificationInfo
]?
var
quaCount
:
Int
=
0
var
qualification
:
Int
=
0
var
graduate
:
Int
=
0
var
married
:
Int
=
0
enum
CodingKeys
:
String
,
CodingKey
{
case
eduList
=
"edu_list"
case
eduCount
=
"edu_count"
case
quaList
=
"qua_list"
case
quaCount
=
"qua_count"
case
qualification
=
"qualification"
case
graduate
=
"graduate"
case
married
=
"married"
}
required
init
()
{
}
}
class
YHEducationInfo
:
SmartCodable
{
var
id
:
Int
=
-
1
var
orderId
:
Int
=
-
1
var
college
:
String
?
var
background
:
String
?
var
professional
:
String
?
var
admissionTime
:
String
?
var
graduateTime
:
String
?
var
vacantNum
:
Int
=
0
enum
CodingKeys
:
String
,
CodingKey
{
case
id
=
"id"
case
orderId
=
"order_id"
case
college
=
"college"
case
background
=
"background"
case
professional
=
"professional"
case
admissionTime
=
"admission_time"
case
graduateTime
=
"graduate_time"
case
vacantNum
=
"vacant_num"
}
required
init
()
{
}
}
class
YHQualificationInfo
:
SmartCodable
{
var
id
:
Int
=
-
1
var
orderId
:
Int
=
-
1
var
qualification
:
String
?
var
vacantNum
:
Int
=
0
enum
CodingKeys
:
String
,
CodingKey
{
case
id
=
"id"
case
orderId
=
"order_id"
case
qualification
=
"qualification"
case
vacantNum
=
"vacant_num"
}
required
init
()
{
}
}
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/学历专业资格填写/M/YHEducationRequestViewModel.swift
0 → 100644
View file @
bee410eb
//
// YHEducationRequestViewModel.swift
// galaxy
//
// Created by edy on 2024/2/20.
// Copyright © 2024 https://www.galaxy-immi.com. All rights reserved.
//
import
UIKit
class
YHEducationRequestViewModel
{
var
educationInfo
:
YHEducationListInfo
?
// 添加家庭成员
func
requestEducationInfo
(
params
:[
String
:
Any
],
callBackBlock
:
@escaping
(
_
success
:
Bool
,
_
error
:
YHErrorModel
?)
->
())
{
YHHUD
.
show
(
.
progress
(
message
:
"数据加载中..."
))
let
strUrl
=
YHBaseUrlManager
.
shared
.
curURL
()
+
YHAllApiName
.
Education
.
educationInfoApi
let
_
=
YHNetRequest
.
getRequest
(
url
:
strUrl
,
params
:
params
)
{[
weak
self
]
json
,
code
in
YHHUD
.
hide
()
guard
let
self
=
self
else
{
return
}
guard
let
model
=
NetBaseModel
.
deserialize
(
dict
:
json
)
else
{
let
error
:
YHErrorModel
=
YHErrorModel
(
errorCode
:
YHErrorCode
.
dictParseError
.
rawValue
,
errorMsg
:
YHErrorCode
.
dictParseError
.
description
())
callBackBlock
(
false
,
error
)
return
}
printLog
(
"model 是 ==>
\(
model
)
"
)
let
dic
=
model
.
data
?
.
peel
as?
[
AnyHashable
:
Any
]
guard
let
resultModel
=
YHEducationListInfo
.
deserialize
(
dict
:
dic
as?
[
AnyHashable
:
Any
])
else
{
callBackBlock
(
false
,
nil
)
return
}
educationInfo
=
resultModel
callBackBlock
(
true
,
nil
)
}
failBlock
:
{
err
in
callBackBlock
(
false
,
err
)
}
}
}
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/学历专业资格填写/M/YHQuestionInfo.swift
0 → 100644
View file @
bee410eb
//
// YHQuestionInfo.swift
// galaxy
//
// Created by edy on 2024/2/20.
// Copyright © 2024 https://www.galaxy-immi.com. All rights reserved.
//
import
UIKit
import
SmartCodable
class
YHQuestionInfo
:
SmartCodable
,
YHFormItemProtocol
{
var
key
:
String
=
""
var
question
:
String
=
""
var
answer
:
Int
=
0
enum
CodingKeys
:
String
,
CodingKey
{
case
key
=
"key"
case
question
=
"question"
case
answer
=
"answer"
}
required
init
()
{
}
func
getTitle
()
->
String
{
return
question
}
func
getSubTitle
()
->
String
{
return
""
}
}
extension
YHQuestionInfo
{
// 【问题】学历证书姓名及出生日期正确性
static
func
getEducationQuestion
()
->
[
YHQuestionInfo
]
{
let
path
=
Bundle
.
main
.
path
(
forResource
:
"YHQuestionList"
,
ofType
:
"plist"
)
let
questions
:[
Dictionary
]
=
NSArray
(
contentsOfFile
:
path
!
)
as!
[
Dictionary
<
String
,
Any
>
]
var
res
:[
YHQuestionInfo
]
=
[]
for
dict
in
questions
{
guard
let
questionInfo
=
YHQuestionInfo
.
deserialize
(
dict
:
dict
as?
[
AnyHashable
:
Any
])
else
{
continue
}
res
.
append
(
questionInfo
)
}
return
res
}
}
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/学历专业资格填写/M/YHQuestionList.plist
0 → 100644
View file @
bee410eb
<
?xml
v
e
rsion="
1
.
0
"
e
n
c
o
d
ing="UT
F
-
8
"?
>
<
!
D
O
C
TYP
E
plist
PU
B
LI
C
"-//
A
ppl
e
//
D
T
D
PLIST
1
.
0
//
E
N"
"http://www.
a
ppl
e
.
c
om/
D
T
D
s/Prop
e
rtyList-
1
.
0
.
d
t
d
"
>
<
plist
v
e
rsion="
1
.
0
"
>
<
a
rr
a
y
>
<
d
i
c
t
>
<
k
e
y
>
key
<
/k
e
y
>
<
string
>
qualification
<
/string
>
<
k
e
y
>
question
<
/k
e
y
>
<
string
>
您的所有学历及资格证书上的姓名及出生日期,是否与身份证完全一致
?(例如:身份证上是【张四】。学位证上是【张三】,则为不相同)
<
/string
>
<
k
e
y
>
answer
<
/k
e
y
>
<
int
e
g
e
r
>
0
<
/int
e
g
e
r
>
<
/
d
i
c
t
>
<
d
i
c
t
>
<
k
e
y
>
key
<
/k
e
y
>
<
string
>
graduate
<
/string
>
<
k
e
y
>
question
<
/k
e
y
>
<
string
>
您配偶的大学毕业证和学位证上的姓名及出生日期,是否与身份证完全一致?
<
/string
>
<
k
e
y
>
answer
<
/k
e
y
>
<
int
e
g
e
r
>
0
<
/int
e
g
e
r
>
<
/
d
i
c
t
>
<
/
a
rr
a
y
>
<
/plist
>
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/学历专业资格填写/V/YHEducationInfoCell.swift
View file @
bee410eb
...
...
@@ -13,7 +13,7 @@ class YHEducationInfoCell: UITableViewCell {
static
let
cellReuseIdentifier
=
"YHEducationInfoCell"
let
horizonalGap
=
18.0
private
lazy
var
titleLabel
:
UILabel
=
{
lazy
var
titleLabel
:
UILabel
=
{
let
label
=
UILabel
()
label
.
textColor
=
.
mainTextColor
label
.
textAlignment
=
.
left
...
...
@@ -21,7 +21,7 @@ class YHEducationInfoCell: UITableViewCell {
return
label
}()
private
lazy
var
subTitleLabel
:
UILabel
=
{
lazy
var
subTitleLabel
:
UILabel
=
{
let
label
=
UILabel
()
label
.
textColor
=
.
labelTextColor2
label
.
textAlignment
=
.
left
...
...
@@ -30,7 +30,7 @@ class YHEducationInfoCell: UITableViewCell {
return
label
}()
private
lazy
var
timeLabel
:
UILabel
=
{
lazy
var
timeLabel
:
UILabel
=
{
let
label
=
UILabel
()
label
.
textColor
=
.
labelTextColor2
label
.
textAlignment
=
.
right
...
...
@@ -38,16 +38,6 @@ class YHEducationInfoCell: UITableViewCell {
return
label
}()
private
lazy
var
tipsLabel
:
UILabel
=
{
let
label
=
UILabel
()
label
.
textColor
=
.
failColor
label
.
textAlignment
=
.
left
label
.
numberOfLines
=
0
label
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
12
)
label
.
isHidden
=
true
return
label
}()
private
lazy
var
arrowImgView
:
UIImageView
=
{
let
imgView
=
UIImageView
(
image
:
UIImage
(
named
:
"form_right_arrow"
))
return
imgView
...
...
@@ -83,15 +73,10 @@ class YHEducationInfoCell: UITableViewCell {
contentView
.
addSubview
(
subTitleLabel
)
contentView
.
addSubview
(
timeLabel
)
contentView
.
addSubview
(
arrowImgView
)
contentView
.
addSubview
(
tipsLabel
)
contentView
.
addSubview
(
bottomLine
)
titleLabel
.
setContentCompressionResistancePriority
(
.
required
,
for
:
.
horizontal
)
titleLabel
.
text
=
"啊发沙发沙发"
subTitleLabel
.
text
=
"法术法"
timeLabel
.
text
=
"2141234124214123412421412341242141234124"
titleLabel
.
snp
.
makeConstraints
{
make
in
make
.
left
.
equalToSuperview
()
.
offset
(
horizonalGap
)
make
.
right
.
equalTo
(
timeLabel
.
snp
.
left
)
.
offset
(
-
8
)
...
...
@@ -112,6 +97,7 @@ class YHEducationInfoCell: UITableViewCell {
subTitleLabel
.
snp
.
makeConstraints
{
make
in
make
.
left
.
equalTo
(
titleLabel
)
make
.
top
.
equalTo
(
titleLabel
.
snp
.
bottom
)
.
offset
(
4
)
make
.
bottom
.
equalToSuperview
()
.
offset
(
-
16
)
make
.
right
.
equalToSuperview
()
.
offset
(
-
horizonalGap
)
}
...
...
@@ -121,31 +107,5 @@ class YHEducationInfoCell: UITableViewCell {
make
.
height
.
equalTo
(
1.0
)
make
.
bottom
.
equalToSuperview
()
}
setTips
(
"asdfafasdfasfaasdfafasdfasfaasdfafasdfasfaasdfafasdfasfaasdfafasdfasfaasdfafasdfasfaasdfafasdfasfaasdfafasdfasfaasdfafasdfasfa"
,
isShow
:
true
)
}
func
setTips
(
_
tips
:
String
?,
isShow
:
Bool
)
{
tipsLabel
.
text
=
tips
tipsLabel
.
isHidden
=
!
isShow
if
isShow
{
tipsLabel
.
snp
.
remakeConstraints
{
make
in
make
.
left
.
equalToSuperview
()
.
offset
(
horizonalGap
)
make
.
right
.
equalToSuperview
()
.
offset
(
-
horizonalGap
)
make
.
top
.
equalTo
(
subTitleLabel
.
snp
.
bottom
)
make
.
bottom
.
equalToSuperview
()
.
offset
(
-
16
)
}
}
else
{
tipsLabel
.
snp
.
remakeConstraints
{
make
in
make
.
left
.
equalToSuperview
()
.
offset
(
horizonalGap
)
make
.
right
.
equalToSuperview
()
.
offset
(
-
horizonalGap
)
make
.
top
.
equalTo
(
subTitleLabel
.
snp
.
bottom
)
make
.
height
.
equalTo
(
0
)
make
.
bottom
.
equalToSuperview
()
.
offset
(
-
16
)
}
}
self
.
setNeedsLayout
()
self
.
layoutIfNeeded
()
}
}
galaxy/galaxy/Classes/Tools/NetWork/YHAllApiName.swift
View file @
bee410eb
...
...
@@ -38,6 +38,13 @@ class YHAllApiName {
static
let
familyInfoApi
=
"frontend/order/information/family"
// 删除家庭成员信息
static
let
familyMemberDeleteApi
=
"frontend/order/information/family/delete"
}
struct
Education
{
// 获取学历及证书相关信息
static
let
educationInfoApi
=
"frontend/education/list"
}
//Users
...
...
galaxy/galaxy/Classes/Tools/NetWork/YHNetRequest.swift
View file @
bee410eb
...
...
@@ -95,7 +95,7 @@ class YHNetRequest: NSObject {
requestHeader
.
add
(
name
:
"sign"
,
value
:
sign
)
requestHeader
.
add
(
name
:
"token"
,
value
:
"eyJpdiI6Ik
duSzJuR09VZFB6azU2OU9FRXZcL2JRPT0iLCJ2YWx1ZSI6IkZ1VWZjY1NoZVRHdnh1R2pjZUZ2eGdyU0JVWFJcL1hFemhWYlR3QzA5TnRLVkVCaEREbmpLNk5HenZCVERlaFdXY0J0czFxUlpwTFdkQnV3ckVMU01neDhERlwvSUc4bGprQk9QdzlIaGJaVGd4TjZcL1VMelFidmhrTklhbXZCSkpVVFp1KzQ1VnRYbDByaGwwV0lSNmtpRnJza29aSFJ6Wis4MXFVRWRQSElNNWRFbjF5bTdINlpKTlFhXC9LNExhQ2k0RzNyTFhxR3JKcjB2YzhMaW85WVhhU0dPNmhhUmhRbHVzTXh1Vjd0anc4NjdYWGdWWFBiMm15WGJCR0IyZlJ5NjFGQ0UyaVdXNjB6bXNScFpJXC81SVQ3ZFZkVWlcL1dJV09iMFhtUjBuSSt3NllSMER2aTNmVXNCa1NqWGZQTnBXRmVHaStpSHRhK2lYRHNyRXBzWE9kSE9BMkcwcWFHTzcwYjlNVlwvN2xoallsS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GJycFRBME5lWUtaT0JCYjViSWVvcVJ3RXllb2tQZ1VkUWFqVWo0UHQzMUQwWVMwZ05rTTU0Nk1QQUdxTm9rZFNISVYrTG5DWlArNkt5RkZxajdZN1luakRKQVdUaVpnOUhCUExYMEVKRXRRT3QyZTI4cU9TdlBrbWxVZkFLSWZFbXNha3lCZUhFRVpyTmxQOERjbVwvMytCc0JpNnZcL1Nvek9yR2pUWGF2XC9VMzN4OEY5T3VsdUNGRFNWbHZZMnBzNHhMeEdIR21majBOOUJNbEhlK1J4S3dFTnlJamdTeFQyTWlTTlhCUWxnSDF6VmNhWHIzVGpoREY5clB2XC9uZHZjSm1iTHZ1bjFIUUFRait6dUJlUk1WQ1FhdXFoN002YlQ5MVwvQVMzYzJJQ0RFR1czdEtqMFBTQT09IiwibWFjIjoiOGVlZjBmNTVmMzEwNjhkZjVmYTlkYzAwYzllMjJmNjUyZmRmN2U1ODFiZTIzNzRjMDVjMTNiOTNhOWRhMmVkYS
J9"
)
headers
=
requestHeader
}
...
...
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