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
187f18b8
Commit
187f18b8
authored
Sep 23, 2024
by
Steven杜宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
// 续签
parent
904a95df
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
19 additions
and
7 deletions
+19
-7
YHResignMaterialUploadVC.swift
...gnMaterialManage(续期资料管理)/C/YHResignMaterialUploadVC.swift
+2
-2
YHMaterialListModel.swift
.../ResignMaterialManage(续期资料管理)/M/YHMaterialListModel.swift
+14
-0
YHResignMaterialCell.swift
...ResignMaterialManage(续期资料管理)/V/YHResignMaterialCell.swift
+1
-3
YHResignTemplateSheetView.swift
...nMaterialManage(续期资料管理)/V/YHResignTemplateSheetView.swift
+2
-2
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/Resign(续签)/ResignMaterialManage(续期资料管理)/C/YHResignMaterialUploadVC.swift
View file @
187f18b8
...
@@ -322,7 +322,7 @@ extension YHResignMaterialUploadVC: UITableViewDelegate, UITableViewDataSource {
...
@@ -322,7 +322,7 @@ extension YHResignMaterialUploadVC: UITableViewDelegate, UITableViewDataSource {
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
.
name
)
示例模版"
titlelabel
.
text
=
"
\(
self
.
materialModel
.
getName
()
)
示例模版"
titlelabel
.
numberOfLines
=
0
titlelabel
.
numberOfLines
=
0
view
.
addSubview
(
titlelabel
)
view
.
addSubview
(
titlelabel
)
...
@@ -356,7 +356,7 @@ extension YHResignMaterialUploadVC: UITableViewDelegate, UITableViewDataSource {
...
@@ -356,7 +356,7 @@ extension YHResignMaterialUploadVC: UITableViewDelegate, UITableViewDataSource {
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
.
name
titlelabel
.
text
=
self
.
materialModel
.
getName
()
titlelabel
.
numberOfLines
=
0
titlelabel
.
numberOfLines
=
0
view
.
addSubview
(
titlelabel
)
view
.
addSubview
(
titlelabel
)
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/Resign(续签)/ResignMaterialManage(续期资料管理)/M/YHMaterialListModel.swift
View file @
187f18b8
...
@@ -64,6 +64,13 @@ class YHMaterialModel: SmartCodable {
...
@@ -64,6 +64,13 @@ class YHMaterialModel: SmartCodable {
var
updated_at
:
String
=
""
var
updated_at
:
String
=
""
var
deleted_at
:
String
=
""
var
deleted_at
:
String
=
""
func
getName
()
->
String
{
var
nameStr
=
name
.
trimmingCharacters
(
in
:
.
whitespaces
)
nameStr
=
nameStr
.
replacingOccurrences
(
of
:
"
\n
"
,
with
:
""
)
nameStr
=
nameStr
.
replacingOccurrences
(
of
:
"
\r
"
,
with
:
""
)
return
nameStr
}
required
init
()
{
required
init
()
{
}
}
...
@@ -90,6 +97,13 @@ class YHResignTemplateDetail: SmartCodable {
...
@@ -90,6 +97,13 @@ class YHResignTemplateDetail: SmartCodable {
var
remark
:
String
=
""
var
remark
:
String
=
""
var
file_url
:
[
YHResignTemplateItemModel
]
=
[]
var
file_url
:
[
YHResignTemplateItemModel
]
=
[]
func
getName
()
->
String
{
var
nameStr
=
name
.
trimmingCharacters
(
in
:
.
whitespaces
)
nameStr
=
nameStr
.
replacingOccurrences
(
of
:
"
\n
"
,
with
:
""
)
nameStr
=
nameStr
.
replacingOccurrences
(
of
:
"
\r
"
,
with
:
""
)
return
nameStr
}
required
init
()
{
required
init
()
{
}
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/Resign(续签)/ResignMaterialManage(续期资料管理)/V/YHResignMaterialCell.swift
View file @
187f18b8
...
@@ -103,9 +103,7 @@ class YHResignMaterialCell: UITableViewCell {
...
@@ -103,9 +103,7 @@ class YHResignMaterialCell: UITableViewCell {
var
result
:
ASAttributedString
=
.
init
(
string
:
""
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
16
)),
.
foreground
(
UIColor
.
mainTextColor
))
var
result
:
ASAttributedString
=
.
init
(
string
:
""
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
16
)),
.
foreground
(
UIColor
.
mainTextColor
))
let
mustTag
:
ASAttributedString
=
.
init
(
"*"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
16
)),
.
foreground
(
UIColor
.
failColor
))
let
mustTag
:
ASAttributedString
=
.
init
(
"*"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
16
)),
.
foreground
(
UIColor
.
failColor
))
var
name
=
model
.
name
.
trimmingCharacters
(
in
:
.
whitespaces
)
var
name
=
model
.
getName
()
name
=
name
.
replacingOccurrences
(
of
:
"
\n
"
,
with
:
""
)
name
=
name
.
replacingOccurrences
(
of
:
"
\r
"
,
with
:
""
)
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
))
let
template
:
ASAttributedString
=
"
\(
.
view
(
templateButton
,
.
original
(
.
center
))
)
"
let
template
:
ASAttributedString
=
"
\(
.
view
(
templateButton
,
.
original
(
.
center
))
)
"
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/Resign(续签)/ResignMaterialManage(续期资料管理)/V/YHResignTemplateSheetView.swift
View file @
187f18b8
...
@@ -126,8 +126,8 @@ class YHResignTemplateSheetView: UIView {
...
@@ -126,8 +126,8 @@ class YHResignTemplateSheetView: UIView {
func
updateModel
(
_
model
:
YHResignTemplateDetail
)
{
func
updateModel
(
_
model
:
YHResignTemplateDetail
)
{
templateInfo
=
model
templateInfo
=
model
if
!
model
.
name
.
isEmpty
{
if
!
model
.
getName
()
.
isEmpty
{
titleLabel
.
text
=
"
\(
model
.
name
)
示例模版"
titleLabel
.
text
=
"
\(
model
.
getName
()
)
示例模版"
}
}
templateArr
.
removeAll
()
templateArr
.
removeAll
()
...
...
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