From ef8ec73ce8845e53a5393d1df5033fa1643ee6e3 Mon Sep 17 00:00:00 2001 From: djhk <2424552363@qq.com> Date: Wed, 5 Nov 2025 17:32:42 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=AD=97=E5=85=B8=E3=80=81?= =?UTF-8?q?=E6=9F=A5=E8=AF=A2=E9=80=BB=E8=BE=91=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/system/metasploitable/index.vue | 26 ++++++++++++++++++++--- 1 file changed, 23 insertions(+), 3 deletions(-) diff --git a/src/views/system/metasploitable/index.vue b/src/views/system/metasploitable/index.vue index 15b19dd..f6e539d 100644 --- a/src/views/system/metasploitable/index.vue +++ b/src/views/system/metasploitable/index.vue @@ -510,12 +510,18 @@ --> + - + + + + + @@ -688,6 +694,7 @@ checkModelCode, API_POST_importExcel } from '../../../api/datamodel/metasploitable/equmodel'; + import {getDicts} from "@/views/system/warLawLibrary/api.js"; // import FileUploadForEqu from './FileUploadForEqu' // import {reactive, ref, onMounted, getCurrentInstance} from 'vue' @@ -742,8 +749,9 @@ exportParams: { createBy: '', ids: [], + policeTypeDictDatas: [], orgIds: [] - }, + }, // isyanzhen:true, // 遮罩层 @@ -814,6 +822,14 @@ this.getList2(); this.getList3(); this.getSelectEquTypeList(); + getDicts('target_drone_type').then(res => { + this.policeTypeDictDatas = res.data.map((item) => { + return { + value: item.dictLabel, + label: item.dictValue + } + }) + }) }, onMounted() { @@ -917,6 +933,7 @@ getList() { this.loading = true; console.log("参数的值为:",this.queryParams) + this.queryParams.structure = "多旋翼" listEqumodel(this.queryParams).then(response => { this.equmodelList = response.rows; this.total = response.total; @@ -926,6 +943,7 @@ getList1() { this.loading = true; console.log("参数的值为:",this.queryParams) + this.queryParams.structure = "固定翼" listEqumodel(this.queryParams).then(response => { this.equmodelList1 = response.rows; this.total = response.total; @@ -935,6 +953,7 @@ getList2() { this.loading = true; console.log("参数的值为:",this.queryParams) + this.queryParams.structure = "单旋翼" listEqumodel(this.queryParams).then(response => { this.equmodelList2 = response.rows; this.total = response.total; @@ -944,6 +963,7 @@ getList3() { this.loading = true; console.log("参数的值为:",this.queryParams) + this.queryParams.structure = "复合式固定翼" listEqumodel(this.queryParams).then(response => { this.equmodelList3 = response.rows; this.total = response.total; @@ -1280,4 +1300,4 @@ }; - \ No newline at end of file +