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