|
@@ -17,7 +17,8 @@ const Detail = props => {
|
|
|
visible,
|
|
visible,
|
|
|
dataId = '',
|
|
dataId = '',
|
|
|
projectType,
|
|
projectType,
|
|
|
- filterTag = true
|
|
|
|
|
|
|
+ filterTag = true,
|
|
|
|
|
+ ClientShow = false
|
|
|
} = props
|
|
} = props
|
|
|
const shouldUpdate = refresh[updateKey] || false
|
|
const shouldUpdate = refresh[updateKey] || false
|
|
|
const [state, setState] = useState({
|
|
const [state, setState] = useState({
|
|
@@ -61,21 +62,25 @@ const Detail = props => {
|
|
|
className="sheet-box-left">
|
|
className="sheet-box-left">
|
|
|
<div className="sheet-left-panel pr-4">
|
|
<div className="sheet-left-panel pr-4">
|
|
|
<Form cloudUser={state.cloudUser} updateKey={updateKey} projectType={projectType} />
|
|
<Form cloudUser={state.cloudUser} updateKey={updateKey} projectType={projectType} />
|
|
|
- <div className="mt-4">
|
|
|
|
|
- <ClientDetail client={state.client} filterTag={filterTag} />
|
|
|
|
|
- </div>
|
|
|
|
|
|
|
+ {ClientShow ? (
|
|
|
|
|
+ <div className="mt-4">
|
|
|
|
|
+ <ClientDetail client={state.client} filterTag={filterTag} />
|
|
|
|
|
+ </div>
|
|
|
|
|
+ ) : null}
|
|
|
<div className="text-center mt-6">
|
|
<div className="text-center mt-6">
|
|
|
<Button type="primary" ghost size="small">
|
|
<Button type="primary" ghost size="small">
|
|
|
<LinkOne size="14" />
|
|
<LinkOne size="14" />
|
|
|
<span className="ml-5px">关联CLD客户</span>
|
|
<span className="ml-5px">关联CLD客户</span>
|
|
|
</Button>
|
|
</Button>
|
|
|
</div>
|
|
</div>
|
|
|
- <div className="text-center mt-6">
|
|
|
|
|
- <Button type="primary" ghost size="small">
|
|
|
|
|
- <LinkInterrupt size="14" />
|
|
|
|
|
- <span className="ml-5px">移除CLD客户</span>
|
|
|
|
|
- </Button>
|
|
|
|
|
- </div>
|
|
|
|
|
|
|
+ {ClientShow ? (
|
|
|
|
|
+ <div className="text-center mt-6">
|
|
|
|
|
+ <Button type="primary" ghost size="small">
|
|
|
|
|
+ <LinkInterrupt size="14" />
|
|
|
|
|
+ <span className="ml-5px">移除CLD客户</span>
|
|
|
|
|
+ </Button>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ ) : null}
|
|
|
</div>
|
|
</div>
|
|
|
</Col>
|
|
</Col>
|
|
|
<Col
|
|
<Col
|