fix: 网元授权勾选重置
This commit is contained in:
@@ -116,7 +116,7 @@ function fnRecordState() {
|
|||||||
Modal.confirm({
|
Modal.confirm({
|
||||||
title: t('common.tipTitle'),
|
title: t('common.tipTitle'),
|
||||||
content: t('views.system.quickStart.stepLicenseReloadTip'),
|
content: t('views.system.quickStart.stepLicenseReloadTip'),
|
||||||
onOk: async () => {
|
async onOk() {
|
||||||
if (state.confirmLoading) return;
|
if (state.confirmLoading) return;
|
||||||
state.confirmLoading = true;
|
state.confirmLoading = true;
|
||||||
// 勾选的网元数据
|
// 勾选的网元数据
|
||||||
@@ -137,8 +137,10 @@ function fnRecordState() {
|
|||||||
row.status = '0';
|
row.status = '0';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
message.success(t('common.operateOk'), 3);
|
message.success(t('common.operateOk'), 3);
|
||||||
state.confirmLoading = false;
|
state.confirmLoading = false;
|
||||||
|
state.selectedRowKeys = [];
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@@ -177,6 +179,7 @@ function fnRecordCode() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
state.confirmLoading = false;
|
state.confirmLoading = false;
|
||||||
|
state.selectedRowKeys = [];
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@@ -287,7 +290,11 @@ onMounted(() => {
|
|||||||
{{ t('views.system.quickStart.stepPrev') }}
|
{{ t('views.system.quickStart.stepPrev') }}
|
||||||
</a-button>
|
</a-button>
|
||||||
|
|
||||||
<a-button type="dashed" @click.prevent="fnModalOpen">
|
<a-button
|
||||||
|
type="dashed"
|
||||||
|
:disabled="state.selectedRowKeys.length < 1"
|
||||||
|
@click.prevent="fnModalOpen"
|
||||||
|
>
|
||||||
<template #icon><UploadOutlined /></template>
|
<template #icon><UploadOutlined /></template>
|
||||||
{{ t('views.ne.neLicense.uploadBatch') }}
|
{{ t('views.ne.neLicense.uploadBatch') }}
|
||||||
</a-button>
|
</a-button>
|
||||||
@@ -301,7 +308,6 @@ onMounted(() => {
|
|||||||
>
|
>
|
||||||
<template #icon><SecurityScanOutlined /></template>
|
<template #icon><SecurityScanOutlined /></template>
|
||||||
{{ t('views.system.quickStart.stepLicenseReload') }}
|
{{ t('views.system.quickStart.stepLicenseReload') }}
|
||||||
{{ state.selectedRowKeys.length || '' }}
|
|
||||||
</a-button>
|
</a-button>
|
||||||
|
|
||||||
<a-button
|
<a-button
|
||||||
@@ -313,7 +319,6 @@ onMounted(() => {
|
|||||||
>
|
>
|
||||||
<template #icon><DownloadOutlined /></template>
|
<template #icon><DownloadOutlined /></template>
|
||||||
{{ t('views.system.quickStart.stepLicenseDownCode') }}
|
{{ t('views.system.quickStart.stepLicenseDownCode') }}
|
||||||
{{ state.selectedRowKeys.length || '' }}
|
|
||||||
</a-button>
|
</a-button>
|
||||||
|
|
||||||
<a-button type="primary" @click="fnStepNext('Done')">
|
<a-button type="primary" @click="fnStepNext('Done')">
|
||||||
|
|||||||
Reference in New Issue
Block a user