cuiqian2004
2024-07-11 0df15ed47f6e2aa5eb0610890bed7dcbaabc7c92
pages/modal/3018_2.vue
@@ -210,7 +210,8 @@
                        }
                     } else if (ele.name == "Layot") {
                        let curIndex = (ele.setting.colList || []).findIndex((col, index2, arr) => {
                           return (col.name == 'Input' || col.name == 'InputNumber'|| col.name == 'Textarea') && $this
                           return (col.name == 'Input' || col.name == 'InputNumber' || col
                                 .name == 'Textarea') && $this
                              .focusFieldId == col.fieldId;
                        })
                        if (curIndex > -1) {
@@ -288,7 +289,8 @@
                        await this.DictGetInfo(ele.bind.dict, index, 'mast');
                     }
                     if ($this.focusFieldId == "") {
                        if (ele.name == 'Input' || ele.name == 'InputNumber'|| ele.name == 'Textarea') {
                        if (ele.name == 'Input' || ele.name == 'InputNumber' || ele.name ==
                           'Textarea') {
                           $this.setData({
                              focusFieldId: ele.fieldId
                           })
@@ -401,12 +403,18 @@
                     var tip = data.err_info ? typeof data.err_info == 'string' ? data
                        .err_info : data
                        .err_info.join('<br/>') : '';
                     if (data.ret == 801) uni.showModal({
                     if (data.ret == 801) {
                        if (this.param.Only_Script_Error) {
                           let pos = tip.indexOf(":");
                           if (pos > -1) tip = tip.substring(pos + 1);
                        }
                        uni.showModal({
                        title: this.translateSys("tip"),
                        content: tip,
                        showCancel: false,
                        confirmText: this.translateSys("cancel")
                     });
                     }
                     else uni.showModal({
                        title: this.translateSys("tip"),
                        content: tip + ',' + this.translateSys('tip') + ':' + data.ret,
@@ -695,7 +703,8 @@
                     } else {
                        if (findd) {
                           let curIndex = ele.setting.colList.findIndex((col, index2, arr) => {
                              return (col.name == 'Input' || col.name == 'InputNumber'|| col.name == 'Textarea');
                              return (col.name == 'Input' || col.name == 'InputNumber' || col.name ==
                                 'Textarea');
                           })
                           if (curIndex > -1) {
                              $this.setData({
@@ -1004,12 +1013,18 @@
                     var tip = data.err_info ? typeof data.err_info == 'string' ? data.err_info :
                        data
                        .err_info.join('<br/>') : '';
                     if (data.ret == 801) uni.showModal({
                     if (data.ret == 801) {
                        if (this.param.Only_Script_Error) {
                           let pos = tip.indexOf(":");
                           if (pos > -1) tip = tip.substring(pos + 1);
                        }
                        uni.showModal({
                        title: this.translateSys("tip"),
                        content: tip,
                        showCancel: false,
                        confirmText: this.translateSys("cancel")
                     });
                     }
                     else uni.showModal({
                        title: this.translateSys("tip"),
                        content: tip + ',' + this.translateSys('tip') + ':' + data.ret,
@@ -1335,12 +1350,18 @@
                     var tip = data.err_info ? typeof data.err_info == 'string' ? data.err_info :
                        data
                        .err_info.join('<br/>') : '';
                     if (data.ret == 801) uni.showModal({
                     if (data.ret == 801){
                        if (this.param.Only_Script_Error) {
                           let pos = tip.indexOf(":");
                           if (pos > -1) tip = tip.substring(pos + 1);
                        }
                        uni.showModal({
                        title: this.translateSys("tip"),
                        content: tip,
                        showCancel: false,
                        confirmText: this.translateSys("cancel")
                     });
                     }
                     else uni.showModal({
                        title: this.translateSys("tip"),
                        content: tip + ',' + this.translateSys('tip') + ':' + data.ret,
@@ -1656,11 +1677,14 @@
                        icon: "success",
                        duration: 3000
                     });
                  if (this.$data.param.After_Btn_Refresh) {
                  //刷新
                  uni.redirectTo({
                     url: '../modal/3018_2?param=' + JSON.stringify(this.$data.param) +
                        "&titlename=" + this.$data.title
                  });
                  }
                  // this.class_attr_init();
               } else {
                  uni.showModal({
@@ -1719,13 +1743,18 @@
                     var tip = data.err_info ? typeof data.err_info == 'string' ? data.err_info :
                        data
                        .err_info.join('<br/>') : '';
                     if (data.ret == 801) uni.showModal({
                     if (data.ret == 801) {
                        if (this.param.Only_Script_Error) {
                           let pos = tip.indexOf(":");
                           if (pos > -1) tip = tip.substring(pos + 1);
                        }
                        uni.showModal({
                        title: this.translateSys("tip"),
                        content: tip,
                        showCancel: false,
                        confirmText: this.translateSys("cancel")
                     });
                     else uni.showModal({
                     } else uni.showModal({
                        title: this.translateSys("tip"),
                        content: tip + ',' + this.translateSys('tip') + ':' + data.ret,
                        showCancel: false,