Commit 6aa86105 by 周田

docs:将某些字段修改为中文

parent 42dc3cde
<template>
<div class="text-right mb-5">
<el-button type="primary" @click="applyComunications"> 应用 </el-button>
<el-button type="primary" @click="copy">copy to ini</el-button>
<el-button type="primary" @click="addDevice">Add device</el-button>
<el-button type="primary" @click="copy">复制配置</el-button>
<el-button type="primary" @click="addDevice">添加通信参数</el-button>
</div>
<div class="demo-collapse">
<el-collapse>
......
<template>
<el-descriptions :title="deviceInfo.device_name" :column=1>
<template #extra>
<el-button type="danger" size="small" @click="del">delete</el-button>
<el-button type="primary" size="small" @click="dialogFormVisible = true">Edit</el-button>
<el-button type="danger" size="small" @click="del">删除</el-button>
<el-button type="primary" size="small" @click="dialogFormVisible = true">编辑</el-button>
</template>
<el-descriptions-item label="协议名">{{ deviceInfo.protocol_name }}</el-descriptions-item>
<el-descriptions-item label="通信参数" :column=3>
......
......@@ -62,9 +62,9 @@
</el-form>
<template #footer>
<span class="dialog-footer">
<el-button @click="dialogFormVisible = false">Cancel</el-button>
<el-button @click="dialogFormVisible = false">取消</el-button>
<el-button type="primary" @click="submit_form">
Confirm
确定
</el-button>
</span>
</template>
......
......@@ -10,7 +10,7 @@
</el-scrollbar>
<div>
<el-button class="ml-4" @click="showCmdDialog">Send Cmd</el-button>
<el-button class="ml-4" @click="showCmdDialog">发送指令</el-button>
</div>
</div>
......@@ -28,7 +28,7 @@
:type="activeName==='device'?'1': '2'"
@delete-table="deleteDeviceInfo(param)" />
</el-scrollbar>
<el-button @click="dialogVisible = true">Add table</el-button>
<el-button @click="dialogVisible = true">添加监控设备表</el-button>
</el-tab-pane>
<el-tab-pane label="虚拟设备" name="simulateDevice">
<el-scrollbar style="height: 30rem;" class="mb-10" always>
......@@ -42,7 +42,7 @@
:type="activeName==='device'?'1': '2'"
@delete-table="deleteDeviceInfo(param)" />
</el-scrollbar>
<el-button @click="dialogVisible = true">Add table</el-button>
<el-button @click="dialogVisible = true">添加监控设备表</el-button>
</el-tab-pane>
</el-tabs>
</div>
......@@ -54,15 +54,15 @@
</el-select>
<template #footer>
<span class="dialog-footer">
<el-button @click="dialogVisible = false">Cancel</el-button>
<el-button @click="dialogVisible = false">取消</el-button>
<el-button type="primary" @click="addDeviceTable">
Confirm
确定
</el-button>
</span>
</template>
</el-dialog>
<el-dialog v-model="dialogCmdVisible" class="w-150" title="Send Cmd">
<el-dialog v-model="dialogCmdVisible" class="w-150" title="发送指令" draggable>
<el-form :model="formData" label-width="120px">
<el-form-item label="设备名称">
<el-select v-model="formData.deviceName" w-100 @change="showCmds">
......@@ -86,9 +86,9 @@
</el-form>
<template #footer>
<span class="dialog-footer">
<el-button @click="dialogCmdVisible = false">Cancel</el-button>
<el-button @click="dialogCmdVisible = false">取消</el-button>
<el-button type="primary" @click="sendCmd">
Confirm
确定
</el-button>
</span>
</template>
......
<template>
<el-tabs v-model="activeName" type="border-card" class="demo-tabs">
<el-tab-pane label="device" name="device">
<el-tab-pane label="设备通信参数" name="device">
<div class="contain">
<communication-tab tab-type="communicate" />
</div>
</el-tab-pane>
<el-tab-pane label="simulate_device" name="simulate_device">
<el-tab-pane label="虚拟设备通信参数" name="simulate_device">
<div class="contain">
<communication-tab tab-type="simulate_communicate" />
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment