From eaf14dd28b5c95a08d433c6b6ccb5d2c0de2a2d4 Mon Sep 17 00:00:00 2001
From: weicd <weicd@yhzhg.cn>
Date: Thu, 04 Jan 2024 01:51:15 +0000
Subject: [PATCH] 首页跳转日报
---
eladmin-web-master/src/views/task/taskUser/index.vue | 16 ++++++++++++++--
1 files changed, 14 insertions(+), 2 deletions(-)
diff --git a/eladmin-web-master/src/views/task/taskUser/index.vue b/eladmin-web-master/src/views/task/taskUser/index.vue
index a6a7b59..d9ae27a 100644
--- a/eladmin-web-master/src/views/task/taskUser/index.vue
+++ b/eladmin-web-master/src/views/task/taskUser/index.vue
@@ -995,14 +995,22 @@
},
// 获取左侧部门数据
getTaskDatas(node, resolve) {
- // if (node !== undefined) {
- // this.infinite = true
+
+ // //测试数据
+ // this.projectId = 32
+
+ // // 将跳转携带的参数赋值
+ // if(this.$route.params.taskName != undefined) {
+ // this.taskName = this.$route.params.taskName
// }
+ // console.log("this.taskName:" + this.taskName)
+
const sort = "id,desc";
const params = { sort: sort };
if (!this.projectId) {
return;
} else {
+ console.log("this.projectId:" + this.projectId)
params["projectId"] = this.projectId;
this.taskLoading = true;
}
@@ -1025,6 +1033,10 @@
this.taskDatas = res;
}
this.taskLoading = false;
+ // // 测试数据
+ // if(this.projectId = 32) {
+ // handleNodeClick("查出来根据名字查出task数据放在这里")
+ // }
})
.catch(() => {
this.taskLoading = false;
--
Gitblit v1.9.3