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
47a93777
Commit
47a93777
authored
Apr 09, 2024
by
pete谢兆麟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
查看按钮逻辑
parent
0a29fb98
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
YHDocumentMessageTableViewCell.swift
.../MyDocuments(我的文书)/V/YHDocumentMessageTableViewCell.swift
+11
-0
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/MyDocuments(我的文书)/V/YHDocumentMessageTableViewCell.swift
View file @
47a93777
...
@@ -219,47 +219,58 @@ class YHDocumentMessageTableViewCell: UITableViewCell {
...
@@ -219,47 +219,58 @@ class YHDocumentMessageTableViewCell: UITableViewCell {
statusTxt
=
" 不展示 "
statusTxt
=
" 不展示 "
color
=
UIColor
.
brandMainColor
color
=
UIColor
.
brandMainColor
lookButton
.
isHidden
=
true
lookButton
.
isHidden
=
true
editButton
.
isHidden
=
false
submitButton
.
isHidden
=
false
}
else
if
status
==
2
{
}
else
if
status
==
2
{
statusTxt
=
" 待确认 "
statusTxt
=
" 待确认 "
color
=
UIColor
.
brandMainColor
color
=
UIColor
.
brandMainColor
lookButton
.
isHidden
=
true
lookButton
.
isHidden
=
true
editButton
.
isHidden
=
false
submitButton
.
isHidden
=
false
}
else
if
status
==
3
{
}
else
if
status
==
3
{
statusTxt
=
" 核对中 "
statusTxt
=
" 核对中 "
color
=
UIColor
.
warnColor
color
=
UIColor
.
warnColor
lookButton
.
isHidden
=
false
editButton
.
isHidden
=
true
editButton
.
isHidden
=
true
submitButton
.
isHidden
=
true
submitButton
.
isHidden
=
true
bottomCenterLineView
.
isHidden
=
true
bottomCenterLineView
.
isHidden
=
true
}
else
if
status
==
4
{
}
else
if
status
==
4
{
statusTxt
=
" 核对中 "
statusTxt
=
" 核对中 "
color
=
UIColor
.
warnColor
color
=
UIColor
.
warnColor
lookButton
.
isHidden
=
false
editButton
.
isHidden
=
true
editButton
.
isHidden
=
true
submitButton
.
isHidden
=
true
submitButton
.
isHidden
=
true
bottomCenterLineView
.
isHidden
=
true
bottomCenterLineView
.
isHidden
=
true
}
else
if
status
==
5
{
}
else
if
status
==
5
{
statusTxt
=
" 已驳回 "
statusTxt
=
" 已驳回 "
color
=
UIColor
.
successColor
color
=
UIColor
.
successColor
lookButton
.
isHidden
=
false
editButton
.
isHidden
=
true
editButton
.
isHidden
=
true
submitButton
.
isHidden
=
true
submitButton
.
isHidden
=
true
bottomCenterLineView
.
isHidden
=
true
bottomCenterLineView
.
isHidden
=
true
}
else
if
status
==
6
{
}
else
if
status
==
6
{
statusTxt
=
" 已定稿 "
statusTxt
=
" 已定稿 "
color
=
UIColor
.
labelTextColor2
color
=
UIColor
.
labelTextColor2
lookButton
.
isHidden
=
false
editButton
.
isHidden
=
true
editButton
.
isHidden
=
true
submitButton
.
isHidden
=
true
submitButton
.
isHidden
=
true
bottomCenterLineView
.
isHidden
=
true
bottomCenterLineView
.
isHidden
=
true
}
else
if
status
==
7
{
}
else
if
status
==
7
{
statusTxt
=
" 已完成 "
statusTxt
=
" 已完成 "
color
=
UIColor
.
labelTextColor2
color
=
UIColor
.
labelTextColor2
lookButton
.
isHidden
=
false
editButton
.
isHidden
=
true
editButton
.
isHidden
=
true
submitButton
.
isHidden
=
true
submitButton
.
isHidden
=
true
bottomCenterLineView
.
isHidden
=
true
bottomCenterLineView
.
isHidden
=
true
}
else
{
}
else
{
statusTxt
=
" -- "
statusTxt
=
" -- "
color
=
UIColor
.
failColor
color
=
UIColor
.
failColor
lookButton
.
isHidden
=
false
editButton
.
isHidden
=
true
editButton
.
isHidden
=
true
submitButton
.
isHidden
=
true
submitButton
.
isHidden
=
true
bottomCenterLineView
.
isHidden
=
true
bottomCenterLineView
.
isHidden
=
true
}
}
subTitleLabel
.
text
=
statusTxt
subTitleLabel
.
text
=
statusTxt
subTitleLabel
.
textColor
=
color
subTitleLabel
.
textColor
=
color
subTitleLabel
.
backgroundColor
=
color
.
withAlphaComponent
(
0.08
)
subTitleLabel
.
backgroundColor
=
color
.
withAlphaComponent
(
0.08
)
...
...
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