|
@ -128,6 +128,9 @@ const props = defineProps({ |
|
|
changeTab: { |
|
|
changeTab: { |
|
|
type: Function, |
|
|
type: Function, |
|
|
}, |
|
|
}, |
|
|
|
|
|
changeShowOperator: { |
|
|
|
|
|
type: Function, |
|
|
|
|
|
}, |
|
|
}) |
|
|
}) |
|
|
|
|
|
|
|
|
const webSocketStore = useWebSocketStore() |
|
|
const webSocketStore = useWebSocketStore() |
|
@ -149,7 +152,6 @@ const isUpdatePreSettingVisible = ref(false) |
|
|
const formulaInfo = ref({}) |
|
|
const formulaInfo = ref({}) |
|
|
const showUpdateSetting = item => { |
|
|
const showUpdateSetting = item => { |
|
|
formulaInfo.value = item |
|
|
formulaInfo.value = item |
|
|
console.log(item) |
|
|
|
|
|
formulaStore.updateCurrentFormula(item) |
|
|
formulaStore.updateCurrentFormula(item) |
|
|
isUpdatePreSettingVisible.value = true |
|
|
isUpdatePreSettingVisible.value = true |
|
|
} |
|
|
} |
|
@ -168,6 +170,7 @@ const runConfig = item => { |
|
|
formulaStore.updateCurrentFormula(item) |
|
|
formulaStore.updateCurrentFormula(item) |
|
|
webSocketStore.sendCommandMsg(startFormulaJSON(item.id)) |
|
|
webSocketStore.sendCommandMsg(startFormulaJSON(item.id)) |
|
|
props.changeTab(1) |
|
|
props.changeTab(1) |
|
|
|
|
|
props.changeShowOperator(false) |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
const addNewPre = () => { |
|
|
const addNewPre = () => { |
|
|