Merge branch 'test_dispaly' of git.code.tencent.com:lian-cbtc/jl-client into test_dispaly

This commit is contained in:
Yuan 2022-10-24 18:13:47 +08:00
commit d4538b441d
2 changed files with 2 additions and 13 deletions

View File

@ -1,5 +1,5 @@
<template> <template>
<div v-if="isShowBtn" id="menuButtons_box" class="menu menuButton" style="height: 35px;" :style="{left: point.x+'px', bottom: point.y+'px' }"> <div id="menuButtons_box" class="menu menuButton" style="height: 35px;" :style="{left: point.x+'px', bottom: point.y+'px' }">
<button :id="Signal.arrangementRoute.button.domId" class="button_box" @click="buttonDown(Signal.arrangementRoute.button.operation, ['Signal','SignalButton'])"> <button :id="Signal.arrangementRoute.button.domId" class="button_box" @click="buttonDown(Signal.arrangementRoute.button.operation, ['Signal','SignalButton'])">
<span :style="{ color: operation === Signal.arrangementRoute.button.operation ? '#ccc':'black'}"> <span :style="{ color: operation === Signal.arrangementRoute.button.operation ? '#ccc':'black'}">
<center><b></b><b></b></center> <center><b></b><b></b></center>
@ -217,9 +217,6 @@ export default {
Command() { Command() {
return OperationEvent.Command; return OperationEvent.Command;
}, },
isShowBtn() {
return this.$store.state.training.prdType == '01' || this.$store.state.training.prdType == '10';
},
CMD() { CMD() {
return CMD; return CMD;
}, },

View File

@ -137,17 +137,9 @@ export default {
} }
}); });
this.standCode = this.standList[0].code; this.standCode = this.standList[0].code;
this.initData(this.group, this.standCode);
}, },
methods: { methods: {
doShow(selected) {
this.dialogShow = true;
this.$nextTick(function() {
this.$store.dispatch('training/emitTipFresh');
});
this.standCode = selected.code;
this.initData(this.group, selected.code);
},
initData(group, standCode) { initData(group, standCode) {
getPslStatus(group, standCode) getPslStatus(group, standCode)
.then(resp => { .then(resp => {