heyang преди 2 години
родител
ревизия
2ff639cc84
променени са 1 файла, в които са добавени 2 реда и са изтрити 1 реда
  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;
       });