修改问题

This commit is contained in:
wjn 2024-06-25 13:56:11 +08:00
parent 85fca70896
commit 26071cccb1
2 changed files with 1 additions and 29 deletions

View File

@ -772,34 +772,6 @@ class UserEditPage extends React.Component {
</Form.Item>
</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}>
<Form.Item

View File

@ -128,7 +128,7 @@ class HM042ShowPrint extends React.Component {
onComplete: (result) => {
if (this.props.data.tableKey == "2" || this.props.data.tableKey == undefined) {
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' })
}
}