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
04770ac6
Commit
04770ac6
authored
Oct 17, 2024
by
pete谢兆麟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
续签结果逻辑补充
parent
8b25ffca
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
13 additions
and
11 deletions
+13
-11
YHBaseViewModel.swift
galaxy/galaxy/Classes/Base/C/YHBaseViewModel.swift
+2
-2
YHLookResignResultModel.swift
.../LookResignResult(查看续签结果)/M/YHLookResignResultModel.swift
+1
-1
YHLookResignResultStateOneTableViewCell.swift
...t(查看续签结果)/V/YHLookResignResultStateOneTableViewCell.swift
+3
-3
YHLookResignResultStateTwoTableViewCell.swift
...t(查看续签结果)/V/YHLookResignResultStateTwoTableViewCell.swift
+5
-3
YHResignUploadDocListViewController.swift
...loadDoc(续签补件)/C/YHResignUploadDocListViewController.swift
+1
-1
YHOSSManager.swift
galaxy/galaxy/Classes/Tools/Upload/YHOSSManager.swift
+1
-1
No files found.
galaxy/galaxy/Classes/Base/C/YHBaseViewModel.swift
View file @
04770ac6
...
...
@@ -205,8 +205,8 @@ class YHBaseViewModel {
return
}
YHOSSManager
.
share
.
updateToken
{
YHOSSManager
.
share
.
getPublic
(
url
:
url
,
callBackBlock
:
{
[
weak
self
]
success
,
error
in
guard
let
_
=
self
else
{
return
}
YHOSSManager
.
share
.
getPublic
(
url
:
url
,
callBackBlock
:
{
success
,
error
in
//
guard let _ = self else { return }
DispatchQueue
.
main
.
async
{
// 在这里执行需要在主线程上完成的任务
callBackBlock
(
success
,
error
)
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/Resign(续签)/LookResignResult(查看续签结果)/M/YHLookResignResultModel.swift
View file @
04770ac6
...
...
@@ -48,7 +48,7 @@ class YHLookResignResultDataLettersModel: SmartCodable {
var
user
:
String
=
""
//人信息
var
result_file
:
String
=
""
var
confirm_in_hk
:
Int
=
0
required
init
()
{
}
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/Resign(续签)/LookResignResult(查看续签结果)/V/YHLookResignResultStateOneTableViewCell.swift
View file @
04770ac6
...
...
@@ -148,7 +148,7 @@ class YHLookResignResultStateOneTableViewCell: UITableViewCell {
make
.
right
.
equalTo
(
-
18
)
}
people
ValueLabel
=
{
doc
ValueLabel
=
{
let
label
=
UILabel
()
label
.
textColor
=
UIColor
.
mainTextColor
let
a
=
ASAttributedString
.
init
(
"欧阳先生"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
14
)),
.
foreground
(
UIColor
.
brandMainColor
),
.
underline
(
.
single
),
.
action
{
...
...
@@ -158,8 +158,8 @@ class YHLookResignResultStateOneTableViewCell: UITableViewCell {
label
.
textAlignment
=
.
right
return
label
}()
centerView
.
addSubview
(
people
ValueLabel
)
people
ValueLabel
.
snp
.
makeConstraints
{
make
in
centerView
.
addSubview
(
doc
ValueLabel
)
doc
ValueLabel
.
snp
.
makeConstraints
{
make
in
make
.
left
.
equalTo
(
18
)
make
.
top
.
equalTo
(
104
)
make
.
height
.
equalTo
(
20
)
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/Resign(续签)/LookResignResult(查看续签结果)/V/YHLookResignResultStateTwoTableViewCell.swift
View file @
04770ac6
...
...
@@ -215,9 +215,11 @@ class YHLookResignResultItemView: UIImageView {
}
@objc
private
func
handleTap
(
_
sender
:
AnyObject
?)
{
let
viewModel
=
YHBaseViewModel
()
viewModel
.
getRealUsefulUrl
(
dataSource
?
.
result_file
??
""
)
{
success
in
self
.
previewFileTool
.
openXLSXRemoteFile
(
urlString
:
success
,
fileName
:
""
)
if
dataSource
?
.
confirm_in_hk
==
1
{
let
viewModel
=
YHBaseViewModel
()
viewModel
.
getRealUsefulUrl
(
dataSource
?
.
result_file
??
""
)
{
success
in
self
.
previewFileTool
.
openXLSXRemoteFile
(
urlString
:
success
,
fileName
:
""
)
}
}
}
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/Resign(续签)/ResignUploadDoc(续签补件)/C/YHResignUploadDocListViewController.swift
View file @
04770ac6
...
...
@@ -78,7 +78,7 @@ class YHResignUploadDocListViewController: YHBaseViewController {
}
@objc
func
clickNextBtn
()
{
let
vc
=
YH
ResignUploadDocLis
tViewController
()
let
vc
=
YH
LookResignResul
tViewController
()
vc
.
orderId
=
orderId
vc
.
batchId
=
batchId
UIViewController
.
current
?
.
navigationController
?
.
pushViewController
(
vc
)
...
...
galaxy/galaxy/Classes/Tools/Upload/YHOSSManager.swift
View file @
04770ac6
...
...
@@ -232,7 +232,7 @@ class YHOSSManager: NSObject, URLSessionDelegate {
callBackBlock
(
string
,
YHErrorModel
())
}
return
})
})
.
waitUntilFinished
()
}
}
...
...
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