|
|
@@ -219,6 +219,7 @@
|
|
|
//接收参数
|
|
|
subId: "",
|
|
|
adminId: "",
|
|
|
+ safeIds:[],
|
|
|
subName: "",
|
|
|
roomNum: "",
|
|
|
title: "",
|
|
|
@@ -285,6 +286,7 @@
|
|
|
this.$set(this, 'floorId', obj.floorId);
|
|
|
this.$set(this, 'subId', obj.subId);
|
|
|
this.$set(this, 'adminId', obj.adminId);
|
|
|
+ this.$set(this, 'safeIds', obj.safeIds);
|
|
|
this.$set(this.itemData, 'subjectId', obj.subId);
|
|
|
this.$set(this, 'pageType', 2);
|
|
|
}else{
|
|
|
@@ -294,6 +296,7 @@
|
|
|
this.$set(this, 'floorId', obj.floorId);
|
|
|
this.$set(this, 'subId', obj.subId);
|
|
|
this.$set(this, 'adminId', obj.adminId);
|
|
|
+ this.$set(this, 'safeIds', obj.safeIds);
|
|
|
this.$set(this.itemData, 'subjectId', obj.subId);
|
|
|
this.$set(this, 'groupId', obj.groupId);
|
|
|
this.$set(this, 'pageType', 2);
|
|
|
@@ -369,7 +372,7 @@
|
|
|
//结束预案
|
|
|
closePlan() {
|
|
|
let self = this;
|
|
|
- if(!itoOrVideoLimits(this.adminId)){
|
|
|
+ if(!itoOrVideoLimits(this.adminId,this.safeIds)){
|
|
|
uni.showToast({
|
|
|
title: '没有相关操作权限,请联系管理员',
|
|
|
icon: "none",
|
|
|
@@ -391,7 +394,7 @@
|
|
|
},
|
|
|
//获取视频数据
|
|
|
getVideo(){
|
|
|
- if(!itoOrVideoLimits(this.adminId)){
|
|
|
+ if(!itoOrVideoLimits(this.adminId,this.safeIds)){
|
|
|
uni.showToast({
|
|
|
title: '没有相关操作权限,请联系管理员',
|
|
|
icon: "none",
|
|
|
@@ -495,7 +498,7 @@
|
|
|
this.$set(this.itemData, 'subjectId', this.fjListArray[e.detail.value].subId);
|
|
|
},
|
|
|
shadeTypeClick() {
|
|
|
- if(!itoOrVideoLimits(this.adminId)){
|
|
|
+ if(!itoOrVideoLimits(this.adminId,this.safeIds)){
|
|
|
uni.showToast({
|
|
|
title: '没有相关操作权限,请联系管理员',
|
|
|
icon: "none",
|
|
|
@@ -1011,7 +1014,7 @@
|
|
|
//结束疏散
|
|
|
evacuationButton() {
|
|
|
let self = this;
|
|
|
- if(!itoOrVideoLimits(this.adminId)){
|
|
|
+ if(!itoOrVideoLimits(this.adminId,this.safeIds)){
|
|
|
uni.showToast({
|
|
|
title: '没有相关操作权限,请联系管理员',
|
|
|
icon: "none",
|