From 5921895f02ca0ede5ed1a50c69c656ee784e9aa9 Mon Sep 17 00:00:00 2001 From: yangfuda <945208611@qq.com> Date: Thu, 21 Nov 2024 10:49:58 +0800 Subject: [PATCH] =?UTF-8?q?=E9=93=B6=E5=86=9C=EF=BC=9A=E5=AE=8C=E5=96=84?= =?UTF-8?q?=E5=BE=85=E5=8A=9E=E5=B7=B2=E5=8A=9E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/yinnong/doneCompleted/completedNew.vue | 1 + src/views/yinnong/doneCompleted/doneNew.vue | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/views/yinnong/doneCompleted/completedNew.vue b/src/views/yinnong/doneCompleted/completedNew.vue index 603040f8..1da415d4 100644 --- a/src/views/yinnong/doneCompleted/completedNew.vue +++ b/src/views/yinnong/doneCompleted/completedNew.vue @@ -129,6 +129,7 @@ getListReq(pageInfo) { //console.log(pageInfo, this.queryParams.pageNum, this.queryParams.pageSize); return new Promise((resolve, reject) => { + this.$set(this.queryParams, "deptId", this.$store.state.user.deptId); A_myTodoList(this.queryParams).then((response) => { //console.info(_this.taskList.length) response.rows.forEach(res => { diff --git a/src/views/yinnong/doneCompleted/doneNew.vue b/src/views/yinnong/doneCompleted/doneNew.vue index 7fd21c84..66f47b82 100644 --- a/src/views/yinnong/doneCompleted/doneNew.vue +++ b/src/views/yinnong/doneCompleted/doneNew.vue @@ -83,6 +83,8 @@ queryParams: { pageNum: 1, pageSize: 10, + systemType: null, + deptId: null, }, activityBusinessTypeOptions:[], images:['../../../../static/images/yinnong/banner_02.jpg'], @@ -114,7 +116,8 @@ } }, getListReq(pageInfo) { - //console.log(pageInfo, this.queryParams.pageNum, this.queryParams.pageSize); + //console.log(pageInfo, this.queryParams.pageNum, this.queryParams.pageSize) + this.$set(this.queryParams, "deptId", this.$store.state.user.deptId); return new Promise((resolve, reject) => { A_myDoneList(this.queryParams).then((response) => { //console.info(_this.taskList.length)