heyang преди 2 години
родител
ревизия
7e5ca52957

+ 2 - 1
src/views/emergencyManagement/electronicInformationBoard/index.vue

@@ -117,6 +117,7 @@
   import { XxpCardInfoList,XxpCardInfo,XxpCardInfoPut,XxpCardInfoDelete,getSubList } from "@/api/laboratory/electronicInformationBoard";
   // import { filterDept,getSubList } from "@/api/medicUniversity-3_1/index";
   import {listDepartments} from "@/api/system/dept";
+  import {subjectDictList } from "@/api/laboratory/record";
   export default {
     name: 'index',
     data(){
@@ -224,7 +225,7 @@
             obj.name = val
             obj.id = this.addForm.subjectId
           }
-          getSubList(obj).then(response => {
+          subjectDictList(obj).then(response => {
             this.$set(this,'selectList',response.data);
           })
         }else{

+ 2 - 1
src/views/medicUniversity-3_1/chemicalManagement/deviceManagement/smartAlarm/index.vue

@@ -272,6 +272,7 @@
   import { listHardware, delHardware, addHardware, updateHardware, hardWareControl } from "@/api/medicUniversity-3_1/index";
   import { listRelay } from "@/api/laboratory/relay";
   import { listDepartments } from "@/api/system/dept";
+  import {subjectDictList } from "@/api/laboratory/record";
   import { getToken } from "@/utils/auth";
   export default {
     name: "smartAlarm",
@@ -529,7 +530,7 @@
             }
           }
           //查询院系下实验室
-          getSubList(idText).then(response => {
+          subjectDictList(idText).then(response => {
             //当前列表
             this.selectList = JSON.parse(JSON.stringify(response.data));
             //原始列表数据

+ 2 - 1
src/views/medicUniversity-3_1/chemicalManagement/deviceManagement/smartLocker/index.vue

@@ -242,6 +242,7 @@
   import { listHardware, delHardware, addHardware, updateHardware,setLock,getCabinetLockList } from "@/api/medicUniversity-3_1/index";
   import { listDepartments } from "@/api/system/dept";
   import { getToken } from "@/utils/auth";
+  import {subjectDictList } from "@/api/laboratory/record";
   import associatedCabinetLock from "./associatedCabinetLock.vue"
   import operationRecord from "./operationRecord.vue"
   export default {
@@ -475,7 +476,7 @@
             }
           }
           //查询院系下实验室
-          getSubList(idText).then(response => {
+          subjectDictList(idText).then(response => {
             //当前列表
             this.selectList = JSON.parse(JSON.stringify(response.data));
             //原始列表数据

+ 2 - 1
src/views/oneKeyOutfire/outfireDevice/outfireDevice.vue

@@ -151,6 +151,7 @@
 <script>
 import { subjectList, } from '@/api/gasManage3_0/gasManage'
 import { firedeviceAdd, firedeviceDle, firedeviceEdit, firedeviceList } from '@/api/laboratory/subject'
+import {subjectDictList } from "@/api/laboratory/record";
 export default {
   name: "Approval",
   components: {
@@ -230,7 +231,7 @@ export default {
       },
       //懒加载实验室
       userSelectList(e){
-        subjectList({name:e,deptId:this.dialogForm.deptId}).then(response => {
+        subjectDictList({name:e,deptId:this.dialogForm.deptId}).then(response => {
           this.laboratoryOptions = response.data;
         });
       },