@bytenew/bn-bus-ui 1.1.523 → 1.1.524

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.
Files changed (30) hide show
  1. package/dist/{assocTableSearch-DhdOPc0m.js → assocTableSearch-DeeAO0Vv.js} +1 -1
  2. package/dist/bn-bus-ui.es.js +1 -1
  3. package/dist/bn-bus-ui.umd.js +2 -2
  4. package/dist/{chooseIPaasData-CLZJ9MGK.js → chooseIPaasData-CVnZra0u.js} +1 -1
  5. package/dist/{defaultSet-BgxOhvku.js → defaultSet-DCNGDbSb.js} +1 -1
  6. package/dist/{formItemFooter-BF0KTPtF.js → formItemFooter-CY90PV9s.js} +1 -1
  7. package/dist/{funcExprDialog-HkofSN5U.js → funcExprDialog-BPRS83ho.js} +1 -1
  8. package/dist/{goodCardStyle-DVLvqU0j.js → goodCardStyle-jfIasZTz.js} +1 -1
  9. package/dist/{index-dV6TLf7v.js → index-7s58UGhG.js} +2 -2
  10. package/dist/{index-CLepGsvI.js → index-B4tDZcTQ.js} +1 -1
  11. package/dist/{index-DLlBuXeI.js → index-B9QyeG_l.js} +2 -2
  12. package/dist/{index-CtZ8rqJy.js → index-BUHnpzTe.js} +3 -3
  13. package/dist/{index-DMXRYQu1.js → index-BpbNN-Kl.js} +1 -1
  14. package/dist/{index-CfsueUGt.js → index-CLGsEV9y.js} +3 -3
  15. package/dist/{index-VjBsg6Vu.js → index-Caa3x163.js} +2 -2
  16. package/dist/{index-DoYuGfXp.js → index-D44Ruqxo.js} +1 -1
  17. package/dist/{index-BxpIw9uK.js → index-DJS0ejKy.js} +2 -2
  18. package/dist/{index-C8MKlmFx.js → index-DS8AM1so.js} +2 -2
  19. package/dist/{index-DCyYKcVN.js → index-DWxqLzSV.js} +2 -2
  20. package/dist/{index-D3DHDT8l.js → index-DxXq3f-u.js} +2 -2
  21. package/dist/{index-B6C83BiG.js → index-DyvF5nhp.js} +2 -2
  22. package/dist/{index-BURY5zVz.js → index-RWggxd3k.js} +3 -3
  23. package/dist/{index-ndEycf3M.js → index-hQoYTJed.js} +2 -2
  24. package/dist/{index-DoHEerlo.js → index-l5s9pVm8.js} +2 -2
  25. package/dist/{index-5Fm4EDtD.js → index-ydqahAok.js} +2 -2
  26. package/dist/{install-lnS5YUOU.js → install-Fsen55O9.js} +73 -48
  27. package/dist/install.css +1 -1
  28. package/dist/{setOption-Dknixw3j.js → setOption-BG3e8dg0.js} +1 -1
  29. package/dist/{setRelationOption-CG8JoJWS.js → setRelationOption-CAft_l9c.js} +1 -1
  30. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  import { cloneDeep as w } from "lodash";
2
- import { _, g as N, a as E } from "./install-lnS5YUOU.js";
2
+ import { _, g as N, a as E } from "./install-Fsen55O9.js";
3
3
  import { withDirectives as k, openBlock as u, createElementBlock as v, withModifiers as L, normalizeStyle as z, vShow as B, resolveComponent as d, resolveDirective as U, createBlock as C, withCtx as a, createVNode as r, createElementVNode as c, Fragment as D, renderList as P, createTextVNode as f, toDisplayString as b } from "vue";
