Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
GeliBusinessPlatform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
CI / CD Analytics
Repository Analytics
Value Stream Analytics
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ljy
GeliBusinessPlatform
Commits
b5bac413
Commit
b5bac413
authored
Jul 16, 2020
by
lujunye
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
补充接口
parent
0db010f6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
36 additions
and
0 deletions
+36
-0
GeliBusinessPlatform.xcworkspace/xcuserdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
...erdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
+0
-0
GeliBusinessPlatform/ViewController/订单详情/OrderDViewController.swift
...ssPlatform/ViewController/订单详情/OrderDViewController.swift
+36
-0
No files found.
GeliBusinessPlatform.xcworkspace/xcuserdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
View file @
b5bac413
No preview for this file type
GeliBusinessPlatform/ViewController/订单详情/OrderDViewController.swift
View file @
b5bac413
...
@@ -236,6 +236,24 @@ class OrderDViewController: BaseViewController,UITableViewDelegate,UITableViewDa
...
@@ -236,6 +236,24 @@ class OrderDViewController: BaseViewController,UITableViewDelegate,UITableViewDa
alertView
.
rightBtn
.
tag
=
1007
alertView
.
rightBtn
.
tag
=
1007
self
.
view
.
window
?
.
addSubview
(
alertView
)
self
.
view
.
window
?
.
addSubview
(
alertView
)
break
break
case
"同意接单"
:
let
alertView
=
GeliAlertView
(
frame
:
self
.
view
.
window
!.
bounds
)
alertView
.
delegate
=
self
;
alertView
.
tishiLbl
.
text
=
""
alertView
.
titileLbl
.
text
=
"是否同意接单?"
alertView
.
rightBtn
.
setAttributedTitle
(
NSAttributedString
(
string
:
"确认"
),
for
:
.
normal
)
alertView
.
rightBtn
.
tag
=
1008
self
.
view
.
window
?
.
addSubview
(
alertView
)
break
case
"拒绝接单"
:
let
alertView
=
GeliAlertView
(
frame
:
self
.
view
.
window
!.
bounds
)
alertView
.
delegate
=
self
;
alertView
.
tishiLbl
.
text
=
""
alertView
.
titileLbl
.
text
=
"是否拒绝接单?"
alertView
.
rightBtn
.
setAttributedTitle
(
NSAttributedString
(
string
:
"确认"
),
for
:
.
normal
)
alertView
.
rightBtn
.
tag
=
1009
self
.
view
.
window
?
.
addSubview
(
alertView
)
break
case
"付款码"
:
case
"付款码"
:
let
alertView
=
GeliAltetCodeView
(
frame
:
self
.
view
.
window
!.
bounds
)
let
alertView
=
GeliAltetCodeView
(
frame
:
self
.
view
.
window
!.
bounds
)
alertView
.
saveImgID
=
orderId
alertView
.
saveImgID
=
orderId
...
@@ -1261,6 +1279,24 @@ class OrderDViewController: BaseViewController,UITableViewDelegate,UITableViewDa
...
@@ -1261,6 +1279,24 @@ class OrderDViewController: BaseViewController,UITableViewDelegate,UITableViewDa
self
.
loadData
()
self
.
loadData
()
})
{
(
error
)
in
})
{
(
error
)
in
}
}
else
if
sender
.
tag
==
1008
{
orderConfirm
([
"user_token"
:
UserToken
as
Any
,
"order_id"
:
sender
.
tag
as
Any
],
success
:
{
(
data
)
in
HUD
.
flash
(
.
labeledSubSuccess
(
subtitle
:
"确认成功"
),
delay
:
1.2
)
NotificationCenter
.
default
.
post
(
name
:
NSNotification
.
Name
(
rawValue
:
"orderChange"
),
object
:
nil
)
self
.
delegate
?
.
refishingOrderDchange
()
self
.
loadData
()
})
{
(
error
)
in
}
}
else
if
sender
.
tag
==
1009
{
refuseOrder
([
"user_token"
:
UserToken
as
Any
,
"order_id"
:
sender
.
tag
as
Any
],
success
:
{
(
data
)
in
HUD
.
flash
(
.
labeledSubSuccess
(
subtitle
:
"取消成功"
),
delay
:
1.2
)
NotificationCenter
.
default
.
post
(
name
:
NSNotification
.
Name
(
rawValue
:
"orderChange"
),
object
:
nil
)
self
.
delegate
?
.
refishingOrderDchange
()
self
.
loadData
()
})
{
(
error
)
in
}
}
}
else
if
sender
.
tag
==
1005
{
}
else
if
sender
.
tag
==
1005
{
HUD
.
flash
(
.
progress
)
HUD
.
flash
(
.
progress
)
...
...
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