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;
       });