Quellcode durchsuchen

adm:feat > 修改需采集信息点获取设备类型

shaun-sheep vor 4 Jahren
Ursprung
Commit
303142a5d8
1 geänderte Dateien mit 2 neuen und 8 gelöschten Zeilen
  1. 2 8
      src/views/ready/collectsetting/index.vue

+ 2 - 8
src/views/ready/collectsetting/index.vue

@@ -122,13 +122,7 @@
 <script>
 import buildInput from "@/components/common/search_input";
 import configDialog from "@/components/dialogs/config/infoPoint"
-import {
-  getBussTypes,
-  queryFamilyAll,
-  queryDictionaryHead
-} from "@/api/scan/request";
-import { queryPhysicsAllType, setDataDictionary } from "@/api/dict";
-import { getDataDictionary } from "@/api/dict";
+import { getDataDictionary, queryPhysicsAllType, setDataDictionary } from "@/api/dict";
 
 import { mapGetters } from "vuex";
 
@@ -644,7 +638,7 @@ export default {
       //   })
       // }
 
-      let param = { "Type": this.value, ProjectId: 'Pj1101050029' }
+      let param = { "type": this.value, projectId: 'Pj1101050029' }
       queryPhysicsAllType(param, res => {
         this.allFamily = res.content.map((item) => ({
           code: item.code,