diff --git a/src/views/modules/erf/approvalCycleReport.vue b/src/views/modules/erf/approvalCycleReport.vue index eb87e3c..204682a 100644 --- a/src/views/modules/erf/approvalCycleReport.vue +++ b/src/views/modules/erf/approvalCycleReport.vue @@ -4,7 +4,7 @@ @@ -13,7 +13,7 @@ @@ -25,7 +25,7 @@ @@ -37,7 +37,7 @@ @@ -46,7 +46,7 @@ @@ -98,7 +98,7 @@ @@ -346,7 +346,7 @@ export default { data() { return { // 查询条件 - queryHeaderData: { + searchData: { applyNo: '', buNo: '', experimentType: '', @@ -425,12 +425,12 @@ export default { this.pageIndex = 1 } - this.queryHeaderData.page = this.pageIndex - this.queryHeaderData.limit = this.pageSize + this.searchData.page = this.pageIndex + this.searchData.limit = this.pageSize this.dataListLoading = true - getApprovalCycleReportList(this.queryHeaderData).then(({data}) => { + getApprovalCycleReportList(this.searchData).then(({data}) => { this.dataListLoading = false if (data && data.code === 0) { this.dataList = data.page.list || [] @@ -450,7 +450,7 @@ export default { * 重置查询条件 */ resetQuery() { - this.queryHeaderData = { + this.searchData = { applyNo: '', buNo: '', experimentType: '', @@ -474,7 +474,7 @@ export default { exportReport() { this.exportLoading = true - const exportParams = { ...this.queryHeaderData } + const exportParams = { ...this.searchData } delete exportParams.page delete exportParams.limit diff --git a/src/views/modules/erf/expApplyApproval.vue b/src/views/modules/erf/expApplyApproval.vue index 23ecc0e..ae95045 100644 --- a/src/views/modules/erf/expApplyApproval.vue +++ b/src/views/modules/erf/expApplyApproval.vue @@ -49,11 +49,11 @@ - + - + - + @@ -73,24 +73,24 @@ - + - + - + - + { + getPendingApplyList(this.searchData).then(({data}) => { this.dataListLoading = false if (data && data.code === 0) { this.dataList = data.page.list || [] @@ -606,15 +606,15 @@ export default { * 重置查询条件 */ resetQuery() { - this.queryHeaderData.applyNo = '' - this.queryHeaderData.buNo = '' - this.queryHeaderData.experimentType = '' - this.queryHeaderData.title = '' - this.queryHeaderData.projectNo = '' - this.queryHeaderData.productType = '' - this.queryHeaderData.creatorName = '' - this.queryHeaderData.createStartDate = '' - this.queryHeaderData.createEndDate = '' + this.searchData.applyNo = '' + this.searchData.buNo = '' + this.searchData.experimentType = '' + this.searchData.title = '' + this.searchData.projectNo = '' + this.searchData.productType = '' + this.searchData.creatorName = '' + this.searchData.createStartDate = '' + this.searchData.createEndDate = '' this.getDataList('Y') }, diff --git a/src/views/modules/erf/expApplyList.vue b/src/views/modules/erf/expApplyList.vue index 03c9cf5..e6afe29 100644 --- a/src/views/modules/erf/expApplyList.vue +++ b/src/views/modules/erf/expApplyList.vue @@ -6,15 +6,15 @@ - + - + - + - + @@ -34,19 +34,19 @@ - + - + - + @@ -60,7 +60,7 @@ { + searchExpApplyList(this.searchData).then(({data}) => { this.dataListLoading = false if (data && data.code === 0) { this.dataList = data.page.list || [] @@ -901,7 +901,7 @@ export default { * 重置查询条件 */ resetQuery() { - this.queryHeaderData = { + this.searchData = { applyNo: '', buNo: '', experimentType: '', diff --git a/src/views/modules/erf/sampleCycleReport.vue b/src/views/modules/erf/sampleCycleReport.vue index d91e8ad..47a0e61 100644 --- a/src/views/modules/erf/sampleCycleReport.vue +++ b/src/views/modules/erf/sampleCycleReport.vue @@ -4,7 +4,7 @@ @@ -13,7 +13,7 @@ @@ -25,7 +25,7 @@ @@ -37,7 +37,7 @@ @@ -46,7 +46,7 @@ @@ -121,7 +121,7 @@ @@ -293,7 +293,7 @@ export default { data() { return { // 查询条件 - queryHeaderData: { + searchData: { applyNo: '', buNo: '', experimentType: '', @@ -351,12 +351,12 @@ export default { this.pageIndex = 1 } - this.queryHeaderData.page = this.pageIndex - this.queryHeaderData.limit = this.pageSize + this.searchData.page = this.pageIndex + this.searchData.limit = this.pageSize this.dataListLoading = true - getSampleCycleReportList(this.queryHeaderData).then(({data}) => { + getSampleCycleReportList(this.searchData).then(({data}) => { this.dataListLoading = false if (data && data.code === 0) { this.dataList = data.page.list || [] @@ -376,7 +376,7 @@ export default { * 重置查询条件 */ resetQuery() { - this.queryHeaderData = { + this.searchData = { applyNo: '', buNo: '', experimentType: '', @@ -402,7 +402,7 @@ export default { exportReport() { this.exportLoading = true - const exportParams = { ...this.queryHeaderData } + const exportParams = { ...this.searchData } delete exportParams.page delete exportParams.limit