fix: 首页项目评论;去掉技术负责人3

This commit is contained in:
caiyuchao
2025-08-25 16:26:24 +08:00
parent 6112bdd9bc
commit 0636850977
4 changed files with 31 additions and 23 deletions

View File

@@ -79,7 +79,7 @@ const formatContent = computed(() => {
<a-comment :author="data.author">
<template #avatar>
<a-avatar :src="data.avatar" :alt="data.author">
{{ data.author?.substring(0, 2) }}
{{ data.author?.slice(-2).toUpperCase() }}
</a-avatar>
</template>
<template #datetime>

View File

@@ -183,20 +183,20 @@ export function useFormSchema(): VbenFormSchema[] {
},
},
},
{
fieldName: 'technicalOwnerC',
label: $t('project.technicalOwnerC'),
component: 'Select',
componentProps: {
options: userList,
allowClear: true,
showSearch: true,
fieldNames: { label: 'nickname', value: 'id' },
filterOption: (input: string, option: any) => {
return option.nickname.toLowerCase().includes(input.toLowerCase());
},
},
},
// {
// fieldName: 'technicalOwnerC',
// label: $t('project.technicalOwnerC'),
// component: 'Select',
// componentProps: {
// options: userList,
// allowClear: true,
// showSearch: true,
// fieldNames: { label: 'nickname', value: 'id' },
// filterOption: (input: string, option: any) => {
// return option.nickname.toLowerCase().includes(input.toLowerCase());
// },
// },
// },
{
fieldName: 'startTime',
label: $t('project.startTime'),
@@ -468,11 +468,11 @@ export function useGridColumns(
title: $t('project.technicalOwnerB'),
minWidth: 120,
},
{
field: 'technicalOwnerCName',
title: $t('project.technicalOwnerC'),
minWidth: 120,
},
// {
// field: 'technicalOwnerCName',
// title: $t('project.technicalOwnerC'),
// minWidth: 120,
// },
{
field: 'endTime',
title: $t('project.endTime'),