cyy
2024-06-16 1652caddff10990679dacd1822be6d1d5dc1bf65
pages/modal/classAttr.vue
@@ -701,6 +701,7 @@
                  if (success.code=='00000') {
                     success.data.StyleDef = JSON.parse(success.data.StyleDef);
                     $this.$data.classGridStyle = success.data;
                     // console.log($this.$data.classGridStyle);
                     
                     $this.class_attr_init();
                  }else{
@@ -1580,6 +1581,7 @@
             });
          },
          DataObjRunCustomEvent_Return(eventid,data_attr,button_callback,index,iindex){
            var $this = this;
            var enviroment = {
                'function': '3000', // 功能点编号
                cls_id: this.$data.param.clsid,     // 功能点主数据类标识
@@ -1606,16 +1608,16 @@
                     req.push({ attr: ar.Name, val: ar.Value });
               }
            }
            if (this.$data.refdatastore.length > 0) {
                for (var i = 0; i < this.$data.refdatastore.length; i++) {
                    if (!req.filter(function (s) {
                        return this.$data.refdatastore[i].attr == s.name
                    }).length) {
                        length = 1;
                        req.push({ 'attr': this.$data.refdatastore[i].attr, 'val': this.$data.refdatastore[i].value });
                    }
                }
            }
            // if (this.$data.refdatastore.length > 0) {
            //     for (var i = 0; i < this.$data.refdatastore.length; i++) {
            //         if (!req.filter(function (s) {
            //             return $this.$data.refdatastore[i].attr == s.name
            //         }).length) {
            //             length = 1;
            //             req.push({ 'attr': this.$data.refdatastore[i].attr, 'val': this.$data.refdatastore[i].value });
            //         }
            //     }
            // }
            var extinfo = enviroment;
            extinfo.edit_dlg = {
                type: 'small',//小窗口