cuiqian2004
2025-08-01 090819b136cc0903bf2ac25845c9b275ddbcba89
pages/modal/3018.vue
@@ -1547,46 +1547,48 @@
                  console.log(res);
                  uni.hideLoading();
                  let data = res.lua_result
                  if (data.ret != 0) {
                     var tip = data.err_info ? typeof data.err_info == 'string' ? data
                        .err_info :
                        data
                        .err_info.join('<br/>') : '';
                     if (data.ret == 801) uni.showModal({
                        title: this.translateSys('tip'),
                        content: tip,
                        showCancel: false,
                        confirmText: this.translateSys('close')
                     });
                     else uni.showModal({
                        title: this.translateSys('tip'),
                        content: tip + ',' + this.translateSys('tip') + ':' + data
                           .ret,
                        showCancel: false,
                        confirmText: this.translateSys('close')
                     });
                     return false
                  } else {
                     var tip = data.info ? typeof data.info == 'string' ? data.info : data
                        .info
                        .join(
                           '<br/>') : '';
                     if (tip) uni.showModal({
                        title: this.translateSys('tip'),
                        content: tip,
                        showCancel: false,
                        confirmText: this.translateSys('close')
                     });
                     uni.showToast({
                        title: this.translate('create_success'),
                        icon: "success",
                        duration: 3000
                     });
                  if (data) {
                     if (data.ret != 0) {
                        var tip = data.err_info ? typeof data.err_info == 'string' ? data
                           .err_info :
                           data
                           .err_info.join('<br/>') : '';
                        if (data.ret == 801) uni.showModal({
                           title: this.translateSys('tip'),
                           content: tip,
                           showCancel: false,
                           confirmText: this.translateSys('close')
                        });
                        else uni.showModal({
                           title: this.translateSys('tip'),
                           content: tip + ',' + this.translateSys('tip') + ':' + data
                              .ret,
                           showCancel: false,
                           confirmText: this.translateSys('close')
                        });
                        return false
                     } else {
                        var tip = data.info ? typeof data.info == 'string' ? data.info : data
                           .info
                           .join(
                              '<br/>') : '';
                        tip = tip || data.err_info
                        if (tip) uni.showModal({
                           title: this.translateSys('tip'),
                           content: tip,
                           showCancel: false,
                           confirmText: this.translateSys('close')
                        });
                        uni.showToast({
                           title: this.translate('create_success'),
                           icon: "success",
                           duration: 3000
                        });
                     }
                  }
                  //刷新
                  uni.redirectTo({
                     url: '../modal/3018?param=' + JSON.stringify(this.$data
@@ -2066,6 +2068,7 @@
                        .info
                        .join(
                           '<br/>') : '';
                     tip = tip || data.err_info
                     if (tip) uni.showModal({
                        title: this.translateSys('tip'),
                        content: tip,