mooho-base-admin-plus 2.10.6 → 2.10.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/history.md CHANGED
@@ -177,3 +177,4 @@ mooho-base-admin-plus@2.9.6 - 增加流程撤回
177
177
  mooho-base-admin-plus@2.10.0 - 优化表格默认筛选、排序设置
178
178
  mooho-base-admin-plus@2.10.5 - 修复引用代码无法获取router的问题
179
179
  mooho-base-admin-plus@2.10.6 - 流程权限、流程图两点折线报错的Bug
180
+ mooho-base-admin-plus@2.10.7 - 增加流程结果忽略验证选项
@@ -44349,7 +44349,14 @@ const viewTable = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["render", _sfc_rend
44349
44349
  // 执行结果
44350
44350
  async action(a) {
44351
44351
  let r;
44352
- this.isCustom && typeof this.$refs.customComponent.actionValidation == "function" && (r = await this.$refs.customComponent.actionValidation(a), !r) || (r = await this.form.validate(), r ? this.confirmInput(
44352
+ if (a.ignoreValidation == !0)
44353
+ r = !0;
44354
+ else {
44355
+ if (this.isCustom && typeof this.$refs.customComponent.actionValidation == "function" && (r = await this.$refs.customComponent.actionValidation(a), !r))
44356
+ return;
44357
+ r = await this.form.validate();
44358
+ }
44359
+ r ? this.confirmInput(
44353
44360
  "Front_Msg_Sure_To_Application|" + (a.name == null ? this.$t("Front_Label_Agree") : a.name),
44354
44361
  this.$t("Front_Label_Comment"),
44355
44362
  async () => {
@@ -44357,7 +44364,7 @@ const viewTable = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["render", _sfc_rend
44357
44364
  !this.readonly && (o = this.form.getFullData(), !o) || (this.isCustom && typeof this.$refs.customComponent.beforeAction == "function" && await this.$refs.customComponent.beforeAction(a), await taskApi.do(this.task.id, a.id, o, this.comment), this.success("Front_Msg_Success"), this.resetNotice(), this.$emit("on-after-action"), this.opened = !1);
44358
44365
  },
44359
44366
  (o) => (this.comment = o, !0)
44360
- ) : this.error("Front_Msg_Form_Validate_Fail"));
44367
+ ) : this.error("Front_Msg_Form_Validate_Fail");
44361
44368
  },
44362
44369
  // 拒绝
44363
44370
  async reject() {