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
c5e40fcd
Commit
c5e40fcd
authored
Feb 24, 2024
by
David黄金龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改 个人信息预览
parent
f7c7059f
Changes
19
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
19 changed files
with
125 additions
and
114 deletions
+125
-114
project.pbxproj
galaxy/galaxy.xcodeproj/project.pbxproj
+27
-27
YHBasicInfoFillCell.swift
...ess(流程)/BaseInformation(基本资料)/V/YHBasicInfoFillCell.swift
+2
-2
YHFamilyMemberViewController.swift
...sonInfoList(个人信息预览)/C/YHFamilyMemberViewController.swift
+0
-0
YHMainApplicantInfoViewController.swift
...nfoList(个人信息预览)/C/YHMainApplicantInfoViewController.swift
+35
-35
YHPersonInfoBaseViewController.swift
...onInfoList(个人信息预览)/C/YHPersonInfoBaseViewController.swift
+0
-0
YHPersonInfoControllerHoldViewController.swift
...(个人信息预览)/C/YHPersonInfoControllerHoldViewController.swift
+0
-0
YHPersonInformMainViewController.swift
...InfoList(个人信息预览)/C/YHPersonInformMainViewController.swift
+0
-0
YHPersonInfoCellModel1.swift
...流程)/PersonInfoList(个人信息预览)/M/YHPersonInfoCellModel1.swift
+1
-1
YHPersonInfoCellModel2.swift
...流程)/PersonInfoList(个人信息预览)/M/YHPersonInfoCellModel2.swift
+0
-0
YHPersonInfoIdentityCardModel.swift
...sonInfoList(个人信息预览)/M/YHPersonInfoIdentityCardModel.swift
+0
-0
YHPreviewInfoBaseModel.swift
...流程)/PersonInfoList(个人信息预览)/M/YHPreviewInfoBaseModel.swift
+1
-1
YHPreviewInfoSessionModel.swift
.../PersonInfoList(个人信息预览)/M/YHPreviewInfoSessionModel.swift
+11
-3
YHPersonInfoIdentificationCardView.swift
...foList(个人信息预览)/V/YHPersonInfoIdentificationCardView.swift
+0
-0
YHPreviewInfoCell.swift
...cess(流程)/PersonInfoList(个人信息预览)/V/YHPreviewInfoCell.swift
+24
-36
YHPreviewInfoHoldView.swift
...(流程)/PersonInfoList(个人信息预览)/V/YHPreviewInfoHoldView.swift
+1
-1
YHPreviewInfoNameAndSubNameView.swift
...nInfoList(个人信息预览)/V/YHPreviewInfoNameAndSubNameView.swift
+2
-2
YHPreviewInfoTitleView.swift
...流程)/PersonInfoList(个人信息预览)/V/YHPreviewInfoTitleView.swift
+2
-2
YHWebViewViewController.swift
...Classes/Modules/Login(登录)/C/YHWebViewViewController.swift
+1
-1
YHNetRequest.swift
galaxy/galaxy/Classes/Tools/NetWork/YHNetRequest.swift
+18
-3
No files found.
galaxy/galaxy.xcodeproj/project.pbxproj
View file @
c5e40fcd
This diff is collapsed.
Click to expand it.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/BaseInformation(基本资料)/V/YHBasicInfoFillCell.swift
View file @
c5e40fcd
...
...
@@ -59,14 +59,14 @@ extension YHBasicInfoFillCell {
make
.
bottom
.
equalToSuperview
()
}
let
sessionView
=
YHP
ersonInfoSession
View
()
let
sessionView
=
YHP
reviewInfoTitle
View
()
sessionView
.
updateTitle
(
title
:
dataModel
.
sessionTitle
)
holdView1
.
addSubview
(
sessionView
)
sessionView
.
snp
.
makeConstraints
{
make
in
make
.
top
.
equalToSuperview
()
make
.
right
.
equalToSuperview
()
.
offset
(
-
18
)
make
.
left
.
equalToSuperview
()
.
offset
(
18
)
make
.
height
.
equalTo
(
YHP
ersonInfoSession
View
.
viewH
)
make
.
height
.
equalTo
(
YHP
reviewInfoTitle
View
.
viewH
)
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/PersonInfoList(个人信息
表
)/C/YHFamilyMemberViewController.swift
→
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/PersonInfoList(个人信息
预览
)/C/YHFamilyMemberViewController.swift
View file @
c5e40fcd
File moved
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/PersonInfoList(个人信息
表
)/C/YHMainApplicantInfoViewController.swift
→
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/PersonInfoList(个人信息
预览
)/C/YHMainApplicantInfoViewController.swift
View file @
c5e40fcd
...
...
@@ -12,7 +12,7 @@ import JXSegmentedView
*主申请人信息
*/
class
YHMainApplicantInfoViewController
:
YHPersonInfoBaseViewController
{
var
arrData
:
[
YHP
ersonInfoCell
Model
]
=
[]
var
arrData
:
[
YHP
reviewInfoSession
Model
]
=
[]
override
func
viewDidLoad
()
{
super
.
viewDidLoad
()
setupUI
()
...
...
@@ -25,62 +25,62 @@ private extension YHMainApplicantInfoViewController {
func
installData
()
{
do
{
//国家信息
let
tmp0
=
YHP
erson
InfoBaseModel
(
name
:
"国家/国籍:"
,
description
:
"中国-China"
)
let
tmp1
=
YHP
erson
InfoBaseModel
(
name
:
"港澳通行证:"
,
description
:
"未办理"
)
let
tmp0
=
YHP
review
InfoBaseModel
(
name
:
"国家/国籍:"
,
description
:
"中国-China"
)
let
tmp1
=
YHP
review
InfoBaseModel
(
name
:
"港澳通行证:"
,
description
:
"未办理"
)
let
arr
=
[
tmp0
,
tmp1
]
let
model1
=
YHP
ersonInfoCellModel
(
cellType
:
0
,
cellTitle
:
"国籍信息"
,
cellData0
:
arr
)
let
model1
=
YHP
reviewInfoSessionModel
(
cellType
:
.
countryInfoType
,
cellTitle
:
"国籍信息"
,
cellData0
:
arr
)
arrData
.
append
(
model1
)
}
do
{
//基本信息
let
tmp0
=
YHP
erson
InfoBaseModel
(
name
:
"主申请人:"
,
description
:
"DavidHuang"
)
let
tmp1
=
YHP
erson
InfoBaseModel
(
name
:
"曾用名:"
,
description
:
"--"
)
let
tmp2
=
YHP
erson
InfoBaseModel
(
name
:
"婚前姓氏:"
,
description
:
"--"
)
let
tmp0
=
YHP
review
InfoBaseModel
(
name
:
"主申请人:"
,
description
:
"DavidHuang"
)
let
tmp1
=
YHP
review
InfoBaseModel
(
name
:
"曾用名:"
,
description
:
"--"
)
let
tmp2
=
YHP
review
InfoBaseModel
(
name
:
"婚前姓氏:"
,
description
:
"--"
)
let
tmp3
=
YHP
erson
InfoBaseModel
(
name
:
"出生日期:"
,
description
:
"1990年8月18日"
)
let
tmp4
=
YHP
erson
InfoBaseModel
(
name
:
"出生城市:"
,
description
:
"国内 吉林省/吉林市"
)
let
tmp5
=
YHP
erson
InfoBaseModel
(
name
:
"性别:"
,
description
:
"男"
)
let
tmp6
=
YHP
erson
InfoBaseModel
(
name
:
"婚姻状况:"
,
description
:
"已婚"
)
let
tmp7
=
YHP
erson
InfoBaseModel
(
name
:
"手机号:"
,
description
:
"13572984488"
)
let
tmp8
=
YHP
erson
InfoBaseModel
(
name
:
"邮箱:"
,
description
:
"13572984488@nn.com"
)
let
tmp9
=
YHP
erson
InfoBaseModel
(
name
:
"现居住地址:"
,
description
:
"现居住地址:现居住地址:现居住地址:现居住地址:现居住地址:现居住地址:"
)
let
tmp3
=
YHP
review
InfoBaseModel
(
name
:
"出生日期:"
,
description
:
"1990年8月18日"
)
let
tmp4
=
YHP
review
InfoBaseModel
(
name
:
"出生城市:"
,
description
:
"国内 吉林省/吉林市"
)
let
tmp5
=
YHP
review
InfoBaseModel
(
name
:
"性别:"
,
description
:
"男"
)
let
tmp6
=
YHP
review
InfoBaseModel
(
name
:
"婚姻状况:"
,
description
:
"已婚"
)
let
tmp7
=
YHP
review
InfoBaseModel
(
name
:
"手机号:"
,
description
:
"13572984488"
)
let
tmp8
=
YHP
review
InfoBaseModel
(
name
:
"邮箱:"
,
description
:
"13572984488@nn.com"
)
let
tmp9
=
YHP
review
InfoBaseModel
(
name
:
"现居住地址:"
,
description
:
"现居住地址:现居住地址:现居住地址:现居住地址:现居住地址:现居住地址:"
)
let
tmp10
=
YHP
erson
InfoBaseModel
(
name
:
"详细地址:"
,
description
:
"锐度公园世家北区10-1-701锐度公园世家北区10-1-701"
)
let
tmp11
=
YHP
erson
InfoBaseModel
(
name
:
"是否办理过香港身份证:"
,
description
:
"是"
)
let
tmp12
=
YHP
erson
InfoBaseModel
(
name
:
"香港身份证:"
,
description
:
"否"
)
let
tmp10
=
YHP
review
InfoBaseModel
(
name
:
"详细地址:"
,
description
:
"锐度公园世家北区10-1-701锐度公园世家北区10-1-701"
)
let
tmp11
=
YHP
review
InfoBaseModel
(
name
:
"是否办理过香港身份证:"
,
description
:
"是"
)
let
tmp12
=
YHP
review
InfoBaseModel
(
name
:
"香港身份证:"
,
description
:
"否"
)
let
arr
=
[
tmp0
,
tmp1
,
tmp2
,
tmp3
,
tmp4
,
tmp5
,
tmp6
,
tmp7
,
tmp8
,
tmp9
,
tmp10
,
tmp11
,
tmp12
]
let
model2
=
YHP
ersonInfoCellModel
(
cellType
:
0
,
cellTitle
:
"基本信息"
,
cellData0
:
arr
)
let
model2
=
YHP
reviewInfoSessionModel
(
cellType
:
.
countryInfoType
,
cellTitle
:
"基本信息"
,
cellData0
:
arr
)
arrData
.
append
(
model2
)
}
do
{
//证件信息
let
tmp0
=
YHP
erson
InfoBaseModel
(
name
:
"中国身份证号码:"
,
description
:
"2203381990287633390"
)
let
tmp1
=
YHP
erson
InfoBaseModel
(
name
:
"签发地:"
,
description
:
"北京市分局"
)
let
tmp2
=
YHP
erson
InfoBaseModel
(
name
:
"签发日期:"
,
description
:
"2018-07-17"
)
let
tmp3
=
YHP
erson
InfoBaseModel
(
name
:
"届满日期:"
,
description
:
"2028-07-31"
)
let
tmp0
=
YHP
review
InfoBaseModel
(
name
:
"中国身份证号码:"
,
description
:
"2203381990287633390"
)
let
tmp1
=
YHP
review
InfoBaseModel
(
name
:
"签发地:"
,
description
:
"北京市分局"
)
let
tmp2
=
YHP
review
InfoBaseModel
(
name
:
"签发日期:"
,
description
:
"2018-07-17"
)
let
tmp3
=
YHP
review
InfoBaseModel
(
name
:
"届满日期:"
,
description
:
"2028-07-31"
)
let
model0
=
YHPersonInfoCellModel1
(
cellTitle
:
"中国身份证"
,
cellData
:
[
tmp0
,
tmp1
,
tmp2
,
tmp3
])
let
tmp4
=
YHP
erson
InfoBaseModel
(
name
:
"旅行社证件号码:"
,
description
:
"c2345639"
)
let
tmp5
=
YHP
erson
InfoBaseModel
(
name
:
"签发地:"
,
description
:
"北京市分局"
)
let
tmp6
=
YHP
erson
InfoBaseModel
(
name
:
"签发日期:"
,
description
:
"2018-07-17"
)
let
tmp7
=
YHP
erson
InfoBaseModel
(
name
:
"届满日期:"
,
description
:
"2028-07-31"
)
let
tmp4
=
YHP
review
InfoBaseModel
(
name
:
"旅行社证件号码:"
,
description
:
"c2345639"
)
let
tmp5
=
YHP
review
InfoBaseModel
(
name
:
"签发地:"
,
description
:
"北京市分局"
)
let
tmp6
=
YHP
review
InfoBaseModel
(
name
:
"签发日期:"
,
description
:
"2018-07-17"
)
let
tmp7
=
YHP
review
InfoBaseModel
(
name
:
"届满日期:"
,
description
:
"2028-07-31"
)
let
model1
=
YHPersonInfoCellModel1
(
cellTitle
:
"港澳通行证"
,
cellData
:
[
tmp4
,
tmp5
,
tmp6
,
tmp7
])
let
tmp8
=
YHP
erson
InfoBaseModel
(
name
:
"证件类别:"
,
description
:
"护照"
)
let
tmp9
=
YHP
erson
InfoBaseModel
(
name
:
"证件号码:"
,
description
:
"p2345639"
)
let
tmp10
=
YHP
erson
InfoBaseModel
(
name
:
"签发地:"
,
description
:
"北京市分局"
)
let
tmp11
=
YHP
erson
InfoBaseModel
(
name
:
"签发日期:"
,
description
:
"2028-07-31"
)
let
tmp12
=
YHP
erson
InfoBaseModel
(
name
:
"届满日期:"
,
description
:
"2028-07-31"
)
let
tmp8
=
YHP
review
InfoBaseModel
(
name
:
"证件类别:"
,
description
:
"护照"
)
let
tmp9
=
YHP
review
InfoBaseModel
(
name
:
"证件号码:"
,
description
:
"p2345639"
)
let
tmp10
=
YHP
review
InfoBaseModel
(
name
:
"签发地:"
,
description
:
"北京市分局"
)
let
tmp11
=
YHP
review
InfoBaseModel
(
name
:
"签发日期:"
,
description
:
"2028-07-31"
)
let
tmp12
=
YHP
review
InfoBaseModel
(
name
:
"届满日期:"
,
description
:
"2028-07-31"
)
let
model2
=
YHPersonInfoCellModel1
(
cellTitle
:
"护照及其他旅行证件"
,
cellData
:
[
tmp8
,
tmp9
,
tmp10
,
tmp11
,
tmp12
])
let
arr
=
[
model0
,
model1
,
model2
]
let
model3
=
YHP
ersonInfoCellModel
(
cellType
:
1
,
cellTitle
:
"证件信息"
,
cellData1
:
arr
)
let
model3
=
YHP
reviewInfoSessionModel
(
cellType
:
.
idCardInfoType
,
cellTitle
:
"证件信息"
,
cellData1
:
arr
)
arrData
.
append
(
model3
)
}
...
...
@@ -91,7 +91,7 @@ private extension YHMainApplicantInfoViewController {
let
model2
=
YHPersonInfoCellModel2
(
cellTitle
:
"港澳通行证"
,
frontUrl
:
""
,
backUrl
:
""
,
idType
:
2
)
let
arr
=
[
model1
,
model2
]
let
model4
=
YHP
ersonInfoCellModel
(
cellType
:
2
,
cellTitle
:
"证件照片"
,
cellData2
:
arr
)
let
model4
=
YHP
reviewInfoSessionModel
(
cellType
:
.
idPictureType
,
cellTitle
:
"证件照片"
,
cellData2
:
arr
)
arrData
.
append
(
model4
)
}
}
...
...
@@ -99,7 +99,7 @@ private extension YHMainApplicantInfoViewController {
func
setupUI
()
{
installData
()
self
.
homeTableView
.
register
(
YHP
ersonInfoCommonCell
.
self
,
forCellReuseIdentifier
:
YHPersonInfoCommon
Cell
.
cellReuseIdentifier
)
self
.
homeTableView
.
register
(
YHP
reviewInfoCell
.
self
,
forCellReuseIdentifier
:
YHPreviewInfo
Cell
.
cellReuseIdentifier
)
self
.
homeTableView
.
reloadData
()
}
}
...
...
@@ -113,7 +113,7 @@ extension YHMainApplicantInfoViewController {
}
override
func
tableView
(
_
tableView
:
UITableView
,
cellForRowAt
indexPath
:
IndexPath
)
->
UITableViewCell
{
let
cell
=
tableView
.
dequeueReusableCell
(
withClass
:
YHP
ersonInfoCommon
Cell
.
self
)
let
cell
=
tableView
.
dequeueReusableCell
(
withClass
:
YHP
reviewInfo
Cell
.
self
)
cell
.
selectionStyle
=
.
none
cell
.
model
=
arrData
[
indexPath
.
row
]
return
cell
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/PersonInfoList(个人信息
表
)/C/YHPersonInfoBaseViewController.swift
→
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/PersonInfoList(个人信息
预览
)/C/YHPersonInfoBaseViewController.swift
View file @
c5e40fcd
File moved
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/PersonInfoList(个人信息
表
)/C/YHPersonInfoControllerHoldViewController.swift
→
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/PersonInfoList(个人信息
预览
)/C/YHPersonInfoControllerHoldViewController.swift
View file @
c5e40fcd
File moved
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/PersonInfoList(个人信息
表
)/C/YHPersonInformMainViewController.swift
→
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/PersonInfoList(个人信息
预览
)/C/YHPersonInformMainViewController.swift
View file @
c5e40fcd
File moved
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/PersonInfoList(个人信息
表
)/M/YHPersonInfoCellModel1.swift
→
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/PersonInfoList(个人信息
预览
)/M/YHPersonInfoCellModel1.swift
View file @
c5e40fcd
...
...
@@ -11,5 +11,5 @@ import SmartCodable
struct
YHPersonInfoCellModel1
:
SmartCodable
{
var
cellTitle
:
String
=
""
var
cellData
:
[
YHP
erson
InfoBaseModel
]
=
[]
var
cellData
:
[
YHP
review
InfoBaseModel
]
=
[]
}
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/PersonInfoList(个人信息
表
)/M/YHPersonInfoCellModel2.swift
→
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/PersonInfoList(个人信息
预览
)/M/YHPersonInfoCellModel2.swift
View file @
c5e40fcd
File moved
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/PersonInfoList(个人信息
表
)/M/YHPersonInfoIdentityCardModel.swift
→
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/PersonInfoList(个人信息
预览
)/M/YHPersonInfoIdentityCardModel.swift
View file @
c5e40fcd
File moved
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/PersonInfoList(个人信息
表)/M/YHPerson
InfoBaseModel.swift
→
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/PersonInfoList(个人信息
预览)/M/YHPreview
InfoBaseModel.swift
View file @
c5e40fcd
...
...
@@ -9,7 +9,7 @@
import
UIKit
import
SmartCodable
struct
YHP
erson
InfoBaseModel
:
SmartCodable
{
struct
YHP
review
InfoBaseModel
:
SmartCodable
{
var
name
:
String
=
""
var
description
:
String
=
""
}
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/PersonInfoList(个人信息
表)/M/YHPersonInfoCell
Model.swift
→
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/PersonInfoList(个人信息
预览)/M/YHPreviewInfoSession
Model.swift
View file @
c5e40fcd
...
...
@@ -9,10 +9,18 @@
import
UIKit
import
SmartCodable
struct
YHPersonInfoCellModel
:
SmartCodable
{
var
cellType
:
Int
=
0
// 0-国籍信息 类型 1-证件信息 类型 2-证件照片 类型
enum
YHPreviewInfoSessionModelType
:
Int
{
case
countryInfoType
=
0
//0-国籍信息 类型
case
idCardInfoType
=
1
//1-证件信息 类型
case
idPictureType
=
2
//2-证件照片 类型
}
struct
YHPreviewInfoSessionModel
{
var
cellType
:
YHPreviewInfoSessionModelType
=
.
countryInfoType
var
cellTitle
:
String
=
""
var
cellData0
:
[
YHP
erson
InfoBaseModel
]?
=
nil
var
cellData0
:
[
YHP
review
InfoBaseModel
]?
=
nil
var
cellData1
:
[
YHPersonInfoCellModel1
]?
=
nil
var
cellData2
:
[
YHPersonInfoCellModel2
]?
=
nil
}
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/PersonInfoList(个人信息
表
)/V/YHPersonInfoIdentificationCardView.swift
→
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/PersonInfoList(个人信息
预览
)/V/YHPersonInfoIdentificationCardView.swift
View file @
c5e40fcd
File moved
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/PersonInfoList(个人信息
表)/V/YHPersonInfoCommon
Cell.swift
→
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/PersonInfoList(个人信息
预览)/V/YHPreviewInfo
Cell.swift
View file @
c5e40fcd
//
// YHP
erson
InfoCommonCell.swift
// YHP
review
InfoCommonCell.swift
// galaxy
//
// Created by davidhuangA on 2024/1/30.
...
...
@@ -8,11 +8,11 @@
import
UIKit
class
YHP
ersonInfoCommon
Cell
:
UITableViewCell
{
class
YHP
reviewInfo
Cell
:
UITableViewCell
{
static
let
cellReuseIdentifier
=
"YHP
ersonInfoCommon
Cell"
static
let
cellReuseIdentifier
=
"YHP
reviewInfo
Cell"
var
model
:
YHP
ersonInfoCell
Model
?
{
var
model
:
YHP
reviewInfoSession
Model
?
{
didSet
{
updateUI
()
}
...
...
@@ -30,34 +30,18 @@ class YHPersonInfoCommonCell: UITableViewCell {
}
private
lazy
var
holdView
:
YHP
ersonInfoSession
HoldView
=
{
let
contryInfoView
=
YHP
ersonInfoSession
HoldView
()
private
lazy
var
holdView
:
YHP
reviewInfo
HoldView
=
{
let
contryInfoView
=
YHP
reviewInfo
HoldView
()
return
contryInfoView
}()
override
func
layoutSubviews
()
{
super
.
layoutSubviews
()
if
holdView
.
superview
!=
nil
{
holdView
.
snp
.
makeConstraints
{
make
in
make
.
top
.
equalTo
(
14
)
make
.
left
.
bottom
.
equalToSuperview
()
make
.
right
.
equalToSuperview
()
.
offset
(
-
16
)
}
}
}
}
extension
YHP
ersonInfoCommon
Cell
{
extension
YHP
reviewInfo
Cell
{
func
updateUI
()
{
for
item
in
holdView
.
subviews
{
item
.
removeFromSuperview
()
}
holdView
.
removeFromSuperview
()
contentView
.
removeSubviews
()
backgroundColor
=
.
clear
contentView
.
backgroundColor
=
.
clear
contentView
.
addSubview
(
holdView
)
holdView
.
snp
.
makeConstraints
{
make
in
make
.
top
.
equalTo
(
14
)
...
...
@@ -65,24 +49,24 @@ extension YHPersonInfoCommonCell {
make
.
width
.
equalTo
(
contentView
.
snp
.
width
)
}
if
model
?
.
cellType
==
0
{
if
model
?
.
cellType
==
.
countryInfoType
{
guard
let
model
=
model
else
{
return
}
guard
let
arrData
=
model
.
cellData0
,
arrData
.
count
>
0
else
{
return
}
let
sessionView
=
YHP
ersonInfoSession
View
()
let
sessionView
=
YHP
reviewInfoTitle
View
()
sessionView
.
updateTitle
(
title
:
model
.
cellTitle
)
holdView
.
addSubview
(
sessionView
)
sessionView
.
snp
.
makeConstraints
{
make
in
make
.
top
.
equalToSuperview
()
make
.
right
.
equalToSuperview
()
.
offset
(
-
18
)
make
.
left
.
equalToSuperview
()
.
offset
(
18
)
make
.
height
.
equalTo
(
YHP
ersonInfoSession
View
.
viewH
)
make
.
height
.
equalTo
(
YHP
reviewInfoTitle
View
.
viewH
)
}
if
arrData
.
count
==
1
{
let
item
=
arrData
[
0
]
let
cellView
=
YHP
ersonInfoCell
View
()
let
cellView
=
YHP
reviewInfoNameAndSubName
View
()
cellView
.
update
(
title
:
item
.
name
,
subtitle
:
item
.
description
)
holdView
.
addSubview
(
cellView
)
cellView
.
snp
.
makeConstraints
{
make
in
...
...
@@ -94,7 +78,7 @@ extension YHPersonInfoCommonCell {
}
else
{
var
tmp
:
UIView
=
sessionView
for
(
index
,
item
)
in
arrData
.
enumerated
()
{
let
cellView
=
YHP
ersonInfoCell
View
()
let
cellView
=
YHP
reviewInfoNameAndSubName
View
()
cellView
.
update
(
title
:
item
.
name
,
subtitle
:
item
.
description
)
holdView
.
addSubview
(
cellView
)
...
...
@@ -117,20 +101,20 @@ extension YHPersonInfoCommonCell {
}
}
}
else
if
model
?
.
cellType
==
1
{
else
if
model
?
.
cellType
==
.
idCardInfoType
{
guard
let
model
=
model
else
{
return
}
guard
let
arrData
=
model
.
cellData1
,
arrData
.
count
>
0
else
{
return
}
let
sessionView
=
YHP
ersonInfoSession
View
()
let
sessionView
=
YHP
reviewInfoTitle
View
()
sessionView
.
updateTitle
(
title
:
model
.
cellTitle
)
holdView
.
addSubview
(
sessionView
)
sessionView
.
snp
.
makeConstraints
{
make
in
make
.
top
.
equalToSuperview
()
make
.
right
.
equalToSuperview
()
.
offset
(
-
18
)
make
.
left
.
equalToSuperview
()
.
offset
(
18
)
make
.
height
.
equalTo
(
YHP
ersonInfoSession
View
.
viewH
)
make
.
height
.
equalTo
(
YHP
reviewInfoTitle
View
.
viewH
)
}
var
tmp
:
UIView
=
sessionView
...
...
@@ -153,7 +137,7 @@ extension YHPersonInfoCommonCell {
let
arrData0
=
item0
.
cellData
if
arrData0
.
count
>
0
{
for
(
index
,
item
)
in
arrData0
.
enumerated
()
{
let
cellView
=
YHP
ersonInfoCell
View
()
let
cellView
=
YHP
reviewInfoNameAndSubName
View
()
cellView
.
update
(
title
:
item
.
name
,
subtitle
:
item
.
description
)
holdView
.
addSubview
(
cellView
)
...
...
@@ -211,19 +195,19 @@ extension YHPersonInfoCommonCell {
}
}
}
else
if
model
?
.
cellType
==
2
{
else
if
model
?
.
cellType
==
.
idPictureType
{
guard
let
model
=
model
else
{
return
}
guard
let
arrData
=
model
.
cellData2
,
arrData
.
count
>
0
else
{
return
}
let
sessionView
=
YHP
ersonInfoSession
View
()
let
sessionView
=
YHP
reviewInfoTitle
View
()
sessionView
.
updateTitle
(
title
:
model
.
cellTitle
)
holdView
.
addSubview
(
sessionView
)
sessionView
.
snp
.
makeConstraints
{
make
in
make
.
top
.
equalToSuperview
()
make
.
right
.
equalToSuperview
()
.
offset
(
-
18
)
make
.
left
.
equalToSuperview
()
.
offset
(
18
)
make
.
height
.
equalTo
(
YHP
ersonInfoSession
View
.
viewH
)
make
.
height
.
equalTo
(
YHP
reviewInfoTitle
View
.
viewH
)
}
var
tmp
:
UIView
=
sessionView
...
...
@@ -252,5 +236,9 @@ extension YHPersonInfoCommonCell {
tmp
=
view
}
}
else
{
}
}
}
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/PersonInfoList(个人信息
表)/V/YHPersonInfoSession
HoldView.swift
→
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/PersonInfoList(个人信息
预览)/V/YHPreviewInfo
HoldView.swift
View file @
c5e40fcd
...
...
@@ -8,7 +8,7 @@
import
UIKit
class
YHP
ersonInfoSession
HoldView
:
UIView
{
class
YHP
reviewInfo
HoldView
:
UIView
{
override
init
(
frame
:
CGRect
)
{
super
.
init
(
frame
:
frame
)
backgroundColor
=
.
white
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/PersonInfoList(个人信息
表)/V/YHPersonInfoCell
View.swift
→
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/PersonInfoList(个人信息
预览)/V/YHPreviewInfoNameAndSubName
View.swift
View file @
c5e40fcd
...
...
@@ -7,7 +7,7 @@
//
import
UIKit
class
YHP
ersonInfoCell
View
:
UIView
{
class
YHP
reviewInfoNameAndSubName
View
:
UIView
{
override
init
(
frame
:
CGRect
)
{
super
.
init
(
frame
:
frame
)
setupUI
()
...
...
@@ -60,7 +60,7 @@ class YHPersonInfoCellView: UIView {
}
}
extension
YHP
ersonInfoCell
View
{
extension
YHP
reviewInfoNameAndSubName
View
{
func
update
(
title
:
String
,
subtitle
:
String
)
{
nameLable
.
text
=
title
subtitleLable
.
text
=
subtitle
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/PersonInfoList(个人信息
表)/V/YHPersonInfoSession
View.swift
→
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/PersonInfoList(个人信息
预览)/V/YHPreviewInfoTitle
View.swift
View file @
c5e40fcd
...
...
@@ -8,7 +8,7 @@
import
UIKit
class
YHP
ersonInfoSession
View
:
UIView
{
class
YHP
reviewInfoTitle
View
:
UIView
{
static
let
viewH
:
CGFloat
=
52
override
init
(
frame
:
CGRect
)
{
super
.
init
(
frame
:
frame
)
...
...
@@ -49,7 +49,7 @@ class YHPersonInfoSessionView: UIView {
}
}
extension
YHP
ersonInfoSession
View
{
extension
YHP
reviewInfoTitle
View
{
func
updateTitle
(
title
:
String
)
{
nameLable
.
text
=
title
}
...
...
galaxy/galaxy/Classes/Modules/Login(登录)/C/YHWebViewViewController.swift
View file @
c5e40fcd
...
...
@@ -39,7 +39,7 @@ class YHWebViewViewController: YHBaseViewController, WKUIDelegate, WKNavigationD
// 加载网页的进度条
progBar
=
UIProgressView
(
frame
:
CGRect
(
x
:
0
,
y
:
0
,
width
:
self
.
view
.
frame
.
width
,
height
:
30
))
progBar
.
progress
=
0.0
progBar
.
tintColor
=
UIColor
.
red
progBar
.
tintColor
=
UIColor
.
brandMainColor
webview
.
addSubview
(
progBar
)
// 监听网页加载的进度
webview
.
addObserver
(
self
,
forKeyPath
:
"estimatedProgress"
,
options
:
.
new
,
context
:
nil
)
...
...
galaxy/galaxy/Classes/Tools/NetWork/YHNetRequest.swift
View file @
c5e40fcd
This diff is collapsed.
Click to expand it.
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