ddy-process-h5 1.0.1-rc.2.69 → 1.0.1-rc.2.71
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/package.json +1 -1
- package/v2/ddy-process-h5.js +40 -33
- package/v2/ddy-process-h5.umd.cjs +1 -1
- package/v2.7/ddy-process-h5.js +40 -33
- package/v2.7/ddy-process-h5.umd.cjs +1 -1
- package/v3/ddy-process-h5.js +40 -33
- package/v3/ddy-process-h5.umd.cjs +10 -10
package/v3/ddy-process-h5.js
CHANGED
|
@@ -19632,85 +19632,92 @@ const r1 = /* @__PURE__ */ Ce(jb, [["render", n1], ["__scopeId", "data-v-8c1d1ca
|
|
|
19632
19632
|
if (!t || !i)
|
|
19633
19633
|
return e;
|
|
19634
19634
|
if (this.getButton("wf_pass"), this.needResubmit && t.status == "todo" && this.userIdData && this.userIdData == (t.variables || {}).applyUserId && ["recall", "reject"].includes(t.processIsFinished) && this.getButton("wf_pass")) {
|
|
19635
|
-
let
|
|
19636
|
-
|
|
19635
|
+
let n = {};
|
|
19636
|
+
n.name = "\u91CD\u65B0\u63D0\u4EA4", n.btnProps = { type: "default" }, e.push(n), n.click = (r) => {
|
|
19637
19637
|
this.handlePass("\u91CD\u65B0\u63D0\u4EA4"), this.submitLoading = !0, this.handleActionClose();
|
|
19638
19638
|
};
|
|
19639
19639
|
}
|
|
19640
19640
|
if (!this.isView && t.status == "todo" && this.getButton("wf_pass")) {
|
|
19641
|
-
let
|
|
19642
|
-
|
|
19641
|
+
let n = {};
|
|
19642
|
+
n.name = this.getButton("wf_pass").name, n.btnProps = { type: "primary" }, e.push(n), n.click = (r) => {
|
|
19643
19643
|
this.handlePass(this.getButton("wf_pass").name), this.submitLoading = !0, this.handleActionClose();
|
|
19644
19644
|
};
|
|
19645
19645
|
}
|
|
19646
19646
|
if (!this.isView && t.status == "todo" && this.getButton("wf_reject")) {
|
|
19647
|
-
let
|
|
19648
|
-
|
|
19647
|
+
let n = {};
|
|
19648
|
+
n.name = this.getButton("wf_reject").name, n.btnProps = { type: "danger" }, e.push(n), n.click = (r) => {
|
|
19649
19649
|
this.handleCancel(this.getButton("wf_reject").name), this.submitLoading = !0, this.handleActionClose();
|
|
19650
19650
|
};
|
|
19651
19651
|
}
|
|
19652
|
-
if (this.selfBtnList && this.selfBtnList.length && this.selfBtnList.map((
|
|
19653
|
-
let
|
|
19654
|
-
|
|
19652
|
+
if (this.selfBtnList && this.selfBtnList.length && this.selfBtnList.map((n) => {
|
|
19653
|
+
let r = {};
|
|
19654
|
+
r.name = n.name, r.btnProps = { type: n.type }, e.push(r), r.click = n.click;
|
|
19655
|
+
}), ["wf_edit"].map((n) => {
|
|
19656
|
+
if (!this.isView && t.status == "todo" && this.getButton(n)) {
|
|
19657
|
+
let r = {};
|
|
19658
|
+
r.name = this.getButton(n).name, r.btnProps = {}, r.key = r.name, r.click = () => {
|
|
19659
|
+
this.$emit("clickCustomButton", r.name);
|
|
19660
|
+
}, e.push(r);
|
|
19661
|
+
}
|
|
19655
19662
|
}), !this.isView && t.status == "todo" && this.getButton("wf_rollback")) {
|
|
19656
|
-
let
|
|
19657
|
-
|
|
19663
|
+
let n = {};
|
|
19664
|
+
n.name = this.getButton("wf_rollback").name, n.btnProps = { type: "danger" }, e.push(n), n.click = (r) => {
|
|
19658
19665
|
this.handleRollbackTask(this.getButton("wf_rollback").name), this.handleActionClose();
|
|
19659
19666
|
};
|
|
19660
19667
|
}
|
|
19661
19668
|
if (!this.isView && t.status == "todo" && this.getButton("wf_cctask")) {
|
|
19662
|
-
let
|
|
19663
|
-
|
|
19669
|
+
let n = {};
|
|
19670
|
+
n.name = this.getButton("wf_cctask").name, n.btnProps = { type: "default" }, n.click = async (r) => {
|
|
19664
19671
|
this.handleCirculate(this.getButton("wf_cctask").name), this.handleActionClose();
|
|
19665
|
-
}, e.push(
|
|
19672
|
+
}, e.push(n);
|
|
19666
19673
|
}
|
|
19667
19674
|
if (!this.isView && t.status == "todo" && this.getButton("wf_delegate")) {
|
|
19668
|
-
let
|
|
19669
|
-
|
|
19675
|
+
let n = {};
|
|
19676
|
+
n.name = this.getButton("wf_delegate").name, n.btnProps = { type: "warning" }, n.key = "cc2", n.click = () => {
|
|
19670
19677
|
this.handleUserSelect({
|
|
19671
19678
|
type: "delegate",
|
|
19672
19679
|
checkType: "radio",
|
|
19673
19680
|
name: this.getButton("wf_delegate").name
|
|
19674
19681
|
}), this.handleActionClose();
|
|
19675
|
-
}, e.push(
|
|
19682
|
+
}, e.push(n);
|
|
19676
19683
|
}
|
|
19677
19684
|
if (!this.isView && t.status == "todo" && this.getButton("wf_terminate")) {
|
|
19678
|
-
let
|
|
19679
|
-
|
|
19685
|
+
let n = {};
|
|
19686
|
+
n.name = this.getButton("wf_terminate").name, n.btnProps = { type: "danger" }, n.key = "cc3", n.click = () => {
|
|
19680
19687
|
this.handleTerminateProcess(), this.handleActionClose();
|
|
19681
|
-
}, e.push(
|
|
19688
|
+
}, e.push(n);
|
|
19682
19689
|
}
|
|
19683
19690
|
if (!this.isView && t.status == "todo" && this.getButton("wf_transfer")) {
|
|
19684
|
-
let
|
|
19685
|
-
|
|
19691
|
+
let n = {};
|
|
19692
|
+
n.name = this.getButton("wf_transfer").name, n.btnProps = { type: "default" }, n.click = (r) => {
|
|
19686
19693
|
this.handleUserSelect({
|
|
19687
19694
|
type: "transfer",
|
|
19688
19695
|
checkType: "radio",
|
|
19689
19696
|
name: this.getButton("wf_transfer").name
|
|
19690
19697
|
}), this.handleActionClose();
|
|
19691
|
-
}, e.push(
|
|
19698
|
+
}, e.push(n);
|
|
19692
19699
|
}
|
|
19693
19700
|
if (!this.isView && t.isMultiInstance && this.getButton("wf_add_instance")) {
|
|
19694
|
-
let
|
|
19695
|
-
|
|
19701
|
+
let n = {};
|
|
19702
|
+
n.name = this.getButton("wf_add_instance").name, n.btnProps = { type: "primary" }, n.click = (r) => {
|
|
19696
19703
|
this.handleUserSelect({
|
|
19697
19704
|
type: "addInstance",
|
|
19698
19705
|
checkType: "checkbox",
|
|
19699
19706
|
name: this.getButton("wf_add_instance").name
|
|
19700
19707
|
}), this.handleActionClose();
|
|
19701
|
-
}, e.push(
|
|
19708
|
+
}, e.push(n);
|
|
19702
19709
|
}
|
|
19703
19710
|
if (this.userIdData == (t.variables || {}).applyUserId && this.processIntId) {
|
|
19704
|
-
let
|
|
19705
|
-
|
|
19711
|
+
let n = {};
|
|
19712
|
+
n.name = "\u50AC\u529E", n.btnProps = { type: "default" }, n.click = (r) => {
|
|
19706
19713
|
this.handleReminders("\u50AC\u529E"), this.handleActionClose();
|
|
19707
|
-
}, e.push(
|
|
19714
|
+
}, e.push(n);
|
|
19708
19715
|
}
|
|
19709
19716
|
if (this.processIntId && t.isOwner && t.isReturnable && !["recall", "reject"].includes(t.processIsFinished)) {
|
|
19710
|
-
let
|
|
19711
|
-
|
|
19717
|
+
let n = {};
|
|
19718
|
+
n.name = "\u64A4\u9500", n.btnProps = { type: "default" }, n.click = (r) => {
|
|
19712
19719
|
this.handleWithdrawTask("\u64A4\u9500"), this.handleActionClose();
|
|
19713
|
-
}, e.push(
|
|
19720
|
+
}, e.push(n);
|
|
19714
19721
|
}
|
|
19715
19722
|
return e;
|
|
19716
19723
|
},
|
|
@@ -20330,7 +20337,7 @@ function I1(e, t, i, s, n, r) {
|
|
|
20330
20337
|
}, 8, ["titleText", "visible"])
|
|
20331
20338
|
]);
|
|
20332
20339
|
}
|
|
20333
|
-
const j1 = /* @__PURE__ */ Ce(o1, [["render", I1], ["__scopeId", "data-v-1fb5bc02"]]), E1 = "ddy-process-h5", x1 = "1.0.1-rc.2.
|
|
20340
|
+
const j1 = /* @__PURE__ */ Ce(o1, [["render", I1], ["__scopeId", "data-v-1fb5bc02"]]), E1 = "ddy-process-h5", x1 = "1.0.1-rc.2.71", N1 = "> app\u7AEF \u6D41\u7A0B\u63D2\u4EF6", S1 = "./ddy-process-h5.umd.cjs", P1 = "./style.css", D1 = "module", M1 = {
|
|
20334
20341
|
".": {
|
|
20335
20342
|
import: "./ddy-process-h5.js",
|
|
20336
20343
|
require: "./ddy-process-h5.umd.cjs"
|