From d0eedc364ccf9f7d0a43036d6b034f49180708a0 Mon Sep 17 00:00:00 2001
From: jt <jt@activesoft.com.cn>
Date: 星期五, 31 五月 2024 09:11:29 +0800
Subject: [PATCH] test

---
 pages/modal/classAttr.vue |   23 +++++++++++++----------
 1 files changed, 13 insertions(+), 10 deletions(-)

diff --git a/pages/modal/classAttr.vue b/pages/modal/classAttr.vue
index 0e4ac97..8d36f40 100644
--- a/pages/modal/classAttr.vue
+++ b/pages/modal/classAttr.vue
@@ -270,6 +270,7 @@
 		display: inline-block;
 	}
 </style>
+<style>
 	.touch-item {
 	        background-color: #F8F9FC;
 	        display: flex;
@@ -700,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{
@@ -1579,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,     // 鍔熻兘鐐逛富鏁版嵁绫绘爣璇�@@ -1605,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',//灏忕獥鍙�
--
Gitblit v1.9.1