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) {