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
dbeb917f
Commit
dbeb917f
authored
Apr 10, 2024
by
pete谢兆麟
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' of
http://gitlab.galaxy-immi.com/mobile-group/galaxy-iOS
into develop
parents
7e4bb493
4e2b40fa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
2 deletions
+12
-2
YHMyDocumentsDetailViewController.swift
...Documents(我的文书)/C/YHMyDocumentsDetailViewController.swift
+12
-2
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/MyDocuments(我的文书)/C/YHMyDocumentsDetailViewController.swift
View file @
dbeb917f
...
...
@@ -72,30 +72,39 @@ class YHMyDocumentsDetailViewController: YHBaseViewController {
self
.
bottomView
.
isHidden
=
true
}
if
self
.
viewModel
.
mainModel
?
.
writing_document
.
doc_sign
.
supplement_id
==
0
{
//没有doc_sign
self
.
stepView
.
currentIndex
=
0
self
.
bottomView
.
isHidden
=
true
}
else
{
let
state
=
self
.
viewModel
.
mainModel
?
.
writing_document
.
doc_sign
.
status
??
0
// 0-待上传,1-未发送, 2-发送中,3-已发送,4-已签收,5-审核通过,6-驳回
self
.
type
=
state
if
state
==
0
||
state
==
1
||
state
==
2
||
state
==
3
{
if
state
<
3
{
//没有doc_sign
self
.
stepView
.
currentIndex
=
0
self
.
bottomView
.
isHidden
=
true
}
else
if
state
==
3
{
self
.
promptView
.
isHidden
=
true
self
.
bottomButton
.
isEnabled
=
true
self
.
bottomView
.
isHidden
=
false
self
.
bottomButton
.
alpha
=
1
self
.
bottomButton
.
setTitle
(
"确定已签章,提交"
,
for
:
.
normal
)
self
.
stepView
.
currentIndex
=
1
}
else
if
state
==
4
{
self
.
promptView
.
isHidden
=
true
self
.
bottomButton
.
isEnabled
=
false
self
.
bottomButton
.
alpha
=
0.4
self
.
bottomView
.
isHidden
=
false
self
.
bottomButton
.
setTitle
(
"提交成功"
,
for
:
.
normal
)
self
.
stepView
.
currentIndex
=
1
}
else
if
state
==
5
{
self
.
promptView
.
isHidden
=
true
self
.
bottomView
.
isHidden
=
true
self
.
bottomButton
.
isEnabled
=
true
self
.
bottomButton
.
alpha
=
1
self
.
bottomButton
.
setTitle
(
"确定已签章,提交"
,
for
:
.
normal
)
self
.
stepView
.
currentIndex
=
1
}
else
{
self
.
promptView
.
isHidden
=
false
self
.
promptView
.
setPrompt
(
self
.
viewModel
.
mainModel
?
.
writing_document
.
doc_sign
.
audit_opinion
??
""
)
...
...
@@ -109,8 +118,9 @@ class YHMyDocumentsDetailViewController: YHBaseViewController {
make
.
bottom
.
equalTo
(
-
k_Height_safeAreaInsetsBottom
()
-
64
)
make
.
left
.
right
.
equalTo
(
self
.
view
)
}
self
.
stepView
.
currentIndex
=
1
}
self
.
stepView
.
currentIndex
=
1
}
self
.
tableView
.
reloadData
()
}
else
{
...
...
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