|
@@ -149,6 +149,7 @@ import { subjectDictList } from "@/api/laboratory/group";
|
|
|
import { treeselect } from "@/api/system/dept";
|
|
|
import Treeselect from "@riophae/vue-treeselect";
|
|
|
import "@riophae/vue-treeselect/dist/vue-treeselect.css";
|
|
|
+import { getSubjectDictByViolation } from '@/api/laboratory/violation'
|
|
|
|
|
|
export default {
|
|
|
name: "Sensor",
|
|
@@ -249,7 +250,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;
|
|
|
});
|