diff --git a/frontend/src/views/home/components/table.vue b/frontend/src/views/home/components/table.vue index 906c601..a1079cc 100644 --- a/frontend/src/views/home/components/table.vue +++ b/frontend/src/views/home/components/table.vue @@ -100,7 +100,7 @@ >设备新增 --> 系数校准 @@ -271,7 +271,8 @@ import {generateDevReport, getBoundPqDevList} from '@/api/plan/plan.ts' import {onBeforeMount, onMounted, reactive, ref, watch} from 'vue' import {useDictStore} from '@/stores/modules/dict' import ChannelsTest from './channelsTest.vue' -import {useModeStore} from '@/stores/modules/mode' // 引入模式 store +import {useModeStore,useAppSceneStore} from '@/stores/modules/mode' // 引入模式 store + import {useCheckStore} from '@/stores/modules/check' import {CheckData} from '@/api/check/interface' import socketClient from '@/utils/webSocketClient' @@ -355,6 +356,7 @@ const props = defineProps({ default: null, }, }) +const appSceneStore = useAppSceneStore() const emit = defineEmits<{ (e: 'batchGenerateClicked'): void; @@ -586,7 +588,7 @@ const columns = reactive[]>([ label: '系数校准结果', minWidth: 100, sortable: true, - isShow: factorCheckShow, + isShow: factorCheckShow && appSceneStore.currentScene === "1" , render: scope => { if (scope.row.factorCheckResult === 0) { return '不合格' diff --git a/frontend/src/views/machine/device/components/devicePopup.vue b/frontend/src/views/machine/device/components/devicePopup.vue index a2fa33c..182d6a7 100644 --- a/frontend/src/views/machine/device/components/devicePopup.vue +++ b/frontend/src/views/machine/device/components/devicePopup.vue @@ -122,7 +122,7 @@ - +