---license管理 缺少声明
This commit is contained in:
@@ -6,18 +6,11 @@ import { Form, message, Modal } from 'ant-design-vue/lib';
|
|||||||
import { SizeType } from 'ant-design-vue/lib/config-provider';
|
import { SizeType } from 'ant-design-vue/lib/config-provider';
|
||||||
import { MenuInfo } from 'ant-design-vue/lib/menu/src/interface';
|
import { MenuInfo } from 'ant-design-vue/lib/menu/src/interface';
|
||||||
import { ColumnsType } from 'ant-design-vue/lib/table';
|
import { ColumnsType } from 'ant-design-vue/lib/table';
|
||||||
import { parseDateToStr } from '@/utils/date-utils';
|
|
||||||
import { RESULT_CODE_SUCCESS } from '@/constants/result-constants';
|
import { RESULT_CODE_SUCCESS } from '@/constants/result-constants';
|
||||||
import {
|
import {
|
||||||
listNeSoftware,
|
|
||||||
downloadNeSoftware,
|
|
||||||
uploadLicense,
|
uploadLicense,
|
||||||
sendNeSoftware,
|
listLicense,
|
||||||
runNeSoftware,
|
|
||||||
backNeSoftware,
|
|
||||||
listLicense
|
|
||||||
} from '@/api/configManage/license';
|
} from '@/api/configManage/license';
|
||||||
import { saveAs } from 'file-saver';
|
|
||||||
import useI18n from '@/hooks/useI18n';
|
import useI18n from '@/hooks/useI18n';
|
||||||
import useNeInfoStore from '@/store/modules/neinfo';
|
import useNeInfoStore from '@/store/modules/neinfo';
|
||||||
import { FileType } from 'ant-design-vue/lib/upload/interface';
|
import { FileType } from 'ant-design-vue/lib/upload/interface';
|
||||||
@@ -158,16 +151,6 @@ type FileStateType = {
|
|||||||
confirmLoading: boolean;
|
confirmLoading: boolean;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**查询信息列表 */
|
/**查询信息列表 */
|
||||||
function fnGetList() {
|
function fnGetList() {
|
||||||
if (tableState.loading) return;
|
if (tableState.loading) return;
|
||||||
@@ -193,6 +176,8 @@ type ModalStateType = {
|
|||||||
visibleByHistory: boolean;
|
visibleByHistory: boolean;
|
||||||
/**标题 */
|
/**标题 */
|
||||||
title: string;
|
title: string;
|
||||||
|
/**网元类型设备对象 */
|
||||||
|
neType: string[];
|
||||||
/**表单数据 */
|
/**表单数据 */
|
||||||
from: Record<string, any>;
|
from: Record<string, any>;
|
||||||
/**确定按钮 loading */
|
/**确定按钮 loading */
|
||||||
@@ -336,7 +321,6 @@ function fnUploadFile(up: UploadRequestOption) {
|
|||||||
modalState.from.file = up.file;
|
modalState.from.file = up.file;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**上传文件 */
|
/**上传文件 */
|
||||||
function fnUploadCms(up: UploadRequestOption) {
|
function fnUploadCms(up: UploadRequestOption) {
|
||||||
// 改为完成状态
|
// 改为完成状态
|
||||||
@@ -553,11 +537,8 @@ onMounted(() => {
|
|||||||
</a-button>
|
</a-button>
|
||||||
</a-upload>
|
</a-upload>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
|
|
||||||
</a-form>
|
</a-form>
|
||||||
</a-modal>
|
</a-modal>
|
||||||
|
|
||||||
|
|
||||||
</PageContainer>
|
</PageContainer>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user