heyang 2 jaren geleden
bovenliggende
commit
2ff639cc84
1 gewijzigde bestanden met toevoegingen van 2 en 1 verwijderingen
  1. 2 1
      src/views/emergencyManagement/smartLoT/hardware/index.vue

+ 2 - 1
src/views/emergencyManagement/smartLoT/hardware/index.vue

@@ -111,6 +111,7 @@
   // import voiceIntercom from "./voiceIntercom.vue";
   import { statisticsHardware } from "@/api/laboratory/hardware";
   import { listDepartments } from "@/api/system/dept";
+  import { getSubjectDictByViolation } from '@/api/laboratory/violation'
   import { subjectDictList } from "@/api/laboratory/group";
 
 /*
@@ -191,7 +192,7 @@ export default {
       let params = {};
       params.deptId = deptId;
       this.queryParams.subjectId = "";
-      subjectDictList(params).then(response => {
+      getSubjectDictByViolation(params).then(response => {
         this.subjectOptions = response.data;
         this.loading = false;
       });