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
d819ff74
Commit
d819ff74
authored
Sep 24, 2024
by
Alex朱枝文
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
续签文书loading状态优化
parent
ddaef8f6
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
3 deletions
+11
-3
YHResignDocumentDetailViewController.swift
...ment(续签文书管理)/C/YHResignDocumentDetailViewController.swift
+6
-1
YHResignDocumentManagementVC.swift
...ntManagement(续签文书管理)/C/YHResignDocumentManagementVC.swift
+5
-2
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/Resign(续签)/ResignDocumentManagement(续签文书管理)/C/YHResignDocumentDetailViewController.swift
View file @
d819ff74
...
...
@@ -26,6 +26,8 @@ class YHResignDocumentDetailViewController: YHBaseViewController {
private
var
datas
:
[[
RowType
]]
=
[]
private
lazy
var
viewModel
=
YHResignDocumentViewModel
()
// 进签字再出来就要显示loading
private
var
isNeedShowLoading
:
Bool
=
true
private
let
docId
:
Int
private
var
name
:
String
...
...
@@ -66,7 +68,9 @@ class YHResignDocumentDetailViewController: YHBaseViewController {
override
func
viewWillAppear
(
_
animated
:
Bool
)
{
super
.
viewWillAppear
(
animated
)
requestData
(
isNeedLoading
:
true
)
let
needLoading
=
isNeedShowLoading
isNeedShowLoading
=
false
requestData
(
isNeedLoading
:
needLoading
)
}
}
...
...
@@ -236,6 +240,7 @@ extension YHResignDocumentDetailViewController {
}
return
}
self
.
isNeedShowLoading
=
true
let
url
=
signatureModel
.
url
// 跳签字
let
vc
=
YHSignatureWebViewController
()
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/Resign(续签)/ResignDocumentManagement(续签文书管理)/C/YHResignDocumentManagementVC.swift
View file @
d819ff74
...
...
@@ -36,7 +36,8 @@ class YHResignDocumentManagementVC: YHBaseViewController {
}()
private
lazy
var
viewModel
=
YHResignDocumentViewModel
()
// 进签字再出来就要显示loading
private
var
isNeedShowLoading
:
Bool
=
true
private
let
orderId
:
Int
private
var
id
:
Int
=
0
...
...
@@ -57,7 +58,9 @@ class YHResignDocumentManagementVC: YHBaseViewController {
override
func
viewWillAppear
(
_
animated
:
Bool
)
{
super
.
viewWillAppear
(
animated
)
requestData
(
isNeedLoading
:
true
)
let
needLoading
=
isNeedShowLoading
isNeedShowLoading
=
false
requestData
(
isNeedLoading
:
needLoading
)
}
}
...
...
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