mooho-base-admin-plus 0.4.44 → 0.4.45
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.
|
@@ -21036,6 +21036,9 @@ const _sfc_main$1l = {
|
|
|
21036
21036
|
return;
|
|
21037
21037
|
}
|
|
21038
21038
|
}
|
|
21039
|
+
if (this.isCustom && typeof this.$refs.customComponent.onAction === "function") {
|
|
21040
|
+
await this.$refs.customComponent.onAction(outcome);
|
|
21041
|
+
}
|
|
21039
21042
|
await taskApi.do(this.task.id, outcome.id, data2, this.comment);
|
|
21040
21043
|
this.success("Front_Msg_Success");
|
|
21041
21044
|
this.resetNotice();
|
|
@@ -21049,6 +21052,9 @@ const _sfc_main$1l = {
|
|
|
21049
21052
|
},
|
|
21050
21053
|
async reject() {
|
|
21051
21054
|
this.confirmInput("Front_Msg_Sure_To_Reject_Application", this.$t("Front_Label_Comment"), async () => {
|
|
21055
|
+
if (this.isCustom && typeof this.$refs.customComponent.onReject === "function") {
|
|
21056
|
+
await this.$refs.customComponent.onReject(this.comment);
|
|
21057
|
+
}
|
|
21052
21058
|
await taskApi.reject(this.task.id, this.comment);
|
|
21053
21059
|
this.success("Front_Msg_Success");
|
|
21054
21060
|
this.resetNotice();
|
|
@@ -21066,6 +21072,9 @@ const _sfc_main$1l = {
|
|
|
21066
21072
|
},
|
|
21067
21073
|
async back() {
|
|
21068
21074
|
this.confirmInput("Front_Msg_Sure_To_Back_Application", this.$t("Front_Label_Comment"), async () => {
|
|
21075
|
+
if (this.isCustom && typeof this.$refs.customComponent.onBack === "function") {
|
|
21076
|
+
await this.$refs.customComponent.onBack(this.comment);
|
|
21077
|
+
}
|
|
21069
21078
|
await taskApi.back(this.task.id, this.comment);
|
|
21070
21079
|
this.success("Front_Msg_Success");
|
|
21071
21080
|
this.resetNotice();
|