From 0f324327ca9fd8d7d0e039b18ddaca59d890668a Mon Sep 17 00:00:00 2001 From: Aoi_Tori <2547614904@qq.com> Date: Thu, 19 Jun 2025 14:55:59 +0800 Subject: [PATCH] 2025/6/19 --- src/views/modules/project/projectInfo/projectInfo.vue | 2 ++ src/views/modules/project/projectPart/searchProjectPart.vue | 1 + src/views/modules/proofing/requestForProofing.vue | 2 ++ src/views/modules/quotation/requestForQuote.vue | 1 + src/views/modules/quotation/toBeQuoted.vue | 3 ++- src/views/modules/quote/index.vue | 1 + .../modules/sampleManagement/technicalSpecificationList.vue | 5 ++++- src/views/modules/test/requestForTest.vue | 2 ++ 8 files changed, 15 insertions(+), 2 deletions(-) diff --git a/src/views/modules/project/projectInfo/projectInfo.vue b/src/views/modules/project/projectInfo/projectInfo.vue index 66c2cf1..9bec9b3 100644 --- a/src/views/modules/project/projectInfo/projectInfo.vue +++ b/src/views/modules/project/projectInfo/projectInfo.vue @@ -2012,6 +2012,8 @@ params.no = this.pageIndex params.size = this.pageSize params.site = this.$store.state.user.site + params.userName = this.$store.state.user.name + params.userId = this.$store.state.user.id.toString() projectInfoSearchByAnyField(params).then(({data})=>{ if (data && data.code === 0){ this.dataList1 = data.page.list diff --git a/src/views/modules/project/projectPart/searchProjectPart.vue b/src/views/modules/project/projectPart/searchProjectPart.vue index a1eb12f..3dae147 100644 --- a/src/views/modules/project/projectPart/searchProjectPart.vue +++ b/src/views/modules/project/projectPart/searchProjectPart.vue @@ -1051,6 +1051,7 @@ params.site = this.$store.state.user.site params.no = this.pageIndex params.size = this.pageSize + params.userId = this.$store.state.user.id.toString() projectPartSearchByAnyField(params).then(({data})=>{ if (data && data.code === 0){ this.dataList1 = data.page.list diff --git a/src/views/modules/proofing/requestForProofing.vue b/src/views/modules/proofing/requestForProofing.vue index 6e95304..50f26c8 100644 --- a/src/views/modules/proofing/requestForProofing.vue +++ b/src/views/modules/proofing/requestForProofing.vue @@ -3812,6 +3812,8 @@ export default { params.menuId = '103001' params.no = this.pageIndex params.size = this.pageSize + params.userId = this.$store.state.user.id.toString() + params.userName = this.$store.state.user.name proofingInformationSearchAny(params).then(({data})=>{ if (data && data.code === 0){ this.dataList = data.page.list diff --git a/src/views/modules/quotation/requestForQuote.vue b/src/views/modules/quotation/requestForQuote.vue index 141abcc..96e68e4 100644 --- a/src/views/modules/quotation/requestForQuote.vue +++ b/src/views/modules/quotation/requestForQuote.vue @@ -3568,6 +3568,7 @@ export default { params.menuId = '102001' params.no = this.pageIndex params.size = this.pageSize + params.userId = this.$store.state.user.id.toString() quotationInformationSearchByAnyField(params).then(({data})=>{ if (data && data.code === 0){ this.dataList = data.page.list diff --git a/src/views/modules/quotation/toBeQuoted.vue b/src/views/modules/quotation/toBeQuoted.vue index c483bf8..9f51c36 100644 --- a/src/views/modules/quotation/toBeQuoted.vue +++ b/src/views/modules/quotation/toBeQuoted.vue @@ -660,11 +660,12 @@ export default { this.quoteVisible = true; }, searchByAnyField(params){ - params.username = this.$store.state.user.name + params.userName = this.$store.state.user.name params.site = this.$store.state.user.site params.menuId = '102004' params.no = this.pageIndex params.size = this.pageSize + params.userId = this.$store.state.user.id.toString() quotationInformationSearchByAnyField(params).then(({data})=>{ if (data && data.code === 0){ this.dataList = data.page.list diff --git a/src/views/modules/quote/index.vue b/src/views/modules/quote/index.vue index 027e99b..311ae75 100644 --- a/src/views/modules/quote/index.vue +++ b/src/views/modules/quote/index.vue @@ -1001,6 +1001,7 @@ export default { params.site = this.$store.state.user.site params.no = this.no params.size = this.size + params.userId = this.$store.state.user.id.toString() queryQuotePageByAnyField(params).then(({data})=>{ if (data && data.code === 0){ this.dataList = data.page.list diff --git a/src/views/modules/sampleManagement/technicalSpecificationList.vue b/src/views/modules/sampleManagement/technicalSpecificationList.vue index 977b172..df5ae84 100644 --- a/src/views/modules/sampleManagement/technicalSpecificationList.vue +++ b/src/views/modules/sampleManagement/technicalSpecificationList.vue @@ -1593,15 +1593,18 @@ params.size = this.pageSize params.site = this.$store.state.user.site params.username = this.$store.state.user.name - params.userId = this.$store.state.user.id + params.userId = this.$store.state.user.id.toString() + this.dataListLoading = true; technicalSpecificationListSearchByAnyField(params).then(({data})=>{ if (data && data.code === 0){ this.dataList1 = data.page.list }else { this.$message.warning(data.msg) } + this.dataListLoading = false; }).catch((error)=>{ this.$message.error(error) + this.dataListLoading = false; }) this.filterSearchData = params this.isFilterSearch = true diff --git a/src/views/modules/test/requestForTest.vue b/src/views/modules/test/requestForTest.vue index fb80f81..68ed0ab 100644 --- a/src/views/modules/test/requestForTest.vue +++ b/src/views/modules/test/requestForTest.vue @@ -3771,6 +3771,8 @@ export default { params.menuId = '107001' params.no = this.pageIndex params.size = this.pageSize + params.userId = this.$store.state.user.id.toString() + params.userName = this.$store.state.user.name testInformationSearchAny(params).then(({data})=>{ if (data && data.code === 0){ this.dataList = data.page.list