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 | 18 +++++++-----------
1 files changed, 7 insertions(+), 11 deletions(-)
diff --git a/src/views/taskinfo/taskinfoPlan.vue b/src/views/taskinfo/taskinfoPlan.vue
index 42831ee..d56720c 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"
@@ -177,14 +177,7 @@
});
},
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 + '\''
- });
- } else {
+ if (["add"].includes(type)) {
this.form.status = 2
}
done();
@@ -223,7 +216,6 @@
this.data = data.records;
this.loading = false;
this.selectionClear();
- console.log(this.data)
});
},
isChangeStatus(id,status) {
@@ -238,7 +230,11 @@
},
goToTaskplanUser(planId) {
// this.$router.push({ path: "/taskinfo/taskplanUser", query: {planId:planId} });
- this.$refs.taskplanUser.getUserList();
+ var page = {
+ currentPage:1,
+ pageSize:this.page.pageSize
+ }
+ this.$refs.taskplanUser.onLoad(page,{planId:planId});
this.setPlanUser()
},
setPlanUser() {
--
Gitblit v1.9.3