@bytenew/bn-bus-ui 1.1.448 → 1.1.449

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 (45) hide show
  1. package/README.md +637 -637
  2. package/common.scss +841 -841
  3. package/dist/{assocTableSearch-R4jGrKL1.js → assocTableSearch-DBbkr10_.js} +8 -8
  4. package/dist/assocTableSearch.css +1 -1
  5. package/dist/bn-bus-ui.es.js +47 -46
  6. package/dist/bn-bus-ui.umd.js +35 -35
  7. package/dist/{chooseIPaasData-3uSUdwpN.js → chooseIPaasData-BuGaSYp1.js} +28 -28
  8. package/dist/chooseIPaasData.css +1 -1
  9. package/dist/{defaultSet-CRm7BjzD.js → defaultSet-BpYDui19.js} +3 -3
  10. package/dist/defaultSet.css +1 -1
  11. package/dist/{formItemFooter-CadDCX3m.js → formItemFooter-DBR0jzAP.js} +3 -3
  12. package/dist/formItemFooter.css +1 -1
  13. package/dist/{funcExprDialog-x6BMZ3ha.js → funcExprDialog-Dl3UlQF_.js} +9 -9
  14. package/dist/funcExprDialog.css +1 -1
  15. package/dist/{index-2gcrnFyz.js → index-AXOGI02U.js} +2 -2
  16. package/dist/{index-BrNSW3Vf.js → index-BG5TH7SQ.js} +2 -2
  17. package/dist/{index-D-V_7DWx.js → index-BWQN70QT.js} +3 -3
  18. package/dist/{index-BBV33gwC.js → index-Bd6epH0A.js} +2 -2
  19. package/dist/{index-CZ-YdMMe.js → index-Btdz2NvF.js} +1 -1
  20. package/dist/{index-5yqBDx2C.js → index-C3KaDlSi.js} +2 -2
  21. package/dist/{index-BAxJRYCM.js → index-Ce2_gEPC.js} +2 -2
  22. package/dist/{index-D1c9Ak3O.js → index-CoBCg4ES.js} +3 -3
  23. package/dist/{index-BazgKISK.js → index-DE-FAeM9.js} +4 -4
  24. package/dist/{index-zNbeZQow.js → index-DTrT4DcI.js} +2 -2
  25. package/dist/{index-CZ9gOfMf.js → index-Df_AHhnb.js} +3 -3
  26. package/dist/{index-CxKdNz5S.js → index-DhImufPa.js} +2 -2
  27. package/dist/{index-CGXHv-Lz.js → index-Dyu0UA8D.js} +9 -9
  28. package/dist/{index-AlDe3u8p.js → index-IFfT5f5U.js} +3 -3
  29. package/dist/{index-D1QdVXeL.js → index-XvkbwbuP.js} +2 -2
  30. package/dist/{index-BLo8lK40.js → index-dJpbjg9z.js} +2 -2
  31. package/dist/{index-Bl4l91tV.js → index-lyOnIQRb.js} +98 -98
  32. package/dist/index.css +1 -1
  33. package/dist/index2.css +1 -1
  34. package/dist/index3.css +1 -1
  35. package/dist/index4.css +1 -1
  36. package/dist/index5.css +1 -1
  37. package/dist/index6.css +1 -1
  38. package/dist/index7.css +1 -1
  39. package/dist/{install-BW2cKmJ0.js → install-BqfK2w7W.js} +4594 -4272
  40. package/dist/install.css +1 -1
  41. package/dist/{setOption-Dddq1iu5.js → setOption-Ci1yp4Rl.js} +2 -2
  42. package/dist/setOption.css +1 -1
  43. package/dist/{setRelationOption-CxOE7JrF.js → setRelationOption-Dp2HKLZi.js} +204 -204
  44. package/dist/setRelationOption.css +1 -1
  45. package/package.json +51 -51
@@ -1,8 +1,8 @@
1
1
  import { debounce as V } from "lodash";
