From 9ae83a12c2b9c764e28760fb9c3c09fe697c8990 Mon Sep 17 00:00:00 2001
From: cuiqian2004 <cuiqian2004@163.com>
Date: 星期一, 22 七月 2024 14:56:00 +0800
Subject: [PATCH] 3018 按钮修改

---
 pages/modal/3200.vue |   19 +++++++++++++++----
 1 files changed, 15 insertions(+), 4 deletions(-)

diff --git a/pages/modal/3200.vue b/pages/modal/3200.vue
index ad46648..1df943b 100644
--- a/pages/modal/3200.vue
+++ b/pages/modal/3200.vue
@@ -300,11 +300,13 @@
 			if (this.param.ListPage.ListItem_UIDef?.ui_type == "HTML椤甸潰") {
 				// HTML椤甸潰
 				//鑾峰彇鏁版嵁绫荤殑HTML椤甸潰
-				await this.Html_UIstyleGetInfo(this.param.DataCls.id, this.param.ListPage.ListItem_UIDef.id);
+				await this.Html_UIstyleGetInfo(this.param.DataCls.id, this.param.ListPage.ListItem_UIDef.id, options
+					.paramValue);
 			} else {
 				await this.Detail1_UIstyleGetInfo(this.param.DataCls.id, this.param.ListPage.ListItem_UIDef.id);
+
+				await this.initial(options.paramValue);
 			}
-			await this.initial(options.paramValue);
 			// this.isFilter=true;
 			// if(this.param.ShowFilter)
 			//   this.isFilter=false;
@@ -512,7 +514,7 @@
 				});
 
 			},
-			async Html_UIstyleGetInfo(class_id, style_id) { //鑾峰彇鑷畾涔夎〃鍗曟牱寮�+			async Html_UIstyleGetInfo(class_id, style_id, paramValue) { //鑾峰彇鑷畾涔夎〃鍗曟牱寮� 				var $this = this;
 				var dataInfo = {
 					class_id: class_id,
@@ -532,6 +534,8 @@
 						// console.log(styledef);
 						$this.ListPageHtml_Show = ret.result.style_def ? JSON.parse(styledef) : {};
 						// console.log($this.ListPageHtml_Show);
+
+						$this.initial(paramValue);
 					} else {
 						uni.showModal({
 							title: this.translateSys("error") + "10",
@@ -990,6 +994,13 @@
 					if (btn.FunCode == "Add" || btn.FunCode == "Modify") {
 						if (btn.Edit_dlg.Model == "small") {
 							this.showAddSmallDialog(btn, style, enviroment);
+						} else {
+							uni.showModal({
+								title: this.translateSys("tip"),
+								content: this.translateSys("unrealized"),
+								showCancel: false,
+								confirmText: this.translateSys("cancel")
+							});
 						}
 					} else if (btn.FunCode == "Delete") {
 						this.DeleteObj(btn, style, enviroment);
@@ -1239,7 +1250,7 @@
 							if ((success.result || []).length > 0) {
 								const app = success.result[0]
 								var param = "";
-								var appName = app.name || app.list_name
+								var appName = app.list_name || app.name 
 									.Name;
 								var paramStr = app.param
 								if (paramStr) {

--
Gitblit v1.9.1