From 3909a52d26dca085a6ead5d0fbaca0ce512e27f7 Mon Sep 17 00:00:00 2001
From: guoshilong <123456>
Date: Fri, 23 Sep 2022 09:39:31 +0800
Subject: [PATCH] 数据统计人员统计

---
 src/views/taskinfo/taskinfoPlan.vue |   14 ++++++--------
 1 files changed, 6 insertions(+), 8 deletions(-)

diff --git a/src/views/taskinfo/taskinfoPlan.vue b/src/views/taskinfo/taskinfoPlan.vue
index 2312b09..d56720c 100644
--- a/src/views/taskinfo/taskinfoPlan.vue
+++ b/src/views/taskinfo/taskinfoPlan.vue
@@ -177,12 +177,7 @@
           });
       },
       beforeOpen(done, type) {
-        if (["edit", "view"].includes(type)) {
-          // getDetail(this.form.id).then(res => {
-          //   this.form = res.data.data;
-          //   // this.form.routeRange = '\'' + this.form.routeRange + '\''
-          // });
-        } else {
+        if (["add"].includes(type)) {
           this.form.status = 2
         }
         done();
@@ -235,8 +230,11 @@
       },
       goToTaskplanUser(planId) {
         // this.$router.push({ path: "/taskinfo/taskplanUser", query: {planId:planId} });
-        this.$refs.taskplanUser.getUserList();
-        this.$refs.taskplanUser.onLoad();
+        var page = {
+          currentPage:1,
+          pageSize:this.page.pageSize
+        }
+        this.$refs.taskplanUser.onLoad(page,{planId:planId});
         this.setPlanUser()
       },
       setPlanUser() {

--
Gitblit v1.9.3