修改备注
This commit is contained in:
parent
9e6181d5f7
commit
8312b214ff
|
|
@ -513,7 +513,7 @@ export default class Staff extends React.Component {
|
|||
>
|
||||
<WeaLeftRightLayout ecId={`${this && this.props && this.props.ecId || ''}_WeaLeftRightLayout@7muhhb`} isNew={true} showLeft={true} leftCom={this.getTree()}>
|
||||
|
||||
<WeaTab sytle={{}} ecId={`${this && this.props && this.props.ecId || ''}_WeaTab@9c3zts`}
|
||||
<WeaTab ecId={`${this && this.props && this.props.ecId || ''}_WeaTab@9c3zts`}
|
||||
searchType={['base', 'advanced']}
|
||||
showSearchAd={isPanelShow}
|
||||
searchsBaseValue={this.isEmptyObject(form2.getFormParams()) ? staffName : form2.getFormParams().staffName}
|
||||
|
|
|
|||
|
|
@ -84,11 +84,12 @@ export default class StaffWorkflowSet extends React.Component {
|
|||
return (
|
||||
<div className='staff-workdlow-set'>
|
||||
<WeaTop
|
||||
title={<span>编制流程设置说明(<span style={{"color":"red"}}>停用,新文档地址https://www.e-cology.com.cn/sp/file/filePreview/904610581855698951</span>)</span>}
|
||||
title={<span>编制流程设置说明(<span style={{"color":"red"}}>停用</span>)</span>}
|
||||
icon={<i className="icon-portal-workflow" />}
|
||||
iconBgcolor="#55D2D4"
|
||||
/>
|
||||
<div className='content'>
|
||||
<span style={{"color":"red","fontSize":"20px"}}>新文档地址:https://www.e-cology.com.cn/sp/file/filePreview/904610581855698951</span>
|
||||
<p>
|
||||
<strong>1、概述</strong>
|
||||
<div>客户可自行通过编制流程配置Action接口完成编制方案数据的更新操作;</div>
|
||||
|
|
|
|||
|
|
@ -54,8 +54,7 @@ export class StaffStore {
|
|||
@observable selectTreeNodeInfo;
|
||||
|
||||
|
||||
@action
|
||||
getTableInfo(isOnChange = false) {
|
||||
@action getTableInfo(isOnChange = false) {
|
||||
let params = {
|
||||
planId: this.planId,
|
||||
...this.selectTreeNodeInfo,
|
||||
|
|
@ -157,8 +156,7 @@ export class StaffStore {
|
|||
});
|
||||
}
|
||||
|
||||
@action("leftTree事件")
|
||||
doSearch(params) {
|
||||
@action("leftTree事件") doSearch(params) {
|
||||
this.selectTreeNodeInfo = params;
|
||||
this.getTableInfo();
|
||||
}
|
||||
|
|
@ -185,6 +183,7 @@ export class StaffStore {
|
|||
}
|
||||
|
||||
updateConditions(data) {
|
||||
if(data.planId.value == '') return;
|
||||
this.form.updateFields({
|
||||
ecCompany: {
|
||||
value: ''
|
||||
|
|
@ -201,16 +200,28 @@ export class StaffStore {
|
|||
switch(type) {
|
||||
case '分部':
|
||||
this.condition[0].items = this.condition[0].items.filter(item => {
|
||||
if(item.domkey[0] == 'ecCompany'){
|
||||
item.viewAttr = 3;
|
||||
item.rules = "required";
|
||||
}
|
||||
return (item.domkey[0] != 'ecDepartment' && item.domkey[0] != 'jobId')
|
||||
});
|
||||
break;
|
||||
case '部门':
|
||||
this.condition[0].items = this.condition[0].items.filter(item => {
|
||||
if(item.domkey[0] == 'ecDepartment'){
|
||||
item.viewAttr = 3;
|
||||
item.rules = "required";
|
||||
}
|
||||
return item.domkey[0] != 'ecCompany' && item.domkey[0] != 'jobId'
|
||||
})
|
||||
break;
|
||||
case '岗位':
|
||||
this.condition[0].items = this.condition[0].items.filter(item => {
|
||||
if(item.domkey[0] == 'jobId'){
|
||||
item.viewAttr = 3;
|
||||
item.rules = "required";
|
||||
}
|
||||
return item.domkey[0] != 'ecCompany' && item.domkey[0] != 'ecDepartment'
|
||||
})
|
||||
|
||||
|
|
@ -235,8 +246,7 @@ export class StaffStore {
|
|||
}
|
||||
|
||||
|
||||
@action
|
||||
getHasRight() {
|
||||
@action getHasRight() {
|
||||
Api.getHasRight().then(res => {
|
||||
if (res.code === 200) {
|
||||
res.data.rightMenu && this.setRightMenu(res.data.rightMenu);
|
||||
|
|
|
|||
Loading…
Reference in New Issue