diff --git a/apps/web-antd/src/api/license/customer/index.ts b/apps/web-antd/src/api/license/customer/index.ts index ecfae1d..f4a2975 100644 --- a/apps/web-antd/src/api/license/customer/index.ts +++ b/apps/web-antd/src/api/license/customer/index.ts @@ -23,6 +23,7 @@ export namespace CustomerApi { licenseCount: number; userCount: number; contractCount: number; + signingRate: number; } } diff --git a/apps/web-antd/src/views/alert/index.vue b/apps/web-antd/src/views/alert/index.vue index 0c437c5..c313d2c 100644 --- a/apps/web-antd/src/views/alert/index.vue +++ b/apps/web-antd/src/views/alert/index.vue @@ -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: '提醒天数', diff --git a/apps/web-antd/src/views/dashboard/index.vue b/apps/web-antd/src/views/dashboard/index.vue index f28a6ed..f28326f 100644 --- a/apps/web-antd/src/views/dashboard/index.vue +++ b/apps/web-antd/src/views/dashboard/index.vue @@ -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, }, ];