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
16592938
Commit
16592938
authored
Jan 07, 2025
by
pete谢兆麟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
我的签字 产品新要求
parent
1c85499b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
14 deletions
+5
-14
YHDocumentFileItemView.swift
...QMAS(优才)/MyDocuments(我的文书)/V/YHDocumentFileItemView.swift
+1
-1
YHGCMySignatureDetailViewController.swift
...gnature(我的签字)/C/YHGCMySignatureDetailViewController.swift
+2
-7
YHGCSignatureUploadTableViewCell.swift
...ySignature(我的签字)/V/YHGCSignatureUploadTableViewCell.swift
+2
-6
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/QMAS(优才)/MyDocuments(我的文书)/V/YHDocumentFileItemView.swift
View file @
16592938
...
...
@@ -191,7 +191,7 @@ class YHDocumentFileItemView: UIView {
YHCertificateEditItem
(
type
:
.
reupload
,
title
:
"重传"
),
YHCertificateEditItem
(
type
:
.
delete
,
title
:
"删除"
),
YHCertificateEditItem
(
type
:
.
cancel
,
title
:
"取消"
)]
if
type
==
4
||
type
==
5
{
if
type
==
4
||
type
==
5
||
type
==
1004
||
type
==
1005
||
type
==
1006
||
type
==
1007
{
items
=
[
YHCertificateEditItem
(
type
:
.
preview
,
title
:
"预览"
),
YHCertificateEditItem
(
type
:
.
cancel
,
title
:
"取消"
)]
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/TTPS(高才)/MySignature(我的签字)/C/YHGCMySignatureDetailViewController.swift
View file @
16592938
...
...
@@ -73,16 +73,11 @@ class YHGCMySignatureDetailViewController: YHBaseViewController {
}
else
{
self
.
bottomButton
.
setTitle
(
"确定已签署,提交"
,
for
:
.
normal
)
}
}
else
if
state
==
1004
||
state
==
1005
{
self
.
bottomButton
.
isEnabled
=
false
self
.
bottomView
.
isHidden
=
false
self
.
bottomButton
.
alpha
=
0.4
self
.
bottomButton
.
setTitle
(
"提交成功"
,
for
:
.
normal
)
}
else
if
state
==
1007
{
self
.
bottomView
.
isHidden
=
true
self
.
bottomButton
.
isEnabled
=
true
self
.
bottomButton
.
alpha
=
1
}
else
if
state
==
1006
{
}
else
if
state
==
1006
||
state
==
1004
||
state
==
1005
{
self
.
bottomView
.
isHidden
=
true
self
.
bottomButton
.
isEnabled
=
true
self
.
bottomButton
.
alpha
=
1
...
...
@@ -542,7 +537,7 @@ extension YHGCMySignatureDetailViewController: UITableViewDelegate, UITableViewD
return
180
}
else
{
guard
let
count
=
self
.
viewModel
.
mainModel
?
.
signedDocument
.
count
else
{
return
CGFloat
(
221
)
}
if
self
.
viewModel
.
mainModel
?
.
docStatus
==
1007
||
self
.
viewModel
.
mainModel
?
.
docStatus
==
1006
{
if
self
.
viewModel
.
mainModel
?
.
docStatus
==
1007
||
self
.
viewModel
.
mainModel
?
.
docStatus
==
1006
||
self
.
viewModel
.
mainModel
?
.
docStatus
==
1004
||
self
.
viewModel
.
mainModel
?
.
docStatus
==
1005
{
return
CGFloat
(
168
+
count
*
71
)
}
else
{
return
CGFloat
(
221
+
count
*
71
)
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/TTPS(高才)/MySignature(我的签字)/V/YHGCSignatureUploadTableViewCell.swift
View file @
16592938
...
...
@@ -211,6 +211,7 @@ class YHGCSignatureUploadTableViewCell: UITableViewCell {
let
h
=
70
let
itemView
=
YHDocumentFileItemView
()
itemView
.
index
=
i
itemView
.
type
=
dataSource
.
docStatus
itemView
.
docDataSource
=
data
itemView
.
itemBlock
=
{[
weak
self
]
type
,
index
in
guard
let
self
=
self
else
{
return
}
...
...
@@ -232,13 +233,8 @@ class YHGCSignatureUploadTableViewCell: UITableViewCell {
func
updateAddView
()
{
guard
let
dataSource
=
dataSource
else
{
return
}
if
dataSource
.
docStatus
==
1005
{
self
.
bottomView
.
alpha
=
0.4
self
.
bottomView
.
addBtn
.
isEnabled
=
false
}
if
dataSource
.
docStatus
==
1007
||
dataSource
.
docStatus
==
1006
{
if
dataSource
.
docStatus
==
1007
||
dataSource
.
docStatus
==
1006
||
dataSource
.
docStatus
==
1004
||
dataSource
.
docStatus
==
1005
{
self
.
bottomView
.
isHidden
=
true
mainItemView
.
snp
.
remakeConstraints
{
make
in
make
.
left
.
right
.
equalToSuperview
()
...
...
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