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}) => {