From 341555f68d9b2565555f0146cb4988f18c92d54e Mon Sep 17 00:00:00 2001 From: jiangs <373297395@qq.com> Date: Tue, 4 Nov 2025 15:14:07 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A3=80=E9=AA=8C=E9=A1=B9=E7=9B=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 1 + src/views/liswork/labItem/index.vue | 51 +++++++-- src/views/liswork/labItem/tab/base/Basic.vue | 14 ++- .../labItem/tab/base/child/CalcGuilde.vue | 104 ++++++++++++++---- 4 files changed, 138 insertions(+), 32 deletions(-) diff --git a/package.json b/package.json index 69f961d..0fd2b82 100644 --- a/package.json +++ b/package.json @@ -7,6 +7,7 @@ "type": "module", "scripts": { "dev": "vite", + "dev:prod": "vite", "build:prod": "vite build", "build:stage": "vite build --mode staging", "preview": "vite preview" diff --git a/src/views/liswork/labItem/index.vue b/src/views/liswork/labItem/index.vue index b526770..f51420f 100644 --- a/src/views/liswork/labItem/index.vue +++ b/src/views/liswork/labItem/index.vue @@ -73,34 +73,39 @@ + + + + +
@@ -166,7 +171,32 @@ const tabList = ref([ // { label: '通道号', value: 8 }, { label: '参考值明细', value: 9 }, ]); -const activeTab = ref(1) +const activeTab = ref('Basic') +const activeTabMap = { + Basic, + CommmonlyValues, + UseInstr, +} +const activeTabN = computed(() => activeTabMap[0]) + +// const activeTabName = computed(()=> { +// switch(activeTab.value){ +// case 1: +// console.log('activeTabName:','Basic') +// return Basic; +// case 2: +// console.log('activeTabName:','CommmonlyValues') +// return CommmonlyValues; +// case 3: +// console.log('activeTabName:','UseInstr') +// return UseInstr; +// case 4: +// console.log('activeTabName:','Knowledge') +// return 'Knowledge'; +// case 5: +// return 'Sort'; +// } +// }) //table表格列 const columns = ref([ @@ -227,7 +257,6 @@ const getYqConfig = () => { //获取表格数据 const getList = () => { - console.log('queryParams',queryParams.value); queryXmInfoNewService(queryParams.value).then((res: any) => { dataList.value = res.data; }) diff --git a/src/views/liswork/labItem/tab/base/Basic.vue b/src/views/liswork/labItem/tab/base/Basic.vue index ba27759..762ea83 100644 --- a/src/views/liswork/labItem/tab/base/Basic.vue +++ b/src/views/liswork/labItem/tab/base/Basic.vue @@ -97,7 +97,7 @@ - 向导... + 向导... @@ -164,6 +164,7 @@ + @@ -171,6 +172,7 @@