From 285971f147d8808b5d3d8794d630c732f1b2c487 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=97=AB=E6=99=93=E8=8C=B9?= <1935832701@qq.com> Date: Mon, 1 Jul 2024 15:44:52 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../system/ManageNodeInformation/indexjs.js | 21 ++++++------------- 1 file changed, 6 insertions(+), 15 deletions(-) diff --git a/src/views/system/ManageNodeInformation/indexjs.js b/src/views/system/ManageNodeInformation/indexjs.js index 2465353..f75a421 100644 --- a/src/views/system/ManageNodeInformation/indexjs.js +++ b/src/views/system/ManageNodeInformation/indexjs.js @@ -115,6 +115,8 @@ export default { this.$set(this.form, "specialDiseaseNodeId", this.$route.query.id); this.$set(this.openlist, "suitRange", this.$route.query.suitRange); this.openlist.routeId = this.$route.query.id; + this.itemlist.routeName = this.$route.query.routeName + } this.taskinfo(); this.infolistname(); @@ -196,13 +198,7 @@ export default { title: "提示", message: "修改触发条件成功", }); - - this.routeName = res.data; - Cookies.remove("routeName"); - - Cookies.set("routeName", this.routeName); - // this.$router.go(0); - // window.location.reload(); + this.itemlist.routeName = res.data; } this.infolist(); // this.handlelist(); @@ -345,7 +341,6 @@ export default { this.changelisy(); }, 1000); this.itemlist.specialDiseaseRouteId = this.$route.query.id; - this.itemlist.routeName = Cookies.get("routeName"); selectSpecialDisease(this.$route.query.id).then((res) => { loading.close(); this.agreeNumber = res.data.agreeNumber; @@ -571,7 +566,7 @@ export default { )?.dictDataType; var dictType = "trigger_condition_operator"; getList(dictType, o.dictDataType).then((res) => { - this.$set(o,'optionstriggerConditionOperator' ,res.data) + this.$set(o, 'optionstriggerConditionOperator', res.data) this.$forceUpdate() }); var dictType = o.triggerConditionCode; @@ -672,12 +667,8 @@ export default { // !e.taskSubdivision && // !e.taskStatus // ); - // if (this.routeName) { - // this.itemlist.routeName = this.routeName; - // } else { - // this.itemlist.routeName = this.$route.query.routeName; - // } - this.itemlist.routeName = Cookies.get("routeName"); + console.log(this.itemlist, 'itemlist') + // return specialDiseaseNode(this.itemlist).then((res) => { this.info(); loading.close();