更新一版离线版

master
鲁誉程 9 months ago
parent bae9a4e73f
commit 498065dd95

@ -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>

@ -154,14 +154,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)
})
@ -194,7 +194,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', '2');
secretKey(formData).then((res) => {

Loading…
Cancel
Save