|
|
|
@ -155,14 +155,14 @@ export default function Page() {
|
|
|
|
|
return
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (selectedRowKeys.length == 0) {
|
|
|
|
|
if (selectedRowKeys1.length == 0) {
|
|
|
|
|
message.info('请选择一条可装配的密钥体!')
|
|
|
|
|
return
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
form.validateFields().then(() => {
|
|
|
|
|
tableData1.forEach(e => {
|
|
|
|
|
if (e.id == selectedRowKeys[0]) { setSelectedData(e) }
|
|
|
|
|
if (e.id == selectedRowKeys1[0]) { setSelectedData(e) }
|
|
|
|
|
});
|
|
|
|
|
setVisibility(true)
|
|
|
|
|
})
|
|
|
|
@ -195,7 +195,7 @@ export default function Page() {
|
|
|
|
|
const formData = new FormData();
|
|
|
|
|
formData.append('activeDate', info.activeDate.format('YYYY-MM-DD'));
|
|
|
|
|
formData.append('endDate', moment().format('YYYY-MM-DD'));
|
|
|
|
|
formData.append('secretImportId', selectedRowKeys[0]);
|
|
|
|
|
formData.append('secretImportId', selectedRowKeys1[0]);
|
|
|
|
|
formData.append('sysType', sysTypeStr[sysType]);
|
|
|
|
|
formData.append('type', '1');
|
|
|
|
|
secretKey(formData).then((res) => {
|
|
|
|
@ -216,7 +216,7 @@ export default function Page() {
|
|
|
|
|
<ButtonComp type={'special'} text={'管理密钥装配'} onClick={() => { }} />
|
|
|
|
|
|
|
|
|
|
<div className='flex_aiC mt20 mb20'>
|
|
|
|
|
<Radio.Group value={usageReserveArea}>
|
|
|
|
|
<Radio.Group value={usageReserveArea} onChange={(e) => {setUsageReserveArea(e.target.value)}}>
|
|
|
|
|
<Radio value="1" style={{ marginRight: 30 }}> 使用区密钥状态 </Radio>
|
|
|
|
|
<Radio value="2"> 备用区密钥装配 </Radio>
|
|
|
|
|
</Radio.Group>
|
|
|
|
|