设置偏移量

ds1.0
fanluyan 2 years ago
parent ab36ced8f1
commit fac5c71be3

@ -40,6 +40,15 @@
间隔<b>{{ val.span }}分钟</b> 间隔<b>{{ val.span }}分钟</b>
</p> </p>
</div> </div>
<div class="mathFloor">
<span class="mathTitle">设置偏移量</span>
<el-input-number
v-model="mathMam"
:min="0"
:max="10"
></el-input-number>
<el-button type="primary" @click="setMathFloor()"></el-button>
</div>
</div> </div>
<!-- <h3>设置通道</h3> --> <!-- <h3>设置通道</h3> -->
@ -137,7 +146,7 @@ export default {
isShow: false, isShow: false,
selid: 0, //id selid: 0, //id
ruleSchedule: [], // ruleSchedule: [], //
checkedAisle: "", // checkedAisle: 1, //
aisleList: [], // aisleList: [], //
listnr: [], // listnr: [], //
defaultProps: { defaultProps: {
@ -197,6 +206,7 @@ export default {
.then((res) => { .then((res) => {
this.listnr = res.data.list; this.listnr = res.data.list;
this.aisleList = res.data.channellist; this.aisleList = res.data.channellist;
this.handleChange();
}) })
.catch((err) => {}); .catch((err) => {});
}, },
@ -246,6 +256,11 @@ export default {
handleCheckBox() { handleCheckBox() {
console.log(this.zzListCheck); console.log(this.zzListCheck);
}, },
//
setMathFloor() {
console.log(this.mathMam);
this.handleChange();
},
// // // //
getCheckedNodes(nodeObj) { getCheckedNodes(nodeObj) {
@ -535,7 +550,8 @@ export default {
handleclose() { handleclose() {
this.isShow = false; this.isShow = false;
this.newzzList = []; this.newzzList = [];
this.checkedAisle = ""; this.checkedAisle = 1;
this.mathMam = 0;
console.log(this.allCheckNode, "1111111111"); console.log(this.allCheckNode, "1111111111");
clearTimeout(this.timer); clearTimeout(this.timer);
this.timer = null; this.timer = null;
@ -658,6 +674,12 @@ export default {
} }
} }
} }
.mathFloor {
margin-left: 20px;
.el-button {
margin-left: 12px;
}
}
.setCheckbox { .setCheckbox {
.el-table__header .el-table-column--selection .cell .el-checkbox:after { .el-table__header .el-table-column--selection .cell .el-checkbox:after {

Loading…
Cancel
Save