Merge remote-tracking branch 'origin/feature/0909_主agent优化' into test
This commit is contained in:
BIN
src/assets/img/agent/icon-fold.png
Normal file
BIN
src/assets/img/agent/icon-fold.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 703 B |
BIN
src/assets/img/agent/icon-unfold.png
Normal file
BIN
src/assets/img/agent/icon-unfold.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 706 B |
@ -33,4 +33,16 @@ $bubble-wrap-padding-right: 2px;
|
|||||||
--max-content-width: 596px;
|
--max-content-width: 596px;
|
||||||
--max-question-width: 396px;
|
--max-question-width: 396px;
|
||||||
}
|
}
|
||||||
|
:deep(.intelligent-thinking-wrap) {
|
||||||
|
width: var(--max-content-width);
|
||||||
|
border-radius: 12px;
|
||||||
|
border: 1px solid var(--Brand-2, #c5b7ff);
|
||||||
|
background: var(--BG-White, #fff);
|
||||||
|
overflow: hidden;
|
||||||
|
|
||||||
|
.intelligent-thinking-header {
|
||||||
|
background: linear-gradient(180deg, #f3f2fd 0%, #fff 100%);
|
||||||
|
padding: 11px 16px;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -90,8 +90,8 @@
|
|||||||
<template v-else-if="field.dataIndex === 'platform'">
|
<template v-else-if="field.dataIndex === 'platform'">
|
||||||
<img :src="getMediaAccountPlatformLogo(detailData.platform)" width="16" height="16" class="rounded-4px" />
|
<img :src="getMediaAccountPlatformLogo(detailData.platform)" width="16" height="16" class="rounded-4px" />
|
||||||
</template>
|
</template>
|
||||||
<template v-else-if="field.dataIndex === 'last_synced_at'">
|
<template v-else-if="['last_authorized_at', 'last_synced_at'].includes(field.dataIndex)">
|
||||||
{{ exactFormatTime(detailData.last_synced_at, 'YYYY-MM-DD HH:mm:ss', 'YYYY-MM-DD HH:mm:ss') }}
|
{{ exactFormatTime(detailData[field.dataIndex], 'YYYY-MM-DD HH:mm:ss', 'YYYY-MM-DD HH:mm:ss') }}
|
||||||
</template>
|
</template>
|
||||||
<!-- 环比字段特殊渲染 -->
|
<!-- 环比字段特殊渲染 -->
|
||||||
<template v-else-if="field.isRateField">
|
<template v-else-if="field.isRateField">
|
||||||
|
|||||||
@ -18,7 +18,7 @@ export function groupFieldsWithColSpan<
|
|||||||
dataIndex: `${getPropPrefix(dateType)}${item.dataIndex}`,
|
dataIndex: `${getPropPrefix(dateType)}${item.dataIndex}`,
|
||||||
prop: `${getPropPrefix(dateType)}${item.prop}`,
|
prop: `${getPropPrefix(dateType)}${item.prop}`,
|
||||||
title: `${labelPrefix}${item.title}`,
|
title: `${labelPrefix}${item.title}`,
|
||||||
tooltip: `${labelPrefix}${item.tooltip}`
|
tooltip: `${labelPrefix}${item.tooltip}`,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
@ -28,6 +28,7 @@ export const getAccountInfoFields = (dateType: string, showMore: boolean) => {
|
|||||||
const baseFields = [
|
const baseFields = [
|
||||||
{ title: '账号名称', dataIndex: 'name', notDifferentiateDateType: true },
|
{ title: '账号名称', dataIndex: 'name', notDifferentiateDateType: true },
|
||||||
{ title: '数据更新时间', dataIndex: 'last_synced_at', notDifferentiateDateType: true },
|
{ title: '数据更新时间', dataIndex: 'last_synced_at', notDifferentiateDateType: true },
|
||||||
|
{ title: '最后授权时间', dataIndex: 'last_authorized_at', notDifferentiateDateType: true },
|
||||||
{ title: '平台', dataIndex: 'platform', notDifferentiateDateType: true },
|
{ title: '平台', dataIndex: 'platform', notDifferentiateDateType: true },
|
||||||
{ title: '状态', dataIndex: 'status', type: 'status', notDifferentiateDateType: true },
|
{ title: '状态', dataIndex: 'status', type: 'status', notDifferentiateDateType: true },
|
||||||
{ title: '账号ID', dataIndex: 'account_id', notDifferentiateDateType: true },
|
{ title: '账号ID', dataIndex: 'account_id', notDifferentiateDateType: true },
|
||||||
@ -36,7 +37,6 @@ export const getAccountInfoFields = (dateType: string, showMore: boolean) => {
|
|||||||
{ title: '所属项目', dataIndex: 'group.name', notDifferentiateDateType: true },
|
{ title: '所属项目', dataIndex: 'group.name', notDifferentiateDateType: true },
|
||||||
{ title: '分组', dataIndex: 'group.name', notDifferentiateDateType: true },
|
{ title: '分组', dataIndex: 'group.name', notDifferentiateDateType: true },
|
||||||
{ title: '标签', dataIndex: 'tags', notDifferentiateDateType: true },
|
{ title: '标签', dataIndex: 'tags', notDifferentiateDateType: true },
|
||||||
{ title: 'AI评价', dataIndex: 'ai_evaluation', notDifferentiateDateType: true },
|
|
||||||
{ title: '粉丝量', dataIndex: 'fans_number', tooltip: '账号的当前粉丝总数。', notDifferentiateDateType: true },
|
{ title: '粉丝量', dataIndex: 'fans_number', tooltip: '账号的当前粉丝总数。', notDifferentiateDateType: true },
|
||||||
{
|
{
|
||||||
title: '总赞藏数',
|
title: '总赞藏数',
|
||||||
@ -45,6 +45,11 @@ export const getAccountInfoFields = (dateType: string, showMore: boolean) => {
|
|||||||
tooltip: '账号所有内容获得的点赞数与收藏数总和,用于衡量历史内容的整体吸引力与认可度。',
|
tooltip: '账号所有内容获得的点赞数与收藏数总和,用于衡量历史内容的整体吸引力与认可度。',
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
const allFields = showMore ? [...baseFields, ...CUSTOM_FIELDS] : baseFields.slice(0,8);
|
const customFieldsWithAiEvaluation = [
|
||||||
|
CUSTOM_FIELDS[0],
|
||||||
|
{ title: 'AI评价', dataIndex: 'ai_evaluation', notDifferentiateDateType: true },
|
||||||
|
...CUSTOM_FIELDS.slice(1),
|
||||||
|
];
|
||||||
|
const allFields = showMore ? [...baseFields, ...customFieldsWithAiEvaluation] : baseFields.slice(0, 8);
|
||||||
return groupFieldsWithColSpan(allFields, dateType);
|
return groupFieldsWithColSpan(allFields, dateType);
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user