4
4
  const A = {
5
5
  name: "WorksheetCopy",
@@ -1,5 +1,5 @@
1
1
  import { resolveComponent as u, openBlock as f, createElementBlock as s, createVNode as d, withCtx as h, createElementVNode as _, createCommentVNode as r } from "vue";
2
- import { _ as C } from "./install-lnS5YUOU.js";
2
+ import { _ as C } from "./install-Fsen55O9.js";
3
3
  import { cloneDeep as g } from "lodash";
4
4
  const x = {
5
5
  name: "defaultSet",
@@ -1,5 +1,5 @@
1
1
  import { resolveComponent as g, openBlock as n, createElementBlock as r, normalizeClass as y, withDirectives as m, createElementVNode as o, vShow as u, createTextVNode as c, toDisplayString as i, createBlock as w, withCtx as s, createCommentVNode as a, Fragment as B, renderList as C } from "vue";
2
- import { _ as v } from "./install-lnS5YUOU.js";
2
+ import { _ as v } from "./install-Fsen55O9.js";
3
3
  const F = {
4
4
  name: "formItemTop",
5
5
  props: {
@@ -1,5 +1,5 @@
1
1
  import { resolveComponent as i, openBlock as m, createBlock as c, withCtx as n, createCommentVNode as b, createElementVNode as r, createVNode as a, createTextVNode as u } from "vue";
2
- import { _ as I } from "./install-lnS5YUOU.js";
2
+ import { _ as I } from "./install-Fsen55O9.js";
3
3
  const _ = {
4
4
  name: "funcExprDialog",
5
5
  props: {
@@ -1,5 +1,5 @@
1
1
  import { resolveComponent as f, openBlock as r, createBlock as h, withCtx as c, createElementVNode as o, createTextVNode as u, createVNode as m, createElementBlock as a, Fragment as C, renderList as _, toDisplayString as g, createCommentVNode as v } from "vue";
2
- import { _ as x } from "./install-lnS5YUOU.js";
2
+ import { _ as x } from "./install-Fsen55O9.js";
3
3
  const S = {
4
4
  image: "https://banniu-work.oss-cn-zhangjiakou.aliyuncs.com/125_10030158_c216400ec482bbfc44c2ea13584508bd.png"
5
5
  };
@@ -1,6 +1,6 @@
1
- import { a as m, f as s } from "./formItemFooter-BF0KTPtF.js";
1
+ import { a as m, f as s } from "./formItemFooter-CY90PV9s.js";
2
2
  import { resolveComponent as n, openBlock as d, createElementBlock as f, createVNode as l, createElementVNode as p } from "vue";
3
- import { _ as h } from "./install-lnS5YUOU.js";
3
+ import { _ as h } from "./install-Fsen55O9.js";
4
4
  const _ = {
5
5
  name: "relationForm",
6
6
  components: { formItemFooter: s, formItemTop: m },
@@ -1,6 +1,6 @@
1
1
  import { isEmpty as u } from "lodash";
2
2
  import { resolveComponent as m, resolveDirective as f, withDirectives as h, openBlock as i, createElementBlock as n, createElementVNode as a, Fragment as g, renderList as _, normalizeClass as y, toDisplayString as F, createVNode as k } from "vue";
3
- import { _ as v } from "./install-lnS5YUOU.js";
3
+ import { _ as v } from "./install-Fsen55O9.js";
4
4
  const x = {
5
5
  name: "packageFilter",
6
6
  computed: {
@@ -1,6 +1,6 @@
1
- import { f as s, a as d } from "./formItemFooter-BF0KTPtF.js";
1
+ import { f as s, a as d } from "./formItemFooter-CY90PV9s.js";
2
2
  import { resolveComponent as o, openBlock as u, createElementBlock as i, createVNode as t, createElementVNode as f } from "vue";
3
- import { _ } from "./install-lnS5YUOU.js";
3
+ import { _ } from "./install-Fsen55O9.js";
4
4
  const p = {
5
5
  name: "dateForm",
6
6
  components: { formItemTop: d, formItemFooter: s },
@@ -1,8 +1,8 @@
1
1
  import { debounce as h } from "lodash";
2
- import { f, a as _ } from "./formItemFooter-BF0KTPtF.js";
3
- import { B as p } from "./index-DMXRYQu1.js";
2
+ import { f, a as _ } from "./formItemFooter-CY90PV9s.js";
3
+ import { B as p } from "./index-BpbNN-Kl.js";
4
4
  import { resolveComponent as l, openBlock as C, createElementBlock as F, createVNode as u, createElementVNode as s } from "vue";
5
- import { _ as B } from "./install-lnS5YUOU.js";
5
+ import { _ as B } from "./install-Fsen55O9.js";
6
6
  const b = {
7
7
  name: "addressForm",
8
8
  components: { BnAddressParse: p, formItemTop: _, formItemFooter: f },
@@ -1,6 +1,6 @@
1
1
  import { debounce as h } from "lodash";
2
2
  import { resolveComponent as n, openBlock as f, createElementBlock as w, createElementVNode as o, createVNode as l, withCtx as c, createTextVNode as r } from "vue";
3
- import { _ } from "./install-lnS5YUOU.js";
3
+ import { _ } from "./install-Fsen55O9.js";
4
4
  const g = {
5
5
  name: "BnAddressParse",
6
6
  props: {
@@ -1,8 +1,8 @@
1
1
  import { debounce as v } from "lodash";
2
- import { f, a as b } from "./formItemFooter-BF0KTPtF.js";
3
- import { B as w } from "./index-DMXRYQu1.js";
2
+ import { f, a as b } from "./formItemFooter-CY90PV9s.js";
3
+ import { B as w } from "./index-BpbNN-Kl.js";
4
4
  import { resolveComponent as t, openBlock as s, createElementBlock as B, createBlock as F, createCommentVNode as _, createVNode as a, createElementVNode as d } from "vue";
5
- import { _ as y } from "./install-lnS5YUOU.js";
5
+ import { _ as y } from "./install-Fsen55O9.js";
6
6
  const I = {
7
7
  name: "addressForm",
8
8
  components: { BnAddressParse: w, formItemTop: b, formItemFooter: f },
@@ -1,6 +1,6 @@
1
- import { a as f, f as _ } from "./formItemFooter-BF0KTPtF.js";
1
+ import { a as f, f as _ } from "./formItemFooter-CY90PV9s.js";
2
2
  import { resolveComponent as n, openBlock as o, createElementBlock as t, createVNode as a, createElementVNode as p, Fragment as h, renderList as v, createCommentVNode as F } from "vue";
3
- import { _ as g } from "./install-lnS5YUOU.js";
3
+ import { _ as g } from "./install-Fsen55O9.js";
4
4
  const V = {
5
5
  name: "radioForm",
6
6
  components: { formItemFooter: _, formItemTop: f },
@@ -1,4 +1,4 @@
1
- import { _ as g, b as w } from "./install-lnS5YUOU.js";
1
+ import { _ as g, b as w } from "./install-Fsen55O9.js";
2
2
  import { resolveComponent as p, openBlock as l, createElementBlock as o, createVNode as u, createElementVNode as i, withCtx as h, Fragment as b, renderList as _, createCommentVNode as I } from "vue";
3
3
  const v = {
4
4
  name: "paraExplainSet",
@@ -1,7 +1,7 @@
1
- import { f, a as h } from "./formItemFooter-BF0KTPtF.js";
1
+ import { f, a as h } from "./formItemFooter-CY90PV9s.js";
2
2
  import { debounce as p } from "lodash";
3
3
  import { resolveComponent as m, openBlock as _, createElementBlock as I, createVNode as u, createElementVNode as x } from "vue";
4
- import { _ as v } from "./install-lnS5YUOU.js";
4
+ import { _ as v } from "./install-Fsen55O9.js";
5
5
  const B = {
6
6
  name: "numberForm",
7
7
  components: { formItemTop: h, formItemFooter: f },
@@ -1,6 +1,6 @@
1
- import { a as d, f as s } from "./formItemFooter-BF0KTPtF.js";
1
+ import { a as d, f as s } from "./formItemFooter-CY90PV9s.js";
2
2
  import { resolveComponent as o, openBlock as u, createElementBlock as i, createVNode as n, createElementVNode as f } from "vue";
3
- import { _ } from "./install-lnS5YUOU.js";
3
+ import { _ } from "./install-Fsen55O9.js";
4
4
  const p = {
5
5
  name: "dateDualForm",
6
6
  props: {
@@ -1,8 +1,8 @@
1
1
  import { debounce as V } from "lodash";
2
- import { _ as U, p as z, i as P } from "./install-lnS5YUOU.js";
2
+ import { _ as U, p as z, i as P } from "./install-Fsen55O9.js";
3
3
  import { f as $ } from "./fileFormData-D_Q1vylE.js";
4
4
  import { resolveComponent as d, openBlock as i, createElementBlock as p, createElementVNode as r, createVNode as h, withCtx as u, createTextVNode as y, toDisplayString as I, withDirectives as x, vShow as Y, createCommentVNode as f, resolveDirective as M, createBlock as _, Fragment as S, renderList as T } from "vue";
5
- import { a as j, f as H } from "./formItemFooter-BF0KTPtF.js";
5
+ import { a as j, f as H } from "./formItemFooter-CY90PV9s.js";
6
6
  const R = {
7
7
  name: "childFormFile",
8
8
  props: {
@@ -1,7 +1,7 @@
1
1
  import { debounce as C } from "lodash";
2
- import { f as U, a as R } from "./formItemFooter-BF0KTPtF.js";
2
+ import { f as U, a as R } from "./formItemFooter-CY90PV9s.js";
3
3
  import { resolveComponent as u, openBlock as r, createElementBlock as F, createVNode as i, createElementVNode as D, createBlock as d, withCtx as N, createTextVNode as S, toDisplayString as T, createCommentVNode as O } from "vue";
4
- import { _ as j } from "./install-lnS5YUOU.js";
4
+ import { _ as j } from "./install-Fsen55O9.js";
5
5
  const z = {
6
6
  name: "stringForm",
7
7
  components: { formItemTop: R, formItemFooter: U },
@@ -1,5 +1,5 @@
1
- import { a as I, f as b } from "./formItemFooter-BF0KTPtF.js";
2
- import { _ as F, p as v } from "./install-lnS5YUOU.js";
1
+ import { a as I, f as b } from "./formItemFooter-CY90PV9s.js";
2
+ import { _ as F, p as v } from "./install-Fsen55O9.js";
3
3
  import { f as w } from "./fileFormData-D_Q1vylE.js";
4
4
  import { resolveComponent as o, openBlock as m, createElementBlock as y, createBlock as N, createCommentVNode as x, createElementVNode as a, createVNode as i, withCtx as V, createTextVNode as T, toDisplayString as r, withDirectives as B, vShow as C } from "vue";
5
5
  const D = {
@@ -1,11 +1,11 @@
1
1
  import { isEmpty as O, cloneDeep as T } from "lodash";
2
- import { _ as U, c as F } from "./install-lnS5YUOU.js";
2
+ import { _ as U, c as F } from "./install-Fsen55O9.js";
3
3
  import { resolveComponent as a, openBlock as i, createElementBlock as s, createVNode as d, mergeProps as w, createElementVNode as o, toDisplayString as f, withCtx as r, createTextVNode as m, createCommentVNode as c, normalizeClass as $, createBlock as V, defineAsyncComponent as D } from "vue";
4
4
  const B = {
5
5
  name: "childrenFormSetting",
6
6
  components: {
7
- columnConfigDialog: D(() => import("./install-lnS5YUOU.js").then((t) => t.ah)),
8
- assocTableSearch: D(() => import("./assocTableSearch-DhdOPc0m.js"))
7
+ columnConfigDialog: D(() => import("./install-Fsen55O9.js").then((t) => t.ah)),
8
+ assocTableSearch: D(() => import("./assocTableSearch-DeeAO0Vv.js"))
9
9
  // assocTable: defineAsyncComponent(() => import("./assocTable.vue")),
10
10
  },
11
11
  props: {
@@ -1,6 +1,6 @@
1
- import { a as i, f as s } from "./formItemFooter-BF0KTPtF.js";
1
+ import { a as i, f as s } from "./formItemFooter-CY90PV9s.js";
2
2
  import { resolveComponent as o, openBlock as d, createElementBlock as r, createVNode as t, createElementVNode as f } from "vue";
3
- import { _ as p } from "./install-lnS5YUOU.js";
3
+ import { _ as p } from "./install-Fsen55O9.js";
4
4
  const h = {
5
5
  name: "editSelectCol",
6
6
  components: { formItemFooter: s, formItemTop: i },
@@ -1,7 +1,7 @@
1
- import { f as d, a as s } from "./formItemFooter-BF0KTPtF.js";
1
+ import { f as d, a as s } from "./formItemFooter-CY90PV9s.js";
2
2
  import { debounce as f } from "lodash";
3
3
  import { resolveComponent as n, openBlock as i, createElementBlock as _, createVNode as t, createElementVNode as p } from "vue";
4
- import { _ as x } from "./install-lnS5YUOU.js";
4
+ import { _ as x } from "./install-Fsen55O9.js";
5
5
  const h = {
6
6
  name: "numberForm",
7
7
  components: { formItemTop: s, formItemFooter: d },
@@ -1,6 +1,6 @@
1
- import { a as f, f as h } from "./formItemFooter-BF0KTPtF.js";
1
+ import { a as f, f as h } from "./formItemFooter-CY90PV9s.js";
2
2
  import { resolveComponent as l, openBlock as o, createElementBlock as n, createVNode as m, createElementVNode as _, Fragment as p, renderList as k, createBlock as b, createCommentVNode as v } from "vue";
3
- import { _ as x } from "./install-lnS5YUOU.js";
3
+ import { _ as x } from "./install-Fsen55O9.js";
4
4
  const F = {
5
5
  name: "checkboxForm",
6
6
  components: {
@@ -9258,14 +9258,21 @@ const Dt = {
9258
9258
  getRelatedTaskRule() {
9259
9259
  if (this.enableAssociation === !1) return;
9260
9260
  let e = this.extendPost && this.extendPost.appId, t = this.extendPost && (this.extendPost.projectId || this.extendPost.tableId), l = `${e || ""}_${t || ""}`;
9261
- if (l === this.relatedTaskRuleTag || (this.relatedTaskRuleTag = l, this.relatedTaskRule = null, !this.postFunc || !e || !t)) return;
9261
+ if (l === this.relatedTaskRuleTag) return;
9262
+ if (this.relatedTaskRuleTag = l, this.relatedTaskRule = null, !this.postFunc || !e || !t) {
9263
+ e && !t && console.warn("[关联工单] 缺少工作表 id,已跳过规则查询,请检查 extendPost / tableInfo", {
9264
+ appId: e,
9265
+ extendPost: this.extendPost
9266
+ });
9267
+ return;
9268
+ }
9262
9269
  let n = ++this.relatedTaskRuleSeq;
9263
9270
  this.postFunc(`${Va}/${e}/${t}`, null, "get").then((i) => {
9264
9271
  if (n !== this.relatedTaskRuleSeq) return;
9265
9272
  let s = i && i.data ? i.data.status : null, o = s != null && s !== !1 && s !== 0 && s !== "0";
9266
9273
  this.relatedTaskRule = !i.code && o ? i.data : null, this.logRelatedRule(i);
9267
9274
  }).catch((i) => {
9268
- n === this.relatedTaskRuleSeq && (this.relatedTaskRule = null, console.warn("[BnSmartForm] 关联工单规则查询失败", i));
9275
+ n === this.relatedTaskRuleSeq && (this.relatedTaskRule = null, console.warn("[关联工单] 规则查询失败", i));
9269
9276
  });
9270
9277
  },
9271
9278
  /**
@@ -9274,10 +9281,10 @@ const Dt = {
9274
9281
  * */
9275
9282
  logRelatedRule(e) {
9276
9283
  if (e && e.code) {
9277
- console.warn("[BnSmartForm] 关联工单规则查询失败", e);
9284
+ console.warn("[关联工单] 规则查询失败", e);
9278
9285
  return;
9279
9286
  }
9280
- !this.relatedTaskRule || !(this.componentList || []).length || this.getRuleConfig() || console.warn("[BnSmartForm] 关联工单已开启,但未匹配到触发字段", {
9287
+ !this.relatedTaskRule || !(this.componentList || []).length || this.getRuleConfig() || console.warn("[关联工单] 已开启,但未匹配到触发字段", {
9281
9288
  condition: this.relatedTaskRule.rules && this.relatedTaskRule.rules.condition,
9282
9289
  columnKeys: (this.componentList || []).map((t) => t.key),
9283
9290
  columnCodes: (this.componentList || []).map((t) => t.columnCode)
@@ -9332,19 +9339,19 @@ const Dt = {
9332
9339
  }
9333
9340
  }
9334
9341
  }, De = {
9335
- stringForm: B(() => import("./index-D3DHDT8l.js")),
9336
- numberForm: B(() => import("./index-BxpIw9uK.js")),
9337
- selectForm: B(() => import("./index-ndEycf3M.js")),
9338
- radioForm: B(() => import("./index-VjBsg6Vu.js")),
9339
- checkboxForm: B(() => import("./index-5Fm4EDtD.js")),
9340
- dateForm: B(() => import("./index-DLlBuXeI.js")),
9341
- dateDualForm: B(() => import("./index-C8MKlmFx.js")),
9342
- fileForm: B(() => import("./index-B6C83BiG.js")),
9343
- childrenForm: B(() => import("./index-DCyYKcVN.js")),
9344
- addressForm: B(() => import("./index-CtZ8rqJy.js")),
9345
- receiveForm: B(() => import("./index-CfsueUGt.js")),
9346
- relationForm: B(() => import("./index-dV6TLf7v.js")),
9347
- scoreForm: B(() => import("./index-DoHEerlo.js"))
9342
+ stringForm: B(() => import("./index-DxXq3f-u.js")),
9343
+ numberForm: B(() => import("./index-DJS0ejKy.js")),
9344
+ selectForm: B(() => import("./index-hQoYTJed.js")),
9345
+ radioForm: B(() => import("./index-Caa3x163.js")),
9346
+ checkboxForm: B(() => import("./index-ydqahAok.js")),
9347
+ dateForm: B(() => import("./index-B9QyeG_l.js")),
9348
+ dateDualForm: B(() => import("./index-DS8AM1so.js")),
9349
+ fileForm: B(() => import("./index-DyvF5nhp.js")),
9350
+ childrenForm: B(() => import("./index-DWxqLzSV.js")),
9351
+ addressForm: B(() => import("./index-BUHnpzTe.js")),
9352
+ receiveForm: B(() => import("./index-CLGsEV9y.js")),
9353
+ relationForm: B(() => import("./index-7s58UGhG.js")),
9354
+ scoreForm: B(() => import("./index-l5s9pVm8.js"))
9348
9355
  }, Ea = {
9349
9356
  name: "BnSmartForm",
9350
9357
  // 关联工单:规则查询、触发字段匹配、重复工单数写回
@@ -9355,7 +9362,7 @@ const Dt = {
9355
9362
  chooseChildOrder: $n,
9356
9363
  chooseAssocTable: na,
9357
9364
  taskAssociation: Ue,
9358
- chooseIPaasData: B(() => import("./chooseIPaasData-CLZJ9MGK.js"))
9365
+ chooseIPaasData: B(() => import("./chooseIPaasData-CVnZra0u.js"))
9359
9366
  },
9360
9367
  props: {
9361
9368
  // 表单id 涉及编辑表单
@@ -10326,18 +10333,18 @@ const Ka = /* @__PURE__ */ _(Ea, [["render", Ha], ["__scopeId", "data-v-8b359c68
10326
10333
  * */
10327
10334
  componentView(e) {
10328
10335
  const t = {
10329
- stringForm: B(() => import("./index-D3DHDT8l.js")),
10330
- numberForm: B(() => import("./index-BxpIw9uK.js")),
10331
- selectForm: B(() => import("./index-ndEycf3M.js")),
10332
- radioForm: B(() => import("./index-VjBsg6Vu.js")),
10333
- checkboxForm: B(() => import("./index-5Fm4EDtD.js")),
10334
- dateForm: B(() => import("./index-DLlBuXeI.js")),
10335
- dateDualForm: B(() => import("./index-C8MKlmFx.js")),
10336
- fileForm: B(() => import("./index-B6C83BiG.js")),
10337
- childrenForm: B(() => import("./index-DCyYKcVN.js")),
10338
- addressForm: B(() => import("./index-CtZ8rqJy.js")),
10339
- receiveForm: B(() => import("./index-CfsueUGt.js")),
10340
- relationForm: B(() => import("./index-dV6TLf7v.js"))
10336
+ stringForm: B(() => import("./index-DxXq3f-u.js")),
10337
+ numberForm: B(() => import("./index-DJS0ejKy.js")),
10338
+ selectForm: B(() => import("./index-hQoYTJed.js")),
10339
+ radioForm: B(() => import("./index-Caa3x163.js")),
10340
+ checkboxForm: B(() => import("./index-ydqahAok.js")),
10341
+ dateForm: B(() => import("./index-B9QyeG_l.js")),
10342
+ dateDualForm: B(() => import("./index-DS8AM1so.js")),
10343
+ fileForm: B(() => import("./index-DyvF5nhp.js")),
10344
+ childrenForm: B(() => import("./index-DWxqLzSV.js")),
10345
+ addressForm: B(() => import("./index-BUHnpzTe.js")),
10346
+ receiveForm: B(() => import("./index-CLGsEV9y.js")),
10347
+ relationForm: B(() => import("./index-7s58UGhG.js"))
10341
10348
  // showValForm: defineAsyncComponent(() => import('./showValForm/index.vue')),
10342
10349
  };
10343
10350
  let l = me[e.behaviorType] || null;
@@ -11235,14 +11242,14 @@ const Fr = /* @__PURE__ */ _(hr, [["render", Ar], ["__scopeId", "data-v-c82a5490
11235
11242
  isChildren: Boolean
11236
11243
  },
11237
11244
  components: {
11238
- paraExplainSet: B(() => import("./index-DoYuGfXp.js")),
11239
- defaultSet: B(() => import("./defaultSet-BgxOhvku.js")),
11240
- funcExprDialog: B(() => import("./funcExprDialog-HkofSN5U.js")),
11241
- setOption: B(() => import("./setOption-Dknixw3j.js")),
11242
- setRelationOption: B(() => import("./setRelationOption-CG8JoJWS.js")),
11243
- childrenFormSetting: B(() => import("./index-BURY5zVz.js")),
11244
- packageFilter: B(() => import("./index-CLepGsvI.js")),
11245
- goodCardStyle: B(() => import("./goodCardStyle-DVLvqU0j.js"))
11245
+ paraExplainSet: B(() => import("./index-D44Ruqxo.js")),
11246
+ defaultSet: B(() => import("./defaultSet-DCNGDbSb.js")),
11247
+ funcExprDialog: B(() => import("./funcExprDialog-BPRS83ho.js")),
11248
+ setOption: B(() => import("./setOption-BG3e8dg0.js")),
11249
+ setRelationOption: B(() => import("./setRelationOption-CAft_l9c.js")),
11250
+ childrenFormSetting: B(() => import("./index-RWggxd3k.js")),
11251
+ packageFilter: B(() => import("./index-B4tDZcTQ.js")),
11252
+ goodCardStyle: B(() => import("./goodCardStyle-jfIasZTz.js"))
11246
11253
  },
11247
11254
  data() {
11248
11255
  return {
@@ -15937,11 +15944,14 @@ const Ph = /* @__PURE__ */ _(Th, [["render", Dh], ["__scopeId", "data-v-8f37b9d4
15937
15944
  return this.watchComponents || this.components;
15938
15945
  },
15939
15946
  // 关联工单规则读取入参
15947
+ // 宿主传的表信息里工作表 id 有 tableId / projectId 两种命名,都兼容;
15948
+ // 宿主只传了 tableCode 时,用表定义接口返回的 appId / tableId 兜底
15940
15949
  extendPost() {
15941
- let e = this.tableInfo || {};
15950
+ let e = this.tableInfo || {}, t = this.tableDefinitionInfo || {}, l = e.tableId || e.projectId || e.id || t.tableId;
15942
15951
  return {
15943
- appId: e.appId,
15944
- projectId: e.tableId,
15952
+ appId: e.appId || t.appId,
15953
+ projectId: l,
15954
+ tableId: l,
15945
15955
  tableCode: e.tableCode
15946
15956
  };
15947
15957
  },
@@ -15969,7 +15979,9 @@ const Ph = /* @__PURE__ */ _(Th, [["render", Dh], ["__scopeId", "data-v-8f37b9d4
15969
15979
  // 当没有传入组件列表时通过接口获取组件列表
15970
15980
  components: [],
15971
15981
  // 根据成员过滤操作日志
15972
- filterUsers: []
15982
+ filterUsers: [],
15983
+ // 表定义接口返回的 appId / tableId,宿主未传表信息时给关联工单兜底
15984
+ tableDefinitionInfo: {}
15973
15985
  };
15974
15986
  },
15975
15987
  mounted() {
@@ -16030,7 +16042,7 @@ const Ph = /* @__PURE__ */ _(Th, [["render", Dh], ["__scopeId", "data-v-8f37b9d4
16030
16042
  * */
16031
16043
  async getTableInfo() {
16032
16044
  let e = await this.postFunc(`/biztable/definition/table?tableCode=${this.tableInfo.tableCode}&columns=1`, null, "get");
16033
- e.code || (this.components = Tt(e.data.columns, e.data.appId, e.data.tableId));
16045
+ e.code || (this.tableDefinitionInfo = { appId: e.data.appId, tableId: e.data.tableId }, this.components = Tt(e.data.columns, e.data.appId, e.data.tableId));
16034
16046
  },
16035
16047
  /**
16036
16048
  * 查询工单详情
@@ -16276,7 +16288,7 @@ function Xh(e, t, l, n, i, s) {
16276
16288
  ])
16277
16289
  ], 2)) : C("", !0);
16278
16290
  }
16279
- const Lt = /* @__PURE__ */ _(_h, [["render", Xh], ["__scopeId", "data-v-8dd0d97f"]]), Jh = "/v2/project/task/queryByTaskId", Gh = "/v2/project/column/allColumn2/{tableId}/{appId}?filterColumnIds=99999998,99999999&addBehavior=19", st = "简易工单系统查询小程序工作表详情失败,暂不支持", Le = {
16291
+ const Lt = /* @__PURE__ */ _(_h, [["render", Xh], ["__scopeId", "data-v-7dae3fb2"]]), Jh = "/v2/project/task/queryByTaskId", Gh = "/v2/project/column/allColumn2/{tableId}/{appId}?filterColumnIds=99999998,99999999&addBehavior=19", st = "简易工单系统查询小程序工作表详情失败,暂不支持", Le = {
16280
16292
  0: "工单ID",
16281
16293
  1: "客户",
16282
16294
  2: "处理人",
@@ -16538,6 +16550,19 @@ const ip = {
16538
16550
  hasAssociation() {
16539
16551
  return !!(this.assocaiation && this.assocaiation.searchValue);
16540
16552
  },
16553
+ /**
16554
+ * 当前详情是否由关联工单打开(关联列表里下钻)
16555
+ * 订单号/运单号模式靠 searchValue 判断;自定义条件模式没有 searchValue,要看条件
16556
+ * 只用于阻断内部详情再查关联工单,不影响侧栏展示
16557
+ */
16558
+ isAssociationDetail() {
16559
+ let e = this.assocaiation || {}, t = e.searchValue;
16560
+ if (t != null && t !== "") return !0;
16561
+ let l = this.conditionsBos && this.conditionsBos.length ? this.conditionsBos : e.conditionsBos;
16562
+ if (l && l.length) return !0;
16563
+ let n = e.associationTaskFilterConditions;
16564
+ return n && n.length ? !0 : this.relationTableId !== void 0 && this.relationTableId !== null && this.relationTableId !== "";
16565
+ },
16541
16566
  // 工单状态映射
16542
16567
  statusMap() {
16543
16568
  return this.statusList.reduce((e, t) => (e[t.id] = t.title, e), {});
@@ -16821,7 +16846,7 @@ function vp(e, t, l, n, i, s) {
16821
16846
  "watch-components": i.legacyComponents,
16822
16847
  "operate-list": l.operateList,
16823
16848
  "no-power": ["copy", "edit"],
16824
- "enable-association": !s.hasAssociation,
16849
+ "enable-association": !s.isAssociationDetail,
16825
16850
  onOrderOperate: s.onOrderOperate,
16826
16851
  onClose: s.close
16827
16852
  }, {
@@ -16842,7 +16867,7 @@ function vp(e, t, l, n, i, s) {
16842
16867
  "table-info": s.detailTableInfo,
16843
16868
  "operate-list": l.operateList,
16844
16869
  "no-power": ["copy", "edit"],
16845
- "enable-association": !s.hasAssociation,
16870
+ "enable-association": !s.isAssociationDetail,
16846
16871
  onOrderOperate: s.onOrderOperate,
16847
16872
  onClose: s.close
16848
16873
  }, {
@@ -16855,7 +16880,7 @@ function vp(e, t, l, n, i, s) {
16855
16880
  ], 2)
16856
16881
  ])) : C("", !0);
16857
16882
  }
16858
- const Ft = /* @__PURE__ */ _(ip, [["render", vp], ["__scopeId", "data-v-2660ca75"]]), Cp = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
16883
+ const Ft = /* @__PURE__ */ _(ip, [["render", vp], ["__scopeId", "data-v-c0d54d8c"]]), Cp = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
16859
16884
  __proto__: null,
16860
16885
  default: Ft
16861
16886
  }, Symbol.toStringTag, { value: "Module" })), oe = {
@@ -19001,7 +19026,7 @@ function lm(e, t, l, n, i, s) {
19001
19026
  }, null, 8, ["table-info", "post-func", "onTemplateConfig"])
19002
19027
  ]);
19003
19028
  }
19004
- const im = /* @__PURE__ */ _(Wf, [["render", lm], ["__scopeId", "data-v-7b6f3024"]]), sm = B(() => import("./index-D3DHDT8l.js")), nm = B(() => import("./index-BxpIw9uK.js")), om = B(() => import("./index-ndEycf3M.js")), am = B(() => import("./index-VjBsg6Vu.js")), rm = B(() => import("./index-5Fm4EDtD.js")), dm = B(() => import("./index-DLlBuXeI.js")), um = B(() => import("./index-C8MKlmFx.js")), cm = B(() => import("./index-B6C83BiG.js")), hm = B(() => import("./index-DCyYKcVN.js")), pm = B(() => import("./chooseIPaasData-CLZJ9MGK.js")), fm = B(() => import("./index-CtZ8rqJy.js")), mm = B(() => import("./index-CfsueUGt.js")), gm = B(() => import("./index-dV6TLf7v.js")), ym = B(() => Promise.resolve().then(() => ka)), bm = {
19029
+ const im = /* @__PURE__ */ _(Wf, [["render", lm], ["__scopeId", "data-v-7b6f3024"]]), sm = B(() => import("./index-DxXq3f-u.js")), nm = B(() => import("./index-DJS0ejKy.js")), om = B(() => import("./index-hQoYTJed.js")), am = B(() => import("./index-Caa3x163.js")), rm = B(() => import("./index-ydqahAok.js")), dm = B(() => import("./index-B9QyeG_l.js")), um = B(() => import("./index-DS8AM1so.js")), cm = B(() => import("./index-DyvF5nhp.js")), hm = B(() => import("./index-DWxqLzSV.js")), pm = B(() => import("./chooseIPaasData-CVnZra0u.js")), fm = B(() => import("./index-BUHnpzTe.js")), mm = B(() => import("./index-CLGsEV9y.js")), gm = B(() => import("./index-7s58UGhG.js")), ym = B(() => Promise.resolve().then(() => ka)), bm = {
19005
19030
  install: (e) => {
19006
19031
  e.component("BnAddress", qt), e.component("BnMenus", pl), e.component("BnSelect", Il), e.component("BnVirtPopover", xl), e.component("BnAdvancedFilter", di), e.component("BnFilterView", gi), e.component("BnDatePicker", vi), e.component("BnCheck", wi), e.component("BnOrderCard", ls), e.component("BnDrop", Is), e.component("BnFileView", Js), e.component("BnInpNum", Ws), e.component("BnRadio", $s), e.component("BnRelation", ln), e.component("BnCondition", yn), e.component("BnSmartForm", Ka), e.component("BnBatchForm", Pt), e.component("BnBatchFormDialog", cr), e.component("BnStringForm", sm), e.component("BnNumberForm", nm), e.component("BnSelectForm", om), e.component("BnRadioForm", am), e.component("BnCheckboxForm", rm), e.component("BnDateForm", dm), e.component("BnDateDualForm", um), e.component("BnFileForm", cm), e.component("BnChildrenForm", hm), e.component("BnChooseIPaasData", pm), e.component("BnAddressForm", fm), e.component("BnReceiveForm", mm), e.component("BnRelationForm", gm), e.component("BnTaskAssociation", ym), e.component("BnFunExpr", Fr), e.component("BnColumnConfig", Dd), e.component("BnColumnConfigDialog", _t), e.component("BnFilterOption", Md), e.component("BnImportOrder", Vt), e.component("BnImportTemplate", ec), e.component("BnExportOrder", Dc), e.component("BnOrderShare", Zc), e.component("BnOrderDetail", Lt), e.component("BnTaskDetailsWrap", Ft), e.component("BnEmptyTip", Sp), e.component("BnWebLog", Vf), e.component("BnCascader", jp), e.component("BnCascaderPanel", af), e.component("BnWorkSettingDrop", im);
19007
19032
  }