From 37ef6a58ba3c85a6eccd703799fedda1f87e2601 Mon Sep 17 00:00:00 2001
From: yangfeng <wanwan926_4@163.com>
Date: 星期四, 26 十月 2023 19:08:41 +0800
Subject: [PATCH] 概述新建刷新问题修复
---
src/views/overview/OverviewListView.vue | 13 ++++++++-----
1 files changed, 8 insertions(+), 5 deletions(-)
diff --git a/src/views/overview/OverviewListView.vue b/src/views/overview/OverviewListView.vue
index 5ba0d19..1da054c 100644
--- a/src/views/overview/OverviewListView.vue
+++ b/src/views/overview/OverviewListView.vue
@@ -40,7 +40,7 @@
v-if="editConfig.visible"
:work-type="workType"
:edit-common-config="editConfig"
- :add-name="this.$route.params.name"
+ :add-name="addName"
:display-edit="displayEdit"
/>
</div>
@@ -78,7 +78,8 @@
params: {},
displayEdit: false,
formLabel: "",
- toLabel: ""
+ toLabel: "",
+ addName: ""
}
},
created() {
@@ -259,14 +260,16 @@
console.log(row)
this.editConfig.visible = true
this.editConfig.title = val
- this.editConfig.operationTypeId = this.$route.params.id
+ this.editConfig.operationTypeId = this.params.id
this.editConfig.infomation = { ...row }
},
// 鏂板缓
addBtnClick() {
this.editConfig.title = "鏂板缓"
- this.editConfig.operationTypeId = this.$route.params.id
- this.editConfig.code=this.$route.params.code
+ this.addName = this.params.name
+ console.log(this.params, "ss鍒锋柊")
+ this.editConfig.operationTypeId = this.params.id
+ this.editConfig.code = this.params.code
this.editConfig.infomation = {}
this.editConfig.visible = true
},
--
Gitblit v1.8.0