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
59e339c4
Commit
59e339c4
authored
Sep 25, 2024
by
Steven杜宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
// 板你个der
parent
76a6869d
Changes
20
Show whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
35 additions
and
35 deletions
+35
-35
YHAdopterBirthViewController.swift
.../AddAdopters(2新增受养人)/C/YHAdopterBirthViewController.swift
+1
-1
YHAdopterMarryViewController.swift
.../AddAdopters(2新增受养人)/C/YHAdopterMarryViewController.swift
+1
-1
YHAdopterResidentViewController.swift
...dAdopters(2新增受养人)/C/YHAdopterResidentViewController.swift
+1
-1
YHAdopterCardExampleView.swift
...办证段)/AddAdopters(2新增受养人)/V/YHAdopterCardExampleView.swift
+1
-1
YHAdopterExampleTableViewCell.swift
...AddAdopters(2新增受养人)/V/YHAdopterExampleTableViewCell.swift
+1
-1
YHTravelCertificateUploadCell.swift
...eparation(6 旅行证件准备)/V/YHTravelCertificateUploadCell.swift
+1
-1
YHPrincipleUploadListVC.swift
...(客服段)/PrincipleBatch(原则批)/C/YHPrincipleUploadListVC.swift
+2
-2
YHPrincipleUploadStatusCell.swift
...)/PrincipleBatch(原则批)/V/YHPrincipleUploadStatusCell.swift
+2
-2
YHCertificateUploadContentListVC.swift
...rtificates(我的证书)/C/YHCertificateUploadContentListVC.swift
+3
-3
YHCertificateModel.swift
...ice(服务中心)/MyCertificates(我的证书)/M/YHCertificateModel.swift
+1
-1
YHCertificateInfoCell.swift
...(服务中心)/MyCertificates(我的证书)/V/YHCertificateInfoCell.swift
+3
-3
YHCertificateTemplateCell.swift
...心)/MyCertificates(我的证书)/V/YHCertificateTemplateCell.swift
+4
-4
YHCertificateTemplateSheetView.swift
...Certificates(我的证书)/V/YHCertificateTemplateSheetView.swift
+2
-2
YHDocumentUploadView.swift
...vice(服务中心)/MyDocuments(我的文书)/V/YHDocumentUploadView.swift
+1
-1
YHResignMaterialListVC.swift
...signMaterialManage(续期资料管理)/C/YHResignMaterialListVC.swift
+1
-1
YHResignMaterialUploadVC.swift
...gnMaterialManage(续期资料管理)/C/YHResignMaterialUploadVC.swift
+3
-3
YHResignMaterialCell.swift
...ResignMaterialManage(续期资料管理)/V/YHResignMaterialCell.swift
+2
-2
YHResignTemplateSheetView.swift
...nMaterialManage(续期资料管理)/V/YHResignTemplateSheetView.swift
+2
-2
YHResignMaterialViewModel.swift
...MaterialManage(续期资料管理)/VM/YHResignMaterialViewModel.swift
+1
-1
YHAllApiName.swift
galaxy/galaxy/Classes/Tools/NetWork/YHAllApiName.swift
+2
-2
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/CustomerService(客服段)/Certificate(办证段)/AddAdopters(2新增受养人)/C/YHAdopterBirthViewController.swift
View file @
59e339c4
...
@@ -108,7 +108,7 @@ extension YHAdopterBirthViewController: UITableViewDelegate, UITableViewDataSour
...
@@ -108,7 +108,7 @@ extension YHAdopterBirthViewController: UITableViewDelegate, UITableViewDataSour
func
tableView
(
_
tableView
:
UITableView
,
cellForRowAt
indexPath
:
IndexPath
)
->
UITableViewCell
{
func
tableView
(
_
tableView
:
UITableView
,
cellForRowAt
indexPath
:
IndexPath
)
->
UITableViewCell
{
if
indexPath
.
row
==
0
{
if
indexPath
.
row
==
0
{
let
cell
=
tableView
.
dequeueReusableCell
(
withClass
:
YHAdopterExampleTableViewCell
.
self
)
let
cell
=
tableView
.
dequeueReusableCell
(
withClass
:
YHAdopterExampleTableViewCell
.
self
)
cell
.
titleLabel
.
text
=
"出生医学证明示例模
版
"
cell
.
titleLabel
.
text
=
"出生医学证明示例模
板
"
cell
.
exampleBlock
=
{[
weak
self
]
in
cell
.
exampleBlock
=
{[
weak
self
]
in
let
view
=
YHAdopterCardExampleView
(
frame
:
CGRect
(
x
:
0
,
y
:
0
,
width
:
KScreenWidth
,
height
:
KScreenHeight
))
let
view
=
YHAdopterCardExampleView
(
frame
:
CGRect
(
x
:
0
,
y
:
0
,
width
:
KScreenWidth
,
height
:
KScreenHeight
))
view
.
type
=
.
birth
view
.
type
=
.
birth
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/CustomerService(客服段)/Certificate(办证段)/AddAdopters(2新增受养人)/C/YHAdopterMarryViewController.swift
View file @
59e339c4
...
@@ -107,7 +107,7 @@ extension YHAdopterMarryViewController: UITableViewDelegate, UITableViewDataSour
...
@@ -107,7 +107,7 @@ extension YHAdopterMarryViewController: UITableViewDelegate, UITableViewDataSour
func
tableView
(
_
tableView
:
UITableView
,
cellForRowAt
indexPath
:
IndexPath
)
->
UITableViewCell
{
func
tableView
(
_
tableView
:
UITableView
,
cellForRowAt
indexPath
:
IndexPath
)
->
UITableViewCell
{
if
indexPath
.
row
==
0
{
if
indexPath
.
row
==
0
{
let
cell
=
tableView
.
dequeueReusableCell
(
withClass
:
YHAdopterExampleTableViewCell
.
self
)
let
cell
=
tableView
.
dequeueReusableCell
(
withClass
:
YHAdopterExampleTableViewCell
.
self
)
cell
.
titleLabel
.
text
=
"结婚证示例模
版
"
cell
.
titleLabel
.
text
=
"结婚证示例模
板
"
cell
.
exampleBlock
=
{[
weak
self
]
in
cell
.
exampleBlock
=
{[
weak
self
]
in
let
view
=
YHAdopterCardExampleView
(
frame
:
CGRect
(
x
:
0
,
y
:
0
,
width
:
KScreenWidth
,
height
:
KScreenHeight
))
let
view
=
YHAdopterCardExampleView
(
frame
:
CGRect
(
x
:
0
,
y
:
0
,
width
:
KScreenWidth
,
height
:
KScreenHeight
))
view
.
type
=
.
marry
view
.
type
=
.
marry
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/CustomerService(客服段)/Certificate(办证段)/AddAdopters(2新增受养人)/C/YHAdopterResidentViewController.swift
View file @
59e339c4
...
@@ -107,7 +107,7 @@ extension YHAdopterResidentViewController: UITableViewDelegate, UITableViewDataS
...
@@ -107,7 +107,7 @@ extension YHAdopterResidentViewController: UITableViewDelegate, UITableViewDataS
func
tableView
(
_
tableView
:
UITableView
,
cellForRowAt
indexPath
:
IndexPath
)
->
UITableViewCell
{
func
tableView
(
_
tableView
:
UITableView
,
cellForRowAt
indexPath
:
IndexPath
)
->
UITableViewCell
{
if
indexPath
.
row
==
0
{
if
indexPath
.
row
==
0
{
let
cell
=
tableView
.
dequeueReusableCell
(
withClass
:
YHAdopterExampleTableViewCell
.
self
)
let
cell
=
tableView
.
dequeueReusableCell
(
withClass
:
YHAdopterExampleTableViewCell
.
self
)
cell
.
titleLabel
.
text
=
"户口信息页示例模
版
"
cell
.
titleLabel
.
text
=
"户口信息页示例模
板
"
cell
.
exampleBlock
=
{[
weak
self
]
in
cell
.
exampleBlock
=
{[
weak
self
]
in
let
view
=
YHAdopterCardExampleView
(
frame
:
CGRect
(
x
:
0
,
y
:
0
,
width
:
KScreenWidth
,
height
:
KScreenHeight
))
let
view
=
YHAdopterCardExampleView
(
frame
:
CGRect
(
x
:
0
,
y
:
0
,
width
:
KScreenWidth
,
height
:
KScreenHeight
))
view
.
type
=
.
resident
view
.
type
=
.
resident
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/CustomerService(客服段)/Certificate(办证段)/AddAdopters(2新增受养人)/V/YHAdopterCardExampleView.swift
View file @
59e339c4
...
@@ -44,7 +44,7 @@ class YHAdopterCardExampleView: UIView {
...
@@ -44,7 +44,7 @@ class YHAdopterCardExampleView: UIView {
}
}
}
}
if
type
==
.
marry
{
if
type
==
.
marry
{
titleLabel
.
text
=
"结婚证示例模
版
"
titleLabel
.
text
=
"结婚证示例模
板
"
data
=
[
"service_adopter_example_marry"
]
data
=
[
"service_adopter_example_marry"
]
centerView
.
snp
.
remakeConstraints
{
make
in
centerView
.
snp
.
remakeConstraints
{
make
in
make
.
left
.
right
.
bottom
.
equalToSuperview
()
make
.
left
.
right
.
bottom
.
equalToSuperview
()
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/CustomerService(客服段)/Certificate(办证段)/AddAdopters(2新增受养人)/V/YHAdopterExampleTableViewCell.swift
View file @
59e339c4
...
@@ -43,7 +43,7 @@ class YHAdopterExampleTableViewCell: UITableViewCell {
...
@@ -43,7 +43,7 @@ class YHAdopterExampleTableViewCell: UITableViewCell {
let
label
=
UILabel
()
let
label
=
UILabel
()
label
.
font
=
UIFont
.
PFSC_M
(
ofSize
:
17
)
label
.
font
=
UIFont
.
PFSC_M
(
ofSize
:
17
)
label
.
textColor
=
UIColor
.
mainTextColor
label
.
textColor
=
UIColor
.
mainTextColor
label
.
text
=
"中国身份证示例模
版
"
label
.
text
=
"中国身份证示例模
板
"
return
label
return
label
}()
}()
contentView
.
addSubview
(
titleLabel
)
contentView
.
addSubview
(
titleLabel
)
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/CustomerService(客服段)/Certificate(办证段)/TravelDocumentsPreparation(6 旅行证件准备)/V/YHTravelCertificateUploadCell.swift
View file @
59e339c4
...
@@ -69,7 +69,7 @@ class YHTravelCertificateUploadCell: UITableViewCell {
...
@@ -69,7 +69,7 @@ class YHTravelCertificateUploadCell: UITableViewCell {
lazy
var
templateButton
:
UIButton
=
{
lazy
var
templateButton
:
UIButton
=
{
let
btn
=
UIButton
()
let
btn
=
UIButton
()
btn
.
frame
=
CGRect
(
x
:
0
,
y
:
0
,
width
:
48
,
height
:
16
)
btn
.
frame
=
CGRect
(
x
:
0
,
y
:
0
,
width
:
48
,
height
:
16
)
btn
.
setTitle
(
"示例模
版
"
,
for
:
.
normal
)
btn
.
setTitle
(
"示例模
板
"
,
for
:
.
normal
)
btn
.
titleLabel
?
.
font
=
.
PFSC_M
(
ofSize
:
10
)
btn
.
titleLabel
?
.
font
=
.
PFSC_M
(
ofSize
:
10
)
btn
.
setTitleColor
(
.
brandMainColor
,
for
:
.
normal
)
btn
.
setTitleColor
(
.
brandMainColor
,
for
:
.
normal
)
btn
.
layer
.
cornerRadius
=
kCornerRadius3
btn
.
layer
.
cornerRadius
=
kCornerRadius3
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/CustomerService(客服段)/PrincipleBatch(原则批)/C/YHPrincipleUploadListVC.swift
View file @
59e339c4
...
@@ -429,7 +429,7 @@ extension YHPrincipleUploadListVC: UITableViewDelegate, UITableViewDataSource {
...
@@ -429,7 +429,7 @@ extension YHPrincipleUploadListVC: UITableViewDelegate, UITableViewDataSource {
}
}
self
.
showSelectImageAndFileView
(
model
)
self
.
showSelectImageAndFileView
(
model
)
}
}
// 点击模
版
// 点击模
板
cell
.
templateBtnClick
=
{
cell
.
templateBtnClick
=
{
[
weak
self
]
selectModel
in
[
weak
self
]
selectModel
in
guard
let
self
=
self
else
{
return
}
guard
let
self
=
self
else
{
return
}
...
@@ -560,7 +560,7 @@ extension YHPrincipleUploadListVC: UITableViewDelegate, UITableViewDataSource {
...
@@ -560,7 +560,7 @@ extension YHPrincipleUploadListVC: UITableViewDelegate, UITableViewDataSource {
}
}
}
else
{
}
else
{
YHHUD
.
flash
(
message
:
"模
版
链接为空"
)
YHHUD
.
flash
(
message
:
"模
板
链接为空"
)
}
}
}
}
mailView
.
show
()
mailView
.
show
()
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/CustomerService(客服段)/PrincipleBatch(原则批)/V/YHPrincipleUploadStatusCell.swift
View file @
59e339c4
...
@@ -68,7 +68,7 @@ class YHPrincipleUploadStatusCell: UITableViewCell {
...
@@ -68,7 +68,7 @@ class YHPrincipleUploadStatusCell: UITableViewCell {
lazy
var
templateButton
:
UIButton
=
{
lazy
var
templateButton
:
UIButton
=
{
let
btn
=
UIButton
()
let
btn
=
UIButton
()
btn
.
frame
=
CGRect
(
x
:
0
,
y
:
0
,
width
:
66
,
height
:
27
)
btn
.
frame
=
CGRect
(
x
:
0
,
y
:
0
,
width
:
66
,
height
:
27
)
btn
.
setTitle
(
"获取模
版
"
,
for
:
.
normal
)
btn
.
setTitle
(
"获取模
板
"
,
for
:
.
normal
)
btn
.
titleLabel
?
.
font
=
.
PFSC_M
(
ofSize
:
12
)
btn
.
titleLabel
?
.
font
=
.
PFSC_M
(
ofSize
:
12
)
btn
.
setTitleColor
(
.
brandMainColor
,
for
:
.
normal
)
btn
.
setTitleColor
(
.
brandMainColor
,
for
:
.
normal
)
btn
.
layer
.
cornerRadius
=
kCornerRadius3
btn
.
layer
.
cornerRadius
=
kCornerRadius3
...
@@ -217,7 +217,7 @@ class YHPrincipleUploadStatusCell: UITableViewCell {
...
@@ -217,7 +217,7 @@ class YHPrincipleUploadStatusCell: UITableViewCell {
}
}
titleLabel
.
attributed
.
text
=
titleStr
titleLabel
.
attributed
.
text
=
titleStr
// 模
版
显示
// 模
板
显示
templateButton
.
isHidden
=
!
model
.
isNeedTemplate
templateButton
.
isHidden
=
!
model
.
isNeedTemplate
// 红色已驳回原因
// 红色已驳回原因
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/MyCertificates(我的证书)/C/YHCertificateUploadContentListVC.swift
View file @
59e339c4
...
@@ -316,7 +316,7 @@ extension YHCertificateUploadContentListVC: UITableViewDelegate, UITableViewData
...
@@ -316,7 +316,7 @@ extension YHCertificateUploadContentListVC: UITableViewDelegate, UITableViewData
func
tableView
(
_
tableView
:
UITableView
,
viewForHeaderInSection
section
:
Int
)
->
UIView
?
{
func
tableView
(
_
tableView
:
UITableView
,
viewForHeaderInSection
section
:
Int
)
->
UIView
?
{
let
view
=
UIView
()
let
view
=
UIView
()
if
section
==
0
{
// 证件示例模
版
if
section
==
0
{
// 证件示例模
板
if
!
supplementInfo
.
templateInfo
.
isNeedShowTemplate
()
{
if
!
supplementInfo
.
templateInfo
.
isNeedShowTemplate
()
{
return
view
return
view
...
@@ -326,7 +326,7 @@ extension YHCertificateUploadContentListVC: UITableViewDelegate, UITableViewData
...
@@ -326,7 +326,7 @@ extension YHCertificateUploadContentListVC: UITableViewDelegate, UITableViewData
titlelabel
.
textColor
=
UIColor
.
mainTextColor
titlelabel
.
textColor
=
UIColor
.
mainTextColor
titlelabel
.
textAlignment
=
.
left
titlelabel
.
textAlignment
=
.
left
titlelabel
.
font
=
UIFont
.
PFSC_M
(
ofSize
:
17
)
titlelabel
.
font
=
UIFont
.
PFSC_M
(
ofSize
:
17
)
titlelabel
.
text
=
"
\(
supplementInfo
.
name
)
示例模
版
"
titlelabel
.
text
=
"
\(
supplementInfo
.
name
)
示例模
板
"
titlelabel
.
numberOfLines
=
0
titlelabel
.
numberOfLines
=
0
view
.
addSubview
(
titlelabel
)
view
.
addSubview
(
titlelabel
)
...
@@ -523,7 +523,7 @@ extension YHCertificateUploadContentListVC: UITableViewDelegate, UITableViewData
...
@@ -523,7 +523,7 @@ extension YHCertificateUploadContentListVC: UITableViewDelegate, UITableViewData
}
}
func
tableView
(
_
tableView
:
UITableView
,
didSelectRowAt
indexPath
:
IndexPath
)
{
func
tableView
(
_
tableView
:
UITableView
,
didSelectRowAt
indexPath
:
IndexPath
)
{
if
indexPath
.
section
==
0
{
// 模
版
列表
if
indexPath
.
section
==
0
{
// 模
板
列表
if
0
<=
indexPath
.
row
&&
indexPath
.
row
<
templateArr
.
count
{
if
0
<=
indexPath
.
row
&&
indexPath
.
row
<
templateArr
.
count
{
let
path
=
templateArr
[
indexPath
.
row
]
let
path
=
templateArr
[
indexPath
.
row
]
print
(
path
.
url
)
print
(
path
.
url
)
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/MyCertificates(我的证书)/M/YHCertificateModel.swift
View file @
59e339c4
...
@@ -252,7 +252,7 @@ class YHTemplateInfo: SmartCodable {
...
@@ -252,7 +252,7 @@ class YHTemplateInfo: SmartCodable {
class
YHMaterialPath
:
SmartCodable
{
class
YHMaterialPath
:
SmartCodable
{
var
name
:
String
=
""
var
name
:
String
=
""
var
url
:
String
=
""
var
url
:
String
=
""
// 自定义类型 0:模
版
1:指引
// 自定义类型 0:模
板
1:指引
var
type
:
Int
=
0
var
type
:
Int
=
0
enum
CodingKeys
:
String
,
CodingKey
{
enum
CodingKeys
:
String
,
CodingKey
{
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/MyCertificates(我的证书)/V/YHCertificateInfoCell.swift
View file @
59e339c4
...
@@ -24,7 +24,7 @@ class YHCertificateInfoCell: UITableViewCell {
...
@@ -24,7 +24,7 @@ class YHCertificateInfoCell: UITableViewCell {
lazy
var
templateButton
:
UIButton
=
{
lazy
var
templateButton
:
UIButton
=
{
let
btn
=
UIButton
()
let
btn
=
UIButton
()
btn
.
frame
=
CGRect
(
x
:
0
,
y
:
0
,
width
:
48
,
height
:
16
)
btn
.
frame
=
CGRect
(
x
:
0
,
y
:
0
,
width
:
48
,
height
:
16
)
btn
.
setTitle
(
"资料模
版
"
,
for
:
.
normal
)
btn
.
setTitle
(
"资料模
板
"
,
for
:
.
normal
)
btn
.
titleLabel
?
.
font
=
.
PFSC_M
(
ofSize
:
10
)
btn
.
titleLabel
?
.
font
=
.
PFSC_M
(
ofSize
:
10
)
btn
.
setTitleColor
(
.
brandMainColor
,
for
:
.
normal
)
btn
.
setTitleColor
(
.
brandMainColor
,
for
:
.
normal
)
btn
.
layer
.
cornerRadius
=
kCornerRadius3
btn
.
layer
.
cornerRadius
=
kCornerRadius3
...
@@ -102,13 +102,13 @@ class YHCertificateInfoCell: UITableViewCell {
...
@@ -102,13 +102,13 @@ class YHCertificateInfoCell: UITableViewCell {
let
cerName
:
ASAttributedString
=
.
init
(
string
:
name
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
16
)),
.
foreground
(
UIColor
.
mainTextColor
))
let
cerName
:
ASAttributedString
=
.
init
(
string
:
name
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
16
)),
.
foreground
(
UIColor
.
mainTextColor
))
var
template
:
ASAttributedString
=
"
\(
.
view
(
templateButton
,
.
original
(
.
center
))
)
"
var
template
:
ASAttributedString
=
"
\(
.
view
(
templateButton
,
.
original
(
.
center
))
)
"
// 是否展示右边的模
版
按钮
// 是否展示右边的模
板
按钮
var
showTemplateBtn
=
true
var
showTemplateBtn
=
true
if
model
.
isNeedDealt
{
if
model
.
isNeedDealt
{
templateButton
.
setTitle
(
"银河代办"
,
for
:
.
normal
)
templateButton
.
setTitle
(
"银河代办"
,
for
:
.
normal
)
template
=
"
\(
.
view
(
templateButton
,
.
original
(
.
center
))
)
"
template
=
"
\(
.
view
(
templateButton
,
.
original
(
.
center
))
)
"
}
else
{
}
else
{
templateButton
.
setTitle
(
"资料模
版
"
,
for
:
.
normal
)
templateButton
.
setTitle
(
"资料模
板
"
,
for
:
.
normal
)
template
=
"
\(
.
view
(
templateButton
,
.
original
(
.
center
))
)
"
template
=
"
\(
.
view
(
templateButton
,
.
original
(
.
center
))
)
"
if
model
.
templateInfo
.
materialPath
.
isEmpty
&&
model
.
templateInfo
.
guideFilePath
.
isEmpty
&&
model
.
templateInfo
.
description
.
isEmpty
{
if
model
.
templateInfo
.
materialPath
.
isEmpty
&&
model
.
templateInfo
.
guideFilePath
.
isEmpty
&&
model
.
templateInfo
.
description
.
isEmpty
{
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/MyCertificates(我的证书)/V/YHCertificateTemplateCell.swift
View file @
59e339c4
...
@@ -22,7 +22,7 @@ class YHCertificateSampleTemplateView: UIView {
...
@@ -22,7 +22,7 @@ class YHCertificateSampleTemplateView: UIView {
lazy
var
titleLabel
:
UILabel
=
{
lazy
var
titleLabel
:
UILabel
=
{
let
label
=
UILabel
()
let
label
=
UILabel
()
label
.
text
=
"查看证件示例模
版
"
.
local
label
.
text
=
"查看证件示例模
板
"
.
local
label
.
textColor
=
UIColor
.
mainTextColor
label
.
textColor
=
UIColor
.
mainTextColor
label
.
textAlignment
=
.
left
label
.
textAlignment
=
.
left
label
.
font
=
UIFont
.
PFSC_B
(
ofSize
:
14
)
label
.
font
=
UIFont
.
PFSC_B
(
ofSize
:
14
)
...
@@ -76,7 +76,7 @@ class YHCertificateTemplateCell: UITableViewCell {
...
@@ -76,7 +76,7 @@ class YHCertificateTemplateCell: UITableViewCell {
didSet
{
didSet
{
if
let
path
=
templatePath
{
if
let
path
=
templatePath
{
var
title
=
"查看证件示例模
版
"
var
title
=
"查看证件示例模
板
"
if
path
.
type
==
1
{
// 指引
if
path
.
type
==
1
{
// 指引
title
=
"查看证件操作指引"
title
=
"查看证件操作指引"
}
}
...
@@ -92,10 +92,10 @@ class YHCertificateTemplateCell: UITableViewCell {
...
@@ -92,10 +92,10 @@ class YHCertificateTemplateCell: UITableViewCell {
templateView
.
titleLabel
.
text
=
model
.
name
templateView
.
titleLabel
.
text
=
model
.
name
}
else
{
}
else
{
templateView
.
titleLabel
.
text
=
"查看资料示例模
版
"
templateView
.
titleLabel
.
text
=
"查看资料示例模
板
"
}
}
}
else
{
}
else
{
templateView
.
titleLabel
.
text
=
"查看资料示例模
版
"
templateView
.
titleLabel
.
text
=
"查看资料示例模
板
"
}
}
}
}
}
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/MyCertificates(我的证书)/V/YHCertificateTemplateSheetView.swift
View file @
59e339c4
...
@@ -100,7 +100,7 @@ class YHCertificateTemplateSheetView: UIView {
...
@@ -100,7 +100,7 @@ class YHCertificateTemplateSheetView: UIView {
label
.
textAlignment
=
.
center
label
.
textAlignment
=
.
center
label
.
font
=
UIFont
.
PFSC_B
(
ofSize
:
17
)
label
.
font
=
UIFont
.
PFSC_B
(
ofSize
:
17
)
label
.
numberOfLines
=
0
label
.
numberOfLines
=
0
label
.
text
=
"示例模
版
"
label
.
text
=
"示例模
板
"
return
label
return
label
}()
}()
...
@@ -136,7 +136,7 @@ class YHCertificateTemplateSheetView: UIView {
...
@@ -136,7 +136,7 @@ class YHCertificateTemplateSheetView: UIView {
templateInfo
=
model
templateInfo
=
model
if
!
model
.
name
.
isEmpty
{
if
!
model
.
name
.
isEmpty
{
titleLabel
.
text
=
"
\(
model
.
name
)
示例模
版
"
titleLabel
.
text
=
"
\(
model
.
name
)
示例模
板
"
}
}
templateArr
.
removeAll
()
templateArr
.
removeAll
()
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/MyDocuments(我的文书)/V/YHDocumentUploadView.swift
View file @
59e339c4
...
@@ -35,7 +35,7 @@ class YHDocumentUploadView: UIView {
...
@@ -35,7 +35,7 @@ class YHDocumentUploadView: UIView {
var
uploadFilesBlock
:((
URL
)
->
())?
var
uploadFilesBlock
:((
URL
)
->
())?
// 上传图片
// 上传图片
var
uploadImageBlock
:(([
YHSelectImageItem
])
->
())?
var
uploadImageBlock
:(([
YHSelectImageItem
])
->
())?
// 点击模
版
// 点击模
板
var
clickTemplateBlock
:((
YHMaterialPath
?)
->
())?
var
clickTemplateBlock
:((
YHMaterialPath
?)
->
())?
lazy
var
blackMaskView
:
UIView
=
{
lazy
var
blackMaskView
:
UIView
=
{
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/Resign(续签)/ResignMaterialManage(续期资料管理)/C/YHResignMaterialListVC.swift
View file @
59e339c4
...
@@ -108,7 +108,7 @@ extension YHResignMaterialListVC: UITableViewDelegate, UITableViewDataSource {
...
@@ -108,7 +108,7 @@ extension YHResignMaterialListVC: UITableViewDelegate, UITableViewDataSource {
YHHUD
.
hide
()
YHHUD
.
hide
()
guard
let
self
=
self
else
{
return
}
guard
let
self
=
self
else
{
return
}
if
!
success
{
if
!
success
{
YHHUD
.
flash
(
message
:
"获取模
版
失败"
)
YHHUD
.
flash
(
message
:
"获取模
板
失败"
)
return
return
}
}
let
view
=
YHResignTemplateSheetView
.
templateView
(
self
.
viewModel
.
templateDeail
)
let
view
=
YHResignTemplateSheetView
.
templateView
(
self
.
viewModel
.
templateDeail
)
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/Resign(续签)/ResignMaterialManage(续期资料管理)/C/YHResignMaterialUploadVC.swift
View file @
59e339c4
...
@@ -316,13 +316,13 @@ extension YHResignMaterialUploadVC: UITableViewDelegate, UITableViewDataSource {
...
@@ -316,13 +316,13 @@ extension YHResignMaterialUploadVC: UITableViewDelegate, UITableViewDataSource {
func
tableView
(
_
tableView
:
UITableView
,
viewForHeaderInSection
section
:
Int
)
->
UIView
?
{
func
tableView
(
_
tableView
:
UITableView
,
viewForHeaderInSection
section
:
Int
)
->
UIView
?
{
let
view
=
UIView
()
let
view
=
UIView
()
if
section
==
0
{
// 证件示例模
版
if
section
==
0
{
// 证件示例模
板
let
titlelabel
=
UILabel
()
let
titlelabel
=
UILabel
()
titlelabel
.
textColor
=
UIColor
.
mainTextColor
titlelabel
.
textColor
=
UIColor
.
mainTextColor
titlelabel
.
textAlignment
=
.
left
titlelabel
.
textAlignment
=
.
left
titlelabel
.
font
=
UIFont
.
PFSC_M
(
ofSize
:
17
)
titlelabel
.
font
=
UIFont
.
PFSC_M
(
ofSize
:
17
)
titlelabel
.
text
=
"
\(
self
.
materialModel
.
getName
()
)
示例模
版
"
titlelabel
.
text
=
"
\(
self
.
materialModel
.
getName
()
)
示例模
板
"
titlelabel
.
numberOfLines
=
0
titlelabel
.
numberOfLines
=
0
view
.
addSubview
(
titlelabel
)
view
.
addSubview
(
titlelabel
)
...
@@ -524,7 +524,7 @@ extension YHResignMaterialUploadVC: UITableViewDelegate, UITableViewDataSource {
...
@@ -524,7 +524,7 @@ extension YHResignMaterialUploadVC: UITableViewDelegate, UITableViewDataSource {
}
}
func
tableView
(
_
tableView
:
UITableView
,
didSelectRowAt
indexPath
:
IndexPath
)
{
func
tableView
(
_
tableView
:
UITableView
,
didSelectRowAt
indexPath
:
IndexPath
)
{
if
indexPath
.
section
==
0
{
// 模
版
列表
if
indexPath
.
section
==
0
{
// 模
板
列表
if
0
<=
indexPath
.
row
&&
indexPath
.
row
<
templateArr
.
count
{
if
0
<=
indexPath
.
row
&&
indexPath
.
row
<
templateArr
.
count
{
let
path
=
templateArr
[
indexPath
.
row
]
let
path
=
templateArr
[
indexPath
.
row
]
print
(
path
.
fileUrl
)
print
(
path
.
fileUrl
)
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/Resign(续签)/ResignMaterialManage(续期资料管理)/V/YHResignMaterialCell.swift
View file @
59e339c4
...
@@ -40,7 +40,7 @@ class YHResignMaterialCell: UITableViewCell {
...
@@ -40,7 +40,7 @@ class YHResignMaterialCell: UITableViewCell {
lazy
var
templateButton
:
UIButton
=
{
lazy
var
templateButton
:
UIButton
=
{
let
btn
=
UIButton
()
let
btn
=
UIButton
()
btn
.
frame
=
CGRect
(
x
:
0
,
y
:
0
,
width
:
48
,
height
:
16
)
btn
.
frame
=
CGRect
(
x
:
0
,
y
:
0
,
width
:
48
,
height
:
16
)
btn
.
setTitle
(
"资料模
版
"
,
for
:
.
normal
)
btn
.
setTitle
(
"资料模
板
"
,
for
:
.
normal
)
btn
.
titleLabel
?
.
font
=
.
PFSC_M
(
ofSize
:
10
)
btn
.
titleLabel
?
.
font
=
.
PFSC_M
(
ofSize
:
10
)
btn
.
setTitleColor
(
.
brandMainColor
,
for
:
.
normal
)
btn
.
setTitleColor
(
.
brandMainColor
,
for
:
.
normal
)
btn
.
layer
.
cornerRadius
=
kCornerRadius3
btn
.
layer
.
cornerRadius
=
kCornerRadius3
...
@@ -113,7 +113,7 @@ class YHResignMaterialCell: UITableViewCell {
...
@@ -113,7 +113,7 @@ class YHResignMaterialCell: UITableViewCell {
}
}
result
+=
cerName
result
+=
cerName
// 是否展示右边的模
版
按钮
// 是否展示右边的模
板
按钮
let
showTemplateBtn
=
true
let
showTemplateBtn
=
true
if
showTemplateBtn
{
if
showTemplateBtn
{
result
+=
template
result
+=
template
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/Resign(续签)/ResignMaterialManage(续期资料管理)/V/YHResignTemplateSheetView.swift
View file @
59e339c4
...
@@ -91,7 +91,7 @@ class YHResignTemplateSheetView: UIView {
...
@@ -91,7 +91,7 @@ class YHResignTemplateSheetView: UIView {
label
.
textAlignment
=
.
center
label
.
textAlignment
=
.
center
label
.
font
=
UIFont
.
PFSC_B
(
ofSize
:
17
)
label
.
font
=
UIFont
.
PFSC_B
(
ofSize
:
17
)
label
.
numberOfLines
=
0
label
.
numberOfLines
=
0
label
.
text
=
"示例模
版
"
label
.
text
=
"示例模
板
"
return
label
return
label
}()
}()
...
@@ -127,7 +127,7 @@ class YHResignTemplateSheetView: UIView {
...
@@ -127,7 +127,7 @@ class YHResignTemplateSheetView: UIView {
templateInfo
=
model
templateInfo
=
model
if
!
model
.
getName
()
.
isEmpty
{
if
!
model
.
getName
()
.
isEmpty
{
titleLabel
.
text
=
"
\(
model
.
getName
()
)
示例模
版
"
titleLabel
.
text
=
"
\(
model
.
getName
()
)
示例模
板
"
}
}
templateArr
.
removeAll
()
templateArr
.
removeAll
()
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/Resign(续签)/ResignMaterialManage(续期资料管理)/VM/YHResignMaterialViewModel.swift
View file @
59e339c4
...
@@ -74,7 +74,7 @@ class YHResignMaterialViewModel: YHBaseViewModel {
...
@@ -74,7 +74,7 @@ class YHResignMaterialViewModel: YHBaseViewModel {
// 某个具体资料详情
// 某个具体资料详情
var
materialDeal
:
YHMaterialModel
=
YHMaterialModel
()
var
materialDeal
:
YHMaterialModel
=
YHMaterialModel
()
// 某个具体资料模
版
// 某个具体资料模
板
var
templateDeail
:
YHResignTemplateDetail
=
YHResignTemplateDetail
()
var
templateDeail
:
YHResignTemplateDetail
=
YHResignTemplateDetail
()
func
clear
()
{
func
clear
()
{
...
...
galaxy/galaxy/Classes/Tools/NetWork/YHAllApiName.swift
View file @
59e339c4
...
@@ -235,7 +235,7 @@ class YHAllApiName {
...
@@ -235,7 +235,7 @@ class YHAllApiName {
static
let
company
=
"infoflow/company/search"
static
let
company
=
"infoflow/company/search"
//工作经历删除
//工作经历删除
static
let
del
=
"infoflow/work/del"
static
let
del
=
"infoflow/work/del"
//工作经历参考模
版
//工作经历参考模
板
static
let
example
=
"infoflow/work/getWorkExampleList"
static
let
example
=
"infoflow/work/getWorkExampleList"
static
let
projectExample
=
"infoflow/work/getWorkProjectExampleList"
static
let
projectExample
=
"infoflow/work/getWorkProjectExampleList"
//工作经验项目保存
//工作经验项目保存
...
@@ -520,7 +520,7 @@ class YHAllApiName {
...
@@ -520,7 +520,7 @@ class YHAllApiName {
struct
ResignMaterial
{
struct
ResignMaterial
{
// 资料列表
// 资料列表
static
let
resignMaterialList
=
"super-app/identity-renewal/renewal-batch-list"
static
let
resignMaterialList
=
"super-app/identity-renewal/renewal-batch-list"
// 资料模
版
详情
// 资料模
板
详情
static
let
resginTemplateDetail
=
"super-app/identity-renewal/template-detail"
static
let
resginTemplateDetail
=
"super-app/identity-renewal/template-detail"
// 文件上传
// 文件上传
static
let
uploadMaterials
=
"super-app/identity-renewal/renewal-upload"
static
let
uploadMaterials
=
"super-app/identity-renewal/renewal-upload"
...
...
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