From fac5c71be3c53f28e9a46fdec55532bc22a46a4c Mon Sep 17 00:00:00 2001
From: fanluyan <754122931@qq.com>
Date: Thu, 31 Aug 2023 10:10:37 +0800
Subject: [PATCH] =?UTF-8?q?=E8=AE=BE=E7=BD=AE=E5=81=8F=E7=A7=BB=E9=87=8F?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../components/setdevice.vue | 26 +++++++++++++++++--
1 file changed, 24 insertions(+), 2 deletions(-)
diff --git a/src/views/devicePhotoSchedule/components/setdevice.vue b/src/views/devicePhotoSchedule/components/setdevice.vue
index 62162f9..d6f306f 100644
--- a/src/views/devicePhotoSchedule/components/setdevice.vue
+++ b/src/views/devicePhotoSchedule/components/setdevice.vue
@@ -40,6 +40,15 @@
间隔:{{ val.span }}分钟
+
+ 设置偏移量:
+
+ 设置
+
@@ -137,7 +146,7 @@ export default {
isShow: false,
selid: 0, //选中时间表id
ruleSchedule: [], //时间表规则
- checkedAisle: "", //选中通道数据
+ checkedAisle: 1, //选中通道数据
aisleList: [], //通道数据内容
listnr: [], //通道树状结构
defaultProps: {
@@ -197,6 +206,7 @@ export default {
.then((res) => {
this.listnr = res.data.list;
this.aisleList = res.data.channellist;
+ this.handleChange();
})
.catch((err) => {});
},
@@ -246,6 +256,11 @@ export default {
handleCheckBox() {
console.log(this.zzListCheck);
},
+ //设置偏移量
+ setMathFloor() {
+ console.log(this.mathMam);
+ this.handleChange();
+ },
// //获取所选值
getCheckedNodes(nodeObj) {
@@ -535,7 +550,8 @@ export default {
handleclose() {
this.isShow = false;
this.newzzList = [];
- this.checkedAisle = "";
+ this.checkedAisle = 1;
+ this.mathMam = 0;
console.log(this.allCheckNode, "1111111111");
clearTimeout(this.timer);
this.timer = null;
@@ -658,6 +674,12 @@ export default {
}
}
}
+ .mathFloor {
+ margin-left: 20px;
+ .el-button {
+ margin-left: 12px;
+ }
+ }
.setCheckbox {
.el-table__header .el-table-column--selection .cell .el-checkbox:after {