diff --git a/src/views/configManage/license/index.vue b/src/views/configManage/license/index.vue index a970ad4e..2c008410 100644 --- a/src/views/configManage/license/index.vue +++ b/src/views/configManage/license/index.vue @@ -6,18 +6,11 @@ import { Form, message, Modal } from 'ant-design-vue/lib'; import { SizeType } from 'ant-design-vue/lib/config-provider'; import { MenuInfo } from 'ant-design-vue/lib/menu/src/interface'; import { ColumnsType } from 'ant-design-vue/lib/table'; -import { parseDateToStr } from '@/utils/date-utils'; import { RESULT_CODE_SUCCESS } from '@/constants/result-constants'; import { - listNeSoftware, - downloadNeSoftware, uploadLicense, - sendNeSoftware, - runNeSoftware, - backNeSoftware, - listLicense + listLicense, } from '@/api/configManage/license'; -import { saveAs } from 'file-saver'; import useI18n from '@/hooks/useI18n'; import useNeInfoStore from '@/store/modules/neinfo'; import { FileType } from 'ant-design-vue/lib/upload/interface'; @@ -158,16 +151,6 @@ type FileStateType = { confirmLoading: boolean; }; - - - - - - - - - - /**查询信息列表 */ function fnGetList() { if (tableState.loading) return; @@ -193,6 +176,8 @@ type ModalStateType = { visibleByHistory: boolean; /**标题 */ title: string; + /**网元类型设备对象 */ + neType: string[]; /**表单数据 */ from: Record; /**确定按钮 loading */ @@ -204,7 +189,7 @@ let modalState: ModalStateType = reactive({ visibleByEdit: false, visibleByHistory: false, title: '任务设置', - neType:[], + neType: [], from: { neType: '', comment: '', @@ -336,7 +321,6 @@ function fnUploadFile(up: UploadRequestOption) { modalState.from.file = up.file; } - /**上传文件 */ function fnUploadCms(up: UploadRequestOption) { // 改为完成状态 @@ -511,11 +495,11 @@ onMounted(() => { --> + v-model:value="modalState.neType" + :options="useNeInfoStore().getNeCascaderOtions" + :allow-clear="false" + :placeholder="t('views.configManage.softwareManage.neTypePlease')" + /> { - - -