heyang 2 년 전
부모
커밋
3f2fd22c65
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      src/views/emergencyManagement/smartLoT/control/index.vue

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

@@ -182,6 +182,7 @@
 <script>
 import { listControl, getControl, delControl, addControl, updateControl } from "@/api/laboratory/control";
 import { listDepartments } from "@/api/system/dept";
+import { getSubjectDictByViolation } from '@/api/laboratory/violation'
 import {subjectDictList } from "@/api/laboratory/record";
 
   import { queryHardwareType} from "@/api/laboratory/hardware";
@@ -283,7 +284,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;
       });