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
2891cd75
authored
Dec 28, 2021
by
zhousil
Browse files
Options
_('Browse Files')
Download
Plain Diff
Merge branch 'master' into pre
parents
7194bdd6
989d37c0
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
9 deletions
components/message-item/pay-message.vue
model/im.ts
model/order.ts
utils/chat-info.ts
components/message-item/pay-message.vue
View file @
2891cd75
...
@@ -8,9 +8,11 @@
...
@@ -8,9 +8,11 @@
@click="view"
@click="view"
>
>
<div
class=
"d-flex align-items-center flex-fill pay-msg-body"
>
<div
class=
"d-flex align-items-center flex-fill pay-msg-body"
>
<span
:class=
"icon"
class=
"icon"
></span>
<span
:class=
"icon"
class=
"icon flex-none"
></span>
<div
class=
"texts flex-fill"
>
<div
class=
"texts flex-fill overflow-hidden"
>
<div
class=
"text-left"
>
{{
title
}}
</div>
<div
class=
"text-left text-nowrap text-truncate"
>
{{
title
}}
</div>
<div
class=
"d-flex justify-content-between"
>
<div
class=
"d-flex justify-content-between"
>
<span>
{{
amount
|
currency
}}
</span>
<span>
{{
amount
|
currency
}}
</span>
<span>
{{
status
}}
</span>
<span>
{{
status
}}
</span>
...
...
model/im.ts
0 → 100644
View file @
2891cd75
This diff is collapsed.
Click to expand it.
model/order.ts
View file @
2891cd75
...
@@ -37,6 +37,7 @@ export interface OrderTableListItem {
...
@@ -37,6 +37,7 @@ export interface OrderTableListItem {
chat
:
number
;
chat
:
number
;
status
:
OrderStatus
;
status
:
OrderStatus
;
status_label
:
string
;
status_label
:
string
;
editTitle
:
string
;
remark
:
string
;
remark
:
string
;
/**
/**
* 待支付金额
* 待支付金额
...
@@ -54,8 +55,6 @@ export interface OrderTableListItem {
...
@@ -54,8 +55,6 @@ export interface OrderTableListItem {
* 已退款金额
* 已退款金额
*/
*/
RefundedAmount
:
number
;
RefundedAmount
:
number
;
remarkTitle
:
string
;
remarkContent
:
string
;
chatTypeCode
:
string
;
chatTypeCode
:
string
;
lastMsgContent
:
string
;
lastMsgContent
:
string
;
lastMsgTime
:
string
;
lastMsgTime
:
string
;
...
@@ -83,8 +82,6 @@ export const orderPredict = {
...
@@ -83,8 +82,6 @@ export const orderPredict = {
RefundAmount
:
"RefundAmount"
,
RefundAmount
:
"RefundAmount"
,
RefundedAmount
:
"RefundedAmount"
,
RefundedAmount
:
"RefundedAmount"
,
chat
:
"UniplatImChatId"
,
chat
:
"UniplatImChatId"
,
remarkTitle
:
"Title"
,
remarkContent
:
"Remark"
,
chatTypeCode
:
"UniplatChatTypeCode"
,
chatTypeCode
:
"UniplatChatTypeCode"
,
lastMsgContent
:
"UniplatLastMsgContent"
,
lastMsgContent
:
"UniplatLastMsgContent"
,
lastMsgTime
:
"UniplatLastMsgTime"
,
lastMsgTime
:
"UniplatLastMsgTime"
,
...
...
utils/chat-info.ts
View file @
2891cd75
...
@@ -37,9 +37,9 @@ export async function getChatModelInfo(
...
@@ -37,9 +37,9 @@ export async function getChatModelInfo(
forceReload
=
false
forceReload
=
false
)
{
)
{
buildCache
();
buildCache
();
const
key
=
`
${
modelName
}
-
${
id
}
`
;
const
detail
=
model2DetailNameMapping
.
get
(
modelName
)
||
detailname
;
const
detail
=
detailname
?
model2DetailNameMapping
.
get
(
modelName
)
||
detailname
:
detailname
;
const
key
=
`
${
modelName
}
-
${
id
}
-
${
detail
}
`
;
if
(
loadingKeys
.
has
(
key
))
{
if
(
loadingKeys
.
has
(
key
))
{
return
new
Promise
<
ChatModelInfoData
>
((
resolve
)
=>
return
new
Promise
<
ChatModelInfoData
>
((
resolve
)
=>
...
...
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