Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
foreign
/
customer-service
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
9539beaa
authored
Dec 01, 2021
by
杨铁龙
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
优化代码
parent
1af94dfd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
8 deletions
service/order.ts
service/order.ts
View file @
9539beaa
...
@@ -16,20 +16,13 @@ class OrderService {
...
@@ -16,20 +16,13 @@ class OrderService {
productId
:
number
;
productId
:
number
;
srcPlatform
:
SrcPlatform
;
srcPlatform
:
SrcPlatform
;
createdType
:
OperationType
;
createdType
:
OperationType
;
title
?:
string
;
})
{
})
{
const
sdk
=
Chat
.
getSdk
();
const
sdk
=
Chat
.
getSdk
();
return
sdk
.
model
(
this
.
generalOrder
).
action
(
'addOrder'
).
addInputs_parameter
({
return
sdk
.
model
(
this
.
generalOrder
).
action
(
'addOrder'
).
addInputs_parameter
({
ProductId
:
params
.
productId
,
ProductId
:
params
.
productId
,
SrcPlatform
:
params
.
srcPlatform
,
SrcPlatform
:
params
.
srcPlatform
,
CreatedType
:
params
.
createdType
CreatedType
:
params
.
createdType
}).
execute
().
then
(
r
=>
{
}).
execute
();
return
store
.
dispatch
(
`
${
ChatStore
.
ns
}
/
${
ChatStore
.
ACTION_CREATE_NEW_CHAT_BY_CLIENT
}
`
,
{
modelName
:
this
.
generalOrder
,
selectedListId
:
r
.
id
,
title
:
params
.
title
});
});
}
}
public
updateOrderStatus
(
id
:
number
|
string
,
v
:
number
,
status
:
OrderStatus
)
{
public
updateOrderStatus
(
id
:
number
|
string
,
v
:
number
,
status
:
OrderStatus
)
{
...
...
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