bug修复
This commit is contained in:
parent
ebf82547d2
commit
4d79c64bcd
|
|
@ -252,35 +252,35 @@ export default class ResourceCard extends React.Component {
|
||||||
<img src="/hrm/hrm_e9/image/workflow.png" alt="" />
|
<img src="/hrm/hrm_e9/image/workflow.png" alt="" />
|
||||||
<div>
|
<div>
|
||||||
<p>流程总数</p>
|
<p>流程总数</p>
|
||||||
<p onClick={() => { window.open(`/spa/workflow/static/index.html#/main/workflow/listDoing?resourceid=${data.user.id}`) }}>{data.statistical.workflowCount}</p>
|
<p onClick={() => { window.open(`/spa/workflow/static/index.html#/main/workflow/listDoing?resourceid=${data.user.ecId}`) }}>{data.statistical.workflowCount}</p>
|
||||||
</div>
|
</div>
|
||||||
</Col>
|
</Col>
|
||||||
<Col className='ant-col' span={4}>
|
<Col className='ant-col' span={4}>
|
||||||
<img src="/hrm/hrm_e9/image/doc.png" alt="" />
|
<img src="/hrm/hrm_e9/image/doc.png" alt="" />
|
||||||
<div>
|
<div>
|
||||||
<p>文档总数</p>
|
<p>文档总数</p>
|
||||||
<p onClick={() => { window.open(`/spa/document/static/index.html#/main/document/search?viewcondition=2&doccreaterid=${data.user.id}`) }}>{data.statistical.docCount}</p>
|
<p onClick={() => { window.open(`/spa/document/static/index.html#/main/document/search?viewcondition=2&doccreaterid=${data.user.ecId}`) }}>{data.statistical.docCount}</p>
|
||||||
</div>
|
</div>
|
||||||
</Col>
|
</Col>
|
||||||
<Col className='ant-col' span={4}>
|
<Col className='ant-col' span={4}>
|
||||||
<img src="/hrm/hrm_e9/image/custom.png" alt="" />
|
<img src="/hrm/hrm_e9/image/custom.png" alt="" />
|
||||||
<div>
|
<div>
|
||||||
<p>我的客户</p>
|
<p>我的客户</p>
|
||||||
<p onClick={() => { window.open(`/spa/crm/static/index.html#/main/crm/customer/hrmView?searchHrmId=${data.user.id}`) }}>{data.statistical.cusCount}</p>
|
<p onClick={() => { window.open(`/spa/crm/static/index.html#/main/crm/customer/hrmView?searchHrmId=${data.user.ecId}`) }}>{data.statistical.cusCount}</p>
|
||||||
</div>
|
</div>
|
||||||
</Col>
|
</Col>
|
||||||
<Col className='ant-col' span={4}>
|
<Col className='ant-col' span={4}>
|
||||||
<img src="/hrm/hrm_e9/image/cowork.png" alt="" />
|
<img src="/hrm/hrm_e9/image/cowork.png" alt="" />
|
||||||
<div>
|
<div>
|
||||||
<p>我的协作</p>
|
<p>我的协作</p>
|
||||||
<p onClick={() => { window.open(`/spa/cowork/static/index.html#/main/cowork/hrmview?searchHrmid=${data.user.id}`) }}>{data.statistical.collaborationCount}</p>
|
<p onClick={() => { window.open(`/spa/cowork/static/index.html#/main/cowork/hrmview?searchHrmid=${data.user.ecId}`) }}>{data.statistical.collaborationCount}</p>
|
||||||
</div>
|
</div>
|
||||||
</Col>
|
</Col>
|
||||||
<Col className='ant-col' span={4}>
|
<Col className='ant-col' span={4}>
|
||||||
<img src="/hrm/hrm_e9/image/weibo.png" alt="" />
|
<img src="/hrm/hrm_e9/image/weibo.png" alt="" />
|
||||||
<div>
|
<div>
|
||||||
<p>微博总数</p>
|
<p>微博总数</p>
|
||||||
<p onClick={() => { window.open(`/spa/blog/static/index.html#/user/${data.user.id}`) }}>{data.statistical.weiboCount}</p>
|
<p onClick={() => { window.open(`/spa/blog/static/index.html#/user/${data.user.ecId}`) }}>{data.statistical.weiboCount}</p>
|
||||||
</div>
|
</div>
|
||||||
</Col>
|
</Col>
|
||||||
</Row>
|
</Row>
|
||||||
|
|
|
||||||
|
|
@ -212,7 +212,7 @@ export class NewImportStore {
|
||||||
this.pvisable = true;
|
this.pvisable = true;
|
||||||
//导入文件提交
|
//导入文件提交
|
||||||
let params = {
|
let params = {
|
||||||
keyField:this.keyField,
|
//keyField:this.keyField,
|
||||||
importType:this.importType,
|
importType:this.importType,
|
||||||
operateType:this.operateType,
|
operateType:this.operateType,
|
||||||
excelfile:this.excelfile,
|
excelfile:this.excelfile,
|
||||||
|
|
|
||||||
|
|
@ -59,7 +59,6 @@ const {
|
||||||
if (this.isEmptyObject(this.form2.getFormParams())) {
|
if (this.isEmptyObject(this.form2.getFormParams())) {
|
||||||
params = {
|
params = {
|
||||||
...this.selectTreeNodeInfo,
|
...this.selectTreeNodeInfo,
|
||||||
...this.form2.getFormParams(),
|
|
||||||
lastName: this.lastName
|
lastName: this.lastName
|
||||||
};
|
};
|
||||||
} else {
|
} else {
|
||||||
|
|
@ -70,7 +69,6 @@ const {
|
||||||
}
|
}
|
||||||
Api.getSearchList(params).then(res => {
|
Api.getSearchList(params).then(res => {
|
||||||
if (res.code === 200) {
|
if (res.code === 200) {
|
||||||
//this.setHasRight(res.data.hasRight);
|
|
||||||
res.data.datas && this.tableStore.getDatas(res.data.datas, 1);
|
res.data.datas && this.tableStore.getDatas(res.data.datas, 1);
|
||||||
} else {
|
} else {
|
||||||
message.warning(res.msg);
|
message.warning(res.msg);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue