修复
This commit is contained in:
parent
a8aca1343e
commit
92cf301fa8
@ -102,14 +102,14 @@ class SK004CheckPost extends React.Component {
|
|||||||
return <label>{this.props.app.enums.SKEvaluateLevelEnum.enums[record.EVALUATE_LEVEL]}</label>
|
return <label>{this.props.app.enums.SKEvaluateLevelEnum.enums[record.EVALUATE_LEVEL]}</label>
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
// {
|
||||||
title: '操作',
|
// title: '操作',
|
||||||
dataIndex: '',
|
// dataIndex: '',
|
||||||
key: '',
|
// key: '',
|
||||||
render: (text, record, index) => {
|
// render: (text, record, index) => {
|
||||||
return <Button type='defualt' size='small' onClick={(e) => { this.showModalCard(record) }} icon='eye' />
|
// return <Button type='defualt' size='small' onClick={(e) => { this.showModalCard(record) }} icon='eye' />
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
],
|
],
|
||||||
columndatas : [
|
columndatas : [
|
||||||
{
|
{
|
||||||
@ -122,11 +122,11 @@ class SK004CheckPost extends React.Component {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "生产单元",
|
title: "生产单元",
|
||||||
dataIndex: "Nav_Librarys[0].MineType",
|
dataIndex: "Nav_Library?.Nav_ProductionUnit?.NMAE",
|
||||||
key: "Nav_Librarys[0].MineType",
|
key: "Nav_Library?.Nav_ProductionUnit?.NMAE",
|
||||||
render: (text, record, index) => {
|
// render: (text, record, index) => {
|
||||||
return <label>{this.props.app.enums.SKProductionUnit.enums[record.Nav_Librarys[0]?.MineType]}</label>
|
// return <label>{this.props.app.enums.SKProductionUnit.enums[record.Nav_Librarys[0]?.MineType]}</label>
|
||||||
}
|
// }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "辨识部门",
|
title: "辨识部门",
|
||||||
@ -191,7 +191,7 @@ class SK004CheckPost extends React.Component {
|
|||||||
}
|
}
|
||||||
if(this.state.inputText3)
|
if(this.state.inputText3)
|
||||||
{
|
{
|
||||||
temp=temp.filter(t=>t.Nav_Librarys[0]?.MineType == this.state.inputText3);
|
temp=temp.filter(t=>t.Nav_Library?.Nav_ProductionUnit?.NAME.includes(this.state.inputText3));
|
||||||
}
|
}
|
||||||
this.setState({dataList :temp})
|
this.setState({dataList :temp})
|
||||||
}
|
}
|
||||||
|
|||||||
@ -10,7 +10,7 @@ export default {
|
|||||||
params.record.TaskID = params.data.TaskID //TaskID传递消息表ID
|
params.record.TaskID = params.data.TaskID //TaskID传递消息表ID
|
||||||
params.record.PUBLISH = params.customParams;
|
params.record.PUBLISH = params.customParams;
|
||||||
},
|
},
|
||||||
onBeforeEdit: ({ isNew,login,record, dispatch,stateData, setFieldEditable,setFieldVisible,setFieldValue,setFieldValueByBatch }) => {
|
onBeforeEdit: ({ isNew,login,record, dispatch,stateData,setRowFieldVisible, setFieldEditable,setFieldVisible,setFieldValue,setFieldValueByBatch }) => {
|
||||||
if (isNew) {
|
if (isNew) {
|
||||||
let json = initFilter(login.OrgId);
|
let json = initFilter(login.OrgId);
|
||||||
extendRule(json, "ID", 1, login.userId);
|
extendRule(json, "ID", 1, login.userId);
|
||||||
@ -125,4 +125,16 @@ export default {
|
|||||||
}
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
|
// handleRenderRowControl(params) {
|
||||||
|
// // setRowFieldVisible('Nav_Details.IS_CONFIRM_NEW', false)
|
||||||
|
// // setRowFieldVisible('Nav_Details.Nav_DetailFiles', false)
|
||||||
|
// if (params.colConfig.field === 'Nav_Details.IS_CONFIRM_NEW') {
|
||||||
|
// return <>
|
||||||
|
// <a>{params.record.Nav_ApproveUser?.NAME}</a>
|
||||||
|
// </>
|
||||||
|
|
||||||
|
// } else {
|
||||||
|
// return ""
|
||||||
|
// }
|
||||||
|
// }
|
||||||
}
|
}
|
||||||
|
|||||||
@ -17,6 +17,7 @@ export default {
|
|||||||
extendGroupRule(filterGroup, "ID", 1, item);
|
extendGroupRule(filterGroup, "ID", 1, item);
|
||||||
})
|
})
|
||||||
filter.FilterGroup = filterGroup;
|
filter.FilterGroup = filterGroup;
|
||||||
|
extendInclude(filter, 'Nav_ListCheckQuestion');
|
||||||
dispatch({
|
dispatch({
|
||||||
type: 'app/getDataByPost',
|
type: 'app/getDataByPost',
|
||||||
url: 'SK/CheckContents/Entities',
|
url: 'SK/CheckContents/Entities',
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user