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
|
@@ -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
|
-
|
|
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() {
|