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
+