mooho-base-admin-plus 2.5.25 → 2.5.26
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
|
@@ -17004,7 +17004,8 @@ const initRouter = (r, a) => {
|
|
|
17004
17004
|
},
|
|
17005
17005
|
// 重置通知栏数字
|
|
17006
17006
|
resetNotice() {
|
|
17007
|
-
this.getNotice(this)
|
|
17007
|
+
let r = this.getNotice(this);
|
|
17008
|
+
r && r.init();
|
|
17008
17009
|
},
|
|
17009
17010
|
// 获取通知栏
|
|
17010
17011
|
getNotice(r) {
|
|
@@ -42240,14 +42241,15 @@ const viewTable = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["render", _sfc_rend
|
|
|
42240
42241
|
},
|
|
42241
42242
|
// 执行结果
|
|
42242
42243
|
async action(r) {
|
|
42243
|
-
|
|
42244
|
+
let a;
|
|
42245
|
+
this.isCustom && typeof this.$refs.customComponent.actionValidation == "function" && (a = await this.$refs.customComponent.actionValidation(r), !a) || (a = await this.form.validate(), a ? this.confirmInput(
|
|
42244
42246
|
"Front_Msg_Sure_To_Application|" + (r.name == null ? this.$t("Front_Label_Agree") : r.name),
|
|
42245
42247
|
this.$t("Front_Label_Comment"),
|
|
42246
42248
|
async () => {
|
|
42247
|
-
let
|
|
42248
|
-
!this.readonly && (
|
|
42249
|
+
let o = null;
|
|
42250
|
+
!this.readonly && (o = this.form.getFullData(), !o) || (this.isCustom && typeof this.$refs.customComponent.beforeAction == "function" && await this.$refs.customComponent.beforeAction(r), await taskApi.do(this.task.id, r.id, o, this.comment), this.success("Front_Msg_Success"), this.resetNotice(), this.$emit("on-after-action"), this.opened = !1);
|
|
42249
42251
|
},
|
|
42250
|
-
(
|
|
42252
|
+
(o) => (this.comment = o, !0)
|
|
42251
42253
|
) : this.error("Front_Msg_Form_Validate_Fail"));
|
|
42252
42254
|
},
|
|
42253
42255
|
// 拒绝
|