diff --git a/apps/web-antd/src/api/license/comment/index.ts b/apps/web-antd/src/api/license/comment/index.ts
index e96e118..f2d2334 100644
--- a/apps/web-antd/src/api/license/comment/index.ts
+++ b/apps/web-antd/src/api/license/comment/index.ts
@@ -22,6 +22,7 @@ export namespace CommentApi {
serialNo?: string;
businessOwner?: string;
technicalOwnerA?: string;
+ customerName?: string;
}
}
diff --git a/apps/web-antd/src/views/dashboard/index.vue b/apps/web-antd/src/views/dashboard/index.vue
index f28326f..232ca5d 100644
--- a/apps/web-antd/src/views/dashboard/index.vue
+++ b/apps/web-antd/src/views/dashboard/index.vue
@@ -3,7 +3,11 @@ import type { AnalysisOverviewItem, WorkbenchTrendItem } from '@vben/common-ui';
import { onMounted, shallowRef } from 'vue';
-import { AnalysisOverview, WorkbenchTrends } from '@vben/common-ui';
+import {
+ AnalysisOverview,
+ WorkbenchTrends,
+ WorkbenchTrendsComment,
+} from '@vben/common-ui';
import dayjs from 'dayjs';
import relativeTime from 'dayjs/plugin/relativeTime';
@@ -102,7 +106,10 @@ onMounted(async () => {
date: dayjs(item.updateTime).format('YYYY-MM-DD HH:mm:ss') || '',
title: `${item.projectName ?? ''} `,
status: dict,
- info: `${item.serialNo ?? ''} ${item.businessOwner ?? ''} ${item.technicalOwnerA ?? ''}`,
+ customerName: item.customerName,
+ serialNo: item.serialNo,
+ businessOwner: item.businessOwner,
+ technicalOwnerA: item.technicalOwnerA,
};
});
});
@@ -131,7 +138,7 @@ onMounted(async () => {
/>
-
{
- {{ data.author?.substring(0, 2) }}
+ {{ data.author?.slice(-2).toUpperCase() }}
diff --git a/apps/web-antd/src/views/license/project/data.ts b/apps/web-antd/src/views/license/project/data.ts
index 1f0fd16..90cda5e 100644
--- a/apps/web-antd/src/views/license/project/data.ts
+++ b/apps/web-antd/src/views/license/project/data.ts
@@ -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'),