ddy-process-pc-vue3 1.0.1-rc.3.3 → 1.0.1-rc.3.31
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 +22 -17
- package/v2/ddy-process-pc-vue3.umd.cjs +4 -4
- package/v2/style.css +1 -1
- package/v2.7/ddy-process-pc-vue3.js +22 -17
- package/v2.7/ddy-process-pc-vue3.umd.cjs +4 -4
- package/v2.7/style.css +1 -1
- package/v3/ddy-process-pc-vue3.js +975 -968
- package/v3/ddy-process-pc-vue3.umd.cjs +9 -9
- 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.3.
|
|
19
|
+
const nR = "ddy-process-pc-vue3", rR = "1.0.1-rc.3.31", 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"
|
|
@@ -161,7 +161,7 @@ const ai = "/aws", pi = "/bladex/blade-workflow", FD = "/auth", et = {
|
|
|
161
161
|
return Ze(i);
|
|
162
162
|
},
|
|
163
163
|
addMultiInstance(e) {
|
|
164
|
-
let i = { url: pi + "/tis/
|
|
164
|
+
let i = { url: pi + "/tis/addSignTask", param: e, type: "post" };
|
|
165
165
|
return Ze(i);
|
|
166
166
|
},
|
|
167
167
|
reject(e, i) {
|
|
@@ -5549,10 +5549,10 @@ const WL = {
|
|
|
5549
5549
|
return rb.warning("\u8BF7\u586B\u5199\u52A0\u7B7E\u539F\u56E0"), !1;
|
|
5550
5550
|
if (this.reason.length > 200)
|
|
5551
5551
|
return rb.warning("\u52A0\u7B7E\u539F\u56E0\u4E0D\u80FD\u8D85\u8FC7200\u4E2A\u5B57"), !1;
|
|
5552
|
-
let r = this.targetUser
|
|
5552
|
+
let r = this.targetUser || [];
|
|
5553
5553
|
e && e(), i(), et.tis.addMultiInstance({
|
|
5554
5554
|
taskId: this.param.taskInstId,
|
|
5555
|
-
|
|
5555
|
+
signPersoneds: r,
|
|
5556
5556
|
comment: this.reason
|
|
5557
5557
|
}).then((a) => {
|
|
5558
5558
|
a.code == wt.success ? this.$emit("success") : this.$emit("fail", a.msg);
|
|
@@ -5566,7 +5566,7 @@ var GL = /* @__PURE__ */ Di(
|
|
|
5566
5566
|
VL,
|
|
5567
5567
|
!1,
|
|
5568
5568
|
JL,
|
|
5569
|
-
"
|
|
5569
|
+
"79bc4843",
|
|
5570
5570
|
null,
|
|
5571
5571
|
null
|
|
5572
5572
|
);
|
|
@@ -11775,12 +11775,16 @@ var z7 = function() {
|
|
|
11775
11775
|
attrs: {
|
|
11776
11776
|
shadow: "never"
|
|
11777
11777
|
}
|
|
11778
|
-
}, [r("p", [
|
|
11778
|
+
}, [r("p", [r("span", {
|
|
11779
|
+
staticClass: "flow-name"
|
|
11780
|
+
}, [e._v(e._s(a.assigneeName))]), e._v(" \u5728 [" + e._s(a.createTime) + "] \u5F00\u59CB\u5904\u7406 "), r("span", {
|
|
11781
|
+
staticClass: "flow-node"
|
|
11782
|
+
}, [e._v("[" + e._s(a.historyActivityType == "endEvent" ? "\u7ED3\u675F" : a.historyActivityName || "\u672A\u547D\u540D") + "]")]), e._v(" \u73AF\u8282 ")]), a.historyActivityDurationTime ? r("p", [e._v(" \u4EFB\u52A1\u5386\u65F6 [" + e._s(a.historyActivityDurationTime) + "] ")]) : e._e(), a.comments && a.comments.length > 0 ? [e._l(a.comments.filter(function(c) {
|
|
11779
11783
|
return c.action === "AddComment";
|
|
11780
11784
|
}), function(c, p) {
|
|
11781
11785
|
return r("p", {
|
|
11782
11786
|
key: p
|
|
11783
|
-
}, [p < 1 ? [e.commentMap[c.type] ? r("span", [e._v(" " + e._s(e.commentMap[c.type]) + ": [" + e._s(c.fullMessage) + "] ")]) : e._e(), a.comments.filter(function(m) {
|
|
11787
|
+
}, [p < 1 ? [e.commentMap[c.type] ? r("span", [e._v(" " + e._s(e.commentMap[c.type]) + ": [" + e._s(c.fullMessage) + "] ")]) : c.fullMessage ? r("span", [e._v(" " + e._s(c.type) + ": [" + e._s(c.fullMessage) + "] ")]) : e._e(), a.comments.filter(function(m) {
|
|
11784
11788
|
return m.action === "AddComment";
|
|
11785
11789
|
}).length > 1 ? r("span", {
|
|
11786
11790
|
staticStyle: {
|
|
@@ -11792,12 +11796,12 @@ var z7 = function() {
|
|
|
11792
11796
|
}
|
|
11793
11797
|
}, [e._v(" " + e._s(e.toggleText) + " "), r("i", {
|
|
11794
11798
|
class: [e.isFlag ? "el-icon-arrow-up" : "el-icon-arrow-down"]
|
|
11795
|
-
}), r("el-icon", [e.isFlag ? r("el-icon-arrow-up") : r("el-icon-arrow-down")], 1)], 1) : e._e(), c.time ? r("p", {
|
|
11799
|
+
}), r("el-icon", [e.isFlag ? r("el-icon-arrow-up") : r("el-icon-arrow-down")], 1)], 1) : e._e(), c.time && e.isFlag ? r("p", {
|
|
11796
11800
|
staticStyle: {
|
|
11797
11801
|
color: "gray",
|
|
11798
11802
|
"font-size": "12px"
|
|
11799
11803
|
}
|
|
11800
|
-
}, [e._v(e._s(c.time))]) : e._e()] : e._e(), p > 0 && e.isFlag ? [e.commentMap[c.type] ? r("span", [e._v(" " + e._s(e.commentMap[c.type]) + ": [" + e._s(c.fullMessage) + "] ")]) : e._e(), c.time ? r("p", {
|
|
11804
|
+
}, [e._v(e._s(c.time))]) : e._e()] : e._e(), p > 0 && e.isFlag ? [e.commentMap[c.type] ? r("span", [e._v(" " + e._s(e.commentMap[c.type]) + ": [" + e._s(c.fullMessage) + "] ")]) : c.fullMessage ? r("span", [e._v(" " + e._s(c.type) + ": [" + e._s(c.fullMessage) + "] ")]) : e._e(), c.time ? r("p", {
|
|
11801
11805
|
staticStyle: {
|
|
11802
11806
|
color: "gray",
|
|
11803
11807
|
"font-size": "12px"
|
|
@@ -11898,7 +11902,7 @@ var U7 = /* @__PURE__ */ Di(
|
|
|
11898
11902
|
$7,
|
|
11899
11903
|
!1,
|
|
11900
11904
|
Y7,
|
|
11901
|
-
|
|
11905
|
+
"c5f2f37a",
|
|
11902
11906
|
null,
|
|
11903
11907
|
null
|
|
11904
11908
|
);
|
|
@@ -22686,7 +22690,7 @@ function RW(e) {
|
|
|
22686
22690
|
"YYYY-MM-DD HH:mm"
|
|
22687
22691
|
)}</span><br>`), m && m.length > 0) {
|
|
22688
22692
|
let E, { type: T, fullMessage: _ } = m.find((C) => C.action == "AddComment") || {};
|
|
22689
|
-
T == "assigneeComment" && (E = "\u53D8\u66F4\u5BA1\u6838\u4EBA\uFF1A" + _, g.class = "nodeWarn"), T == "dispatchComment" && (E = "\u8C03\u5EA6\uFF1A" + _, g.class = "nodeWarn"), T == "transferComment" && (E = "\u8F6C\u529E\uFF1A" + _, g.class = "nodeWarn"), T == "delegateComment" && (E = "\u59D4\u6258\uFF1A" + _, g.class = "nodeWarn"), T == "rollbackComment" && (E = "\u6307\u5B9A\u56DE\u9000\uFF1A" + _, g.class = "nodeError"), T == "terminateComment" && (E = "\u7EC8\u6B62\uFF1A" + _, g.class = "nodeError"), T == "addMultiInstanceComment" && (E = "\u52A0\u7B7E\uFF1A" + _, g.class = "nodeWarn"), T == "deleteMultiInstanceComment" && (E = "\u51CF\u7B7E\uFF1A" + _, g.class = "nodeError"), T == "withdrawComment" && (E = "\u64A4\u9500\uFF1A" + _, g.class = "nodeWarn"), T == "deleteProcessComment" && (E = "\u5220\u9664\u6D41\u7A0B\uFF1A" + _, g.class = "nodeError"), T == "cancelProcessComment" && (E = "\u62D2\u7EDD\uFF1A" + _, g.class = "nodeError"), T == "comment" && (E = "\u5BA1\u6279\uFF1A" + _, g.class = "nodeSuccess"), E && (y += `<span title='${E}'>${E}</span>`);
|
|
22693
|
+
T == "assigneeComment" && (E = "\u53D8\u66F4\u5BA1\u6838\u4EBA\uFF1A" + _, g.class = "nodeWarn"), T == "dispatchComment" && (E = "\u8C03\u5EA6\uFF1A" + _, g.class = "nodeWarn"), T == "transferComment" && (E = "\u8F6C\u529E\uFF1A" + _, g.class = "nodeWarn"), T == "delegateComment" && (E = "\u59D4\u6258\uFF1A" + _, g.class = "nodeWarn"), T == "rollbackComment" && (E = "\u6307\u5B9A\u56DE\u9000\uFF1A" + _, g.class = "nodeError"), T == "terminateComment" && (E = "\u7EC8\u6B62\uFF1A" + _, g.class = "nodeError"), (T == "addMultiInstanceComment" || (T || "").includes("\u52A0\u7B7E")) && (E = "\u52A0\u7B7E\uFF1A" + _, g.class = "nodeWarn"), T == "deleteMultiInstanceComment" && (E = "\u51CF\u7B7E\uFF1A" + _, g.class = "nodeError"), T == "withdrawComment" && (E = "\u64A4\u9500\uFF1A" + _, g.class = "nodeWarn"), T == "deleteProcessComment" && (E = "\u5220\u9664\u6D41\u7A0B\uFF1A" + _, g.class = "nodeError"), T == "cancelProcessComment" && (E = "\u62D2\u7EDD\uFF1A" + _, g.class = "nodeError"), T == "comment" && (E = "\u5BA1\u6279\uFF1A" + _, g.class = "nodeSuccess"), E && (y += `<span title='${E}'>${E}</span>`);
|
|
22690
22694
|
}
|
|
22691
22695
|
g.tooltip = y;
|
|
22692
22696
|
}
|
|
@@ -22830,7 +22834,7 @@ var zW = /* @__PURE__ */ Di(
|
|
|
22830
22834
|
LW,
|
|
22831
22835
|
!1,
|
|
22832
22836
|
$W,
|
|
22833
|
-
"
|
|
22837
|
+
"55039cbe",
|
|
22834
22838
|
null,
|
|
22835
22839
|
null
|
|
22836
22840
|
);
|
|
@@ -22958,7 +22962,7 @@ var HW = function() {
|
|
|
22958
22962
|
style: {
|
|
22959
22963
|
width: e.mainWidth + "px"
|
|
22960
22964
|
}
|
|
22961
|
-
}, [(e.processData.process.status == "todo" || e.customBtns.length > 0) && e.absoluteBtns.outside.length > 0 ? [e.absoluteBtns.inside.length > 0 ? r("el-dropdown", {
|
|
22965
|
+
}, [(e.processData.process.isReturnable || e.processData.process.status == "todo" || e.customBtns.length > 0) && e.absoluteBtns.outside.length > 0 ? [e.absoluteBtns.inside.length > 0 ? r("el-dropdown", {
|
|
22962
22966
|
attrs: {
|
|
22963
22967
|
placement: "top-start",
|
|
22964
22968
|
trigger: "click"
|
|
@@ -23534,11 +23538,12 @@ const YW = {
|
|
|
23534
23538
|
},
|
|
23535
23539
|
methods: {
|
|
23536
23540
|
formatFlow(e) {
|
|
23537
|
-
|
|
23541
|
+
let i = (e || []).map((r) => ({
|
|
23538
23542
|
...r,
|
|
23539
23543
|
attachmentsFujian: (r.attachments || []).filter((a) => a.type != "signature"),
|
|
23540
23544
|
attachmentsQianzi: (r.attachments || []).filter((a) => a.type == "signature")
|
|
23541
23545
|
}));
|
|
23546
|
+
return i = i.reverse(), i;
|
|
23542
23547
|
},
|
|
23543
23548
|
cancelHandlerFn() {
|
|
23544
23549
|
this.dialogVisibleOperation = !1, this.submitLoading = !1;
|
|
@@ -23871,7 +23876,7 @@ const YW = {
|
|
|
23871
23876
|
const i = this.processData.process;
|
|
23872
23877
|
if (!i)
|
|
23873
23878
|
return e;
|
|
23874
|
-
if (i.status == "todo" &&
|
|
23879
|
+
if (i.status == "todo" && this.getButton("wf_add_instance")) {
|
|
23875
23880
|
let a = {};
|
|
23876
23881
|
a.name = this.getButton("wf_add_instance").name, a.btnProps = { type: "primary" }, a.key = "sign", a.click = () => {
|
|
23877
23882
|
this.handleUserSelect({
|
|
@@ -23913,7 +23918,7 @@ const YW = {
|
|
|
23913
23918
|
this.handleCirculate(this.getButton("wf_cctask").name);
|
|
23914
23919
|
}, e.push(a);
|
|
23915
23920
|
}
|
|
23916
|
-
if (i.
|
|
23921
|
+
if (i.isReturnable && i.isOwner) {
|
|
23917
23922
|
let a = {};
|
|
23918
23923
|
a.name = "\u50AC\u529E", a.key = "self", a.click = () => {
|
|
23919
23924
|
this.handleReminders();
|
|
@@ -24031,7 +24036,7 @@ var VW = /* @__PURE__ */ Di(
|
|
|
24031
24036
|
UW,
|
|
24032
24037
|
!1,
|
|
24033
24038
|
WW,
|
|
24034
|
-
"
|
|
24039
|
+
"97f9ea72",
|
|
24035
24040
|
null,
|
|
24036
24041
|
null
|
|
24037
24042
|
);
|