feat: 首页添加签单率和调整;告警删除提醒人
This commit is contained in:
@@ -23,6 +23,7 @@ export namespace CustomerApi {
|
||||
licenseCount: number;
|
||||
userCount: number;
|
||||
contractCount: number;
|
||||
signingRate: number;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -41,26 +41,6 @@ const formSchema = computed(() => [
|
||||
show: () => false,
|
||||
},
|
||||
},
|
||||
{
|
||||
fieldName: 'users',
|
||||
label: '提醒人',
|
||||
rules: 'required',
|
||||
component: 'Select',
|
||||
componentProps: {
|
||||
placeholder: '请选择提醒人',
|
||||
mode: 'multiple',
|
||||
allowClear: true,
|
||||
showSearch: true,
|
||||
fieldNames: {
|
||||
label: 'nickname',
|
||||
value: 'id',
|
||||
},
|
||||
filterOption: (input: string, option: any) => {
|
||||
return option?.label?.toLowerCase().includes(input.toLowerCase());
|
||||
},
|
||||
options: userOptions.value,
|
||||
},
|
||||
},
|
||||
{
|
||||
fieldName: 'days',
|
||||
label: '提醒天数',
|
||||
|
||||
@@ -25,38 +25,45 @@ onMounted(async () => {
|
||||
overviewItems.value = [
|
||||
{
|
||||
icon: 'icon-[streamline-plump-color--user-pin-flat] size-8 flex-shrink-0',
|
||||
title: '用户量',
|
||||
title: '员工总数',
|
||||
totalTitle: '总用户量',
|
||||
totalValue: data.userCount || 0,
|
||||
value: data.userCount || 0,
|
||||
},
|
||||
{
|
||||
icon: 'icon-[streamline-color--information-desk-customer] size-8 flex-shrink-0',
|
||||
title: '客户量',
|
||||
totalTitle: '总客户量',
|
||||
totalValue: data?.customerCount || 0,
|
||||
value: data?.customerCount || 0,
|
||||
icon: 'icon-[streamline-color--key-flat] size-8 flex-shrink-0',
|
||||
title: '授权License数',
|
||||
totalTitle: '总License量',
|
||||
totalValue: data?.licenseCount || 0,
|
||||
value: data?.licenseCount || 0,
|
||||
},
|
||||
{
|
||||
icon: 'icon-[streamline-sharp-color--laptop-project-screen-flat] size-8 flex-shrink-0',
|
||||
title: '项目量',
|
||||
title: '项目总数',
|
||||
totalTitle: '总项目量',
|
||||
totalValue: data?.projectCount || 0,
|
||||
value: data?.projectCount || 0,
|
||||
},
|
||||
{
|
||||
icon: 'icon-[material-icon-theme--folder-contract-open] size-8 flex-shrink-0',
|
||||
title: '合同量',
|
||||
title: '已签合同数',
|
||||
totalTitle: '总合同量',
|
||||
totalValue: data?.contractCount || 0,
|
||||
value: data?.contractCount || 0,
|
||||
},
|
||||
{
|
||||
icon: 'icon-[streamline-color--key-flat] size-8 flex-shrink-0',
|
||||
title: 'License量',
|
||||
totalTitle: '总License量',
|
||||
totalValue: data?.licenseCount || 0,
|
||||
value: data?.licenseCount || 0,
|
||||
icon: 'icon-[streamline-color--information-desk-customer] size-8 flex-shrink-0',
|
||||
title: '客户总数',
|
||||
totalTitle: '总客户量',
|
||||
totalValue: data?.customerCount || 0,
|
||||
value: data?.customerCount || 0,
|
||||
},
|
||||
{
|
||||
icon: 'icon-[streamline-plump-color--fill-and-sign-flat] size-8 flex-shrink-0',
|
||||
title: '签单率',
|
||||
totalTitle: '总签单率',
|
||||
totalValue: data?.signingRate || 0,
|
||||
value: data?.signingRate || 0,
|
||||
},
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user