cuiqian2004
2024-08-20 946dae0a8885b529e7755788ba7872503d9f9d9d
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
                     });
                  }
               }