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