|
|
@ -48,8 +48,7 @@ function BusinessConf(props) { |
|
|
|
operator_name: "0", |
|
|
|
item_name: '', |
|
|
|
parameterValue: 1, |
|
|
|
parameter_exit: '', |
|
|
|
parameter_exit_pda: '' |
|
|
|
parameter_exit: '' |
|
|
|
}) |
|
|
|
const addAdmin = () => { |
|
|
|
setImgVisible(true) |
|
|
@ -79,15 +78,14 @@ function BusinessConf(props) { |
|
|
|
} |
|
|
|
//添加 |
|
|
|
const onChangeAdd = (e) => { |
|
|
|
setAddManage({ ...addManage, parameterValue: e.target.value, parameter_exit: '', parameter_exit_pda: '' }) |
|
|
|
setAddManage({ ...addManage, parameterValue: e.target.value, parameter_exit: '' }) |
|
|
|
} |
|
|
|
//添加 |
|
|
|
const onChangehoose = (e) => { |
|
|
|
setAddManage({ ...addManage, parameter_exit: e.target.value }) |
|
|
|
} |
|
|
|
//添加 |
|
|
|
const onChangeAddTypeValue = (e) => { |
|
|
|
setAddManage({ ...addManage, parameter_exit_pda: e.target.value }) |
|
|
|
const onChangeEdithoose = (e) => { |
|
|
|
setGetEditData({ ...geteditData, parameter_exit: e.target.value }) |
|
|
|
} |
|
|
|
const [getType, setGetType] = useState(1) |
|
|
|
const onChangeAddType = (e) => { |
|
|
@ -273,8 +271,7 @@ function BusinessConf(props) { |
|
|
|
item_id: '', |
|
|
|
parameter: '', |
|
|
|
parameterValue: 1, |
|
|
|
parameter_exit: '', |
|
|
|
parameter_exit_pda: '' |
|
|
|
parameter_exit: '' |
|
|
|
}) |
|
|
|
const CheckApplyBtn = (record) => { |
|
|
|
setGetAdminId(record) |
|
|
@ -616,14 +613,12 @@ function BusinessConf(props) { |
|
|
|
<Radio value={2}>PDA审核</Radio> |
|
|
|
{ |
|
|
|
getType == 1 ? |
|
|
|
<> |
|
|
|
< div> |
|
|
|
<Radio.Group onChange={onChangehoose} value={addManage.parameter_exit}> |
|
|
|
<Radio value={3}>自动出场</Radio> |
|
|
|
</Radio.Group> |
|
|
|
<Radio.Group onChange={onChangeAddTypeValue} value={addManage.parameter_exit_pda}> |
|
|
|
<Radio value={4}>PDA确认出场</Radio> |
|
|
|
</Radio.Group> |
|
|
|
</> |
|
|
|
</div> |
|
|
|
: '' |
|
|
|
} |
|
|
|
</Radio.Group> |
|
|
@ -976,6 +971,7 @@ function BusinessConf(props) { |
|
|
|
<div className="yisa-search"> |
|
|
|
<Radio.Group style={{ marginLeft: 42 }} |
|
|
|
onChange={(v) => { |
|
|
|
setGetType(v.target.value) |
|
|
|
setGetEditData( |
|
|
|
Object.assign({}, geteditData, { parameterValue: v.target.value }) |
|
|
|
); |
|
|
@ -983,8 +979,16 @@ function BusinessConf(props) { |
|
|
|
value={geteditData.parameterValue}> |
|
|
|
<Radio value={1}>取信地磁</Radio> |
|
|
|
<Radio value={2}>PDA审核</Radio> |
|
|
|
<Radio value={3}>自动出场</Radio> |
|
|
|
<Radio value={4}>PDA确认出场</Radio> |
|
|
|
{ |
|
|
|
getType == 1 ? |
|
|
|
< div> |
|
|
|
<Radio.Group onChange={onChangeEdithoose} value={geteditData.parameter_exit}> |
|
|
|
<Radio value={3}>自动出场</Radio> |
|
|
|
<Radio value={4}>PDA确认出场</Radio> |
|
|
|
</Radio.Group> |
|
|
|
</div> |
|
|
|
: '' |
|
|
|
} |
|
|
|
</Radio.Group> |
|
|
|
</div> : '' |
|
|
|
} |
|
|
|