cuiqian2004
2024-07-22 9ae83a12c2b9c764e28760fb9c3c09fe697c8990
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) {