From 9f3560d35d3bc5dd084a370b30a91d20164e3016 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=91=A3=E5=93=B2=E5=A5=87?= <13840175730@139.com> Date: Wed, 23 Oct 2024 11:50:06 +0800 Subject: [PATCH] =?UTF-8?q?1.=E8=B0=83=E6=95=B4=E7=BA=BF=E8=A1=A8=E8=AE=A1?= =?UTF-8?q?=E5=88=92=E5=AF=BC=E5=85=A5,=E6=8C=89=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E5=AF=BC=E5=85=A5=E5=B9=B4=E4=BB=BD=E5=88=92=E5=88=86=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E5=90=8D=202.=E4=BF=AE=E5=A4=8D=E6=9C=88=E5=BA=A6?= =?UTF-8?q?=E8=AE=A1=E5=88=92=E6=8F=90=E4=BA=A4=E5=AE=A1=E6=89=B9=E5=8A=9F?= =?UTF-8?q?=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/jhzx/sygdSH.vue | 10 +++++++--- src/views/jhzx/sygdWH.vue | 8 ++++++-- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/src/views/jhzx/sygdSH.vue b/src/views/jhzx/sygdSH.vue index 61a6640..d9f1b30 100644 --- a/src/views/jhzx/sygdSH.vue +++ b/src/views/jhzx/sygdSH.vue @@ -430,8 +430,8 @@ export default { this.$message.warning('选择时间范围') return } - getList(this.queryParam).then((res) => { - this.list = res.data.list + getSygdList(this.queryParam).then((res) => { + this.list = res.data if (this.$refs.xGrid) { this.$refs.xGrid.loadData(this.list) } @@ -439,7 +439,11 @@ export default { }) }, tj(){ - sh(this.checkedList).then((res)=>{ + const data={ + from:this.queryParam.beginTime, + to:this.queryParam.endTime, + } + sh(data).then((res)=>{ if (res){ this.$message({ message: '提交成功', type: 'success' }) this.initList() diff --git a/src/views/jhzx/sygdWH.vue b/src/views/jhzx/sygdWH.vue index d0b5020..fd6dd34 100644 --- a/src/views/jhzx/sygdWH.vue +++ b/src/views/jhzx/sygdWH.vue @@ -431,7 +431,7 @@ export default { return } getSygdList(this.queryParam).then((res) => { - this.list = res.data.list + this.list = res.data if (this.$refs.xGrid) { this.$refs.xGrid.loadData(this.list) } @@ -439,7 +439,11 @@ export default { }) }, tj(){ - tj(this.checkedList).then((res)=>{ + const data={ + from:this.queryParam.beginTime, + to:this.queryParam.endTime, + } + tj(data).then((res)=>{ if (res){ this.$message({ message: '提交成功', type: 'success' }) this.initList()