ddy-process-pc-vue3 1.0.1-rc.2.67 → 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-pc-vue3.js +41 -34
- package/v2/ddy-process-pc-vue3.umd.cjs +2 -2
- package/v2/style.css +1 -1
- package/v2.7/ddy-process-pc-vue3.js +41 -34
- package/v2.7/ddy-process-pc-vue3.umd.cjs +2 -2
- package/v2.7/style.css +1 -1
- package/v3/ddy-process-pc-vue3.js +42 -35
- package/v3/ddy-process-pc-vue3.umd.cjs +18 -18
- package/v3/style.css +1 -1
package/package.json
CHANGED
|
@@ -16,7 +16,7 @@ function iR(e, i) {
|
|
|
16
16
|
}
|
|
17
17
|
return Object.freeze(Object.defineProperty(e, Symbol.toStringTag, { value: "Module" }));
|
|
18
18
|
}
|
|
19
|
-
const nR = "ddy-process-pc-vue3", rR = "1.0.1-rc.2.
|
|
19
|
+
const nR = "ddy-process-pc-vue3", rR = "1.0.1-rc.2.71", aR = "> pc\u7AEF\u6D41\u7A0B\u7EC4\u4EF6", oR = "./ddy-process-pc-vue3.umd.cjs", sR = "./style.css", lR = "module", cR = {
|
|
20
20
|
".": {
|
|
21
21
|
import: "./ddy-process-pc-vue3.js",
|
|
22
22
|
require: "./ddy-process-pc-vue3.umd.cjs"
|
|
@@ -22829,7 +22829,7 @@ var zW = /* @__PURE__ */ Di(
|
|
|
22829
22829
|
LW,
|
|
22830
22830
|
!1,
|
|
22831
22831
|
$W,
|
|
22832
|
-
"
|
|
22832
|
+
"ee16a17a",
|
|
22833
22833
|
null,
|
|
22834
22834
|
null
|
|
22835
22835
|
);
|
|
@@ -23871,80 +23871,87 @@ const YW = {
|
|
|
23871
23871
|
if (!i)
|
|
23872
23872
|
return e;
|
|
23873
23873
|
if (i.status == "todo" && i.isMultiInstance && this.getButton("wf_add_instance")) {
|
|
23874
|
-
let
|
|
23875
|
-
|
|
23874
|
+
let a = {};
|
|
23875
|
+
a.name = this.getButton("wf_add_instance").name, a.btnProps = { type: "primary" }, a.key = "sign", a.click = () => {
|
|
23876
23876
|
this.handleUserSelect({
|
|
23877
23877
|
type: "addInstance",
|
|
23878
23878
|
checkType: "checkbox",
|
|
23879
23879
|
name: this.getButton("wf_add_instance").name
|
|
23880
23880
|
});
|
|
23881
|
-
}, e.push(
|
|
23881
|
+
}, e.push(a);
|
|
23882
23882
|
}
|
|
23883
23883
|
if (i.status == "todo" && this.getButton("wf_transfer")) {
|
|
23884
|
-
let
|
|
23885
|
-
|
|
23884
|
+
let a = {};
|
|
23885
|
+
a.name = this.getButton("wf_transfer").name, a.key = "delegate", a.click = () => {
|
|
23886
23886
|
this.handleUserSelect({
|
|
23887
23887
|
type: "transfer",
|
|
23888
23888
|
checkType: "radio",
|
|
23889
23889
|
name: this.getButton("wf_transfer").name
|
|
23890
23890
|
});
|
|
23891
|
-
}, e.push(
|
|
23891
|
+
}, e.push(a);
|
|
23892
23892
|
}
|
|
23893
23893
|
if (i.status == "todo" && this.getButton("wf_delegate")) {
|
|
23894
|
-
let
|
|
23895
|
-
|
|
23894
|
+
let a = {};
|
|
23895
|
+
a.name = this.getButton("wf_delegate").name, a.btnProps = { type: "warning" }, a.key = "cc2", a.click = () => {
|
|
23896
23896
|
this.handleUserSelect({
|
|
23897
23897
|
type: "delegate",
|
|
23898
23898
|
checkType: "radio",
|
|
23899
23899
|
name: this.getButton("wf_delegate").name
|
|
23900
23900
|
});
|
|
23901
|
-
}, e.push(
|
|
23901
|
+
}, e.push(a);
|
|
23902
23902
|
}
|
|
23903
23903
|
if (i.status == "todo" && this.getButton("wf_terminate")) {
|
|
23904
|
-
let
|
|
23905
|
-
|
|
23904
|
+
let a = {};
|
|
23905
|
+
a.name = this.getButton("wf_terminate").name, a.btnProps = { type: "danger" }, a.key = "cc3", a.click = () => {
|
|
23906
23906
|
this.handleTerminateProcess();
|
|
23907
|
-
}, e.push(
|
|
23907
|
+
}, e.push(a);
|
|
23908
23908
|
}
|
|
23909
23909
|
if (i.status == "todo" && this.getButton("wf_cctask")) {
|
|
23910
|
-
let
|
|
23911
|
-
|
|
23910
|
+
let a = {};
|
|
23911
|
+
a.name = this.getButton("wf_cctask").name, a.btnProps = { type: "primary" }, a.key = "cc", a.click = () => {
|
|
23912
23912
|
this.handleCirculate(this.getButton("wf_cctask").name);
|
|
23913
|
-
}, e.push(
|
|
23913
|
+
}, e.push(a);
|
|
23914
23914
|
}
|
|
23915
23915
|
if (i.status == "todo" && this.userId == (i.variables || {}).applyUserId) {
|
|
23916
|
-
let
|
|
23917
|
-
|
|
23916
|
+
let a = {};
|
|
23917
|
+
a.name = "\u50AC\u529E", a.key = "self", a.click = () => {
|
|
23918
23918
|
this.handleReminders();
|
|
23919
|
-
}, e.push(
|
|
23919
|
+
}, e.push(a);
|
|
23920
23920
|
}
|
|
23921
23921
|
if (i.isOwner && i.isReturnable && !["recall", "reject"].includes(i.processIsFinished)) {
|
|
23922
|
-
let
|
|
23923
|
-
|
|
23922
|
+
let a = {};
|
|
23923
|
+
a.name = "\u64A4\u9500", a.btnProps = { type: "danger" }, a.key = "self", a.click = () => {
|
|
23924
23924
|
this.handleWithdrawTask("\u64A4\u9500");
|
|
23925
|
-
}, e.push(
|
|
23925
|
+
}, e.push(a);
|
|
23926
23926
|
}
|
|
23927
23927
|
if (i.status == "todo" && this.getButton("wf_reject")) {
|
|
23928
|
-
let
|
|
23929
|
-
|
|
23928
|
+
let a = {};
|
|
23929
|
+
a.name = this.getButton("wf_reject").name, a.btnProps = { type: "danger" }, a.key = "refuse", a.click = () => {
|
|
23930
23930
|
this.handleExamine(!1, this.getButton("wf_reject").name);
|
|
23931
|
-
}, e.push(
|
|
23931
|
+
}, e.push(a);
|
|
23932
23932
|
}
|
|
23933
23933
|
if (i.status == "todo" && this.getButton("wf_pass")) {
|
|
23934
|
-
let
|
|
23935
|
-
|
|
23934
|
+
let a = {};
|
|
23935
|
+
a.name = this.getButton("wf_pass").name, a.btnProps = { type: "primary" }, a.key = "complete", a.click = () => {
|
|
23936
23936
|
this.before ? this.before().then(() => {
|
|
23937
23937
|
this.handleExamine(!0, this.getButton("wf_pass").name);
|
|
23938
23938
|
}) : this.handleExamine(!0, this.getButton("wf_pass").name);
|
|
23939
|
-
}, e.push(
|
|
23939
|
+
}, e.push(a);
|
|
23940
23940
|
}
|
|
23941
23941
|
if (i.status == "todo" && this.getButton("wf_rollback")) {
|
|
23942
|
-
let
|
|
23943
|
-
|
|
23942
|
+
let a = {};
|
|
23943
|
+
a.name = this.getButton("wf_rollback").name, a.btnProps = { type: "danger" }, a.key = "back", a.click = () => {
|
|
23944
23944
|
this.handleRollbackTask(this.getButton("wf_rollback").name);
|
|
23945
|
-
}, e.unshift(
|
|
23945
|
+
}, e.unshift(a);
|
|
23946
23946
|
}
|
|
23947
|
-
return
|
|
23947
|
+
return ["wf_edit"].map((a) => {
|
|
23948
|
+
if (i.status == "todo" && this.getButton(a)) {
|
|
23949
|
+
let s = {};
|
|
23950
|
+
s.name = this.getButton(a).name, s.btnProps = {}, s.key = s.name, s.click = () => {
|
|
23951
|
+
this.clickCustomButton(s.name);
|
|
23952
|
+
}, e.unshift(s);
|
|
23953
|
+
}
|
|
23954
|
+
}), e;
|
|
23948
23955
|
},
|
|
23949
23956
|
straightenBtns(e = !0) {
|
|
23950
23957
|
let i = [];
|
|
@@ -24023,7 +24030,7 @@ var VW = /* @__PURE__ */ Di(
|
|
|
24023
24030
|
UW,
|
|
24024
24031
|
!1,
|
|
24025
24032
|
WW,
|
|
24026
|
-
"
|
|
24033
|
+
"0cbdea84",
|
|
24027
24034
|
null,
|
|
24028
24035
|
null
|
|
24029
24036
|
);
|