卡片修复
This commit is contained in:
parent
89587a6b1a
commit
e498634292
|
|
@ -233,35 +233,35 @@ export default class ResourceCard extends React.Component {
|
|||
<img src="/hrm/hrm_e9/image/workflow.png" alt="" />
|
||||
<div>
|
||||
<p>流程总数</p>
|
||||
<p>{data.statistical.workflowCount}</p>
|
||||
<p onClick={() => {window.open(`/spa/workflow/static/index.html#/main/workflow/listDoing?resourceid=${data.user.id}`)}}>{data.statistical.workflowCount}</p>
|
||||
</div>
|
||||
</Col>
|
||||
<Col className='ant-col' span={4}>
|
||||
<img src="/hrm/hrm_e9/image/doc.png" alt="" />
|
||||
<div>
|
||||
<p>文档总数</p>
|
||||
<p>{data.statistical.docCount}</p>
|
||||
<p onClick={() => {window.open(`/spa/document/static/index.html#/main/document/search?viewcondition=2&doccreaterid=${data.user.id}`)}}>{data.statistical.docCount}</p>
|
||||
</div>
|
||||
</Col>
|
||||
<Col className='ant-col' span={4}>
|
||||
<img src="/hrm/hrm_e9/image/custom.png" alt="" />
|
||||
<div>
|
||||
<p>我的客户</p>
|
||||
<p>{data.statistical.cusCount}</p>
|
||||
<p onClick={() => {window.open(`/spa/crm/static/index.html#/main/crm/customer/hrmView?searchHrmId=${data.user.id}`)}}>{data.statistical.cusCount}</p>
|
||||
</div>
|
||||
</Col>
|
||||
<Col className='ant-col' span={4}>
|
||||
<img src="/hrm/hrm_e9/image/cowork.png" alt="" />
|
||||
<div>
|
||||
<p>我的协作</p>
|
||||
<p>{data.statistical.collaborationCount}</p>
|
||||
<p onClick={() => {window.open(`/spa/cowork/static/index.html#/main/cowork/hrmview?searchHrmid=${data.user.id}`)}}>{data.statistical.collaborationCount}</p>
|
||||
</div>
|
||||
</Col>
|
||||
<Col className='ant-col' span={4}>
|
||||
<img src="/hrm/hrm_e9/image/weibo.png" alt="" />
|
||||
<div>
|
||||
<p>微博总数</p>
|
||||
<p>{data.statistical.weiboCount}</p>
|
||||
<p onClick={() => {window.open(`/spa/blog/static/index.html#/user/${data.user.id}`)}}>{data.statistical.weiboCount}</p>
|
||||
</div>
|
||||
</Col>
|
||||
</Row>
|
||||
|
|
|
|||
|
|
@ -22,6 +22,7 @@ export class ResourceCardStore {
|
|||
/************** json数据*****************/
|
||||
@observable data = {
|
||||
user: {
|
||||
id:23,
|
||||
image: "",
|
||||
name: "萧言",
|
||||
sex:"0",
|
||||
|
|
|
|||
|
|
@ -96,6 +96,7 @@
|
|||
float: right;
|
||||
font-weight: 800;
|
||||
font-size: 16px;
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue