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
f99c45d2
authored
Dec 23, 2021
by
Sixong.Zhu
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
u
parent
7853466f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletions
database/index.ts
model/order.ts
database/index.ts
View file @
f99c45d2
...
@@ -16,6 +16,8 @@ class ChatCacheDatabaseController {
...
@@ -16,6 +16,8 @@ class ChatCacheDatabaseController {
private
setuping
=
false
;
private
setuping
=
false
;
private
setupError
=
false
;
private
setupError
=
false
;
public
readonly
historyOrderModelName
=
'order_info'
;
private
waitSetupCompleted
()
{
private
waitSetupCompleted
()
{
return
new
Promise
<
void
>
((
resolve
,
reject
)
=>
{
return
new
Promise
<
void
>
((
resolve
,
reject
)
=>
{
const
checker
=
()
=>
{
const
checker
=
()
=>
{
...
...
model/order.ts
View file @
f99c45d2
import
{
Chat
}
from
"../xim/models/chat"
;
import
{
Chat
}
from
"../xim/models/chat"
;
import
{
GeneralOrderDirection
}
from
'./order-product'
;
export
interface
ChatGroup
extends
Chat
{
export
interface
ChatGroup
extends
Chat
{
children
?:
ChatGroup
[];
children
?:
ChatGroup
[];
...
@@ -58,7 +59,11 @@ export interface OrderTableListItem {
...
@@ -58,7 +59,11 @@ export interface OrderTableListItem {
lastMsgContent
:
string
;
lastMsgContent
:
string
;
lastMsgTime
:
string
;
lastMsgTime
:
string
;
unreadCount
:
number
;
unreadCount
:
number
;
PayPaymentNum
?:
string
|
number
;
//付款笔数
/**
* 付款笔数
*/
PayPaymentNum
?:
string
|
number
;
product
:
GeneralOrderDirection
;
}
}
export
const
orderPredict
=
{
export
const
orderPredict
=
{
...
@@ -82,6 +87,7 @@ export const orderPredict = {
...
@@ -82,6 +87,7 @@ export const orderPredict = {
lastMsgTime
:
"UniplatLastMsgTime"
,
lastMsgTime
:
"UniplatLastMsgTime"
,
unreadCount
:
0
,
unreadCount
:
0
,
PayPaymentNum
:
"PayPaymentNum"
,
PayPaymentNum
:
"PayPaymentNum"
,
product
:
'ProductId#product.Code'
};
};
export
const
enum
PayStatus
{
export
const
enum
PayStatus
{
...
...
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