Browse Source

移除读取按钮

master
王梦远 3 weeks ago
parent
commit
3b5b342144
  1. 48
      src/views/debug/index.vue
  2. 4
      src/views/main/index.vue

48
src/views/debug/index.vue

@ -55,15 +55,15 @@ const nozzleHeatClose = async () => {
}
await sendControl(params, 'debug')
}
const nozzleHeatGet = async () => {
const params = {
cmdCode: 'nozzle_heat_get',
cmdId: '',
params: {
},
}
await sendControl(params, 'debug')
}
// const nozzleHeatGet = async () => {
// const params = {
// cmdCode: 'nozzle_heat_get',
// cmdId: '',
// params: {
// },
// }
// await sendControl(params, 'debug')
// }
const slidePlatHeatOpen = async () => {
if (!form.nozzle.temperature) {
FtMessage.error('请输入设置温度')
@ -87,15 +87,15 @@ const slidePlatHeatClose = async () => {
}
await sendControl(params, 'debug')
}
const slidePlatHeatGet = async () => {
const params = {
cmdCode: 'slide_plat_heat_get',
cmdId: '',
params: {
},
}
await sendControl(params, 'debug')
}
// const slidePlatHeatGet = async () => {
// const params = {
// cmdCode: 'slide_plat_heat_get',
// cmdId: '',
// params: {
// },
// }
// await sendControl(params, 'debug')
// }
const motorMove = async (device: 'x' | 'y' | 'z') => {
if (!form[device].position || !form[device].speed) {
FtMessage.error('请补全参数')
@ -424,9 +424,9 @@ const highVoltageClose = async () => {
<ft-button :click-handle="nozzleHeatClose">
关闭
</ft-button>
<ft-button :click-handle="nozzleHeatGet">
读取
</ft-button>
<!-- <ft-button :click-handle="nozzleHeatGet"> -->
<!-- 读取 -->
<!-- </ft-button> -->
</div>
</el-form-item>
@ -440,9 +440,9 @@ const highVoltageClose = async () => {
<ft-button :click-handle="slidePlatHeatClose">
关闭
</ft-button>
<ft-button :click-handle="slidePlatHeatGet">
读取
</ft-button>
<!-- <ft-button :click-handle="slidePlatHeatGet"> -->
<!-- 读取 -->
<!-- </ft-button> -->
</div>
</el-form-item>
</el-form>

4
src/views/main/index.vue

@ -197,7 +197,7 @@ const slideSwitch = async () => {
})
}
else {
FtMessage.success('载台加热已关闭')
FtMessage.warning('载台加热已关闭')
}
}
const nozzleSwitch = async () => {
@ -221,7 +221,7 @@ const nozzleSwitch = async () => {
})
}
else {
FtMessage.success('喷头加热已经关闭')
FtMessage.warning('喷头加热已经关闭')
}
}
</script>

Loading…
Cancel
Save