lyflowchart 1.0.57 → 1.0.59

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/dist/index.js CHANGED
@@ -34621,12 +34621,13 @@ const Tn = {
34621
34621
  value: j
34622
34622
  };
34623
34623
  }, b = () => {
34624
+ var I, D;
34624
34625
  if ((o == null ? void 0 : o.$type) != "bpmn:SequenceFlow") {
34625
34626
  console.log("常规信息:该节点不是“顺序流”,跳过不处理表达式");
34626
34627
  return;
34627
34628
  }
34628
- if ((o == null ? void 0 : o.$type) == "bpmn:SequenceFlow" && !o.body) {
34629
- r.value = "其他", t("updateFlowType", r.value);
34629
+ if ((o == null ? void 0 : o.$type) == "bpmn:SequenceFlow") {
34630
+ o.body = ((D = (I = n.element.businessObject) == null ? void 0 : I.conditionExpression) == null ? void 0 : D.body) || "", o.name == "通过" || o.body.indexOf("通过") > -1 ? r.value = "通过" : o.name == "拒绝" || o.body.indexOf("拒绝") > -1 ? r.value = "拒绝" : r.value = "其他", t("updateFlowType", r.value);
34630
34631
  return;
34631
34632
  }
34632
34633
  const w = o.body, C = y(w);
@@ -35256,10 +35257,10 @@ function l3(e, t, n, r, o, s) {
35256
35257
  default: le(() => [
35257
35258
  ae(y, {
35258
35259
  title: "角色名称",
35259
- "data-index": "realname",
35260
+ "data-index": e.roleRowLabel,
35260
35261
  ellipsis: !0,
35261
35262
  width: "150"
35262
- }),
35263
+ }, null, 8, ["data-index"]),
35263
35264
  ae(y, {
35264
35265
  title: "描述",
35265
35266
  "data-index": "desc",
@@ -35271,7 +35272,7 @@ function l3(e, t, n, r, o, s) {
35271
35272
  }, 8, ["loading", "data-source", "row-key", "row-selection", "pagination", "onChange"])) : In("", !0)
35272
35273
  ]);
35273
35274
  }
35274
- const u3 = /* @__PURE__ */ li(a3, [["render", l3], ["__scopeId", "data-v-e8e9710e"]]), c3 = {
35275
+ const u3 = /* @__PURE__ */ li(a3, [["render", l3], ["__scopeId", "data-v-56fb6302"]]), c3 = {
35275
35276
  string: "字符串",
35276
35277
  fixed: "系统指定",
35277
35278
  dynamic: "动态选择"