From 380f85be8a8570e75055c2810a0297355fa97fcd Mon Sep 17 00:00:00 2001
From: guoshilong <123456>
Date: Thu, 22 Sep 2022 14:12:24 +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 42831ee..2312b09 100644
--- a/src/views/taskinfo/taskinfoPlan.vue
+++ b/src/views/taskinfo/taskinfoPlan.vue
@@ -39,7 +39,7 @@
             <!--divided 是一个划分线-->
             <el-dropdown-item icon="el-icon-edit" :size="size" :type="type"
                               :disabled="row.state >= 1"
-                              @click.native="$refs.crud.rowEdit(row,index)">修 改</el-dropdown-item>
+                              @click.native="$refs.crud.rowEdit(row,index)">编 辑</el-dropdown-item>
           </el-col>
           <el-col :span="12">
             <el-dropdown-item icon="el-icon-delete" :size="size" :type="type"
@@ -178,12 +178,10 @@
       },
       beforeOpen(done, type) {
         if (["edit", "view"].includes(type)) {
-          getDetail(this.form.id).then(res => {
-            this.form = res.data.data;
-            console.log( this.form.routeRange,123456)
-
-            // this.form.routeRange = '\'' + this.form.routeRange + '\''
-          });
+          // getDetail(this.form.id).then(res => {
+          //   this.form = res.data.data;
+          //   // this.form.routeRange = '\'' + this.form.routeRange + '\''
+          // });
         } else {
           this.form.status = 2
         }
@@ -223,7 +221,6 @@
           this.data = data.records;
           this.loading = false;
           this.selectionClear();
-          console.log(this.data)
         });
       },
       isChangeStatus(id,status) {
@@ -239,6 +236,7 @@
       goToTaskplanUser(planId) {
         // this.$router.push({ path: "/taskinfo/taskplanUser", query: {planId:planId} });
         this.$refs.taskplanUser.getUserList();
+        this.$refs.taskplanUser.onLoad();
         this.setPlanUser()
       },
       setPlanUser() {

--
Gitblit v1.9.3