| | |
| | |
|
| | | <el-form label-width="100px" style="display: flex; flex-wrap: wrap;" :model="messagepack.data">
|
| | | <div id="btn_div">
|
| | | <el-button type="primary" @click="send()" id="xiafa" :disabled="isButtonDisabled">下发参数</el-button>
|
| | | <el-button type="primary" @click="send()" id="xiafa" :disabled="isButtonDisabled">{{ $t('Distribute parameters') }}</el-button>
|
| | |
|
| | | </div>
|
| | | <div class="kuai_div" v-for="(item, index) in record.xyData" :key="index">
|
| | |
| | |
|
| | | </div>
|
| | | </el-form>
|
| | |
|
| | | <div>
|
| | | |
| | | </div>
|
| | | </div>
|
| | |
|
| | |
|
| | | |
| | | </template>
|
| | |
|
| | | <script>
|
| | | <script> |
| | |
|
| | | let socket;
|
| | | import LanguageMixin from '../../lang/LanguageMixin'
|
| | | export default {
|
| | |
| | | mixins: [LanguageMixin],
|
| | | data () {
|
| | | return {
|
| | | dialogVisible: true,
|
| | | password: '',
|
| | | activeButton: '',
|
| | | record: {
|
| | | params: [100, 200, 10, 10, 10, 10],
|
| | |
| | |
|
| | | created () {
|
| | | this.initWebSocket();
|
| | | this.isButtonDisabled = true;
|
| | | this.isButtonDisabled = true; |
| | | },
|
| | | methods: {
|
| | | |
| | | |
| | | |
| | | setActiveButton(buttonName) {
|
| | | this.activeButton = buttonName;
|
| | | },
|