fix: 网元授权上传进行重启网元
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<script setup lang="ts">
|
||||
import { Modal } from 'ant-design-vue/lib';
|
||||
import { defineAsyncComponent, onMounted, onUnmounted, reactive } from 'vue';
|
||||
import { fnRestStepState, fnToStepName, stepState } from '../hooks/useStep';
|
||||
import { fnRestStepState, stepState } from '../hooks/useStep';
|
||||
import useI18n from '@/hooks/useI18n';
|
||||
import { codeNeLicense, stateNeLicense } from '@/api/ne/neLicense';
|
||||
import { RESULT_CODE_SUCCESS } from '@/constants/result-constants';
|
||||
@@ -79,7 +79,7 @@ function fnModalCancel() {
|
||||
function fnStepEnd() {
|
||||
Modal.confirm({
|
||||
title: t('common.tipTitle'),
|
||||
content: '确认要结束安装吗?',
|
||||
content: t('views.ne.neQuickSetup.licenseEndTip'),
|
||||
onOk() {
|
||||
fnRestStepState();
|
||||
},
|
||||
@@ -151,11 +151,12 @@ onUnmounted(() => {
|
||||
</div>
|
||||
</a-result>
|
||||
|
||||
<!-- 文件上传框 -->
|
||||
<!-- 许可证上传框 -->
|
||||
<EditModal
|
||||
v-model:visible="state.visibleByFile"
|
||||
:ne-type="state.from.neType"
|
||||
:ne-id="state.from.neId"
|
||||
:reload="true"
|
||||
@ok="fnModalOk"
|
||||
@cancel="fnModalCancel"
|
||||
></EditModal>
|
||||
|
||||
Reference in New Issue
Block a user