ddy-process-pc-vue3 1.0.1-rc.3.23 → 1.0.1-rc.3.29

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.
@@ -16,7 +16,7 @@ function vP(e, i) {
16
16
  }
17
17
  return Object.freeze(Object.defineProperty(e, Symbol.toStringTag, { value: "Module" }));
18
18
  }
19
- const bP = "ddy-process-pc-vue3", _P = "1.0.1-rc.3.23", yP = "> pc\u7AEF\u6D41\u7A0B\u7EC4\u4EF6", xP = "./ddy-process-pc-vue3.umd.cjs", wP = "./style.css", EP = "module", kP = {
19
+ const bP = "ddy-process-pc-vue3", _P = "1.0.1-rc.3.29", yP = "> pc\u7AEF\u6D41\u7A0B\u7EC4\u4EF6", xP = "./ddy-process-pc-vue3.umd.cjs", wP = "./style.css", EP = "module", kP = {
20
20
  ".": {
21
21
  import: "./ddy-process-pc-vue3.js",
22
22
  require: "./ddy-process-pc-vue3.umd.cjs"
@@ -11031,12 +11031,16 @@ var C$ = function() {
11031
11031
  attrs: {
11032
11032
  shadow: "never"
11033
11033
  }
11034
- }, [r("p", [e._v(" " + e._s(a.assigneeName) + " \u5728 [" + e._s(a.createTime) + "] \u5F00\u59CB\u5904\u7406 [" + e._s(a.historyActivityType == "endEvent" ? "\u7ED3\u675F" : a.historyActivityName || "\u672A\u547D\u540D") + "] \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) {
11034
+ }, [r("p", [r("span", {
11035
+ staticClass: "flow-name"
11036
+ }, [e._v(e._s(a.assigneeName))]), e._v(" \u5728 [" + e._s(a.createTime) + "] \u5F00\u59CB\u5904\u7406 "), r("span", {
11037
+ staticClass: "flow-node"
11038
+ }, [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) {
11035
11039
  return c.action === "AddComment";
11036
11040
  }), function(c, p) {
11037
11041
  return r("p", {
11038
11042
  key: p
11039
- }, [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) {
11043
+ }, [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) {
11040
11044
  return m.action === "AddComment";
11041
11045
  }).length > 1 ? r("span", {
11042
11046
  staticStyle: {
@@ -11048,12 +11052,12 @@ var C$ = function() {
11048
11052
  }
11049
11053
  }, [e._v(" " + e._s(e.toggleText) + " "), r("i", {
11050
11054
  class: [e.isFlag ? "el-icon-arrow-up" : "el-icon-arrow-down"]
11051
- }), r("el-icon", [e.isFlag ? r("el-icon-arrow-up") : r("el-icon-arrow-down")], 1)], 1) : e._e(), c.time ? r("p", {
11055
+ }), 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", {
11052
11056
  staticStyle: {
11053
11057
  color: "gray",
11054
11058
  "font-size": "12px"
11055
11059
  }
11056
- }, [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", {
11060
+ }, [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", {
11057
11061
  staticStyle: {
11058
11062
  color: "gray",
11059
11063
  "font-size": "12px"
@@ -11154,7 +11158,7 @@ var I$ = /* @__PURE__ */ Bi(
11154
11158
  S$,
11155
11159
  !1,
11156
11160
  B$,
11157
- null,
11161
+ "c5f2f37a",
11158
11162
  null,
11159
11163
  null
11160
11164
  );
@@ -21942,7 +21946,7 @@ function xV(e) {
21942
21946
  "YYYY-MM-DD HH:mm"
21943
21947
  )}</span><br>`), m && m.length > 0) {
21944
21948
  let I, { type: T, fullMessage: _ } = m.find((S) => S.action == "AddComment") || {};
21945
- T == "assigneeComment" && (I = "\u53D8\u66F4\u5BA1\u6838\u4EBA\uFF1A" + _, g.class = "nodeWarn"), T == "dispatchComment" && (I = "\u8C03\u5EA6\uFF1A" + _, g.class = "nodeWarn"), T == "transferComment" && (I = "\u8F6C\u529E\uFF1A" + _, g.class = "nodeWarn"), T == "delegateComment" && (I = "\u59D4\u6258\uFF1A" + _, g.class = "nodeWarn"), T == "rollbackComment" && (I = "\u6307\u5B9A\u56DE\u9000\uFF1A" + _, g.class = "nodeError"), T == "terminateComment" && (I = "\u7EC8\u6B62\uFF1A" + _, g.class = "nodeError"), T == "addMultiInstanceComment" && (I = "\u52A0\u7B7E\uFF1A" + _, g.class = "nodeWarn"), T == "deleteMultiInstanceComment" && (I = "\u51CF\u7B7E\uFF1A" + _, g.class = "nodeError"), T == "withdrawComment" && (I = "\u64A4\u9500\uFF1A" + _, g.class = "nodeWarn"), T == "deleteProcessComment" && (I = "\u5220\u9664\u6D41\u7A0B\uFF1A" + _, g.class = "nodeError"), T == "cancelProcessComment" && (I = "\u62D2\u7EDD\uFF1A" + _, g.class = "nodeError"), T == "comment" && (I = "\u5BA1\u6279\uFF1A" + _, g.class = "nodeSuccess"), I && (y += `<span title='${I}'>${I}</span>`);
21949
+ T == "assigneeComment" && (I = "\u53D8\u66F4\u5BA1\u6838\u4EBA\uFF1A" + _, g.class = "nodeWarn"), T == "dispatchComment" && (I = "\u8C03\u5EA6\uFF1A" + _, g.class = "nodeWarn"), T == "transferComment" && (I = "\u8F6C\u529E\uFF1A" + _, g.class = "nodeWarn"), T == "delegateComment" && (I = "\u59D4\u6258\uFF1A" + _, g.class = "nodeWarn"), T == "rollbackComment" && (I = "\u6307\u5B9A\u56DE\u9000\uFF1A" + _, g.class = "nodeError"), T == "terminateComment" && (I = "\u7EC8\u6B62\uFF1A" + _, g.class = "nodeError"), (T == "addMultiInstanceComment" || (T || "").includes("\u52A0\u7B7E")) && (I = "\u52A0\u7B7E\uFF1A" + _, g.class = "nodeWarn"), T == "deleteMultiInstanceComment" && (I = "\u51CF\u7B7E\uFF1A" + _, g.class = "nodeError"), T == "withdrawComment" && (I = "\u64A4\u9500\uFF1A" + _, g.class = "nodeWarn"), T == "deleteProcessComment" && (I = "\u5220\u9664\u6D41\u7A0B\uFF1A" + _, g.class = "nodeError"), T == "cancelProcessComment" && (I = "\u62D2\u7EDD\uFF1A" + _, g.class = "nodeError"), T == "comment" && (I = "\u5BA1\u6279\uFF1A" + _, g.class = "nodeSuccess"), I && (y += `<span title='${I}'>${I}</span>`);
21946
21950
  }
21947
21951
  g.tooltip = y;
21948
21952
  }
@@ -22086,7 +22090,7 @@ var CV = /* @__PURE__ */ Bi(
22086
22090
  EV,
22087
22091
  !1,
22088
22092
  SV,
22089
- "ee16a17a",
22093
+ "55039cbe",
22090
22094
  null,
22091
22095
  null
22092
22096
  );
@@ -22790,11 +22794,12 @@ const BV = {
22790
22794
  },
22791
22795
  methods: {
22792
22796
  formatFlow(e) {
22793
- return (e || []).map((r) => ({
22797
+ let i = (e || []).map((r) => ({
22794
22798
  ...r,
22795
22799
  attachmentsFujian: (r.attachments || []).filter((a) => a.type != "signature"),
22796
22800
  attachmentsQianzi: (r.attachments || []).filter((a) => a.type == "signature")
22797
22801
  }));
22802
+ return i = i.reverse(), i;
22798
22803
  },
22799
22804
  cancelHandlerFn() {
22800
22805
  this.dialogVisibleOperation = !1, this.submitLoading = !1;
@@ -23287,7 +23292,7 @@ var OV = /* @__PURE__ */ Bi(
23287
23292
  IV,
23288
23293
  !1,
23289
23294
  TV,
23290
- "62ec8edb",
23295
+ "30e23c27",
23291
23296
  null,
23292
23297
  null
23293
23298
  );