cuiqian2004
4 天以前 07925905f1a596e20e980de6d42db217abb753b0
pages/modal/3200.vue
@@ -155,13 +155,16 @@
            refreshing: false
         };
      },
      onReady() {
         uni.setNavigationBarTitle({
            title: this.title
         }); //设置顶部标题
      },
      async onLoad(options) {
         // console.log(options);
         try {
            showLoading("loading...")
            uni.setNavigationBarTitle({
               title: options.titlename
            }); //设置顶部标题
            this.title = options.titlename;
            this.param = JSON.parse(options.param);
@@ -846,13 +849,27 @@
         //刷新
         Refresh(value) {
            //刷新当前页面
            this.initial();
            this.handleButtonClick((done) => {
                  this.initial();
               setTimeout(() => {
                  done(); // 重置状态
               }, 1000);
            });
            // uni.redirectTo({
            //    url:'../modal/3200?param='+JSON.stringify(this.param)+"&titlename="+this.title,
            // });
         },
         //点击显示浏览对象显示页面
         async onViewPageClick(style) {
         onViewPageClick(style) {
            this.handleButtonClick((done) => {
               this.viewPageClick(style);
               setTimeout(() => {
                  done(); // 重置状态
               }, 1000);
            });
         },
         async viewPageClick(style) {
            if (this.param.ViewPage) {
               if (this.param.ViewPage.View_UIDef) {
                  this.styledef = style;
@@ -1674,6 +1691,7 @@
         //点中表单
         onPanelClick(value) { //点击面板高亮显示
            // console.log(value);
            this.setData({
               activeItem: this.detail1StyleDefList[value]
            })
@@ -1780,17 +1798,17 @@
                                 // });
                              } else {
                                 showInfo(this
                                 showInfo($this
                                    .translateSys(
                                       "quotation_mark_left"
                                    ) +
                                    item
                                    .action_type +
                                    this
                                    $this
                                    .translateSys(
                                       "quotation_mark_right"
                                    ) +
                                    this
                                    $this
                                    .translate(
                                       "tip_action_unprocessed"
                                    ))