2
- import { _ as U, a3 as z, a0 as P } from "./install-BW2cKmJ0.js";
2
+ import { _ as U, p as z, i as P } from "./install-BqfK2w7W.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-CadDCX3m.js";
5
+ import { a as j, f as H } from "./formItemFooter-DBR0jzAP.js";
6
6
  const R = {
7
7
  name: "childFormFile",
8
8
  props: {
@@ -37,20 +37,20 @@ const R = {
37
37
  /**
38
38
  * 上传成功
39
39
  * */
40
- fileSuccess(a) {
41
- if (this.column.error = "", this.uploadProgress = 0, a.code)
40
+ fileSuccess(l) {
41
+ if (this.column.error = "", this.uploadProgress = 0, l.code)
42
42
  this.$message({
43
- message: a.msg,
43
+ message: l.msg,
44
44
  type: "warning"
45
45
  });
46
46
  else {
47
47
  const e = {
48
- title: a.data.fileName,
49
- id: a.data.id,
50
- code: a.data.id,
51
- size: a.data.fileSize,
52
- type: a.data.suffix,
53
- url: a.data.url
48
+ title: l.data.fileName,
49
+ id: l.data.id,
50
+ code: l.data.id,
51
+ size: l.data.fileSize,
52
+ type: l.data.suffix,
53
+ url: l.data.url
54
54
  };
55
55
  this.value.length < this.uploadFileNumber ? (this.value.push(e), this.$emit("onChange", this.column)) : this.$message({
56
56
  message: `上传文件个数不能超过${this.uploadFileNumber}个`,
@@ -61,35 +61,35 @@ const R = {
61
61
  /**
62
62
  * 附件上传前
63
63
  * */
64
- beforeUpload(a) {
64
+ beforeUpload(l) {
65
65
  if (this.value.length >= this.uploadFileNumber)
66
66
  return this.$message({
67
67
  message: `上传文件个数不能超过${this.uploadFileNumber}个`,
68
68
  type: "warning"
69
69
  }), !1;
70
70
  const e = 50, t = 1048576 * e;
71
- if (a.size > t)
71
+ if (l.size > t)
72
72
  return this.$message({
73
73
  message: `上传文件大小不能超出${e}MB`,
74
74
  type: "warning"
75
75
  }), !1;
76
- const m = a.name.split(".").pop().toLowerCase();
76
+ const m = l.name.split(".").pop().toLowerCase();
77
77
  return this.fileType.includes(m) ? (this.uploadFileCount++, !0) : (this.$message({
78
78
  message: "上传的文件格式不支持",
79
79
  type: "warning"
80
80
  }), !1);
81
81
  },
82
- handleUploadProgress(a) {
83
- this.uploadProgress = Math.round(a.percent);
82
+ handleUploadProgress(l) {
83
+ this.uploadProgress = Math.round(l.percent);
84
84
  },
85
85
  //粘贴图片到编辑器,事件处理方法,主要用于事件销毁
86
- pasteEvent(a) {
86
+ pasteEvent(l) {
87
87
  if (this.value.length >= this.uploadFileNumber)
88
88
  return this.$message({
89
89
  message: `上传文件个数不能超过${this.uploadFileNumber}个`,
90
90
  type: "warning"
91
91
  }), !1;
92
- this.column.error = "", this.pasteImgList.push(a), z(a, this.column.pathUrl || this.uploadAction).then((e) => {
92
+ this.column.error = "", this.pasteImgList.push(l), z(l, this.column.pathUrl || this.uploadAction).then((e) => {
93
93
  if (e.code)
94
94
  this.$message({
95
95
  message: e.msg,
@@ -120,21 +120,21 @@ const R = {
120
120
  );
121
121
  }
122
122
  }, J = { class: "childFormFile" }, q = { class: "" }, K = { class: "childFormFile-tip" }, W = { key: 0 };
123
- function X(a, e, t, m, c, l) {
124
- const b = d("el-upload"), v = d("el-input"), g = d("el-progress"), w = d("BnFileView");
123
+ function X(l, e, t, m, c, a) {
124
+ const v = d("el-upload"), b = d("el-input"), g = d("el-progress"), w = d("BnFileView");
125
125
  return i(), p("div", J, [
126
126
  r("div", q, [
127
- h(b, {
127
+ h(v, {
128
128
  class: "childFormFile-upload",
129
129
  ref: "uploadInput",
130
130
  drag: "",
131
131
  action: t.column.pathUrl || c.uploadAction,
132
132
  "show-file-list": !1,
133
- "before-upload": l.beforeUpload,
133
+ "before-upload": a.beforeUpload,
134
134
  multiple: "",
135
135
  data: c.uploadData,
136
- "on-progress": l.handleUploadProgress,
137
- "on-success": l.fileSuccess
136
+ "on-progress": a.handleUploadProgress,
137
+ "on-success": a.fileSuccess
138
138
  }, {
139
139
  default: u(() => [...e[1] || (e[1] = [
140
140
  r("div", { class: "childFormFile-btn" }, [
@@ -144,7 +144,7 @@ function X(a, e, t, m, c, l) {
144
144
  ])]),
145
145
  _: 1
146
146
  }, 8, ["action", "before-upload", "data", "on-progress", "on-success"]),
147
- h(v, {
147
+ h(b, {
148
148
  modelValue: c.pasteValue,
149
149
  "onUpdate:modelValue": e[0] || (e[0] = (F) => c.pasteValue = F),
150
150
  ref: "fileUploadInput",
@@ -169,7 +169,7 @@ function X(a, e, t, m, c, l) {
169
169
  ])) : f("", !0)
170
170
  ]);
171
171
  }
172
- const G = /* @__PURE__ */ U(R, [["render", X], ["__scopeId", "data-v-a1b3b6de"]]), Q = {
172
+ const G = /* @__PURE__ */ U(R, [["render", X], ["__scopeId", "data-v-b5b06973"]]), Q = {
173
173
  name: "searchInventory",
174
174
  props: {
175
175
  row: {},
@@ -186,8 +186,8 @@ const G = /* @__PURE__ */ U(R, [["render", X], ["__scopeId", "data-v-a1b3b6de"]]
186
186
  };
187
187
  },
188
188
  beforeCreate() {
189
- this.searchData = V(function(a) {
190
- this.loading || (this.headData = [], this.inventoryData = [], this.loading = !0, this.postFunc("/v2/elcStock/getStockInfoV2", a).then((e) => {
189
+ this.searchData = V(function(l) {
190
+ this.loading || (this.headData = [], this.inventoryData = [], this.loading = !0, this.postFunc("/v2/elcStock/getStockInfoV2", l).then((e) => {
191
191
  if (this.loading = !1, !e.code && e.data) {
192
192
  this.headData = e.data.arrayData[0], this.inventoryData = e.data.data;
193
193
  const t = this.calculateTotalStock(this.inventoryData);
@@ -200,11 +200,11 @@ const G = /* @__PURE__ */ U(R, [["render", X], ["__scopeId", "data-v-a1b3b6de"]]
200
200
  watch: {
201
201
  // 只监听用于查询的特定字段,避免被自己修改的总库存字段触发
202
202
  row: {
203
- handler(a) {
203
+ handler(l) {
204
204
  var m;
205
205
  const e = (m = this.column.extraInfo) == null ? void 0 : m.stockSearchColumnCode;
206
206
  if (!e) return;
207
- const t = a[e];
207
+ const t = l[e];
208
208
  if (this.stockSearch !== t) {
209
209
  this.stockSearch = t;
210
210
  let c = {
@@ -223,18 +223,18 @@ const G = /* @__PURE__ */ U(R, [["render", X], ["__scopeId", "data-v-a1b3b6de"]]
223
223
  * @param {Array} arr - 要遍历的数组,格式如:[{可发库存:10.0000}, {可发库存:10.00}]
224
224
  * @returns {Number} 总和
225
225
  */
226
- calculateTotalStock(a) {
227
- return !a || !Array.isArray(a) || a.length === 0 ? 0 : a.reduce((e, t) => {
226
+ calculateTotalStock(l) {
227
+ return !l || !Array.isArray(l) || l.length === 0 ? 0 : l.reduce((e, t) => {
228
228
  const m = parseFloat(t.可发库存 || 0);
229
229
  return e + (isNaN(m) ? 0 : m);
230
230
  }, 0);
231
231
  }
232
232
  }
233
233
  }, Z = { class: "inventory" };
234
- function ee(a, e, t, m, c, l) {
235
- const b = d("vxe-column"), v = d("vxe-table"), g = M("loading");
234
+ function ee(l, e, t, m, c, a) {
235
+ const v = d("vxe-column"), b = d("vxe-table"), g = M("loading");
236
236
  return x((i(), p("div", Z, [
237
- x((i(), _(v, {
237
+ x((i(), _(b, {
238
238
  ref: "assocTable",
239
239
  border: "",
240
240
  size: "small",
@@ -251,7 +251,7 @@ function ee(a, e, t, m, c, l) {
251
251
  r("span", null, "未查到库存数据", -1)
252
252
  ])]),
253
253
  default: u(() => [
254
- (i(!0), p(S, null, T(c.headData, (w, F) => (i(), _(b, {
254
+ (i(!0), p(S, null, T(c.headData, (w, F) => (i(), _(v, {
255
255
  title: w,
256
256
  field: w,
257
257
  "min-width": "100",
@@ -269,7 +269,7 @@ function ee(a, e, t, m, c, l) {
269
269
  [g, c.loading]
270
270
  ]);
271
271
  }
272
- const te = /* @__PURE__ */ U(Q, [["render", ee], ["__scopeId", "data-v-7c5817ba"]]), oe = {
272
+ const te = /* @__PURE__ */ U(Q, [["render", ee], ["__scopeId", "data-v-740d3d8f"]]), oe = {
273
273
  name: "editLabel",
274
274
  components: { childFormFile: G, searchInventory: te },
275
275
  props: {
@@ -290,21 +290,21 @@ const te = /* @__PURE__ */ U(Q, [["render", ee], ["__scopeId", "data-v-7c5817ba"
290
290
  /**
291
291
  * 根据权限判断是否限制组件
292
292
  * */
293
- isShow(a) {
293
+ isShow(l) {
294
294
  let e = !0;
295
- return (!this.taskId && a.extraInfo.isAddable != 1 || this.taskId && a.extraInfo.isEditable != 1) && (e = !1), e;
295
+ return (!this.taskId && l.extraInfo.isAddable != 1 || this.taskId && l.extraInfo.isEditable != 1) && (e = !1), e;
296
296
  },
297
297
  /**
298
298
  * 根据权限判断是否禁用组件
299
299
  * */
300
- isDisabled(a) {
300
+ isDisabled(l) {
301
301
  let e = !1;
302
- return (!this.taskId && a.extraInfo.valueAddable == 1 || this.taskId && a.extraInfo.valueEditable == 1) && (e = !0), e;
302
+ return (!this.taskId && l.extraInfo.valueAddable == 1 || this.taskId && l.extraInfo.valueEditable == 1) && (e = !0), e;
303
303
  },
304
304
  /**
305
305
  * 向表格内插入数据
306
306
  * */
307
- addDefault(a) {
307
+ addDefault(l) {
308
308
  if (this.sourceData.value.length >= 30)
309
309
  return this.$message.warning("最多支持30条"), !1;
310
310
  let e = {};
@@ -313,27 +313,27 @@ const te = /* @__PURE__ */ U(Q, [["render", ee], ["__scopeId", "data-v-7c5817ba"
313
313
  m.behaviorType == 1 && ((c = this.defaultLink) != null && c.setColumn[`${this.sourceData.columnCode}.${m.columnCode}`]) ? e[m.columnCode] = P(this.componentList, this.defaultLink.setColumn[`${this.sourceData.columnCode}.${m.columnCode}`]) : e[m.columnCode] = m.value;
314
314
  });
315
315
  let t = JSON.parse(JSON.stringify(e));
316
- a ? this.sourceData.value.splice(a, 0, t) : this.sourceData.value.push(t), this.onChange("addRow", { row: t }, null);
316
+ l ? this.sourceData.value.splice(l, 0, t) : this.sourceData.value.push(t), this.onChange("addRow", { row: t }, null);
317
317
  },
318
318
  /**
319
319
  * 删除数据
320
320
  * */
321
- delItem(a) {
322
- this.sourceData.value.splice(a, 1), this.onChange("delRow", { delIndx: a }, null);
321
+ delItem(l) {
322
+ this.sourceData.value.splice(l, 1), this.onChange("delRow", { delIndx: l }, null);
323
323
  },
324
324
  /**
325
325
  * 输入框Change事件
326
326
  * @param {String} type 是否是其他事件类型
327
327
  * @param {Object} params 扩展参数
328
328
  * */
329
- onChange: V(function(a, e, t) {
330
- this.sourceData.error = "", this.sourceData.warning = "", this.$emit("onChange", this.sourceData, { type: a, tableScope: e, childColumn: t });
329
+ onChange: V(function(l, e, t) {
330
+ this.sourceData.error = "", this.sourceData.warning = "", this.$emit("onChange", this.sourceData, { type: l, tableScope: e, childColumn: t });
331
331
  }, 500),
332
332
  /**
333
333
  * 输入框输入事件
334
334
  * @param {Object} params 扩展参数
335
335
  * */
336
- onInput(a, e, t) {
336
+ onInput(l, e, t) {
337
337
  this.$emit("input", this.sourceData, { tableScope: e, childColumn: t }), this.onChange("input", e, t);
338
338
  },
339
339
  /**
@@ -341,18 +341,18 @@ const te = /* @__PURE__ */ U(Q, [["render", ee], ["__scopeId", "data-v-7c5817ba"
341
341
  * @param {Object} params 表格组件行数据
342
342
  * @param {Object} column 子组件
343
343
  * */
344
- onFocus(a, e, t) {
344
+ onFocus(l, e, t) {
345
345
  this.$emit("focus", this.sourceData, { tableScope: e, childColumn: t });
346
346
  },
347
347
  /**
348
348
  * 输入框失去焦点事件
349
349
  * @param {Object} params 扩展参数
350
350
  * */
351
- onBlur(a, e, t) {
351
+ onBlur(l, e, t) {
352
352
  this.$emit("blur", this.sourceData, { tableScope: e, childColumn: t });
353
353
  }
354
354
  }
355
- }, ae = { class: "w-default-wrap" }, le = { class: "w-flex-center" }, ne = {
355
+ }, le = { class: "w-default-wrap" }, ae = { class: "w-flex-center" }, ne = {
356
356
  key: 0,
357
357
  class: "w-color-red w-margin-right4"
358
358
  }, ie = { class: "w-flex-left" }, se = {
@@ -376,10 +376,10 @@ const te = /* @__PURE__ */ U(Q, [["render", ee], ["__scopeId", "data-v-7c5817ba"
376
376
  }, me = {
377
377
  key: 0,
378
378
  class: "childFormBody-file-view"
379
- }, pe = { class: "childFormBody-operate" }, fe = { class: "w-flex-center" }, ge = ["onClick"], be = ["onClick"];
380
- function ve(a, e, t, m, c, l) {
381
- const b = d("vxe-column"), v = d("el-input"), g = d("BnInpNum"), w = d("BnSelect"), F = d("BnCascader"), k = d("el-date-picker"), D = d("child-form-file"), C = d("el-popover"), E = d("BnFileView"), A = d("searchInventory"), O = d("vxe-table");
382
- return i(), p("div", ae, [
379
+ }, pe = { class: "childFormBody-operate" }, fe = { class: "w-flex-center" }, ge = ["onClick"], ve = ["onClick"];
380
+ function be(l, e, t, m, c, a) {
381
+ const v = d("vxe-column"), b = d("el-input"), g = d("BnInpNum"), w = d("BnSelect"), F = d("BnCascader"), k = d("el-date-picker"), D = d("child-form-file"), C = d("el-popover"), E = d("BnFileView"), A = d("searchInventory"), O = d("vxe-table");
382
+ return i(), p("div", le, [
383
383
  h(O, {
384
384
  border: "",
385
385
  size: "small",
@@ -392,17 +392,17 @@ function ve(a, e, t, m, c, l) {
392
392
  t.disabled ? f("", !0) : (i(), p("span", {
393
393
  key: 0,
394
394
  class: "w-color-blue w-cursor-pointer",
395
- onClick: e[0] || (e[0] = (o) => l.addDefault(0))
395
+ onClick: e[0] || (e[0] = (o) => a.addDefault(0))
396
396
  }, "点击添加"))
397
397
  ])
398
398
  ]),
399
399
  default: u(() => [
400
- h(b, {
400
+ h(v, {
401
401
  type: "seq",
402
402
  width: "50"
403
403
  }),
404
404
  (i(!0), p(S, null, T(t.sourceData.moduleDefinition, (o, B) => (i(), p(S, { key: B }, [
405
- l.isShow(o) ? (i(), _(b, {
405
+ a.isShow(o) ? (i(), _(v, {
406
406
  key: 0,
407
407
  title: o.name,
408
408
  params: o.extraInfo || {},
@@ -410,7 +410,7 @@ function ve(a, e, t, m, c, l) {
410
410
  "show-header-overflow": "title"
411
411
  }, {
412
412
  header: u((n) => [
413
- r("div", le, [
413
+ r("div", ae, [
414
414
  n.column.params.valueEmptyCheck == 1 ? (i(), p("span", ne, "*")) : f("", !0),
415
415
  r("span", null, I(n.column.title), 1)
416
416
  ])
@@ -420,15 +420,15 @@ function ve(a, e, t, m, c, l) {
420
420
  return [
421
421
  r("div", ie, [
422
422
  o.behaviorType == 1 ? (i(), p("div", se, [
423
- h(v, {
423
+ h(b, {
424
424
  type: "textarea",
425
425
  resize: "none",
426
426
  rows: 1,
427
427
  placeholder: "请输入",
428
- disabled: t.disabled || l.isDisabled(o),
429
- onInput: (s) => l.onInput(s, n, o),
430
- onFocus: (s) => l.onFocus(s, n, o),
431
- onBlur: (s) => l.onBlur(s, n, o),
428
+ disabled: t.disabled || a.isDisabled(o),
429
+ onInput: (s) => a.onInput(s, n, o),
430
+ onFocus: (s) => a.onFocus(s, n, o),
431
+ onBlur: (s) => a.onBlur(s, n, o),
432
432
  maxlength: 2e5,
433
433
  modelValue: n.row[o.columnCode],
434
434
  "onUpdate:modelValue": (s) => n.row[o.columnCode] = s,
@@ -437,10 +437,10 @@ function ve(a, e, t, m, c, l) {
437
437
  ])) : f("", !0),
438
438
  o.behaviorType == 2 ? (i(), p("div", re, [
439
439
  h(g, {
440
- onInput: (s) => l.onInput(s, n, o),
441
- disabled: t.disabled || l.isDisabled(o),
442
- onFocus: (s) => l.onFocus(s, n, o),
443
- onBlur: (s) => l.onBlur(s, n, o),
440
+ onInput: (s) => a.onInput(s, n, o),
441
+ disabled: t.disabled || a.isDisabled(o),
442
+ onFocus: (s) => a.onFocus(s, n, o),
443
+ onBlur: (s) => a.onBlur(s, n, o),
444
444
  precision: (L = o.extraInfo) == null ? void 0 : L.valueType,
445
445
  modelValue: n.row[o.columnCode],
446
446
  "onUpdate:modelValue": (s) => n.row[o.columnCode] = s,
@@ -456,16 +456,16 @@ function ve(a, e, t, m, c, l) {
456
456
  multiple: o.behaviorType == 5,
457
457
  optionProps: { value: "code", label: "title" },
458
458
  options: o.moduleDefinition,
459
- disabled: t.disabled || l.isDisabled(o),
459
+ disabled: t.disabled || a.isDisabled(o),
460
460
  pathUrl: o.pathUrl,
461
461
  postData: o.postData,
462
462
  postFunc: t.postFunc,
463
- onChange: (s) => l.onChange("change", n, o)
463
+ onChange: (s) => a.onChange("change", n, o)
464
464
  }, null, 8, ["modelValue", "onUpdate:modelValue", "multiple", "options", "disabled", "pathUrl", "postData", "postFunc", "onChange"])
465
465
  ])) : f("", !0),
466
466
  [6, 20].includes(o.behaviorType) ? (i(), p("div", ue, [
467
467
  h(F, {
468
- onChange: (s) => l.onChange("change", n, o),
468
+ onChange: (s) => a.onChange("change", n, o),
469
469
  modelValue: n.row[o.columnCode],
470
470
  "onUpdate:modelValue": (s) => n.row[o.columnCode] = s,
471
471
  postFunc: t.postFunc,
@@ -477,14 +477,14 @@ function ve(a, e, t, m, c, l) {
477
477
  options: o.moduleDefinition.optionList,
478
478
  "hide-check-to-last": "",
479
479
  multiple: o.behaviorType == 20,
480
- disabled: t.disabled || l.isDisabled(o),
480
+ disabled: t.disabled || a.isDisabled(o),
481
481
  clearable: ""
482
482
  }, null, 8, ["onChange", "modelValue", "onUpdate:modelValue", "postFunc", "path-url", "post-data", "options", "multiple", "disabled"])
483
483
  ])) : f("", !0),
484
484
  o.behaviorType == 7 ? (i(), p("div", ce, [
485
485
  h(k, {
486
- onChange: (s) => l.onChange("change", n, o),
487
- disabled: t.disabled || l.isDisabled(o),
486
+ onChange: (s) => a.onChange("change", n, o),
487
+ disabled: t.disabled || a.isDisabled(o),
488
488
  modelValue: n.row[o.columnCode],
489
489
  "onUpdate:modelValue": (s) => n.row[o.columnCode] = s,
490
490
  type: "datetime",
@@ -506,7 +506,7 @@ function ve(a, e, t, m, c, l) {
506
506
  h(D, {
507
507
  column: o,
508
508
  value: n.row[o.columnCode],
509
- onChange: (s) => l.onChange("change", n, o)
509
+ onChange: (s) => a.onChange("change", n, o)
510
510
  }, null, 8, ["column", "value", "onChange"])
511
511
  ]),
512
512
  _: 2
@@ -517,7 +517,7 @@ function ve(a, e, t, m, c, l) {
517
517
  "is-mini": !0,
518
518
  isDel: !0,
519
519
  "no-warp": !0,
520
- onDelFile: (s) => l.onChange("change", n, o)
520
+ onDelFile: (s) => a.onChange("change", n, o)
521
521
  }, null, 8, ["file-list", "onDelFile"])
522
522
  ])) : f("", !0)
523
523
  ])) : f("", !0),
@@ -550,7 +550,7 @@ function ve(a, e, t, m, c, l) {
550
550
  _: 2
551
551
  }, 1032, ["title", "params"])) : f("", !0)
552
552
  ], 64))), 128)),
553
- t.disabled ? f("", !0) : (i(), _(b, {
553
+ t.disabled ? f("", !0) : (i(), _(v, {
554
554
  key: 0,
555
555
  fixed: "right",
556
556
  width: "52"
@@ -568,12 +568,12 @@ function ve(a, e, t, m, c, l) {
568
568
  default: u((o) => [
569
569
  r("span", {
570
570
  class: "bnUIcon bnUIcon-add w-color-blue w-cursor-pointer w-font-max w-margin-right5",
571
- onClick: (B) => l.addDefault(o.rowIndex + 1)
571
+ onClick: (B) => a.addDefault(o.rowIndex + 1)
572
572
  }, null, 8, ge),
573
573
  r("span", {
574
574
  class: "bnUIcon bnUIcon-delete w-color-red w-font-max w-cursor-pointer",
575
- onClick: (B) => l.delItem(o.rowIndex)
576
- }, null, 8, be)
575
+ onClick: (B) => a.delItem(o.rowIndex)
576
+ }, null, 8, ve)
577
577
  ]),
578
578
  _: 1
579
579
  }))
@@ -582,7 +582,7 @@ function ve(a, e, t, m, c, l) {
582
582
  }, 8, ["data"])
583
583
  ]);
584
584
  }
585
- const _e = /* @__PURE__ */ U(oe, [["render", ve], ["__scopeId", "data-v-30ec2afe"]]), we = {
585
+ const _e = /* @__PURE__ */ U(oe, [["render", be], ["__scopeId", "data-v-68830e0a"]]), we = {
586
586
  name: "childrenForm",
587
587
  components: { formItemFooter: H, formItemTop: j, childrenFormBody: _e },
588
588
  props: {
@@ -605,34 +605,34 @@ const _e = /* @__PURE__ */ U(oe, [["render", ve], ["__scopeId", "data-v-30ec2afe
605
605
  * Change事件
606
606
  * params:子表单需要增加更多参数,用来表示是自己那个子组件,发生的什么变化
607
607
  * */
608
- onChange: V(function(a, e) {
608
+ onChange: V(function(l, e) {
609
609
  this.$emit("onChange", this.column, e);
610
610
  }, 500),
611
611
  /**
612
612
  * 输入框输入事件
613
613
  * */
614
- onInput(a, e) {
614
+ onInput(l, e) {
615
615
  this.$emit("input", this.column, e);
616
616
  },
617
617
  /**
618
618
  * 输入框onFocus事件
619
619
  * */
620
- onFocus(a, e) {
620
+ onFocus(l, e) {
621
621
  this.$emit("focus", this.column, e);
622
622
  },
623
623
  /**
624
624
  * 输入框失去焦点事件
625
625
  * */
626
- onBlur(a, e) {
626
+ onBlur(l, e) {
627
627
  this.$emit("blur", this.column, e);
628
628
  }
629
629
  }
630
630
  }, ye = { class: "w-default-wrap childrenForm" }, Fe = { class: "childrenForm-behavior" }, Ce = { class: "w-flex-center w-margin-bottom6" };
631
- function Ie(a, e, t, m, c, l) {
631
+ function Ie(l, e, t, m, c, a) {
632
632
  var k, D;
633
- const b = d("formItemTop"), v = d("el-button"), g = d("el-popover"), w = d("childrenFormBody"), F = d("formItemFooter");
633
+ const v = d("formItemTop"), b = d("el-button"), g = d("el-popover"), w = d("childrenFormBody"), F = d("formItemFooter");
634
634
  return i(), p("div", ye, [
635
- h(b, { column: t.column }, null, 8, ["column"]),
635
+ h(v, { column: t.column }, null, 8, ["column"]),
636
636
  r("div", Fe, [
637
637
  r("div", Ce, [
638
638
  t.dataBack && t.dataBack.order == t.column.columnCode ? (i(), _(g, {
@@ -643,11 +643,11 @@ function Ie(a, e, t, m, c, l) {
643
643
  "show-arrow": !1
644
644
  }, {
645
645
  reference: u(() => [
646
- h(v, {
646
+ h(b, {
647
647
  link: "",
648
648
  type: "primary",
649
649
  style: { "padding-left": "0" },
650
- onClick: e[0] || (e[0] = (C) => a.$emit("operate", this.column, "chooseChildOrder"))
650
+ onClick: e[0] || (e[0] = (C) => l.$emit("operate", this.column, "chooseChildOrder"))
651
651
  }, {
652
652
  default: u(() => [...e[3] || (e[3] = [
653
653
  r("span", { class: "bnUIcon bnUIcon-split" }, null, -1),
@@ -672,11 +672,11 @@ function Ie(a, e, t, m, c, l) {
672
672
  "show-arrow": !1
673
673
  }, {
674
674
  reference: u(() => [
675
- h(v, {
675
+ h(b, {
676
676
  link: "",
677
677
  type: "primary",
678
678
  style: { "padding-left": "0" },
679
- onClick: e[1] || (e[1] = (C) => a.$emit("operate", this.column, "chooseAssocTable"))
679
+ onClick: e[1] || (e[1] = (C) => l.$emit("operate", this.column, "chooseAssocTable"))
680
680
  }, {
681
681
  default: u(() => [
682
682
  e[5] || (e[5] = r("span", { class: "bnUIcon bnUIcon-linkTable" }, null, -1)),
@@ -701,11 +701,11 @@ function Ie(a, e, t, m, c, l) {
701
701
  "show-arrow": !1
702
702
  }, {
703
703
  reference: u(() => [
704
- h(v, {
704
+ h(b, {
705
705
  link: "",
706
706
  type: "primary",
707
707
  style: { "padding-left": "0" },
708
- onClick: e[2] || (e[2] = (C) => a.$emit("operate", this.column, "chooseIPaasData"))
708
+ onClick: e[2] || (e[2] = (C) => l.$emit("operate", this.column, "chooseIPaasData"))
709
709
  }, {
710
710
  default: u(() => [
711
711
  e[7] || (e[7] = r("span", { class: "bnUIcon bnUIcon-api" }, null, -1)),
@@ -731,10 +731,10 @@ function Ie(a, e, t, m, c, l) {
731
731
  defaultLink: t.defaultLink,
732
732
  componentList: t.componentList,
733
733
  postFunc: t.postFunc,
734
- onInput: l.onInput,
735
- onOnChange: l.onChange,
736
- onFocus: l.onFocus,
737
- onBlur: l.onBlur
734
+ onInput: a.onInput,
735
+ onOnChange: a.onChange,
736
+ onFocus: a.onFocus,
737
+ onBlur: a.onBlur
738
738
  }, null, 8, ["sourceData", "disabled", "taskId", "defaultLink", "componentList", "postFunc", "onInput", "onOnChange", "onFocus", "onBlur"])
739
739
  ]),
740
740
  h(F, { column: t.column }, null, 8, ["column"])
package/dist/index.css CHANGED
@@ -1 +1 @@
1
- .radioForm-empty[data-v-7a529164]{width:330px;line-height:32px;text-align:center;font-size:12px;color:#999}.radioForm-item[data-v-7a529164]{display:inline-block;line-height:32px;height:32px;min-width:200px;margin-right:16px}.radioForm-item .radio-box-label[data-v-7a529164]{width:100%;box-sizing:border-box;height:32px}.radioForm .radioForm-4[data-v-7a529164]{width:calc(25% - 16px);min-width:auto}.radioForm-evaluate[data-v-7a529164]{min-width:150px}
1
+ .radioForm-empty[data-v-f95d5d49]{width:330px;line-height:32px;text-align:center;font-size:12px;color:#999}.radioForm-item[data-v-f95d5d49]{display:inline-block;line-height:32px;height:32px;min-width:200px;margin-right:16px}.radioForm-item .radio-box-label[data-v-f95d5d49]{width:100%;box-sizing:border-box;height:32px}.radioForm .radioForm-4[data-v-f95d5d49]{width:calc(25% - 16px);min-width:auto}.radioForm-evaluate[data-v-f95d5d49]{min-width:150px}
package/dist/index2.css CHANGED
@@ -1 +1 @@
1
- .checkboxForm-title[data-v-81241159]{line-height:24px!important;margin-bottom:8px;font-size:14px;color:#666}.checkboxForm-tips[data-v-81241159]{line-height:32px;font-size:12px}.checkboxForm-item[data-v-81241159]{display:inline-block;width:calc(33% - 16px);line-height:32px;height:32px;min-width:200px;margin-right:16px;vertical-align:middle}.checkboxForm-empty[data-v-81241159]{width:330px;line-height:32px;text-align:center;font-size:12px;color:#999}
1
+ .checkboxForm-title[data-v-300cef1d]{line-height:24px!important;margin-bottom:8px;font-size:14px;color:#666}.checkboxForm-tips[data-v-300cef1d]{line-height:32px;font-size:12px}.checkboxForm-item[data-v-300cef1d]{display:inline-block;width:calc(33% - 16px);line-height:32px;height:32px;min-width:200px;margin-right:16px;vertical-align:middle}.checkboxForm-empty[data-v-300cef1d]{width:330px;line-height:32px;text-align:center;font-size:12px;color:#999}
package/dist/index3.css CHANGED
@@ -1 +1 @@
1
- .fileForm-btn[data-v-ce213ba4]{width:257px;height:20px;padding:5px 16px;border:1px solid rgba(0,0,0,.15);box-sizing:content-box;border-radius:2px;color:#666}.fileForm[data-v-ce213ba4] .fileForm-upload .el-upload{display:inline-block}.fileForm[data-v-ce213ba4] .fileForm-upload .el-upload-dragger{border:none;width:auto;height:auto;border-radius:0;padding:0}.fileForm-list[data-v-ce213ba4]{position:relative}.fileForm[data-v-ce213ba4] .fileForm-input{width:145px;display:inline-block}.fileForm[data-v-ce213ba4] .fileForm-input .el-input__wrapper{border:1px dashed rgba(0,0,0,.15)}.fileForm-tip[data-v-ce213ba4]{margin-left:8px;display:inline-block;font-size:12px;line-height:32px;color:#00000040}.fileForm-progress[data-v-ce213ba4]{width:100%;max-width:444px;margin-top:8px}
1
+ .fileForm-btn[data-v-c1addc1f]{width:257px;height:20px;padding:5px 16px;border:1px solid rgba(0,0,0,.15);box-sizing:content-box;border-radius:2px;color:#666}.fileForm[data-v-c1addc1f] .fileForm-upload .el-upload{display:inline-block}.fileForm[data-v-c1addc1f] .fileForm-upload .el-upload-dragger{border:none;width:auto;height:auto;border-radius:0;padding:0}.fileForm-list[data-v-c1addc1f]{position:relative}.fileForm[data-v-c1addc1f] .fileForm-input{width:145px;display:inline-block}.fileForm[data-v-c1addc1f] .fileForm-input .el-input__wrapper{border:1px dashed rgba(0,0,0,.15)}.fileForm-tip[data-v-c1addc1f]{margin-left:8px;display:inline-block;font-size:12px;line-height:32px;color:#00000040}.fileForm-progress[data-v-c1addc1f]{width:100%;max-width:444px;margin-top:8px}
package/dist/index4.css CHANGED
@@ -1 +1 @@
1
- .childFormFile-btn[data-v-a1b3b6de]{width:257px;height:20px;padding:5px 16px;border:1px solid rgba(0,0,0,.15);box-sizing:content-box;border-radius:2px;color:#666}.childFormFile[data-v-a1b3b6de] .childFormFile-upload .el-upload{display:inline-block}.childFormFile[data-v-a1b3b6de] .childFormFile-upload .el-upload-dragger{border:none;width:auto;height:auto;border-radius:0;padding:0}.childFormFile-list[data-v-a1b3b6de]{position:relative}.childFormFile[data-v-a1b3b6de] .childFormFile-input{width:145px;display:inline-block}.childFormFile[data-v-a1b3b6de] .childFormFile-input .el-input__wrapper{border:1px dashed rgba(0,0,0,.15)}.childFormFile-tip[data-v-a1b3b6de]{margin-left:8px;display:inline-block;font-size:12px;line-height:32px;color:#00000040}.childFormFile-progress[data-v-a1b3b6de]{width:100%;max-width:444px;margin-top:8px}.inventory[data-v-7c5817ba]{min-height:46px;padding:10px;border:1px solid #eee}.childFormBody-file[data-v-30ec2afe]{order:1;display:flex;align-items:center}.childFormBody-file-icon[data-v-30ec2afe]{font-size:22px}.childFormBody-file-view[data-v-30ec2afe]{width:calc(100% - 20px);overflow:hidden}.childFormBody-td[data-v-30ec2afe]{flex-grow:1}.childFormBody-operate[data-v-30ec2afe]{display:flex;align-items:center}
1
+ .childFormFile-btn[data-v-b5b06973]{width:257px;height:20px;padding:5px 16px;border:1px solid rgba(0,0,0,.15);box-sizing:content-box;border-radius:2px;color:#666}.childFormFile[data-v-b5b06973] .childFormFile-upload .el-upload{display:inline-block}.childFormFile[data-v-b5b06973] .childFormFile-upload .el-upload-dragger{border:none;width:auto;height:auto;border-radius:0;padding:0}.childFormFile-list[data-v-b5b06973]{position:relative}.childFormFile[data-v-b5b06973] .childFormFile-input{width:145px;display:inline-block}.childFormFile[data-v-b5b06973] .childFormFile-input .el-input__wrapper{border:1px dashed rgba(0,0,0,.15)}.childFormFile-tip[data-v-b5b06973]{margin-left:8px;display:inline-block;font-size:12px;line-height:32px;color:#00000040}.childFormFile-progress[data-v-b5b06973]{width:100%;max-width:444px;margin-top:8px}.inventory[data-v-740d3d8f]{min-height:46px;padding:10px;border:1px solid #eee}.childFormBody-file[data-v-68830e0a]{order:1;display:flex;align-items:center}.childFormBody-file-icon[data-v-68830e0a]{font-size:22px}.childFormBody-file-view[data-v-68830e0a]{width:calc(100% - 20px);overflow:hidden}.childFormBody-td[data-v-68830e0a]{flex-grow:1}.childFormBody-operate[data-v-68830e0a]{display:flex;align-items:center}
package/dist/index5.css CHANGED
@@ -1 +1 @@
1
- .paraExplainSet[data-v-7c881e71]{width:100%}.paraExplainSet-upload[data-v-7c881e71]{width:40px;height:40px}.paraExplainSet-upload-btn[data-v-7c881e71]{width:40px;height:40px;border:1px solid rgba(0,0,0,.12);box-shadow:0 0 12px #0000001f}.paraExplainSet-image-wrapper[data-v-7c881e71]{position:relative;width:40px;height:40px}.paraExplainSet-image-wrapper:hover .paraExplainSet-image-delete[data-v-7c881e71]{opacity:1}.paraExplainSet-image-delete[data-v-7c881e71]{position:absolute;top:-6px;right:-6px;width:18px;height:18px;border-radius:50%;background-color:#0009;display:flex;align-items:center;justify-content:center;cursor:pointer;opacity:0;transition:opacity .2s;z-index:10}.paraExplainSet-image-delete[data-v-7c881e71]:hover{background-color:#000c}.paraExplainSet-image-delete .el-icon-close[data-v-7c881e71]{color:#fff;font-size:12px}
1
+ .paraExplainSet[data-v-972cc4de]{width:100%}.paraExplainSet-upload[data-v-972cc4de]{width:40px;height:40px}.paraExplainSet-upload-btn[data-v-972cc4de]{width:40px;height:40px;border:1px solid rgba(0,0,0,.12);box-shadow:0 0 12px #0000001f}.paraExplainSet-image-wrapper[data-v-972cc4de]{position:relative;width:40px;height:40px}.paraExplainSet-image-wrapper:hover .paraExplainSet-image-delete[data-v-972cc4de]{opacity:1}.paraExplainSet-image-delete[data-v-972cc4de]{position:absolute;top:-6px;right:-6px;width:18px;height:18px;border-radius:50%;background-color:#0009;display:flex;align-items:center;justify-content:center;cursor:pointer;opacity:0;transition:opacity .2s;z-index:10}.paraExplainSet-image-delete[data-v-972cc4de]:hover{background-color:#000c}.paraExplainSet-image-delete .el-icon-close[data-v-972cc4de]{color:#fff;font-size:12px}
package/dist/index6.css CHANGED
@@ -1 +1 @@
1
- .childrenSetOpt-top[data-v-290e160f]{height:32px;font-size:14px}.childrenSetOpt-top-title[data-v-290e160f]{font-weight:500}.childrenSetOpt-list[data-v-290e160f]{margin-top:10px;padding-right:10px}.childrenSetOpt-list .el-scrollbar__view>div[data-v-290e160f]{display:flex;flex-wrap:wrap;gap:10px}.childrenSetOpt-list-item[data-v-290e160f]{position:relative;cursor:pointer;background:#ebeef5;border-radius:6px;padding:10px}.childrenSetOpt-list-item.two[data-v-290e160f]{width:calc(50% - 5px)}.childrenSetOpt-list-item.one[data-v-290e160f]{width:100%}.childrenSetOpt-list-item[data-v-290e160f]:hover{background:#e4e7ed;box-shadow:0 0 6px #0000001f}.childrenSetOpt-list-item-content[data-v-290e160f]{flex:1;min-width:0;overflow:hidden}.childrenSetOpt-list-item-text[data-v-290e160f]{flex:1;min-width:0}.childrenSetOpt-list-item-memo[data-v-290e160f]{font-size:12px;padding:12px 0 4px 22px}.childrenSetOpt-list-item-drag[data-v-290e160f]{padding-right:8px;flex-shrink:0}
1
+ .childrenSetOpt-top[data-v-070bd0d4]{height:32px;font-size:14px}.childrenSetOpt-top-title[data-v-070bd0d4]{font-weight:500}.childrenSetOpt-list[data-v-070bd0d4]{margin-top:10px;padding-right:10px}.childrenSetOpt-list .el-scrollbar__view>div[data-v-070bd0d4]{display:flex;flex-wrap:wrap;gap:10px}.childrenSetOpt-list-item[data-v-070bd0d4]{position:relative;cursor:pointer;background:#ebeef5;border-radius:6px;padding:10px}.childrenSetOpt-list-item.two[data-v-070bd0d4]{width:calc(50% - 5px)}.childrenSetOpt-list-item.one[data-v-070bd0d4]{width:100%}.childrenSetOpt-list-item[data-v-070bd0d4]:hover{background:#e4e7ed;box-shadow:0 0 6px #0000001f}.childrenSetOpt-list-item-content[data-v-070bd0d4]{flex:1;min-width:0;overflow:hidden}.childrenSetOpt-list-item-text[data-v-070bd0d4]{flex:1;min-width:0}.childrenSetOpt-list-item-memo[data-v-070bd0d4]{font-size:12px;padding:12px 0 4px 22px}.childrenSetOpt-list-item-drag[data-v-070bd0d4]{padding-right:8px;flex-shrink:0}
package/dist/index7.css CHANGED
@@ -1 +1 @@
1
- .packageFilter-top[data-v-a92dc360]{height:32px;font-size:14px}.packageFilter-top-title[data-v-a92dc360]{font-weight:500}.packageFilter-list[data-v-a92dc360]{display:flex;flex-wrap:wrap;gap:10px;margin-top:10px;max-height:300px;overflow-y:auto}.packageFilter-list-item[data-v-a92dc360]{position:relative;cursor:pointer;background:#ebeef5;border-radius:6px;padding:10px}.packageFilter-list-item.two[data-v-a92dc360]{width:calc(50% - 5px)}.packageFilter-list-item.one[data-v-a92dc360]{width:100%}.packageFilter-list-item[data-v-a92dc360]:hover{background:#e4e7ed;box-shadow:0 0 6px #0000001f}
1
+ .packageFilter-top[data-v-8f100509]{height:32px;font-size:14px}.packageFilter-top-title[data-v-8f100509]{font-weight:500}.packageFilter-list[data-v-8f100509]{display:flex;flex-wrap:wrap;gap:10px;margin-top:10px;max-height:300px;overflow-y:auto}.packageFilter-list-item[data-v-8f100509]{position:relative;cursor:pointer;background:#ebeef5;border-radius:6px;padding:10px}.packageFilter-list-item.two[data-v-8f100509]{width:calc(50% - 5px)}.packageFilter-list-item.one[data-v-8f100509]{width:100%}.packageFilter-list-item[data-v-8f100509]:hover{background:#e4e7ed;box-shadow:0 0 6px #0000001f}