| | |
| | | url: '../modal/classAttr?param=' + JSON.stringify(this.param) + |
| | | "&titlename=" + this.title |
| | | }); |
| | | |
| | | |
| | | }, |
| | | onLoad(options) { |
| | | // console.log(options); |
| | |
| | | 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; |
| | |
| | | req.push(this.formatAttr(ar)) |
| | | } |
| | | } |
| | | |
| | | var info = { |
| | | eventid: eventid, |
| | | edtype: "0", |
| | |
| | | var ar = attr[j]; |
| | | req.push({ |
| | | attr: ar.attr, |
| | | val: ar.value ? ar.value : '' |
| | | value: ar.value ? ar.value : '' |
| | | }); |
| | | } |
| | | } |
| | |
| | | dataJson: JSON.stringify(info.dataJson) |
| | | } |
| | | console.log(dataInfo); |
| | | |
| | | this.$store.dispatch('DataObjRunCustomEventInfo', dataInfo).then(success => { |
| | | console.log(success); |
| | | if (success.code == '00000') { |
| | |
| | | length = 1; |
| | | req.push({ |
| | | 'attr': this.$data.refdatastore[i].attr, |
| | | 'val': this.$data.refdatastore[i].value |
| | | 'value': this.$data.refdatastore[i].value |
| | | }); |
| | | } |
| | | } |