代码调整

This commit is contained in:
dong 2023-02-03 09:38:14 +08:00
parent 0b9b2a14e1
commit c127e36b07

View File

@ -485,7 +485,7 @@
</el-table>
</div>
<div class="midle-bottom">
<el-button :id="getDomObj('permissionAddWireless').domId" type="primary" :disabled="disabledSent" @click="permissionAdd">增加</el-button>
<el-button :id="getDomObj('permissionAddWireless').domId" type="primary" :disabled="disabledSent || permissionWireless" @click="permissionAdd">增加</el-button>
<el-button :id="getDomObj('trainAllographCmd').domId" type="primary" :disabled="disabledTrainAllograph" @click="trainAllographCmd">代签</el-button>
<el-button :id="getDomObj('deleteTrainTable').domId" type="primary" :disabled="disabledSent || !trainRow" @click="deleteTrainTable">删除</el-button>
</div>
@ -742,6 +742,7 @@ export default {
'$store.state.socket.simulationReset': function (val) {
this.queryResData = {};
this.$store.dispatch('socket/setDispatchCommandState', null);
this.initData();
}
},
beforeDestroy() {},