From 43b9124dc1905e4c6ae540be8fb7584d58aebe98 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, 24 Jun 2024 16:01:44 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=A7=A6=E5=8F=91=E6=9D=A1?=
=?UTF-8?q?=E4=BB=B6?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../system/ManageNodeInformation/index.vue | 99 ++++++++++++++-----
1 file changed, 74 insertions(+), 25 deletions(-)
diff --git a/src/views/system/ManageNodeInformation/index.vue b/src/views/system/ManageNodeInformation/index.vue
index a358193..d4eaf34 100644
--- a/src/views/system/ManageNodeInformation/index.vue
+++ b/src/views/system/ManageNodeInformation/index.vue
@@ -39,13 +39,29 @@
+
+
+
+
+
+
@@ -108,16 +133,31 @@
>
-
+
+
+
+
+
+
@@ -169,11 +218,7 @@
>
-
+
{
this.openlist.triggerConditionList = res.data;
+ this.openlist.triggerConditionList.forEach((p) => {
+ this.optiononditionOperators();
+ p.dictDataType = this.optionsname.find(
+ (el) => el.dictValue == p.triggerConditionCode
+ )?.dictDataType;
+ console.log(p, "0000000000000000");
+ });
this.handlelist();
if (res.data.length == 1) {
- // 新增一条时
+ // 回显一条时
this.updata = res.data[0];
-
this.updata.triggerConditionOperatorName =
this.optionstriggerConditionOperator.find(
(el) => el.dictValue == this.updata.triggerConditionOperator
)?.dictLabel;
- console.log(
- this.updata.triggerConditionOperatorName,
- "updata.triggerConditionOperatorName"
- );
-
this.updatalist = [];
} else {
- // 新增两条或者三条
+ // 回显两条或者三条
this.updata = res.data[0];
this.updata.triggerConditionOperatorName =
this.optionstriggerConditionOperator.find(
@@ -1240,9 +1285,6 @@ export default {
(el) => el.dictValue == e.triggerConditionOperator
)?.dictLabel;
});
- // this.updatalist.triggerConditionOperatorName = this.optionstriggerConditionOperator.find(
- // (el) => el.dictValue == this.updatalist.triggerConditionOperator
- // )?.dictLabel;
}
if (this.open == true) {
this.$set(this.openlist, "suitRange", this.$route.query.suitRange);
@@ -1261,7 +1303,12 @@ export default {
o.dictDataType = this.optionsname.find(
(el) => el.dictValue == o.triggerConditionCode
)?.dictDataType;
- // console.log(o.dictDataType, "dict");
+ if (o.triggerConditionCode.includes("SEX")) {
+ var dictType = "SEX";
+ getAgencytype(dictType).then((res) => {
+ this.ConditionValue = res.data;
+ });
+ }
});
this.$set(this.updata, "suitRange", this.openlist.suitRange);
});
@@ -1270,6 +1317,8 @@ export default {
edit() {
this.open = true;
this.infolistname();
+
+ // this.openfalse();
},
//wangeditor传值
onNodeContent(item) {