Browse Source

fix:询问加液区是否存在托盘

master
guoapeng 2 months ago
parent
commit
a54eb098e8
  1. 20
      src/views/home/index.vue

20
src/views/home/index.vue

@ -58,12 +58,19 @@ const stopExperimentHandle = async () => {
}
const selectCraftVisible = ref(false)
const selectCraft = () => {
// const count = homeStore.heatAreaList.filter(item => item.selected).length
// if (!count) {
// FtMessage.warning('')
// return
// }
const selectCraft = async () => {
await ElMessageBox.confirm(
'请确认加液区是否有托盘?',
'提示',
{
confirmButtonText: '确认',
cancelButtonText: '取消',
showClose: false,
closeOnClickModal: false,
type: 'warning',
},
)
await trayIn()
selectCraftVisible.value = true
}
@ -110,6 +117,7 @@ const addLiquid = async () => {
type: 'warning',
},
)
await trayIn()
addLiquidVisible.value = true
// if (!systemStore.systemStatus.solutionModule.trayStatus) {
// FtMessage.warning('')

Loading…
Cancel
Save