From 99e023ccde7eb5ab39c1e86aa8bd8eb0495b85c4 Mon Sep 17 00:00:00 2001
From: fengyuan_yang <1976974459@qq.com>
Date: Fri, 29 May 2026 08:55:45 +0800
Subject: [PATCH] =?UTF-8?q?2026-05-29=20=E6=96=B0=E5=A2=9E=E6=8A=80?=
=?UTF-8?q?=E6=9C=AF=E5=8F=82=E6=95=B0=E5=8D=A1-=E6=9F=A5=E8=AF=A2?=
=?UTF-8?q?=E9=A1=B5=E9=9D=A2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../technicalSpecificationList.vue | 89 ++++++++++++-------
.../technicalSpecificationQuery.vue | 14 +++
2 files changed, 71 insertions(+), 32 deletions(-)
create mode 100644 src/views/modules/sampleManagement/technicalSpecificationQuery.vue
diff --git a/src/views/modules/sampleManagement/technicalSpecificationList.vue b/src/views/modules/sampleManagement/technicalSpecificationList.vue
index 675a385..5ede013 100644
--- a/src/views/modules/sampleManagement/technicalSpecificationList.vue
+++ b/src/views/modules/sampleManagement/technicalSpecificationList.vue
@@ -47,9 +47,9 @@
-
+
-
+
@@ -61,7 +61,7 @@
查询
- 新增
+ 新增
{{ '导出' }}
搜索
- 流程关闭
+ 流程关闭
@@ -94,6 +94,7 @@
v-loading="dataListLoading"
style="width: 100%; ">
-
-
-
-
- 修改
-
-
+
详情
-
- 删除
-
-
-
- 下达
-
+
+
+
+
+
+ 修改
+
+
+ 详情
+
+
+ 删除
+
+
+
+ 下达
+
+
+
+
+ 更多
+
+
+ Dead
+ Re-Sample
+ 归档
+ 拷贝
+
+
-
-
- 更多
-
-
- Dead
- Re-Sample
- 归档
- 拷贝
-
-
@@ -598,6 +604,12 @@
AddOrUpdate,
BuSelect,
},
+ props: {
+ queryOnly: {
+ type: Boolean,
+ default: false
+ }
+ },
data() {
return {
approvalList: [],
@@ -639,7 +651,8 @@
sp: '',
nodeId: '',
documentSource: '',
- menuId: this.$route.meta.menuId
+ menuId: this.queryOnly ? '103002' : this.$route.meta.menuId,
+ excludeStatusList: []
},
nodeOptions: [],
pageIndex: 1,
@@ -1103,6 +1116,7 @@
site: this.$store.state.user.site,
userName: this.$store.state.user.name,
codeNo:this.$route.params.docNo,
+ excludeStatusList: this.buildExcludeStatusList()
}
technicalSpecificationListSearch(inData).then(({data}) => {
if (data.code == 0) {
@@ -1146,6 +1160,14 @@
}
},
methods: {
+ buildExcludeStatusList () {
+ return this.queryOnly ? ['death', 'dead'] : []
+ },
+
+ applyQueryOnlyFilter (target) {
+ target.excludeStatusList = this.buildExcludeStatusList()
+ },
+
selectionChangeMainHandle(val) {
this.mainTableSelections = val
},
@@ -1244,6 +1266,7 @@
search () {
this.searchData.limit = this.pageSize
this.searchData.page = this.pageIndex
+ this.applyQueryOnlyFilter(this.searchData)
this.dataListLoading = true;
technicalSpecificationListSearch(this.searchData).then(({data}) => {
if (data && data.code === 0) {
@@ -1430,6 +1453,7 @@
limit: this.totalPage || 99999,
page: 1
})
+ this.applyQueryOnlyFilter(exportParams)
await technicalSpecificationListSearch(exportParams).then(({data}) => {
this.exportList = data.page.list;
})
@@ -1629,6 +1653,7 @@
params.site = this.$store.state.user.site
params.userName = this.$store.state.user.name
params.userId = this.$store.state.user.id.toString()
+ params.excludeStatusList = this.buildExcludeStatusList()
this.dataListLoading = true;
technicalSpecificationListSearchByAnyField(params).then(({data})=>{
if (data && data.code === 0){
diff --git a/src/views/modules/sampleManagement/technicalSpecificationQuery.vue b/src/views/modules/sampleManagement/technicalSpecificationQuery.vue
new file mode 100644
index 0000000..fb3d981
--- /dev/null
+++ b/src/views/modules/sampleManagement/technicalSpecificationQuery.vue
@@ -0,0 +1,14 @@
+
+
+
+
+