Commit 2891cd75 by zhousil

Merge branch 'master' into pre

parents 7194bdd6 989d37c0
...@@ -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>
......
...@@ -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",
......
...@@ -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) =>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment