Merge branch 'test' of https://git.code.tencent.com/lian-cbtc/jl-client into test
This commit is contained in:
commit
b863211cca
@ -283,6 +283,7 @@ export default {
|
|||||||
},
|
},
|
||||||
onMouseDown(em) {
|
onMouseDown(em) {
|
||||||
if (['SquareButton', 'Key'].includes(em.deviceType)) {
|
if (['SquareButton', 'Key'].includes(em.deviceType)) {
|
||||||
|
setTimeout(() => {
|
||||||
const operate = {
|
const operate = {
|
||||||
start: true,
|
start: true,
|
||||||
send: true,
|
send: true,
|
||||||
@ -295,10 +296,12 @@ export default {
|
|||||||
};
|
};
|
||||||
this.$store.dispatch('trainingNew/next', operate).catch(error => { this.$message.error(error.message); });
|
this.$store.dispatch('trainingNew/next', operate).catch(error => { this.$message.error(error.message); });
|
||||||
// handleIbpPress(this.$route.query.group, this.stationCode, em.deviceCode).catch(error => { this.$message.error(error.message); });
|
// handleIbpPress(this.$route.query.group, this.stationCode, em.deviceCode).catch(error => { this.$message.error(error.message); });
|
||||||
|
}, 500);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onMouseUp(em) {
|
onMouseUp(em) {
|
||||||
if (['SquareButton'].includes(em.deviceType)) {
|
if (['SquareButton'].includes(em.deviceType)) {
|
||||||
|
setTimeout(() => {
|
||||||
const operate = {
|
const operate = {
|
||||||
start: true,
|
start: true,
|
||||||
send: true,
|
send: true,
|
||||||
@ -311,6 +314,7 @@ export default {
|
|||||||
};
|
};
|
||||||
this.$store.dispatch('trainingNew/next', operate).catch(error => { this.$message.error(error.message); });
|
this.$store.dispatch('trainingNew/next', operate).catch(error => { this.$message.error(error.message); });
|
||||||
// handleIbpRelease(this.$route.query.group, this.stationCode, em.deviceCode).catch(error => { this.$message.error(error.message); });
|
// handleIbpRelease(this.$route.query.group, this.stationCode, em.deviceCode).catch(error => { this.$message.error(error.message); });
|
||||||
|
}, 500);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// 右键点击事件
|
// 右键点击事件
|
||||||
|
Loading…
Reference in New Issue
Block a user