cuiqian2004
2025-08-15 c9ecd7684e6ada47de4669885e66dc564128e89b
pages/modal/5600.vue
@@ -255,7 +255,7 @@
         this.title = options.titlename;
         this.param = JSON.parse(options.param);
         // console.log(this.param);
         const  paramValue = options.paramValue ?JSON.parse(options.paramValue) :undefined
         const paramValue = options.paramValue ? JSON.parse(options.paramValue) : undefined
         this.loadData(paramValue)
      },
      //页面初始化获取焦点
@@ -302,7 +302,7 @@
            //传入参数值
            if (paramValue) {
               this.setFormValues(paramValue)
               }
            }
            //加载初始界面
            if (this.param.Show_Welcom_Page) {
@@ -1094,10 +1094,10 @@
               return 0;
            }
         },
setFormValues(attrs) {
         setFormValues(attrs) {
            const head_styledef = this.head_styledef
            if (JSON.stringify(attrs) == '{}') {
               return;
            if (!Array.isArray(attrs)) {
               return
            }
            console.log(attrs)
            attrs.forEach(async (attr, key) => {
@@ -1162,7 +1162,7 @@
               head_styledef: head_styledef
            })
         }, //更新分页签中的列表项内容
         //更新分页签中的列表项内容
         viewActionSetRow(value) {
            const $this = this
@@ -2255,7 +2255,7 @@
               });
            });
         },
         //确定
         ok() {
            this.Before_OK_Event = this.param.Sub_Page[0].Before_ok;