From 99ac56f1f8a65c53ac0a4a0eceeef097d2bd1513 Mon Sep 17 00:00:00 2001 From: fengyuan_yang <1976974459@qq.com> Date: Tue, 8 Jul 2025 15:09:05 +0800 Subject: [PATCH] =?UTF-8?q?2025-07-08=201=E3=80=81=E6=8A=80=E6=9C=AF?= =?UTF-8?q?=E5=8F=82=E6=95=B0=E5=8D=A1=E7=9A=84=E5=BD=93=E5=89=8D=E8=8A=82?= =?UTF-8?q?=E7=82=B9=E7=9A=84=E7=AD=9B=E9=80=89=E6=9C=89=E9=97=AE=E9=A2=98?= =?UTF-8?q?=20-=20=E4=BC=98=E5=85=88=E5=A4=84=E7=90=86=202=E3=80=81?= =?UTF-8?q?=E7=AD=9B=E9=80=89=E6=9D=A1=E4=BB=B6=E4=BC=98=E5=8C=96=EF=BC=88?= =?UTF-8?q?=E4=BC=98=E5=85=88=E5=A4=84=E7=90=86=E5=88=80=E5=85=B7=E5=92=8C?= =?UTF-8?q?=E6=B5=8B=E8=AF=95=EF=BC=89=203=E3=80=81=E5=A6=82=E6=9E=9C?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E6=9C=89=E5=A4=9A=E9=A1=B5=EF=BC=8C=E7=82=B9?= =?UTF-8?q?=E4=BA=86=E6=9F=A5=E8=AF=A2=E4=B9=8B=E5=90=8E=E8=A6=81=E9=BB=98?= =?UTF-8?q?=E8=AE=A4=E7=AC=AC=E4=B8=80=E9=A1=B5=E7=9A=84=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/changeManagement/changeRecord.vue | 37 +++++++++++++++++- .../modules/proofing/requestForProofing.vue | 35 +++++++++++++++++ .../modules/quotation/requestForQuote.vue | 37 +++++++++++++++++- .../technicalSpecificationList.vue | 3 +- src/views/modules/test/requestForTest.vue | 38 ++++++++++++++++++- src/views/modules/tooling/searchToolApply.vue | 37 ++++++++++++++++++ 6 files changed, 182 insertions(+), 5 deletions(-) diff --git a/src/views/modules/changeManagement/changeRecord.vue b/src/views/modules/changeManagement/changeRecord.vue index ba4a053..8c6799c 100644 --- a/src/views/modules/changeManagement/changeRecord.vue +++ b/src/views/modules/changeManagement/changeRecord.vue @@ -23,6 +23,19 @@ + + + + + + + + + 查询 { + if (data && data.code === 0) { + this.nodeOptions = data.rows.map(item => ({ + id: item.nodeId, + name: item.nodeName + })); + } else { + this.$message.error('获取节点列表失败'); + } + }).catch(error => { + this.$message.error('请求失败:' + error); + }); + }, + // 校验是否为超级管理员 checkSuperAdmin () { checkSuperAdmin().then(({data}) => { diff --git a/src/views/modules/proofing/requestForProofing.vue b/src/views/modules/proofing/requestForProofing.vue index 3ccabc5..f797d5d 100644 --- a/src/views/modules/proofing/requestForProofing.vue +++ b/src/views/modules/proofing/requestForProofing.vue @@ -38,6 +38,19 @@ placeholder="结束日期"> + + + + + + + + + @@ -842,6 +855,9 @@ import { import { customerContactSearch, // 客户联系人列表查询 } from '@/api/customer/customerContact.js' +import { + getNodeList +} from "@/api/sampleManagement/technicalSpecificationList.js" import Chooselist from '@/views/modules/common/Chooselist' import proofingUploadFile from "./proofing_upload_file" import DictDataSelect from "../sys/dict-data-select.vue"; @@ -1047,6 +1063,8 @@ export default { limit: 10, menuId: this.$route.meta.menuId, buNo: '', + nodeId: '', + approvalUsername: '' }, // 其它 dataListLoading: false, @@ -1202,6 +1220,7 @@ export default { projectPartList: [], addressList: [], contactList: [], + nodeOptions: [], // ======== 列表表头 ======== columnList: [ { @@ -2231,6 +2250,7 @@ export default { /*第二个表格高度的动态调整*/ this.secondHeight = window.innerHeight / 2 - 206; }) + this.fetchNodeOptions() }, created() { @@ -2244,6 +2264,21 @@ export default { methods: { + fetchNodeOptions() { + getNodeList(this.searchData).then(({ data }) => { + if (data && data.code === 0) { + this.nodeOptions = data.rows.map(item => ({ + id: item.nodeId, + name: item.nodeName + })); + } else { + this.$message.error('获取节点列表失败'); + } + }).catch(error => { + this.$message.error('请求失败:' + error); + }); + }, + // 校验是否为超级管理员 checkSuperAdmin () { checkSuperAdmin().then(({data}) => { diff --git a/src/views/modules/quotation/requestForQuote.vue b/src/views/modules/quotation/requestForQuote.vue index 64b75cb..b3767cd 100644 --- a/src/views/modules/quotation/requestForQuote.vue +++ b/src/views/modules/quotation/requestForQuote.vue @@ -41,6 +41,19 @@ placeholder="结束日期"> + + + + + + + + + @@ -772,6 +785,9 @@ import { getNodeAuthority, // 获取节点权限 checkSuperAdmin, // 校验是否为超级管理员 } from '@/api/changeManagement/changeManagement.js' +import { + getNodeList +} from "@/api/sampleManagement/technicalSpecificationList.js" import Chooselist from '@/views/modules/common/Chooselist' import quotationUploadFile from "./quotation_upload_file" import DictDataSelect from "../sys/dict-data-select.vue"; @@ -990,7 +1006,9 @@ export default { page: 1, limit: 10, menuId: this.$route.meta.menuId, - quotationNo: '' + quotationNo: '', + nodeId: '', + approvalUsername: '' }, // 其它 dataListLoading: false, @@ -1149,6 +1167,7 @@ export default { fileContentList: [], projectPartList: [], contactList: [], + nodeOptions: [], // ======== 列表表头 ======== columnList: [ { @@ -2087,6 +2106,7 @@ export default { /*第二个表格高度的动态调整*/ this.secondHeight = window.innerHeight -this.height; }) + this.fetchNodeOptions() }, created() { @@ -2100,6 +2120,21 @@ export default { methods: { + fetchNodeOptions() { + getNodeList(this.searchData).then(({ data }) => { + if (data && data.code === 0) { + this.nodeOptions = data.rows.map(item => ({ + id: item.nodeId, + name: item.nodeName + })); + } else { + this.$message.error('获取节点列表失败'); + } + }).catch(error => { + this.$message.error('请求失败:' + error); + }); + }, + // 校验是否为超级管理员 checkSuperAdmin () { checkSuperAdmin().then(({data}) => { diff --git a/src/views/modules/sampleManagement/technicalSpecificationList.vue b/src/views/modules/sampleManagement/technicalSpecificationList.vue index 491b987..7764501 100644 --- a/src/views/modules/sampleManagement/technicalSpecificationList.vue +++ b/src/views/modules/sampleManagement/technicalSpecificationList.vue @@ -19,7 +19,7 @@ - + @@ -605,6 +605,7 @@ sp: '', nodeId: '', documentSource: '', + menuId: this.$route.meta.menuId }, nodeOptions: [], pageIndex: 1, diff --git a/src/views/modules/test/requestForTest.vue b/src/views/modules/test/requestForTest.vue index 2330a76..e372bb2 100644 --- a/src/views/modules/test/requestForTest.vue +++ b/src/views/modules/test/requestForTest.vue @@ -41,6 +41,19 @@ placeholder="结束日期"> + + + + + + + + + @@ -53,8 +66,7 @@ - + @@ -951,6 +963,9 @@ import { import { customerContactSearch, // 客户联系人列表查询 } from '@/api/customer/customerContact.js' +import { + getNodeList +} from "@/api/sampleManagement/technicalSpecificationList.js" import ChooseList from '@/views/modules/common/Chooselist' import TestUploadFile from "./test_upload_file" import DictDataSelect from "../sys/dict-data-select.vue"; @@ -1144,6 +1159,8 @@ export default { menuId: this.$route.meta.menuId, testNo: '', buNo: '', + nodeId: '', + approvalUsername: '' }, fileContentLoaded: false, // 其它 @@ -1307,6 +1324,7 @@ export default { addressList: [], contactList: [], plmTestInformationArr: [], + nodeOptions: [], // ======== 列表表头 ======== columnList: [ { @@ -2302,6 +2320,7 @@ export default { /*第二个表格高度的动态调整*/ this.secondHeight = window.innerHeight / 2 - 186 }) + this.fetchNodeOptions() }, created() { @@ -2315,6 +2334,21 @@ export default { methods: { + fetchNodeOptions() { + getNodeList(this.searchData).then(({ data }) => { + if (data && data.code === 0) { + this.nodeOptions = data.rows.map(item => ({ + id: item.nodeId, + name: item.nodeName + })); + } else { + this.$message.error('获取节点列表失败'); + } + }).catch(error => { + this.$message.error('请求失败:' + error); + }); + }, + // 校验是否为超级管理员 checkSuperAdmin () { checkSuperAdmin().then(({data}) => { diff --git a/src/views/modules/tooling/searchToolApply.vue b/src/views/modules/tooling/searchToolApply.vue index 4819193..5ca4356 100644 --- a/src/views/modules/tooling/searchToolApply.vue +++ b/src/views/modules/tooling/searchToolApply.vue @@ -22,6 +22,19 @@ placeholder="结束日期"> + + + + + + + + + @@ -611,6 +624,9 @@ import { getApprovalList, // 查询审批信息 checkSuperAdmin, // 校验是否为超级管理员 } from '@/api/changeManagement/changeManagement.js' +import { + getNodeList +} from "@/api/sampleManagement/technicalSpecificationList.js" import ApprovalInformation from "../changeManagement/approvalInformation.vue"; import OssComponents from "../oss/ossComponents"; import DictDataSelect from "../sys/dict-data-select.vue" @@ -674,7 +690,11 @@ export default { startDate: '', endDate: '', status: '', + nodeId: '', + sp: '', + menuId: this.$route.meta.menuId, }, + nodeOptions: [], toolData: [], visibleU: false, plmChangeApplyHeaderArr: [], @@ -1446,11 +1466,28 @@ export default { this.height = window.innerHeight / 2 - 30 this.fieldColumn() }) + this.fetchNodeOptions() }, methods: { isAuth, + fetchNodeOptions() { + getNodeList(this.searchData).then(({ data }) => { + if (data && data.code === 0) { + this.nodeOptions = data.rows.map(item => ({ + id: item.nodeId, + name: item.nodeName + })); + } else { + this.$message.error('获取节点列表失败'); + } + }).catch(error => { + this.$message.error('请求失败:' + error); + }); + }, + + // 校验是否为超级管理员 checkSuperAdmin () { checkSuperAdmin().then(({data}) => {