From bcd40d20e4938069384573f6dfbbe8c7fe978925 Mon Sep 17 00:00:00 2001 From: cyy <cuiqian2004@163.com> Date: 星期六, 03 八月 2024 13:19:32 +0800 Subject: [PATCH] dictdict --- pages/modal/classAttr.vue | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/pages/modal/classAttr.vue b/pages/modal/classAttr.vue index 20f42dc..5cf1d89 100644 --- a/pages/modal/classAttr.vue +++ b/pages/modal/classAttr.vue @@ -332,7 +332,7 @@ url: '../modal/classAttr?param=' + JSON.stringify(this.param) + "&titlename=" + this.title }); - + }, onLoad(options) { // console.log(options); @@ -590,7 +590,6 @@ var value = this.$data.classAttrList[e.target.dataset['index']].Attr[e.target.dataset['iindex']].dictitem[e .target.value]; var data_attr = this.$data.classAttrList[e.target.dataset['index']].Attr[e.target.dataset['iindex']]; - console.log(data_attr); if (value.Name != data_attr.Value) { this.$data.classAttrList[e.target.dataset['index']].Attr[e.target.dataset['iindex']].Value = value .Name; @@ -715,6 +714,7 @@ req.push(this.formatAttr(ar)) } } + var info = { eventid: eventid, edtype: "0", @@ -1118,7 +1118,7 @@ var ar = attr[j]; req.push({ attr: ar.attr, - val: ar.value ? ar.value : '' + value: ar.value ? ar.value : '' }); } } @@ -1334,6 +1334,7 @@ dataJson: JSON.stringify(info.dataJson) } console.log(dataInfo); + this.$store.dispatch('DataObjRunCustomEventInfo', dataInfo).then(success => { console.log(success); if (success.code == '00000') { @@ -1478,7 +1479,7 @@ length = 1; req.push({ 'attr': this.$data.refdatastore[i].attr, - 'val': this.$data.refdatastore[i].value + 'value': this.$data.refdatastore[i].value }); } } -- Gitblit v1.9.1