|
|
|
@ -217,6 +217,7 @@
|
|
|
|
|
</el-radio-group>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<p class="fail" v-show="failedFlag">时间表下发失败,请重新下发!</p>
|
|
|
|
|
</div>
|
|
|
|
|
<div slot="footer" class="dialog-footer">
|
|
|
|
|
<el-button @click="closebtn">取 消</el-button>
|
|
|
|
@ -272,6 +273,7 @@ export default {
|
|
|
|
|
sureloading: false, //点击确定loading
|
|
|
|
|
|
|
|
|
|
offsetNumTime: null,
|
|
|
|
|
failedFlag: false,
|
|
|
|
|
};
|
|
|
|
|
},
|
|
|
|
|
computed: {
|
|
|
|
@ -636,6 +638,7 @@ export default {
|
|
|
|
|
//xympadmn --act=schedule [0xCA] --flag=[Request Set Flag, default is set=1, 0: request] --channel=[Channel No] --group=[Group] --hour1=[Hour 1] --min1=[Minute 1] --preset1=[Preset 1]
|
|
|
|
|
submitForm() {
|
|
|
|
|
console.log(this.currentTimeRule);
|
|
|
|
|
this.failedFlag = false;
|
|
|
|
|
let timeArrList = [];
|
|
|
|
|
if (
|
|
|
|
|
this.areaData.protocol == "65285" &&
|
|
|
|
@ -829,6 +832,7 @@ export default {
|
|
|
|
|
window.clearInterval(this.deviceTimer);
|
|
|
|
|
this.deviceTimer = null;
|
|
|
|
|
this.deviceNum = 1;
|
|
|
|
|
this.failedFlag = true;
|
|
|
|
|
this.$message({
|
|
|
|
|
duration: 1500,
|
|
|
|
|
showClose: true,
|
|
|
|
@ -861,6 +865,7 @@ export default {
|
|
|
|
|
window.clearInterval(this.deviceTimer);
|
|
|
|
|
this.deviceTimer = null;
|
|
|
|
|
this.deviceNum = 1;
|
|
|
|
|
this.failedFlag = false;
|
|
|
|
|
},
|
|
|
|
|
//点击分页
|
|
|
|
|
handleCurrentChange(val) {
|
|
|
|
@ -976,6 +981,11 @@ export default {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
.fail {
|
|
|
|
|
color: red;
|
|
|
|
|
line-height: 28px;
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|