拍照时间表提示

wp1.0
fanluyan 2 years ago
parent f734489a79
commit 9f6463bfd6

@ -217,6 +217,7 @@
</el-radio-group> </el-radio-group>
</div> </div>
</div> </div>
<p class="fail" v-show="failedFlag">,</p>
</div> </div>
<div slot="footer" class="dialog-footer"> <div slot="footer" class="dialog-footer">
<el-button @click="closebtn"> </el-button> <el-button @click="closebtn"> </el-button>
@ -272,6 +273,7 @@ export default {
sureloading: false, //loading sureloading: false, //loading
offsetNumTime: null, offsetNumTime: null,
failedFlag: false,
}; };
}, },
computed: { 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] //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() { submitForm() {
console.log(this.currentTimeRule); console.log(this.currentTimeRule);
this.failedFlag = false;
let timeArrList = []; let timeArrList = [];
if ( if (
this.areaData.protocol == "65285" && this.areaData.protocol == "65285" &&
@ -829,6 +832,7 @@ export default {
window.clearInterval(this.deviceTimer); window.clearInterval(this.deviceTimer);
this.deviceTimer = null; this.deviceTimer = null;
this.deviceNum = 1; this.deviceNum = 1;
this.failedFlag = true;
this.$message({ this.$message({
duration: 1500, duration: 1500,
showClose: true, showClose: true,
@ -861,6 +865,7 @@ export default {
window.clearInterval(this.deviceTimer); window.clearInterval(this.deviceTimer);
this.deviceTimer = null; this.deviceTimer = null;
this.deviceNum = 1; this.deviceNum = 1;
this.failedFlag = false;
}, },
// //
handleCurrentChange(val) { handleCurrentChange(val) {
@ -976,6 +981,11 @@ export default {
} }
} }
} }
.fail {
color: red;
line-height: 28px;
font-size: 12px;
}
} }
} }
</style> </style>

Loading…
Cancel
Save