---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 { 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<string, any>;
|
||||
/**确定按钮 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(() => {
|
||||
</a-select> -->
|
||||
|
||||
<a-cascader
|
||||
v-model:value="modalState.neType"
|
||||
:options="useNeInfoStore().getNeCascaderOtions"
|
||||
:allow-clear="false"
|
||||
:placeholder="t('views.configManage.softwareManage.neTypePlease')"
|
||||
/>
|
||||
v-model:value="modalState.neType"
|
||||
:options="useNeInfoStore().getNeCascaderOtions"
|
||||
:allow-clear="false"
|
||||
:placeholder="t('views.configManage.softwareManage.neTypePlease')"
|
||||
/>
|
||||
</a-form-item>
|
||||
|
||||
<a-form-item
|
||||
@@ -553,11 +537,8 @@ onMounted(() => {
|
||||
</a-button>
|
||||
</a-upload>
|
||||
</a-form-item>
|
||||
|
||||
</a-form>
|
||||
</a-modal>
|
||||
|
||||
|
||||
</PageContainer>
|
||||
</template>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user