修改问题
This commit is contained in:
parent
85fca70896
commit
26071cccb1
@ -772,34 +772,6 @@ class UserEditPage extends React.Component {
|
|||||||
|
|
||||||
</Form.Item>
|
</Form.Item>
|
||||||
</Col> */}
|
</Col> */}
|
||||||
{/* style={{display:this.props.login.user?.NAME.indexOf("管理员") === -1 ?"none":"block"}} */}
|
|
||||||
<Col span={8}>
|
|
||||||
<Form.Item
|
|
||||||
label={'生产单元'}
|
|
||||||
{...formItemLayout}
|
|
||||||
>
|
|
||||||
{/* <CheckboxGroup options={this.props.app.enums.FMProductionUnit.options} value={this.state.data.MineType} onChange={onUnitChange} /> */}
|
|
||||||
<MultiSelectPagination api={'FM/Enum/GetEnumsByCode'}
|
|
||||||
data={
|
|
||||||
{
|
|
||||||
navField: 'ID,VALUE,NAME',
|
|
||||||
saveField: 'ENUMS_ID,Nav_Enums.VALUE,Nav_Enums.NAME',
|
|
||||||
labelField: "Nav_Enums.NAME",
|
|
||||||
showField: "NAME",
|
|
||||||
filterField: "NAME",
|
|
||||||
idField: "USER_ID",
|
|
||||||
selectLabelField: "NAME",//不配置则默认取labelField,如果labelField也不配置,默认取NAME字段
|
|
||||||
}
|
|
||||||
}
|
|
||||||
colConfig={{ field: "Nav_ProdutionUnit" }}
|
|
||||||
record={this.state.data} onChange={onSelectProduction} onFilter={({ params }) => {
|
|
||||||
// extendRule(params, 'CODE', 1, 'BSMineTypeEnum');
|
|
||||||
params.OrderType = 1
|
|
||||||
params.OrgId = this.state.data ? this.state.data.ORG_ID : this.props.login.OrgId
|
|
||||||
// params.Parameter1='BSMineTypeEnum'
|
|
||||||
}} />
|
|
||||||
</Form.Item>
|
|
||||||
</Col>
|
|
||||||
|
|
||||||
<Col span={12}>
|
<Col span={12}>
|
||||||
<Form.Item
|
<Form.Item
|
||||||
|
|||||||
@ -128,7 +128,7 @@ class HM042ShowPrint extends React.Component {
|
|||||||
onComplete: (result) => {
|
onComplete: (result) => {
|
||||||
if (this.props.data.tableKey == "2" || this.props.data.tableKey == undefined) {
|
if (this.props.data.tableKey == "2" || this.props.data.tableKey == undefined) {
|
||||||
this.setState({ isAudit: 'none' })
|
this.setState({ isAudit: 'none' })
|
||||||
} else if (ret.STATUS == 2 && this.props.data.TaskID != null && ret.DEPUTY_GROUP_LEADER_OPINION == 0 && ret.GROUP_LEADER_OPINION == 0){
|
} else if (ret.STATUS == 4 && this.props.data.TaskID != null && ret.DEPUTY_GROUP_LEADER_OPINION == 0 && ret.GROUP_LEADER_OPINION == 0){
|
||||||
this.setState({ isAudit: 'inline' })
|
this.setState({ isAudit: 'inline' })
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user