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
24b7ddd4
Commit
24b7ddd4
authored
Sep 21, 2024
by
Alex朱枝文
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
续签文书签字接口接入
parent
98330698
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
27 additions
and
8 deletions
+27
-8
YHResignDocumentDetailViewController.swift
...ment(续签文书管理)/C/YHResignDocumentDetailViewController.swift
+18
-2
YHResignDocumentStage.swift
...nDocumentManagement(续签文书管理)/M/YHResignDocumentStage.swift
+3
-3
YHResignDocumentViewModel.swift
...mentManagement(续签文书管理)/VM/YHResignDocumentViewModel.swift
+6
-3
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/Resign(续签)/ResignDocumentManagement(续签文书管理)/C/YHResignDocumentDetailViewController.swift
View file @
24b7ddd4
...
...
@@ -174,8 +174,24 @@ extension YHResignDocumentDetailViewController {
printLog
(
"###submitEvent"
)
}
signatureConfirmationEvent
=
{
printLog
(
"###signatureConfirmationEvent"
)
signatureConfirmationEvent
=
{
[
weak
self
]
in
guard
let
self
=
self
else
{
return
}
self
.
viewModel
.
resginDocumentSignature
(
model
.
docId
,
nil
)
{
[
weak
self
]
signatureModel
,
error
in
guard
let
self
=
self
else
{
return
}
guard
let
signatureModel
=
signatureModel
else
{
if
let
error
=
error
{
printLog
(
"###续期文书签字:
\(
error
.
errorMsg
)
"
)
}
return
}
let
url
=
signatureModel
.
url
// 跳签字
}
}
previewEvent
=
{
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/Resign(续签)/ResignDocumentManagement(续签文书管理)/M/YHResignDocumentStage.swift
View file @
24b7ddd4
...
...
@@ -17,11 +17,11 @@ enum YHResignDocumentStage: Int {
func
title
()
->
String
{
switch
self
{
case
.
initialSubmission
:
return
"
首次
递交文书"
return
"
续期
递交文书"
case
.
supplementarySubmission
:
return
"补件递交文书"
return
"
补件递交文书"
case
.
resubmissionAfterRejection
:
return
"拒签递交文书"
return
"
拒签递交文书"
}
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/Resign(续签)/ResignDocumentManagement(续签文书管理)/VM/YHResignDocumentViewModel.swift
View file @
24b7ddd4
...
...
@@ -12,7 +12,7 @@ class YHResignDocumentViewModel: YHBaseViewModel {
var
documentList
:
YHResignDocumentListModel
=
YHResignDocumentListModel
()
func
getDocumentList
(
orderId
:
Int
,
id
:
Int
,
callback
:
@escaping
(
_
success
:
Bool
,
_
error
:
YHErrorModel
?)
->
())
{
let
params
=
[
"order_id"
:
orderId
,
"id"
:
id
]
let
params
=
[
"order_id"
:
orderId
,
"id"
:
id
]
let
strUrl
=
YHBaseUrlManager
.
shared
.
curURL
()
+
YHAllApiName
.
ResignDocument
.
resignDocumentList
let
_
=
YHNetRequest
.
getRequest
(
url
:
strUrl
,
params
:
params
)
{
[
weak
self
]
json
,
code
in
//1. json字符串 转 对象
...
...
@@ -62,8 +62,11 @@ class YHResignDocumentViewModel: YHBaseViewModel {
}
}
func
resginDocumentSignature
(
_
docId
:
Int
,
_
userMobile
:
String
,
callBackBlock
:
@escaping
(
_
signatureModel
:
YHResignDocumentSignatureModel
?,
_
error
:
YHErrorModel
?)
->
()
)
{
let
params
:
[
String
:
Any
]
=
[
"docId"
:
docId
,
"userMobile"
:
userMobile
]
func
resginDocumentSignature
(
_
docId
:
Int
,
_
userMobile
:
String
?,
callBackBlock
:
@escaping
(
_
signatureModel
:
YHResignDocumentSignatureModel
?,
_
error
:
YHErrorModel
?)
->
()
)
{
var
params
:
[
String
:
Any
]
=
[
"docId"
:
docId
]
if
let
userMobile
=
userMobile
{
params
[
"userMobile"
]
=
userMobile
}
let
strUrl
=
YHBaseUrlManager
.
shared
.
curURL
()
+
YHAllApiName
.
ResignDocument
.
resginDocumentSignature
let
_
=
YHNetRequest
.
postRequest
(
url
:
strUrl
,
params
:
params
)
{
json
,
code
in
//1. json字符串 转 对象
...
...
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