From 7a3900f778000dd63b5eb1828c599e32b51ae542 Mon Sep 17 00:00:00 2001 From: "han\\hanst" Date: Tue, 21 Apr 2026 14:03:54 +0800 Subject: [PATCH] init --- src/views/common/home.vue | 692 ++++++++++++++++-- .../longchuang/production-plan-home-order.vue | 22 +- .../production-plan-renovation-order.vue | 22 +- .../longchuang/production-work-report.vue | 20 +- .../modules/sift/advancedSearchCenter.vue | 2 +- 5 files changed, 681 insertions(+), 77 deletions(-) diff --git a/src/views/common/home.vue b/src/views/common/home.vue index 3ae1d225..0dcf4296 100644 --- a/src/views/common/home.vue +++ b/src/views/common/home.vue @@ -1,70 +1,674 @@ diff --git a/src/views/modules/longchuang/production-plan-home-order.vue b/src/views/modules/longchuang/production-plan-home-order.vue index 104e46d0..2a384ac3 100644 --- a/src/views/modules/longchuang/production-plan-home-order.vue +++ b/src/views/modules/longchuang/production-plan-home-order.vue @@ -2,26 +2,26 @@
- + - + - + - + - + - + 查询 @@ -206,7 +206,7 @@ export default { name: 'ProductionPlanHomeOrder', data() { return { - queryHeaderData: { projectNo: '', modelNo: '', color: '', status: '', deliveryStartDate: '', deliveryEndDate: '', page: 1, limit: 20 }, + searchData: { projectNo: '', modelNo: '', color: '', status: '', deliveryStartDate: '', deliveryEndDate: '', page: 1, limit: 20 }, saveHeaderData: {}, reportData: { id: 0, projectNo: '', nodeCode: '', remark: '' }, reportNodeOptions: [], @@ -231,10 +231,10 @@ export default { methods: { getDataList(flag) { if (flag === 'Y') 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 - getHomeLiftOrderList(this.queryHeaderData).then(({data}) => { + getHomeLiftOrderList(this.searchData).then(({data}) => { this.dataListLoading = false if (data && data.code === 0) { this.dataList = (data.page.list || []).map(this.normalizeRow) @@ -301,7 +301,7 @@ export default { }) }, resetQuery() { - this.queryHeaderData = { projectNo: '', modelNo: '', color: '', status: '', deliveryStartDate: '', deliveryEndDate: '', page: 1, limit: 20 } + this.searchData = { projectNo: '', modelNo: '', color: '', status: '', deliveryStartDate: '', deliveryEndDate: '', page: 1, limit: 20 } this.getDataList('Y') }, openEditDialog(row) { diff --git a/src/views/modules/longchuang/production-plan-renovation-order.vue b/src/views/modules/longchuang/production-plan-renovation-order.vue index f7215445..454d175e 100644 --- a/src/views/modules/longchuang/production-plan-renovation-order.vue +++ b/src/views/modules/longchuang/production-plan-renovation-order.vue @@ -2,26 +2,26 @@
- + - + - + - + - + - + 查询 @@ -142,7 +142,7 @@ export default { name: 'ProductionPlanRenovationOrder', data() { return { - queryHeaderData: { projectNo: '', modelNo: '', color: '', status: '', deliveryStartDate: '', deliveryEndDate: '', page: 1, limit: 20 }, + searchData: { projectNo: '', modelNo: '', color: '', status: '', deliveryStartDate: '', deliveryEndDate: '', page: 1, limit: 20 }, saveHeaderData: {}, reportData: { id: 0, projectNo: '', nodeCode: '', remark: '' }, reportNodeOptions: [], @@ -163,10 +163,10 @@ export default { methods: { getDataList(flag) { if (flag === 'Y') 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 - getRenovationOrderList(this.queryHeaderData).then(({data}) => { + getRenovationOrderList(this.searchData).then(({data}) => { this.dataListLoading = false if (data && data.code === 0) { this.dataList = (data.page.list || []).map(this.normalizeRow) @@ -224,7 +224,7 @@ export default { this.totalPage = this.dataList.length }, resetQuery() { - this.queryHeaderData = { projectNo: '', modelNo: '', color: '', status: '', deliveryStartDate: '', deliveryEndDate: '', page: 1, limit: 20 } + this.searchData = { projectNo: '', modelNo: '', color: '', status: '', deliveryStartDate: '', deliveryEndDate: '', page: 1, limit: 20 } this.getDataList('Y') }, openEditDialog(row) { diff --git a/src/views/modules/longchuang/production-work-report.vue b/src/views/modules/longchuang/production-work-report.vue index a24e27c2..54d95369 100644 --- a/src/views/modules/longchuang/production-work-report.vue +++ b/src/views/modules/longchuang/production-work-report.vue @@ -43,10 +43,10 @@ - + - + @@ -54,7 +54,7 @@ - + @@ -63,7 +63,7 @@ { + this.searchData.page = this.pageIndex + this.searchData.limit = this.pageSize + getWorkReportOrderList(this.searchData).then(({ data }) => { if (data && data.code === 0) { const page = data.page || {} const list = page.list || [] @@ -350,7 +350,7 @@ export default { return map[orderType] || orderType || '-' }, resetQuery() { - this.queryHeaderData = { + this.searchData = { projectNo: '', orderType: '', status: '', diff --git a/src/views/modules/sift/advancedSearchCenter.vue b/src/views/modules/sift/advancedSearchCenter.vue index 57e290cf..06effe95 100644 --- a/src/views/modules/sift/advancedSearchCenter.vue +++ b/src/views/modules/sift/advancedSearchCenter.vue @@ -1,7 +1,7 @@