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/package.json
CHANGED
package/v2/ddy-process-h5.js
CHANGED
|
@@ -22587,85 +22587,92 @@ const _C = /* @__PURE__ */ function() {
|
|
|
22587
22587
|
if (!i || !t)
|
|
22588
22588
|
return e;
|
|
22589
22589
|
if (this.getButton("wf_pass"), this.needResubmit && i.status == "todo" && this.userIdData && this.userIdData == (i.variables || {}).applyUserId && ["recall", "reject"].includes(i.processIsFinished) && this.getButton("wf_pass")) {
|
|
22590
|
-
let
|
|
22591
|
-
|
|
22590
|
+
let n = {};
|
|
22591
|
+
n.name = "\u91CD\u65B0\u63D0\u4EA4", n.btnProps = { type: "default" }, e.push(n), n.click = (r) => {
|
|
22592
22592
|
this.handlePass("\u91CD\u65B0\u63D0\u4EA4"), this.submitLoading = !0, this.handleActionClose();
|
|
22593
22593
|
};
|
|
22594
22594
|
}
|
|
22595
22595
|
if (!this.isView && i.status == "todo" && this.getButton("wf_pass")) {
|
|
22596
|
-
let
|
|
22597
|
-
|
|
22596
|
+
let n = {};
|
|
22597
|
+
n.name = this.getButton("wf_pass").name, n.btnProps = { type: "primary" }, e.push(n), n.click = (r) => {
|
|
22598
22598
|
this.handlePass(this.getButton("wf_pass").name), this.submitLoading = !0, this.handleActionClose();
|
|
22599
22599
|
};
|
|
22600
22600
|
}
|
|
22601
22601
|
if (!this.isView && i.status == "todo" && this.getButton("wf_reject")) {
|
|
22602
|
-
let
|
|
22603
|
-
|
|
22602
|
+
let n = {};
|
|
22603
|
+
n.name = this.getButton("wf_reject").name, n.btnProps = { type: "danger" }, e.push(n), n.click = (r) => {
|
|
22604
22604
|
this.handleCancel(this.getButton("wf_reject").name), this.submitLoading = !0, this.handleActionClose();
|
|
22605
22605
|
};
|
|
22606
22606
|
}
|
|
22607
|
-
if (this.selfBtnList && this.selfBtnList.length && this.selfBtnList.map((
|
|
22608
|
-
let
|
|
22609
|
-
|
|
22607
|
+
if (this.selfBtnList && this.selfBtnList.length && this.selfBtnList.map((n) => {
|
|
22608
|
+
let r = {};
|
|
22609
|
+
r.name = n.name, r.btnProps = { type: n.type }, e.push(r), r.click = n.click;
|
|
22610
|
+
}), ["wf_edit"].map((n) => {
|
|
22611
|
+
if (!this.isView && i.status == "todo" && this.getButton(n)) {
|
|
22612
|
+
let r = {};
|
|
22613
|
+
r.name = this.getButton(n).name, r.btnProps = {}, r.key = r.name, r.click = () => {
|
|
22614
|
+
this.$emit("clickCustomButton", r.name);
|
|
22615
|
+
}, e.push(r);
|
|
22616
|
+
}
|
|
22610
22617
|
}), !this.isView && i.status == "todo" && this.getButton("wf_rollback")) {
|
|
22611
|
-
let
|
|
22612
|
-
|
|
22618
|
+
let n = {};
|
|
22619
|
+
n.name = this.getButton("wf_rollback").name, n.btnProps = { type: "danger" }, e.push(n), n.click = (r) => {
|
|
22613
22620
|
this.handleRollbackTask(this.getButton("wf_rollback").name), this.handleActionClose();
|
|
22614
22621
|
};
|
|
22615
22622
|
}
|
|
22616
22623
|
if (!this.isView && i.status == "todo" && this.getButton("wf_cctask")) {
|
|
22617
|
-
let
|
|
22618
|
-
|
|
22624
|
+
let n = {};
|
|
22625
|
+
n.name = this.getButton("wf_cctask").name, n.btnProps = { type: "default" }, n.click = async (r) => {
|
|
22619
22626
|
this.handleCirculate(this.getButton("wf_cctask").name), this.handleActionClose();
|
|
22620
|
-
}, e.push(
|
|
22627
|
+
}, e.push(n);
|
|
22621
22628
|
}
|
|
22622
22629
|
if (!this.isView && i.status == "todo" && this.getButton("wf_delegate")) {
|
|
22623
|
-
let
|
|
22624
|
-
|
|
22630
|
+
let n = {};
|
|
22631
|
+
n.name = this.getButton("wf_delegate").name, n.btnProps = { type: "warning" }, n.key = "cc2", n.click = () => {
|
|
22625
22632
|
this.handleUserSelect({
|
|
22626
22633
|
type: "delegate",
|
|
22627
22634
|
checkType: "radio",
|
|
22628
22635
|
name: this.getButton("wf_delegate").name
|
|
22629
22636
|
}), this.handleActionClose();
|
|
22630
|
-
}, e.push(
|
|
22637
|
+
}, e.push(n);
|
|
22631
22638
|
}
|
|
22632
22639
|
if (!this.isView && i.status == "todo" && this.getButton("wf_terminate")) {
|
|
22633
|
-
let
|
|
22634
|
-
|
|
22640
|
+
let n = {};
|
|
22641
|
+
n.name = this.getButton("wf_terminate").name, n.btnProps = { type: "danger" }, n.key = "cc3", n.click = () => {
|
|
22635
22642
|
this.handleTerminateProcess(), this.handleActionClose();
|
|
22636
|
-
}, e.push(
|
|
22643
|
+
}, e.push(n);
|
|
22637
22644
|
}
|
|
22638
22645
|
if (!this.isView && i.status == "todo" && this.getButton("wf_transfer")) {
|
|
22639
|
-
let
|
|
22640
|
-
|
|
22646
|
+
let n = {};
|
|
22647
|
+
n.name = this.getButton("wf_transfer").name, n.btnProps = { type: "default" }, n.click = (r) => {
|
|
22641
22648
|
this.handleUserSelect({
|
|
22642
22649
|
type: "transfer",
|
|
22643
22650
|
checkType: "radio",
|
|
22644
22651
|
name: this.getButton("wf_transfer").name
|
|
22645
22652
|
}), this.handleActionClose();
|
|
22646
|
-
}, e.push(
|
|
22653
|
+
}, e.push(n);
|
|
22647
22654
|
}
|
|
22648
22655
|
if (!this.isView && i.isMultiInstance && this.getButton("wf_add_instance")) {
|
|
22649
|
-
let
|
|
22650
|
-
|
|
22656
|
+
let n = {};
|
|
22657
|
+
n.name = this.getButton("wf_add_instance").name, n.btnProps = { type: "primary" }, n.click = (r) => {
|
|
22651
22658
|
this.handleUserSelect({
|
|
22652
22659
|
type: "addInstance",
|
|
22653
22660
|
checkType: "checkbox",
|
|
22654
22661
|
name: this.getButton("wf_add_instance").name
|
|
22655
22662
|
}), this.handleActionClose();
|
|
22656
|
-
}, e.push(
|
|
22663
|
+
}, e.push(n);
|
|
22657
22664
|
}
|
|
22658
22665
|
if (this.userIdData == (i.variables || {}).applyUserId && this.processIntId) {
|
|
22659
|
-
let
|
|
22660
|
-
|
|
22666
|
+
let n = {};
|
|
22667
|
+
n.name = "\u50AC\u529E", n.btnProps = { type: "default" }, n.click = (r) => {
|
|
22661
22668
|
this.handleReminders("\u50AC\u529E"), this.handleActionClose();
|
|
22662
|
-
}, e.push(
|
|
22669
|
+
}, e.push(n);
|
|
22663
22670
|
}
|
|
22664
22671
|
if (this.processIntId && i.isOwner && i.isReturnable && !["recall", "reject"].includes(i.processIsFinished)) {
|
|
22665
|
-
let
|
|
22666
|
-
|
|
22672
|
+
let n = {};
|
|
22673
|
+
n.name = "\u64A4\u9500", n.btnProps = { type: "default" }, n.click = (r) => {
|
|
22667
22674
|
this.handleWithdrawTask("\u64A4\u9500"), this.handleActionClose();
|
|
22668
|
-
}, e.push(
|
|
22675
|
+
}, e.push(n);
|
|
22669
22676
|
}
|
|
22670
22677
|
return e;
|
|
22671
22678
|
},
|
|
@@ -23319,7 +23326,7 @@ function OC(e) {
|
|
|
23319
23326
|
}
|
|
23320
23327
|
const zC = /* @__PURE__ */ function() {
|
|
23321
23328
|
return MC.exports;
|
|
23322
|
-
}(), BC = "ddy-process-h5", RC = "1.0.1-rc.2.
|
|
23329
|
+
}(), BC = "ddy-process-h5", RC = "1.0.1-rc.2.71", LC = "> app\u7AEF \u6D41\u7A0B\u63D2\u4EF6", FC = "./ddy-process-h5.umd.cjs", VC = "./style.css", jC = "module", QC = {
|
|
23323
23330
|
".": {
|
|
23324
23331
|
import: "./ddy-process-h5.js",
|
|
23325
23332
|
require: "./ddy-process-h5.umd.cjs"
|