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
1f105b96
authored
Dec 23, 2021
by
zhousil
Browse files
Options
_('Browse Files')
Download
Plain Diff
合并冲突
parents
5874af92
f99c45d2
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 @
1f105b96
...
@@ -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 @
1f105b96
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,9 +59,13 @@ export interface OrderTableListItem {
...
@@ -58,9 +59,13 @@ export interface OrderTableListItem {
lastMsgContent
:
string
;
lastMsgContent
:
string
;
lastMsgTime
:
string
;
lastMsgTime
:
string
;
unreadCount
:
number
;
unreadCount
:
number
;
PayPaymentNum
?:
string
|
number
;
//付款笔数
logo
?:
string
;
logo
?:
string
;
orderId
?:
string
;
orderId
?:
string
;
/**
* 付款笔数
*/
PayPaymentNum
?:
string
|
number
;
product
:
GeneralOrderDirection
;
}
}
export
const
orderPredict
=
{
export
const
orderPredict
=
{
...
@@ -84,6 +89,7 @@ export const orderPredict = {
...
@@ -84,6 +89,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