super-page-runtime 2.2.92-sit9 → 2.3.0-sit1

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.
@@ -26,17 +26,17 @@ const j = { save: function(e2) {
26
26
  const t2 = e2.pageContext.code + "_";
27
27
  C.$emit(t2 + "export-pdf-report", e2);
28
28
  }, submit: function(e2) {
29
- return K(e2, false, "submit", "/dsc/commons/submits");
29
+ return Q(e2, false, "submit", "/dsc/commons/submits");
30
30
  }, submitList: function(e2) {
31
- return K(e2, true, "submit", "/dsc/commons/batch-submits");
31
+ return Q(e2, true, "submit", "/dsc/commons/batch-submits");
32
32
  }, agree: function(e2) {
33
- return K(e2, false, "agree", "/dsc/commons/approves");
33
+ return Q(e2, false, "agree", "/dsc/commons/approves");
34
34
  }, agreeList: function(e2) {
35
- return K(e2, true, "agree", "/dsc/commons/batch-approves");
35
+ return Q(e2, true, "agree", "/dsc/commons/batch-approves");
36
36
  }, disagree: function(e2) {
37
- return K(e2, false, "disagree", "/dsc/commons/refuses");
37
+ return Q(e2, false, "disagree", "/dsc/commons/refuses");
38
38
  }, disagreeList: function(e2) {
39
- return K(e2, true, "disagree", "/dsc/commons/batch-refuses");
39
+ return Q(e2, true, "disagree", "/dsc/commons/batch-refuses");
40
40
  }, back: function(e2) {
41
41
  const t2 = e2.pageContext, s2 = t2.entity ? t2.entity.data : {}, n2 = !(!e2.configureObj.props || !e2.configureObj.props.base) && e2.configureObj.props.base.isNeedValueMapping;
42
42
  J(t2, e2.configureObj, s2, n2);
@@ -126,11 +126,11 @@ const j = { save: function(e2) {
126
126
  const i2 = e3.pageContext, a2 = i2.entity.data, r2 = i2.systemCode, p2 = i2.backendUrl;
127
127
  let d2 = n(p2, i2.isTest) + "/dsc/workflow-commons";
128
128
  if (d2 = o(d2, r2, p2, i2.isTest), !d2) return void l({ showClose: true, type: "warning", message: u().t("superPageRuntimeMessage.requestPathEmpty") });
129
- const m2 = Z(e3);
129
+ const m2 = ee(e3);
130
130
  let f2;
131
131
  f2 = a2.id || a2.ID ? c.put(d2, m2) : c.post(d2, m2), f2.then((s3) => {
132
132
  let n2 = true;
133
- s3 && (n2 = ee(s3, false, i2, e3, null)), true === n2 && l({ showClose: true, type: "success", message: u().t("superPageRuntimeMessage.successfulSave") }), C.$emit("clearTableAllEndEditing"), t2(true);
133
+ s3 && (n2 = te(s3, false, i2, e3, null)), true === n2 && l({ showClose: true, type: "success", message: u().t("superPageRuntimeMessage.successfulSave") }), C.$emit("clearTableAllEndEditing"), t2(true);
134
134
  }).catch((e4) => {
135
135
  s2(e4);
136
136
  });
@@ -142,29 +142,29 @@ const j = { save: function(e2) {
142
142
  const i2 = e3.pageContext, a2 = i2.systemCode, r2 = i2.backendUrl;
143
143
  let p2 = n(r2, i2.isTest) + "/dsc/workflow-commons/submit";
144
144
  if (p2 = o(p2, a2, r2, i2.isTest), !p2) return void l({ showClose: true, type: "warning", message: u().t("superPageRuntimeMessage.requestPathEmpty") });
145
- const d2 = Z(e3), m2 = c.post(p2, d2);
145
+ const d2 = ee(e3), m2 = c.post(p2, d2);
146
146
  m2 && m2.then((s3) => {
147
147
  let n2 = true;
148
- s3 && (n2 = ee(s3, false, i2, e3, null)), true === n2 && l({ showClose: true, type: "success", message: u().t("superPageRuntimeMessage.successfulSubmit") }), C.$emit("clearTableAllEndEditing"), t2(true);
148
+ s3 && (n2 = te(s3, false, i2, e3, null)), true === n2 && l({ showClose: true, type: "success", message: u().t("superPageRuntimeMessage.successfulSubmit") }), C.$emit("clearTableAllEndEditing"), t2(true);
149
149
  }).catch((e4) => {
150
150
  s2(e4);
151
151
  });
152
152
  });
153
153
  }(e2);
154
154
  }, submitTask: function(e2) {
155
- return te(e2, "SUBMIT");
155
+ return se(e2, "SUBMIT");
156
156
  }, approve: function(e2) {
157
- return te(e2, "APPROVE");
157
+ return se(e2, "APPROVE");
158
158
  }, refuse: function(e2) {
159
- return te(e2, "REFUSE");
159
+ return se(e2, "REFUSE");
160
160
  }, readed: function(e2) {
161
- return te(e2, "READED");
161
+ return se(e2, "READED");
162
162
  }, agreement: function(e2) {
163
- return te(e2, "AGREEMENT");
163
+ return se(e2, "AGREEMENT");
164
164
  }, oppose: function(e2) {
165
- return te(e2, "OPPOSE");
165
+ return se(e2, "OPPOSE");
166
166
  }, kiken: function(e2) {
167
- return te(e2, "KIKEN");
167
+ return se(e2, "KIKEN");
168
168
  }, assign: function(e2) {
169
169
  return function(e3) {
170
170
  const t2 = e3.pageContext, s2 = t2.code + "_";
@@ -182,23 +182,23 @@ const j = { save: function(e2) {
182
182
  }(e2);
183
183
  }, drawTask: function(e2) {
184
184
  return function(e3) {
185
- const t2 = e3.pageContext, s2 = t2.backendUrl, o2 = n(s2, t2.isTest) + "/dsc/workflow-commons/draw-tasks", i2 = Z(e3);
186
- return re(e3, i2, o2, "superPageRuntimeMessage.successfulDrawTask");
185
+ const t2 = e3.pageContext, s2 = t2.backendUrl, o2 = n(s2, t2.isTest) + "/dsc/workflow-commons/draw-tasks", i2 = ee(e3);
186
+ return ce(e3, i2, o2, "superPageRuntimeMessage.successfulDrawTask");
187
187
  }(e2);
188
188
  }, abandonReceive: function(e2) {
189
189
  return function(e3) {
190
- const t2 = e3.pageContext, s2 = t2.backendUrl, o2 = n(s2, t2.isTest) + "/dsc/workflow-commons/abandon-receives", i2 = Z(e3);
191
- return re(e3, i2, o2, "superPageRuntimeMessage.successfulAbandonReceive");
190
+ const t2 = e3.pageContext, s2 = t2.backendUrl, o2 = n(s2, t2.isTest) + "/dsc/workflow-commons/abandon-receives", i2 = ee(e3);
191
+ return ce(e3, i2, o2, "superPageRuntimeMessage.successfulAbandonReceive");
192
192
  }(e2);
193
193
  }, returnToPreviousTask: function(e2) {
194
194
  return function(e3) {
195
- const t2 = e3.pageContext, s2 = t2.backendUrl, o2 = n(s2, t2.isTest) + "/dsc/workflow-commons/return-to-previous-tasks", i2 = Z(e3);
196
- return re(e3, i2, o2, "superPageRuntimeMessage.successfulReturnToPreviousTask");
195
+ const t2 = e3.pageContext, s2 = t2.backendUrl, o2 = n(s2, t2.isTest) + "/dsc/workflow-commons/return-to-previous-tasks", i2 = ee(e3);
196
+ return ce(e3, i2, o2, "superPageRuntimeMessage.successfulReturnToPreviousTask");
197
197
  }(e2);
198
198
  }, endInstance: function(e2) {
199
199
  return function(e3) {
200
- const t2 = e3.pageContext, s2 = t2.backendUrl, o2 = n(s2, t2.isTest) + "/dsc/workflow-commons/end-instance", i2 = Z(e3);
201
- return re(e3, i2, o2, "superPageRuntimeMessage.successfulEndInstance");
200
+ const t2 = e3.pageContext, s2 = t2.backendUrl, o2 = n(s2, t2.isTest) + "/dsc/workflow-commons/end-instance", i2 = ee(e3);
201
+ return ce(e3, i2, o2, "superPageRuntimeMessage.successfulEndInstance");
202
202
  }(e2);
203
203
  }, returnTaskTo: function(e2) {
204
204
  return function(e3) {
@@ -212,8 +212,8 @@ const j = { save: function(e2) {
212
212
  }(e2);
213
213
  }, retrieveTask: function(e2) {
214
214
  return function(e3) {
215
- const t2 = e3.pageContext, s2 = t2.backendUrl, o2 = n(s2, t2.isTest) + "/dsc/workflow-commons/retrieves", i2 = Z(e3);
216
- return re(e3, i2, o2, "superPageRuntimeMessage.successfulRetrieve");
215
+ const t2 = e3.pageContext, s2 = t2.backendUrl, o2 = n(s2, t2.isTest) + "/dsc/workflow-commons/retrieves", i2 = ee(e3);
216
+ return ce(e3, i2, o2, "superPageRuntimeMessage.successfulRetrieve");
217
217
  }(e2);
218
218
  }, viewDetail: function(e2) {
219
219
  }, lineEditCreate: function(e2) {
@@ -289,7 +289,7 @@ function L(e2, s2, o2, i2) {
289
289
  var _a;
290
290
  const a2 = o2.templateUuid, r2 = o2.templateName, c2 = e2.systemCode, u2 = (_a = s2.props.base) == null ? void 0 : _a.logSetting, l2 = t(e2), p2 = e2.beanName, d2 = s2.props.base, m2 = s2.tableName ? s2.tableName : e2.tableName, f2 = e2.backendUrl, g2 = E.getFormViewData(e2), b2 = void 0 === d2.isPermission || "true" === d2.isPermission || d2.isPermission, C2 = { entity: g2, fileName: a2, showName: r2, beanName: p2, isWorkflowForm: l2, functionCode: k(s2, e2), tableName: m2, isPermission: b2 + "", systemCode: c2, listCodesMap: e2.listCodesMap, pageCode: e2.code, pageVersion: e2.version };
291
291
  u2 && (C2.logSettingText = u2.join(""));
292
- const y2 = oe(e2);
292
+ const y2 = ie(e2);
293
293
  let h2;
294
294
  C2.additionalParamMap = y2, h2 = i2 ? function(e3, t2, s3, o3) {
295
295
  return new Promise((i3, a3) => {
@@ -350,13 +350,13 @@ function V(e2, n2, o2, i2, a2, r2, c2) {
350
350
  r2 && (f2.ids = r2), e2.judgeHeavyList && (s(e2.judgeHeavyList) ? f2.judgeHeavyList = JSON.stringify(e2.judgeHeavyList) : f2.judgeHeavyList = e2.judgeHeavyList);
351
351
  const g2 = n2.props.base.conversionCodes;
352
352
  g2 && (s(g2) ? f2.dataConversionRule = g2.join(",") : "string" == typeof g2 && (f2.dataConversionRule = g2));
353
- const b2 = be(n2);
353
+ const b2 = Ce(n2);
354
354
  b2 && (f2.autoSetValueData = b2);
355
355
  const C2 = (_a = n2.props.base) == null ? void 0 : _a.logSetting;
356
356
  C2 && (f2.logSettingText = C2.join("")), f2.systemCode || (f2.systemCode = l2);
357
357
  const T2 = e2.beanName;
358
358
  T2 && (f2.beanName = T2), a2 && (f2.dynamicColumnInfo = a2), i2 && (f2.mainDefaultValueColumns = i2);
359
- const y2 = oe(e2);
359
+ const y2 = ie(e2);
360
360
  return f2.additionalParamMap = y2, void 0 !== o2 && (f2.unControlVersion = o2), f2;
361
361
  }
362
362
  function F(e2, t2, s2, i2, a2, r2, u2, l2) {
@@ -376,7 +376,7 @@ function q(t2, s2, n2, o2, i2) {
376
376
  if (a2 && "list" === a2) !function(t3, s3, n3, o3) {
377
377
  let i3 = s3.props.base.successOperation;
378
378
  const a3 = s3.props.base.isNeedValueMapping, r2 = h(t3, s3);
379
- i3 || (i3 = "refresh");
379
+ i3 || z.includes(s3.name) || (i3 = "refresh");
380
380
  if ("refresh" === i3) {
381
381
  if (r2) {
382
382
  b(t3, r2).refresh();
@@ -415,7 +415,7 @@ function G(e2, t2, s2) {
415
415
  const n2 = t2.props.base.successOperation;
416
416
  if (!n2 || null === n2) return;
417
417
  const o2 = t2.props.base.isNeedValueMapping;
418
- "noOperation" === n2 ? (s2 && (e2.entity.data = s2), e2.canClick = true) : "refresh" === n2 ? s2 && (s2.id || s2.ID) ? me(e2, s2.ID ? s2.ID : s2.id) : e2.canClick = true : "closeWindow" !== n2 && "closeWindowAndRefresh" !== n2 || (J(e2, t2, s2, o2), e2.canClick = true);
418
+ "noOperation" === n2 ? (s2 && (e2.entity.data = s2), e2.canClick = true) : "refresh" === n2 ? s2 && (s2.id || s2.ID) ? fe(e2, s2.ID ? s2.ID : s2.id) : e2.canClick = true : "closeWindow" !== n2 && "closeWindowAndRefresh" !== n2 || (J(e2, t2, s2, o2), e2.canClick = true);
419
419
  }
420
420
  function J(e2, t2, s2, n2) {
421
421
  const o2 = e2.entity && e2.entity.request ? e2.entity.request.jumpMode : null;
@@ -441,7 +441,8 @@ function Y(e2, t2, s2, n2, o2) {
441
441
  }
442
442
  }(s2, o2, e2), y(null, e2, t2, "setValue", { sourceModel: s2, sourceTableName: n2, entity: e2.entity.data, targetTableName: i2 });
443
443
  }
444
- function z(e2, t2, s2, n2) {
444
+ const z = ["dropdown"];
445
+ function K(e2, t2, s2, n2) {
445
446
  var _a;
446
447
  t2 && !t2.props.base && (t2.props.base = {});
447
448
  let o2 = n2;
@@ -455,11 +456,11 @@ function z(e2, t2, s2, n2) {
455
456
  }
456
457
  } else if (i2 && "form" === i2) {
457
458
  const t3 = e2.entity.data;
458
- me(e2, t3.ID ? t3.ID : t3.id);
459
+ fe(e2, t3.ID ? t3.ID : t3.id);
459
460
  }
460
461
  }
461
462
  }
462
- function K(e2, t2, s2, i2) {
463
+ function Q(e2, t2, s2, i2) {
463
464
  return new Promise((r2, l2) => {
464
465
  const d2 = e2.pageContext, m2 = e2.configureObj, f2 = e2.mainDefaultValueColumns, g2 = e2.dynamicColumnInfo, b2 = e2.ids, C2 = m2.props.base.successOperation;
465
466
  let T2 = false;
@@ -493,7 +494,7 @@ function K(e2, t2, s2, i2) {
493
494
  }) : l2("request不存在");
494
495
  });
495
496
  }
496
- function Q(e2, s2) {
497
+ function X(e2, s2) {
497
498
  var _a;
498
499
  const i2 = e2.pageContext, a2 = e2.configureObj, r2 = e2.tableConfigure, p2 = a2.props.base, d2 = a2.props.base.tableUuid ? a2.props.base.tableUuid : e2.tableUuid, m2 = A(i2, d2), f2 = new FormData();
499
500
  f2.append("multipartFile", s2), m2 && f2.append("tableName", m2), i2.importBeanName && f2.append("importBeanName", i2.importBeanName), i2.beanName && f2.append("beanName", i2.beanName);
@@ -501,7 +502,7 @@ function Q(e2, s2) {
501
502
  g2 && f2.append("importDuplicateRule", g2);
502
503
  const b2 = i2.judgeHeavyList;
503
504
  b2 && f2.append("judgeHeavyList", JSON.stringify(b2));
504
- const C2 = be(a2);
505
+ const C2 = Ce(a2);
505
506
  C2 && f2.append("autoSetValueData", C2);
506
507
  const T2 = i2.formNoRuleCode;
507
508
  T2 && f2.append("formNoRuleCode", T2);
@@ -513,7 +514,7 @@ function Q(e2, s2) {
513
514
  null != w2 && f2.append("isWorkflowEntity", w2 + "");
514
515
  const R2 = k(a2, i2);
515
516
  R2 && f2.append("functionCode", R2);
516
- const N2 = oe(i2);
517
+ const N2 = ie(i2);
517
518
  f2.append("additionalParamMapStr", JSON.stringify(N2));
518
519
  const M2 = void 0 === p2.isPermission || "true" === p2.isPermission || p2.isPermission;
519
520
  f2.append("isPermission", M2 + "");
@@ -530,7 +531,7 @@ function Q(e2, s2) {
530
531
  }).catch((e3) => {
531
532
  });
532
533
  }
533
- function X(e2, t2) {
534
+ function Z(e2, t2) {
534
535
  const s2 = e2.props.base;
535
536
  if (s2.conditionsForExecution && "" !== s2.conditionsForExecution) {
536
537
  if ("one" === s2.conditionsForExecution) {
@@ -539,7 +540,7 @@ function X(e2, t2) {
539
540
  }
540
541
  return true;
541
542
  }
542
- function Z(e2) {
543
+ function ee(e2) {
543
544
  var _a;
544
545
  const t2 = e2.pageContext, n2 = e2.configureObj, o2 = t2.entity.data, i2 = t2.systemCode, a2 = t2.code;
545
546
  let r2 = k(n2, t2);
@@ -548,21 +549,21 @@ function Z(e2) {
548
549
  t2.completeTaskParam && (c2.completeTaskParam = { taskId: t2.completeTaskParam.taskId, opinion: t2.completeTaskParam.opinion }), t2.judgeHeavyList && (s(t2.judgeHeavyList) ? c2.judgeHeavyList = JSON.stringify(t2.judgeHeavyList) : c2.judgeHeavyList = t2.judgeHeavyList);
549
550
  const u2 = n2.props.base.conversionCodes;
550
551
  u2 && (s(u2) ? c2.dataConversionRule = u2.join(",") : "string" == typeof u2 && (c2.dataConversionRule = u2));
551
- const l2 = be(n2);
552
+ const l2 = Ce(n2);
552
553
  l2 && (c2.autoSetValueData = l2), t2.beanName && (c2.beanName = t2.beanName);
553
554
  const p2 = (_a = n2.props.base) == null ? void 0 : _a.logSetting;
554
555
  p2 && (c2.logSettingText = p2.join("")), c2.systemCode || (c2.systemCode = i2);
555
- const d2 = oe(t2);
556
+ const d2 = ie(t2);
556
557
  c2.additionalParamMap = d2, d2.ids && d2.ids.length > 0 && ("string" == typeof d2.ids ? c2.ids = d2.ids.split(",") : Array.isArray(d2.ids) ? c2.ids = d2.ids : "number" == typeof ids && (c2.ids = [d2.ids]));
557
558
  const m2 = n2.props.base.successOperation;
558
559
  return m2 && "noOperation" === m2 && (c2.unControlVersion = true), c2.isWorkflowEntity = true, c2;
559
560
  }
560
- function ee(e2, t2, s2, n2, o2) {
561
+ function te(e2, t2, s2, n2, o2) {
561
562
  const i2 = s2.code, a2 = s2.version;
562
563
  let r2;
563
564
  if (e2) {
564
565
  t2 && (s2.initFormNo = e2.formNo, s2.emailTemplateCode = e2.emailTemplateCode), e2.entity && (s2.entity.data = e2.entity, function(e3, t3) {
565
- const s3 = oe(t3);
566
+ const s3 = ie(t3);
566
567
  e3 && s3 && g(s3._t_ + "_id", e3);
567
568
  }(e2.entity.id || e2.entity.ID, s2));
568
569
  const o3 = e2.completeTaskResult;
@@ -581,7 +582,7 @@ function ee(e2, t2, s2, n2, o2) {
581
582
  }
582
583
  return n2 && (n2.operationResult = o2), t2 || q(s2, n2.configureObj, e2, null, false), true;
583
584
  }
584
- async function te(e2, t2) {
585
+ async function se(e2, t2) {
585
586
  const s2 = await function(e3) {
586
587
  return new Promise((t3, s3) => {
587
588
  var _a, _b, _c, _d;
@@ -606,30 +607,30 @@ async function te(e2, t2) {
606
607
  const r2 = e2.pageContext, p2 = r2.systemCode, d2 = r2.backendUrl, m2 = true === s2 ? (_a = r2.completeTaskParam) == null ? void 0 : _a.opinion : s2;
607
608
  let f2 = n(d2, r2.isTest) + "/dsc/workflow-commons/complete-tasks";
608
609
  if (f2 = o(f2, p2, d2, r2.isTest), !f2) return void l({ showClose: true, type: "warning", message: u().t("superPageRuntimeMessage.requestPathEmpty") });
609
- const g2 = Z(e2);
610
+ const g2 = ee(e2);
610
611
  g2.completeTaskParam = { operationResult: t2, taskId: r2.completeTaskParam ? r2.completeTaskParam.taskId : null, opinion: m2 || null };
611
612
  c.post(f2, g2).then((s3) => {
612
613
  let n2 = true;
613
- s3 && (n2 = ee(s3, false, r2, e2, t2)), true === n2 && l({ showClose: true, type: "success", message: u().t("superPageRuntimeMessage.successfulCompleteTask") }), i2(true);
614
+ s3 && (n2 = te(s3, false, r2, e2, t2)), true === n2 && l({ showClose: true, type: "success", message: u().t("superPageRuntimeMessage.successfulCompleteTask") }), i2(true);
614
615
  }).catch((e3) => {
615
616
  a2(e3);
616
617
  });
617
618
  } else i2(true);
618
619
  });
619
620
  }
620
- function se(e2, t2) {
621
+ function ne(e2, t2) {
621
622
  if (t2) {
622
- const s2 = e2.pageContext, o2 = e2.configureObj, i2 = s2.backendUrl, a2 = n(i2, s2.isTest) + "/dsc/workflow-commons/assigns", r2 = t2.id ? t2.id : t2.ID ? t2.ID : null, c2 = Z(e2);
623
- c2.assigneeId = r2, re(e2, c2, a2, "superPageRuntimeMessage.successfulAssign").then((e3) => {
623
+ const s2 = e2.pageContext, o2 = e2.configureObj, i2 = s2.backendUrl, a2 = n(i2, s2.isTest) + "/dsc/workflow-commons/assigns", r2 = t2.id ? t2.id : t2.ID ? t2.ID : null, c2 = ee(e2);
624
+ c2.assigneeId = r2, ce(e2, c2, a2, "superPageRuntimeMessage.successfulAssign").then((e3) => {
624
625
  P(s2, o2);
625
626
  });
626
627
  }
627
628
  }
628
- function ne(e2) {
629
- const t2 = e2.pageContext, s2 = t2.entity.data, n2 = t2.systemCode, o2 = t2.code, i2 = oe(t2), a2 = void 0 !== s2.ID && null !== s2.ID ? s2.ID : s2.id, r2 = { beanName: t2.beanName, id: a2, entity: s2, additionalParamMap: i2, tableName: t2.tableName, functionCode: o2 + ".xxx", isWorkflowEntity: true, listCodesMap: t2.listCodesMap, pageCode: t2.code, pageVersion: t2.version };
629
+ function oe(e2) {
630
+ const t2 = e2.pageContext, s2 = t2.entity.data, n2 = t2.systemCode, o2 = t2.code, i2 = ie(t2), a2 = void 0 !== s2.ID && null !== s2.ID ? s2.ID : s2.id, r2 = { beanName: t2.beanName, id: a2, entity: s2, additionalParamMap: i2, tableName: t2.tableName, functionCode: o2 + ".xxx", isWorkflowEntity: true, listCodesMap: t2.listCodesMap, pageCode: t2.code, pageVersion: t2.version };
630
631
  return r2.completeTaskParam = { taskId: t2.completeTaskParam.taskId, systemCode: n2 }, r2;
631
632
  }
632
- function oe(t2) {
633
+ function ie(t2) {
633
634
  if (t2.entity) {
634
635
  let s2 = e(t2.entity.page);
635
636
  s2 || (s2 = {});
@@ -637,12 +638,12 @@ function oe(t2) {
637
638
  return n2 && Object.assign(s2, n2), s2;
638
639
  }
639
640
  }
640
- function ie(e2, t2) {
641
+ function ae(e2, t2) {
641
642
  if (t2) {
642
643
  const s2 = e2.pageContext, i2 = e2.configureObj, a2 = s2.systemCode, r2 = s2.backendUrl;
643
644
  let p2 = n(r2, s2.isTest) + "/dsc/workflow-commons/add-signers";
644
645
  if (p2 = o(p2, a2, r2, s2.isTest), !p2) return void l({ showClose: true, type: "warning", message: u().t("superPageRuntimeMessage.requestPathEmpty") });
645
- const d2 = ne(e2);
646
+ const d2 = oe(e2);
646
647
  d2.completeTaskParam.transactors = t2.loginNames.join(",").split(",");
647
648
  const m2 = c.post(p2, d2);
648
649
  m2 && m2.then((e3) => {
@@ -650,7 +651,7 @@ function ie(e2, t2) {
650
651
  });
651
652
  }
652
653
  }
653
- async function ae(e2, t2) {
654
+ async function re(e2, t2) {
654
655
  if (t2) {
655
656
  const s2 = await function(e3) {
656
657
  return new Promise((t3, s3) => {
@@ -674,7 +675,7 @@ async function ae(e2, t2) {
674
675
  const i2 = e2.pageContext, a2 = e2.configureObj, r2 = i2.systemCode, p2 = i2.backendUrl;
675
676
  let d2 = n(p2, i2.isTest) + "/dsc/workflow-commons/copies";
676
677
  if (d2 = o(d2, r2, p2, i2.isTest), !d2) return void l({ showClose: true, type: "warning", message: u().t("superPageRuntimeMessage.requestPathEmpty") });
677
- const m2 = ne(e2);
678
+ const m2 = oe(e2);
678
679
  m2.completeTaskParam.transactors = t2.loginNames.join(",").split(","), true !== s2 && (m2.completeTaskParam.remark = s2);
679
680
  const f2 = c.post(d2, m2);
680
681
  f2 && f2.then((e3) => {
@@ -683,45 +684,45 @@ async function ae(e2, t2) {
683
684
  }
684
685
  }
685
686
  }
686
- function re(e2, t2, s2, n2) {
687
+ function ce(e2, t2, s2, n2) {
687
688
  return new Promise((i2, a2) => {
688
689
  const r2 = e2.pageContext, p2 = r2.systemCode, d2 = r2.backendUrl;
689
690
  if (!(s2 = o(s2, p2, d2, r2.isTest))) return void l({ showClose: true, type: "warning", message: u().t("superPageRuntimeMessage.requestPathEmpty") });
690
691
  const m2 = c.post(s2, t2);
691
692
  m2 && m2.then((t3) => {
692
693
  let s3 = true;
693
- t3 && (s3 = ee(t3, false, r2, e2, null)), true === s3 && l({ showClose: true, type: "success", message: u().t(n2) }), i2(true);
694
+ t3 && (s3 = te(t3, false, r2, e2, null)), true === s3 && l({ showClose: true, type: "success", message: u().t(n2) }), i2(true);
694
695
  }).catch((e3) => {
695
696
  a2(e3);
696
697
  });
697
698
  });
698
699
  }
699
- function ce(e2) {
700
+ function ue(e2) {
700
701
  const t2 = e2.pageContext, s2 = t2.systemCode, i2 = t2.backendUrl, a2 = t2.completeTaskParam;
701
702
  let r2 = n(i2, t2.isTest) + "/dsc/workflow-commons/returnable-task/" + a2.taskId;
702
703
  if (r2 = o(r2, s2, i2, t2.isTest), !r2) return void l({ showClose: true, type: "warning", message: u().t("superPageRuntimeMessage.requestPathEmpty") });
703
- const p2 = t2.code, d2 = oe(t2), m2 = { beanName: t2.beanName, additionalParamMap: d2, tableName: t2.tableName, functionCode: p2 + ".xxx" };
704
+ const p2 = t2.code, d2 = ie(t2), m2 = { beanName: t2.beanName, additionalParamMap: d2, tableName: t2.tableName, functionCode: p2 + ".xxx" };
704
705
  return c.post(r2, m2);
705
706
  }
706
- function ue(e2, t2) {
707
- const s2 = e2.pageContext, o2 = e2.configureObj, i2 = s2.backendUrl, a2 = n(i2, s2.isTest) + "/dsc/workflow-commons/returnTaskTo", r2 = Z(e2);
708
- t2.nodeName && (r2.returnToNodeName = t2.nodeName), t2.nodeId && (r2.returnToNodeId = t2.nodeId), re(e2, r2, a2, "superPageRuntimeMessage.successfulReturnTaskTo").then((e3) => {
707
+ function le(e2, t2) {
708
+ const s2 = e2.pageContext, o2 = e2.configureObj, i2 = s2.backendUrl, a2 = n(i2, s2.isTest) + "/dsc/workflow-commons/returnTaskTo", r2 = ee(e2);
709
+ t2.nodeName && (r2.returnToNodeName = t2.nodeName), t2.nodeId && (r2.returnToNodeId = t2.nodeId), ce(e2, r2, a2, "superPageRuntimeMessage.successfulReturnTaskTo").then((e3) => {
709
710
  P(s2, o2);
710
711
  });
711
712
  }
712
- function le(e2) {
713
+ function pe(e2) {
713
714
  const t2 = e2.pageContext, s2 = t2.systemCode, i2 = t2.backendUrl;
714
715
  let a2 = n(i2, t2.isTest) + "/dsc/workflow-commons/get-remove-signers";
715
- const r2 = Z(e2);
716
+ const r2 = ee(e2);
716
717
  if (a2 = o(a2, s2, i2, t2.isTest), a2) return c.post(a2, r2);
717
718
  l({ showClose: true, type: "warning", message: u().t("superPageRuntimeMessage.requestPathEmpty") });
718
719
  }
719
- function pe(e2, t2) {
720
+ function de(e2, t2) {
720
721
  if (t2) {
721
722
  const s2 = e2.pageContext, i2 = e2.configureObj, a2 = s2.systemCode, r2 = s2.backendUrl;
722
723
  let p2 = n(r2, s2.isTest) + "/dsc/workflow-commons/remove-signers";
723
724
  if (p2 = o(p2, a2, r2, s2.isTest), !p2) return void l({ showClose: true, type: "warning", message: u().t("superPageRuntimeMessage.requestPathEmpty") });
724
- const d2 = t2.map((e3) => e3.id ? e3.id : e3.ID ? e3.ID : null), m2 = Z(e2);
725
+ const d2 = t2.map((e3) => e3.id ? e3.id : e3.ID ? e3.ID : null), m2 = ee(e2);
725
726
  m2.ids = d2;
726
727
  const f2 = c.post(p2, m2);
727
728
  f2 && f2.then((e3) => {
@@ -729,7 +730,7 @@ function pe(e2, t2) {
729
730
  });
730
731
  }
731
732
  }
732
- function de(e2, t2, s2) {
733
+ function me(e2, t2, s2) {
733
734
  let n2 = false;
734
735
  return e2 && t2 && ("workflowSave" === e2 ? n2 = function(e3) {
735
736
  if ((void 0 === e3.processState || null === e3.processState || "UNSUBMIT" === e3.processState && "WAIT_TRANSACT" === e3.active) && (void 0 === e3.processState || true === e3.showButtonSave)) return true;
@@ -791,18 +792,18 @@ function de(e2, t2, s2) {
791
792
  return false;
792
793
  }(t2))), n2;
793
794
  }
794
- function me(e2, t2) {
795
- e2.entity.page || (e2.entity.page = {}), e2.entity.page._isRefresh = true, fe(e2, t2).then((t3) => {
795
+ function fe(e2, t2) {
796
+ e2.entity.page || (e2.entity.page = {}), e2.entity.page._isRefresh = true, ge(e2, t2).then((t3) => {
796
797
  e2.isRefresh = true;
797
798
  });
798
799
  }
799
- function fe(e2, s2, o2) {
800
+ function ge(e2, s2, o2) {
800
801
  const i2 = e2.pageType;
801
802
  if (i2 && "form" === i2) {
802
803
  e2.canClick = false;
803
804
  return t(e2) ? function(e3, t2, s3) {
804
805
  return new Promise((o3, i3) => {
805
- const a2 = e3.systemCode, u2 = e3.code, l2 = e3.version, p2 = oe(e3);
806
+ const a2 = e3.systemCode, u2 = e3.code, l2 = e3.version, p2 = ie(e3);
806
807
  let d2 = t2 || null, f2 = t2 ? [t2] : null;
807
808
  void 0 === s3 || s3 ? (d2 || (d2 = p2 && p2.id ? p2.id : null), f2 || (f2 = p2 ? p2.ids : null)) : (d2 = null, f2 = null, p2._id = p2.id, p2.id = null);
808
809
  const g2 = p2 ? p2.taskId : null, b2 = u2, C2 = { pageCode: u2, pageVersion: l2, tableName: e3.tableName, formNoRuleCode: e3.formNoRuleCode, isWorkflowEntity: true, systemCode: a2, functionCode: b2 + ".workflowGets", listCodesMap: e3.listCodesMap };
@@ -813,10 +814,10 @@ function fe(e2, s2, o2) {
813
814
  t3[s4] = s4;
814
815
  }), C2.listCodesMap = t3;
815
816
  }
816
- f2 && (C2.ids = ge(f2)), g2 ? C2.taskId = g2 : d2 ? C2.id = d2 : (p2 && p2._t_ && m(p2._t_ + "_id") && (C2.id = m(p2._t_ + "_id")), e3.notIdInitializationList && (C2.noIdAndTaskIdInitSetting = JSON.stringify(e3.notIdInitializationList))), p2 && (C2.additionalParamMap = p2), e3.beanName && (C2.beanName = e3.beanName), e3.refercePropMap && (C2.refercePropMap = e3.refercePropMap);
817
+ f2 && (C2.ids = be(f2)), g2 ? C2.taskId = g2 : d2 ? C2.id = d2 : (p2 && p2._t_ && m(p2._t_ + "_id") && (C2.id = m(p2._t_ + "_id")), e3.notIdInitializationList && (C2.noIdAndTaskIdInitSetting = JSON.stringify(e3.notIdInitializationList))), p2 && (C2.additionalParamMap = p2), e3.beanName && (C2.beanName = e3.beanName), e3.refercePropMap && (C2.refercePropMap = e3.refercePropMap);
817
818
  const T2 = n(e3.backendUrl, e3.isTest) + "/dsc/workflow-commons/gets", h2 = _();
818
819
  h2.restorePageLoadState(), y(null, e3, e3, "beforeFormLoadData"), c.post(T2, C2).then((t3) => {
819
- e3.definitionId = t3.definitionId, e3.entity.task = t3.taskParamMap, ee(t3, true, e3), e3.workflowRules = O(e3);
820
+ e3.definitionId = t3.definitionId, e3.entity.task = t3.taskParamMap, te(t3, true, e3), e3.workflowRules = O(e3);
820
821
  const s4 = e3.pageType;
821
822
  s4 && "form" === s4 && function(e4) {
822
823
  (function(e5) {
@@ -855,11 +856,11 @@ function fe(e2, s2, o2) {
855
856
  });
856
857
  }(e2, s2, o2) : function(e3, t2, s3) {
857
858
  return new Promise((o3, i3) => {
858
- const a2 = e3.systemCode, u2 = e3.code, l2 = e3.version, p2 = oe(e3);
859
+ const a2 = e3.systemCode, u2 = e3.code, l2 = e3.version, p2 = ie(e3);
859
860
  let d2 = t2 || null, f2 = t2 ? [t2] : null;
860
861
  void 0 === s3 || s3 ? (d2 || (d2 = p2 && p2.id ? p2.id : null), f2 || (f2 = p2 ? p2.ids : null)) : (d2 = null, f2 = null, p2._id = p2.id, p2.id = null);
861
862
  const g2 = p2 ? p2.taskId : null, b2 = u2, C2 = n(e3.backendUrl, e3.isTest), T2 = { pageCode: u2, pageVersion: l2, tableName: e3.tableName, formNoRuleCode: e3.formNoRuleCode, id: d2, systemCode: a2, functionCode: b2 + ".gets", listCodesMap: e3.listCodesMap };
862
- if (!T2.id && p2 && p2._t_ && m(p2._t_ + "_id") && (T2.id = m(p2._t_ + "_id")), f2 && (T2.ids = ge(f2)), e3.notIdInitializationList && (T2.noIdAndTaskIdInitSetting = JSON.stringify(e3.notIdInitializationList)), p2 && (T2.additionalParamMap = p2), e3.beanName && (T2.beanName = e3.beanName), g2 && (T2.taskId = g2), (!e3.listCodesMap || 0 === Object.keys(e3.listCodesMap).length) && e3.tableUuids) {
863
+ if (!T2.id && p2 && p2._t_ && m(p2._t_ + "_id") && (T2.id = m(p2._t_ + "_id")), f2 && (T2.ids = be(f2)), e3.notIdInitializationList && (T2.noIdAndTaskIdInitSetting = JSON.stringify(e3.notIdInitializationList)), p2 && (T2.additionalParamMap = p2), e3.beanName && (T2.beanName = e3.beanName), g2 && (T2.taskId = g2), (!e3.listCodesMap || 0 === Object.keys(e3.listCodesMap).length) && e3.tableUuids) {
863
864
  const t3 = {};
864
865
  e3.tableUuids.forEach((e4) => {
865
866
  const s4 = r(u2, l2, e4);
@@ -882,10 +883,10 @@ function fe(e2, s2, o2) {
882
883
  e3(true);
883
884
  });
884
885
  }
885
- function ge(e2) {
886
+ function be(e2) {
886
887
  return e2 && ("string" == typeof e2 ? e2 = e2.split(",") : "number" == typeof e2 && (e2 = [e2])), e2;
887
888
  }
888
- function be(e2) {
889
+ function Ce(e2) {
889
890
  const t2 = e2.props.setValueList;
890
891
  if (t2) {
891
892
  if (s(t2) && t2.length > 0) return JSON.stringify(t2);
@@ -893,41 +894,41 @@ function be(e2) {
893
894
  }
894
895
  return null;
895
896
  }
896
- function Ce(e2, t2) {
897
+ function Te(e2, t2) {
897
898
  const s2 = e2.entity ? e2.entity : {}, n2 = { data: s2.data, page: s2.page }, o2 = { pageCode: e2.code, queryCondition: JSON.stringify(n2), name: t2 }, i2 = window.$vueApp.config.globalProperties.baseAPI + "/component/chart-search-condition";
898
899
  return c.post(i2, o2);
899
900
  }
900
- function Te(e2) {
901
+ function ye(e2) {
901
902
  const t2 = e2.code, s2 = window.$vueApp.config.globalProperties.baseAPI + "/component/chart-search-condition/list/" + t2;
902
903
  return c.get(s2);
903
904
  }
904
- function ye(e2) {
905
+ function he(e2) {
905
906
  const t2 = window.$vueApp.config.globalProperties.baseAPI + "/component/chart-search-condition/" + e2;
906
907
  return c.delete(t2);
907
908
  }
908
909
  export {
909
910
  q as dealAfterOperate,
910
- ee as dealCompleteTaskParam,
911
- ye as deleteChartCondition,
912
- ie as doAddSigner,
913
- se as doAssign,
914
- ae as doCreateCopyTask,
915
- Q as doImportFinally,
916
- pe as doRemoveSigners,
917
- ue as doReturnTaskTo,
911
+ te as dealCompleteTaskParam,
912
+ he as deleteChartCondition,
913
+ ae as doAddSigner,
914
+ ne as doAssign,
915
+ re as doCreateCopyTask,
916
+ X as doImportFinally,
917
+ de as doRemoveSigners,
918
+ le as doReturnTaskTo,
918
919
  L as exportFormReport,
919
- oe as getAdditionalParamMap,
920
- fe as getFormData,
921
- le as getRemoveSigner,
920
+ ie as getAdditionalParamMap,
921
+ ge as getFormData,
922
+ pe as getRemoveSigner,
922
923
  $ as getSaveFormRequest,
923
924
  F as getSaveFormRequestWithRow,
924
- ce as getTaskInformitions,
925
- de as isVisibleWorkflowButton,
926
- X as judgeDataNumber,
927
- Te as listChartConditions,
928
- z as refreshFormOrListPage,
929
- me as refreshPage,
930
- Ce as saveChartConditionBase,
925
+ ue as getTaskInformitions,
926
+ me as isVisibleWorkflowButton,
927
+ Z as judgeDataNumber,
928
+ ye as listChartConditions,
929
+ K as refreshFormOrListPage,
930
+ fe as refreshPage,
931
+ Te as saveChartConditionBase,
931
932
  j as standardEvents,
932
933
  Y as updateValuesWhenCloseDialog
933
934
  };
@@ -80,8 +80,11 @@ export declare function queryOptions(component: Component, pageContext: PageCont
80
80
  * 根据查询条件远程查询
81
81
  * @param component
82
82
  * @param query 模糊查询内容
83
+ * @param skipProps 自动赋值映射字段跳过字段,因为当前组件set方法内已经被赋值了,
84
+ * 如果是筛选,之前选择的值可能不在筛选后的结果内,这里再给当前组件变量赋值一遍就会导致之前选择的值被覆盖消失
85
+ *
83
86
  */
84
- export declare function autoSetAfterSelect(component: Component, pageContext: PageContext, autoSets: any[], selItems: any[]): void;
87
+ export declare function autoSetAfterSelect(component: Component, pageContext: PageContext, autoSets: any[], selItems: any[], skipProps?: string[]): void;
85
88
  /**
86
89
  *
87
90
  * @param entity