|
@@ -163,7 +163,7 @@ const Statistic = () => {
|
|
|
<PageContainer title={false} breadcrumb={false}>
|
|
|
<div className="h-full w-full flex flex-row">
|
|
|
<RoleMenu menuId={menuId} onSelect={onSelect} itemCount={state.roleStaff?.length || 0} />
|
|
|
- <div className={classNames('w-max-3/4', styles.formItemWrap)}>
|
|
|
+ <div className={classNames('w-max-3/4 w-3/4', styles.formItemWrap)}>
|
|
|
<div className="ml-8 bg-white p-4 shadow-md shadow-hex-3e2c5a relative">
|
|
|
<div className="absolute right-4 top-4 z-100">
|
|
|
{state.id && (
|
|
@@ -269,11 +269,23 @@ const Statistic = () => {
|
|
|
<div className="ml-25px">
|
|
|
<ProFormDependency name={['showCustomer']}>
|
|
|
{({ showCustomer }) => (
|
|
|
- <ProFormCheckbox.Group
|
|
|
- name="additions"
|
|
|
- label="客户新增"
|
|
|
- options={[{ value: 'access', label: '查看', disabled: !showCustomer }]}
|
|
|
- />
|
|
|
+ <>
|
|
|
+ <ProFormCheckbox.Group
|
|
|
+ name="additions"
|
|
|
+ label="客户新增"
|
|
|
+ options={[{ value: 'access', label: '查看', disabled: !showCustomer }]}
|
|
|
+ />
|
|
|
+ <ProFormCheckbox.Group
|
|
|
+ name="source"
|
|
|
+ label="客户来源"
|
|
|
+ options={[{ value: 'access', label: '查看', disabled: !showCustomer }]}
|
|
|
+ />
|
|
|
+ <ProFormCheckbox.Group
|
|
|
+ name="nature"
|
|
|
+ label="单位性质"
|
|
|
+ options={[{ value: 'access', label: '查看', disabled: !showCustomer }]}
|
|
|
+ />
|
|
|
+ </>
|
|
|
)}
|
|
|
</ProFormDependency>
|
|
|
</div>
|