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 {