|
@@ -44,9 +44,7 @@
|
|
config
|
|
config
|
|
} from '@/api/request/config.js'
|
|
} from '@/api/request/config.js'
|
|
import {
|
|
import {
|
|
- systemSubjectGetListByPower
|
|
|
|
- } from '@/api/commonality/permission.js'
|
|
|
|
- import {
|
|
|
|
|
|
+ laboratoryAppletSignSubList,
|
|
laboratoryAppletPassOutList
|
|
laboratoryAppletPassOutList
|
|
} from '@/pages_basics/api/index.js'
|
|
} from '@/pages_basics/api/index.js'
|
|
export default {
|
|
export default {
|
|
@@ -72,15 +70,17 @@
|
|
|
|
|
|
},
|
|
},
|
|
onShow() {
|
|
onShow() {
|
|
- this.systemSubjectGetListByPower();
|
|
|
|
|
|
+ this.laboratoryAppletSignSubList();
|
|
this.getList();
|
|
this.getList();
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
//选中数据
|
|
//选中数据
|
|
tableButton(item) {
|
|
tableButton(item) {
|
|
- uni.navigateTo({
|
|
|
|
- url: '/pages_basics/views/record/infoPage?item=' + encodeURIComponent(JSON.stringify(item)) //安全警报
|
|
|
|
- });
|
|
|
|
|
|
+ if(item.accessStatus == 2){
|
|
|
|
+ uni.navigateTo({
|
|
|
|
+ url: '/pages_basics/views/record/infoPage?item=' + encodeURIComponent(JSON.stringify(item)) //安全警报
|
|
|
|
+ });
|
|
|
|
+ }
|
|
},
|
|
},
|
|
changeLog(e) {
|
|
changeLog(e) {
|
|
this.$set(this.queryParams,'page',1);
|
|
this.$set(this.queryParams,'page',1);
|
|
@@ -145,11 +145,11 @@
|
|
}
|
|
}
|
|
},
|
|
},
|
|
//查询实验室
|
|
//查询实验室
|
|
- async systemSubjectGetListByPower() {
|
|
|
|
|
|
+ async laboratoryAppletSignSubList() {
|
|
let self = this;
|
|
let self = this;
|
|
const {
|
|
const {
|
|
data
|
|
data
|
|
- } = await systemSubjectGetListByPower();
|
|
|
|
|
|
+ } = await laboratoryAppletSignSubList();
|
|
if (data.code == 200) {
|
|
if (data.code == 200) {
|
|
let nameList = ['全部'];
|
|
let nameList = ['全部'];
|
|
let list = [{
|
|
let list = [{
|