正式检测-左侧检测大项动态获取
This commit is contained in:
@@ -70,6 +70,7 @@ import DataCheckRawDataTable from './dataCheckRawDataTable.vue'
|
||||
import {CheckData} from "@/api/check/interface";
|
||||
import {getFormData, getTreeData, getCheckData} from "@/api/check/test";
|
||||
import {useDictStore} from "@/stores/modules/dict";
|
||||
import {useCheckStore} from "@/stores/modules/check";
|
||||
|
||||
const {appendToBody} = withDefaults(defineProps<{
|
||||
appendToBody: boolean
|
||||
@@ -81,6 +82,7 @@ const defaultProps = {
|
||||
};
|
||||
|
||||
const dictStore = useDictStore()
|
||||
const checkStore = useCheckStore()
|
||||
|
||||
const visible = ref(false)
|
||||
|
||||
@@ -314,10 +316,9 @@ watch(switchItem, (newVal, oldVal) => {
|
||||
const open = async (_deviceId: string, chnNum: number, _scriptType?: string) => {
|
||||
console.log(_deviceId, chnNum, _scriptType);
|
||||
deviceId = _deviceId
|
||||
scriptType = _scriptType ?? ''
|
||||
switchItem.value = 0
|
||||
// 发起后端请求,查询详细信息 当chnNum为-1时,查询所有通道号
|
||||
//const result1 = await getFormData({deviceId, chnNum})
|
||||
//const resFormContent = await getFormData({checkStore.planId,deviceId, chnNum.toString(),scriptType})
|
||||
|
||||
// 数据处理
|
||||
let resFormContent = {
|
||||
|
||||
Reference in New Issue
Block a user