heyang před 2 roky
rodič
revize
fb3a887d6f

+ 8 - 0
src/api/laboratory/subject.js

@@ -17,6 +17,14 @@ export function authListSubject(query) {
     params: query
   })
 }
+// 查询实验室列表-带权限-新
+export function authListSubjectTow(query) {
+  return request({
+    url: '/laboratory/subject/manger/pclist',
+    method: 'get',
+    params: query
+  })
+}
 
 // 查询实验室详细
 export function getSubject(id) {

+ 9 - 2
src/views/comprehensive/laboratoryManagement/subject/index.vue

@@ -265,7 +265,14 @@
 import mqtt from 'mqtt'
 import flvjs from 'flv.js'
 import { hardWareControl,alarmControl } from "@/api/laboratory/hardware";
-import { authListSubject,subjectInfo,updateSubject,mangerVoice,startUrl, } from "@/api/laboratory/subject";
+import {
+  authListSubject,
+  subjectInfo,
+  updateSubject,
+  mangerVoice,
+  startUrl,
+  authListSubjectTow
+} from '@/api/laboratory/subject'
 import { filterDept } from "@/api/medicUniversity-3_1/index";
 import addSubject from "./addSubject.vue";
 import deviceList from "./deviceList.vue";
@@ -835,7 +842,7 @@ export default {
     getList() {
       this.loading = true;
       // this.offMQTT();
-      authListSubject(this.queryParams).then(response => {
+      authListSubjectTow(this.queryParams).then(response => {
         this.subjectList = response.rows;
         this.total = response.total;
         this.loading = false;