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
9abb4afc
authored
Dec 02, 2021
by
杨铁龙
Browse files
Options
_('Browse Files')
Download
Plain Diff
Merge branch 'master' of
http://gitlab.corp.qinqinxiaobao.com:9880/uniplat/customer-service
parents
390ec120
fd2f9edb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
2 deletions
service/order.ts
service/order.ts
View file @
9abb4afc
import
Chat
from
"@/customer-service/xim"
;
import
Chat
from
"@/customer-service/xim"
;
import
{
UniplatSdkExtender
}
from
"uniplat-sdk"
;
import
{
metaRow
,
UniplatSdkExtender
}
from
"uniplat-sdk"
;
import
{
import
{
OperationType
,
OperationType
,
OrderStatus
,
OrderStatus
,
...
@@ -8,7 +8,8 @@ import {
...
@@ -8,7 +8,8 @@ import {
SrcPlatform
,
SrcPlatform
,
OrderPayItem
,
OrderPayItem
,
PaymentDetail
,
PaymentDetail
,
UploadImageItem
UploadImageItem
,
OrderRowItem
}
from
"../model"
;
}
from
"../model"
;
class
OrderService
{
class
OrderService
{
...
@@ -136,6 +137,16 @@ class OrderService {
...
@@ -136,6 +137,16 @@ class OrderService {
)
)
);
);
}
}
public
buildOrder
(
o
:
metaRow
)
{
return
this
.
handler
.
buildRow
<
OrderRowItem
>
(
o
,
{
status
:
'Status'
,
no
:
'OrderDocNo'
,
createTime
:
'CreatedDate'
,
v
:
'uniplat_version'
,
id
:
'ID'
});
}
}
}
export
const
orderService
=
new
OrderService
();
export
const
orderService
=
new
OrderService
();
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