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
70cce52f
Commit
70cce52f
authored
Apr 02, 2024
by
pete谢兆麟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
我的文书预览
parent
2a7477fb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
8 deletions
+16
-8
YHMyDocumentsDetailViewController.swift
...Documents(我的文书)/C/YHMyDocumentsDetailViewController.swift
+14
-7
YHFailPromptView.swift
...tService(服务中心)/MyDocuments(我的文书)/V/YHFailPromptView.swift
+2
-1
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/MyDocuments(我的文书)/C/YHMyDocumentsDetailViewController.swift
View file @
70cce52f
...
@@ -395,13 +395,20 @@ extension YHMyDocumentsDetailViewController: UITableViewDelegate, UITableViewDat
...
@@ -395,13 +395,20 @@ extension YHMyDocumentsDetailViewController: UITableViewDelegate, UITableViewDat
if
self
.
viewModel
.
mainModel
?
.
prospectus
.
id
!=
0
{
if
self
.
viewModel
.
mainModel
?
.
prospectus
.
id
!=
0
{
// 跳转赴港计划书查看页面
// 跳转赴港计划书查看页面
}
else
{
}
else
{
self
.
viewModel
.
requestDocumentRecord
(
"
\(
id
)
"
,
1
)
{
success
,
error
in
self
.
viewModel
.
requestDocumentsTemporaryUrl
(
"
\(
id
)
"
,
callBackBlock
:
{[
weak
self
]
success
,
error
in
}
guard
let
self
=
self
else
{
return
}
guard
let
url
=
URL
(
string
:
self
.
viewModel
.
mainModel
?
.
writing_document
.
tencent_file_url
??
""
)
else
{
return
}
if
success
{
let
tmpVC
=
SFSafariViewController
(
url
:
url
)
self
.
viewModel
.
requestDocumentRecord
(
"
\(
id
)
"
,
1
)
{
success
,
error
in
tmpVC
.
dismissButtonStyle
=
.
close
}
tmpVC
.
delegate
=
self
guard
let
url
=
URL
(
string
:
self
.
viewModel
?
.
urlModel
?
.
url
)
else
{
return
}
self
.
navigationController
?
.
pushViewController
(
tmpVC
)
let
tmpVC
=
SFSafariViewController
(
url
:
url
)
tmpVC
.
dismissButtonStyle
=
.
close
tmpVC
.
delegate
=
self
self
.
navigationController
?
.
pushViewController
(
tmpVC
)
}
else
{
YHHUD
.
flash
(
message
:
error
?
.
errorMsg
??
""
)
}
})
}
}
}
}
}
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/MyDocuments(我的文书)/V/YHFailPromptView.swift
View file @
70cce52f
...
@@ -28,6 +28,7 @@ class YHFailPromptView: UIView {
...
@@ -28,6 +28,7 @@ class YHFailPromptView: UIView {
let
lable0
=
UILabel
(
text
:
"222222222222222"
)
let
lable0
=
UILabel
(
text
:
"222222222222222"
)
lable0
.
textColor
=
UIColor
.
failColor
lable0
.
textColor
=
UIColor
.
failColor
lable0
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
12
)
lable0
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
12
)
lable0
.
numberOfLines
=
0
return
lable0
return
lable0
}()
}()
...
@@ -48,8 +49,8 @@ private extension YHFailPromptView {
...
@@ -48,8 +49,8 @@ private extension YHFailPromptView {
addSubview
(
titleLable
)
addSubview
(
titleLable
)
titleLable
.
snp
.
makeConstraints
{
make
in
titleLable
.
snp
.
makeConstraints
{
make
in
make
.
centerY
.
equalToSuperview
()
make
.
left
.
equalTo
(
38
)
make
.
left
.
equalTo
(
38
)
make
.
right
.
equalTo
(
-
18
)
make
.
top
.
bottom
.
equalToSuperview
()
make
.
top
.
bottom
.
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