agilebuilder-ui 1.0.49 → 1.0.51

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/super-ui.js CHANGED
@@ -11426,10 +11426,12 @@ const en = {
11426
11426
  fileUpload: "File Upload",
11427
11427
  selectYear: "Select Year",
11428
11428
  search: "Search",
11429
- forbiddenException: "You do not have permission to access this resource",
11429
+ forbiddenException: "You do not have permission to access",
11430
11430
  theButtonIsNotBoundToAResource: "The button is not bound to a resource, Bind the resource first",
11431
11431
  asyncExport: "Asynchronous export, please wait for message notification!",
11432
- selectedWorkingGroup: "Selected working group"
11432
+ selectedWorkingGroup: "Selected working group",
11433
+ forbiddenExceptionLinkUrl: "please click to apply",
11434
+ forbiddenExceptionLinkUser: "if you have any questions,please contact"
11433
11435
  },
11434
11436
  superGrid: {
11435
11437
  columnConfig: "Column Config",
@@ -11691,10 +11693,12 @@ const en = {
11691
11693
  fileUpload: "文件上传",
11692
11694
  selectYear: "选择年",
11693
11695
  search: "查询",
11694
- forbiddenException: "您没有权限访问该资源",
11696
+ forbiddenException: "您没有权限访问",
11695
11697
  theButtonIsNotBoundToAResource: "该按钮未绑定资源,请先绑定资源",
11696
11698
  asyncExport: "正在异步导出,请等待消息通知!",
11697
- selectedWorkingGroup: "已选工作组"
11699
+ selectedWorkingGroup: "已选工作组",
11700
+ forbiddenExceptionLinkUrl: "请点击进行权限申请",
11701
+ forbiddenExceptionLinkUser: "如有疑问请联系"
11698
11702
  },
11699
11703
  // 列表组件
11700
11704
  superGrid: {
@@ -16371,139 +16375,149 @@ const apis$2 = {
16371
16375
  return e.searchForm ? e.searchForm : [];
16372
16376
  },
16373
16377
  // 新建行
16374
- createRow(e, t) {
16375
- return new Promise((n, o) => {
16378
+ createRow(e, t, n) {
16379
+ return new Promise((o, i) => {
16376
16380
  e || (e = store$1.get("_list_code"));
16377
- const i = store$1.get(e), l = i.gridData;
16378
- if (i.superGrid.clearSort(), i.lineEdit && i.lineEdit.editable && typeof i.loaded < "u" && i.loaded === !0) {
16379
- let f = !0;
16381
+ const l = store$1.get(e), f = l.gridData;
16382
+ if (l.superGrid.clearSort(), l.lineEdit && l.lineEdit.editable && typeof l.loaded < "u" && l.loaded === !0) {
16383
+ let p = !0;
16380
16384
  if (isEditOptionFunction("beforeInsertRow", e)) {
16381
- const p = i.isSubTableShowPage, y = i.pagination && i.pagination.pageSize, x = !1;
16382
- i.pageContext ? f = i.options.lineEditOptions.beforeInsertRow.call(
16385
+ const y = l.isSubTableShowPage, x = l.pagination && l.pagination.pageSize, E = !1;
16386
+ l.pageContext ? p = l.options.lineEditOptions.beforeInsertRow.call(
16383
16387
  this,
16384
16388
  {
16385
- gridData: p ? i.subTableData : i.gridData,
16386
- rowIndex: i.$rowIndex,
16387
- isMobile: x,
16389
+ gridData: y ? l.subTableData : l.gridData,
16390
+ rowIndex: l.$rowIndex,
16391
+ isMobile: E,
16388
16392
  baseURL: this.baseURL,
16389
- totalData: p ? i.gridData : null,
16390
- pageSize: y,
16391
- additionalParamMap: i.additionalParamMap,
16393
+ totalData: y ? l.gridData : null,
16394
+ pageSize: x,
16395
+ additionalParamMap: l.additionalParamMap,
16392
16396
  row: t,
16393
- pageContext: i.pageContext,
16394
- configureObj: i.configureObj
16397
+ pageContext: l.pageContext,
16398
+ configureObj: l.configureObj
16395
16399
  }
16396
- ) : f = i.options.lineEditOptions.beforeInsertRow.call(
16400
+ ) : p = l.options.lineEditOptions.beforeInsertRow.call(
16397
16401
  this,
16398
- p ? i.subTableData : i.gridData,
16399
- i.$rowIndex,
16400
- x,
16402
+ y ? l.subTableData : l.gridData,
16403
+ l.$rowIndex,
16404
+ E,
16401
16405
  this.baseURL,
16402
- p ? i.gridData : null,
16403
- y,
16404
- i.additionalParamMap,
16406
+ y ? l.gridData : null,
16407
+ x,
16408
+ l.additionalParamMap,
16405
16409
  t
16406
16410
  );
16407
16411
  }
16408
- if (f === void 0 || f === !0) {
16409
- if (i.options && i.options.isFormSubTable) {
16410
- let y = i.gridData;
16411
- i.isSubTableShowPage !== void 0 && i.isSubTableShowPage === !0 && (y = i.subTableData);
16412
- const x = y.filter(
16413
- (E) => E.$editing !== void 0 && E.$editing === !0
16412
+ if (p === void 0 || p === !0) {
16413
+ if (l.options && l.options.isFormSubTable) {
16414
+ let x = l.gridData;
16415
+ l.isSubTableShowPage !== void 0 && l.isSubTableShowPage === !0 && (x = l.subTableData);
16416
+ const E = x.filter(
16417
+ (k) => k.$editing !== void 0 && k.$editing === !0
16414
16418
  );
16415
- x && x.length > 0 && x.forEach((E) => {
16416
- setEntityFieldValue(E, "$editing", !1), $emit(bus, "un-edit", { row: E });
16417
- }), i.isEditRow = !1;
16419
+ E && E.length > 0 && E.forEach((k) => {
16420
+ setEntityFieldValue(k, "$editing", !1), $emit(bus, "un-edit", { row: k });
16421
+ }), l.isEditRow = !1;
16418
16422
  } else {
16419
- if (!isLastEditRowSave(e) || typeof i.isCreateRow < "u" && i.isCreateRow === !0) {
16423
+ if (!isLastEditRowSave(e) || typeof l.isCreateRow < "u" && l.isCreateRow === !0) {
16420
16424
  window.$vueApp.config.globalProperties.$message({
16421
16425
  showClose: !0,
16422
16426
  message: getI18n().t("superGrid.pleaseSaveLine", {
16423
- row: i.$rowIndex + 1
16427
+ row: l.$rowIndex + 1
16424
16428
  }),
16425
16429
  type: "warning"
16426
- }), o(new Error("please save line"));
16430
+ }), i(new Error("please save line"));
16427
16431
  return;
16428
16432
  }
16429
- if (typeof i.$rowIndex < "u" && i.$rowIndex !== null && i.$rowIndex < i.gridData.length) {
16430
- const y = i.gridData[i.$rowIndex];
16431
- setEntityFieldValue(y, "$editing", !1), i.isEditRow = !1;
16433
+ if (typeof l.$rowIndex < "u" && l.$rowIndex !== null && l.$rowIndex < l.gridData.length) {
16434
+ const x = l.gridData[l.$rowIndex];
16435
+ setEntityFieldValue(x, "$editing", !1), l.isEditRow = !1;
16432
16436
  }
16433
16437
  }
16434
16438
  t = this.getNewRow(
16435
- i.defaultValueColumns,
16436
- i.additionalParamMap,
16437
- i.contextParameter,
16438
- t
16439
- ), setEntityFieldValue(t, "$editing", !0), i.isEditRow = !0, i.options && i.options.isFormSubTable ? (i.isSubTableShowPage !== void 0 && i.isSubTableShowPage === !0 ? (i.isChangePage = !0, i.subTableData.splice(
16440
- i.subTableData.length,
16439
+ l.defaultValueColumns,
16440
+ l.additionalParamMap,
16441
+ l.contextParameter,
16442
+ t,
16443
+ e,
16444
+ n ? n.getDefaultValueFunc : null
16445
+ ), setEntityFieldValue(t, "$editing", !0), l.isEditRow = !0, l.options && l.options.isFormSubTable ? (l.isSubTableShowPage !== void 0 && l.isSubTableShowPage === !0 ? (l.isChangePage = !0, l.subTableData.splice(
16446
+ l.subTableData.length,
16441
16447
  0,
16442
16448
  t
16443
- )) : (l.splice(l.length, 0, t), i.lineEdit.editingCell && (i.lineEdit.editingCell.row = l.length)), i.$rowIndex = l.length, this.$nextTick(() => {
16449
+ )) : (f.splice(f.length, 0, t), l.lineEdit.editingCell && (l.lineEdit.editingCell.row = f.length)), l.$rowIndex = f.length, this.$nextTick(() => {
16444
16450
  scrollYToBottom(e);
16445
- })) : (l.splice(0, 0, t), i.lineEdit.editingCell && (i.lineEdit.editingCell.row = 0), i.$rowIndex = 0);
16446
- const p = Object.assign({}, t);
16447
- if (i.orgGridData.splice(0, 0, p), i.lineEdit.editingCell || (i.lineEdit.editingCell = {}, i.lineEdit.validateErrorField = ""), isEditOptionFunction("afterInsertRow", e)) {
16448
- const y = i.isSubTableShowPage, x = i.pagination && i.pagination.pageSize, E = !1;
16449
- i.pageContext ? i.options.lineEditOptions.afterInsertRow.call(
16451
+ })) : (f.splice(0, 0, t), l.lineEdit.editingCell && (l.lineEdit.editingCell.row = 0), l.$rowIndex = 0);
16452
+ const y = Object.assign({}, t);
16453
+ if (l.orgGridData.splice(0, 0, y), l.lineEdit.editingCell || (l.lineEdit.editingCell = {}, l.lineEdit.validateErrorField = ""), isEditOptionFunction("afterInsertRow", e)) {
16454
+ const x = l.isSubTableShowPage, E = l.pagination && l.pagination.pageSize, k = !1;
16455
+ l.pageContext ? l.options.lineEditOptions.afterInsertRow.call(
16450
16456
  this,
16451
16457
  {
16452
- gridData: y ? i.subTableData : i.gridData,
16453
- rowIndex: i.$rowIndex,
16454
- isMobile: E,
16458
+ gridData: x ? l.subTableData : l.gridData,
16459
+ rowIndex: l.$rowIndex,
16460
+ isMobile: k,
16455
16461
  baseURL: this.baseURL,
16456
- totalData: y ? i.gridData : null,
16457
- pageSize: x,
16458
- additionalParamMap: i.additionalParamMap,
16459
- pageContext: i.pageContext,
16460
- configureObj: i.configureObj
16462
+ totalData: x ? l.gridData : null,
16463
+ pageSize: E,
16464
+ additionalParamMap: l.additionalParamMap,
16465
+ pageContext: l.pageContext,
16466
+ configureObj: l.configureObj
16461
16467
  }
16462
- ) : i.options.lineEditOptions.afterInsertRow.call(
16468
+ ) : l.options.lineEditOptions.afterInsertRow.call(
16463
16469
  this,
16464
- y ? i.subTableData : i.gridData,
16465
- i.$rowIndex,
16466
- E,
16470
+ x ? l.subTableData : l.gridData,
16471
+ l.$rowIndex,
16472
+ k,
16467
16473
  this.baseURL,
16468
- y ? i.gridData : null,
16469
- x,
16470
- i.additionalParamMap
16474
+ x ? l.gridData : null,
16475
+ E,
16476
+ l.additionalParamMap
16471
16477
  );
16472
16478
  }
16473
- i.isCreateRow = !0, n(t);
16479
+ l.isCreateRow = !0, o(t);
16474
16480
  } else
16475
- o(new Error("can not create"));
16481
+ i(new Error("can not create"));
16476
16482
  } else
16477
- o(new Error("list not editable or data not loaded completely"));
16483
+ i(new Error("list not editable or data not loaded completely"));
16478
16484
  });
16479
16485
  },
16480
16486
  // 获取一个新的对象,已经解析完默认值
16481
- getNewRow(e, t, n, o, i) {
16487
+ getNewRow(e, t, n, o, i, l) {
16482
16488
  o || (o = {}), i || (i = store$1.get("_list_code"));
16483
- const l = store$1.get(i);
16484
- if (l && l.allColumns && this.setColumnsDefaultValue(l.allColumns, o), e && e.length > 0)
16485
- for (var f = 0; f < e.length; f++) {
16486
- const p = e[f];
16487
- if (p && p.prop) {
16488
- const y = getEntityFieldValue(o, p.prop);
16489
- if (p.prop !== "$selection" && p.prop !== "$index" && p.defaultValue && p.defaultValue !== "" && (y === void 0 || y === "" || y === null)) {
16490
- let x;
16491
- l.pageContext ? x = getPropValueNew(p.defaultValue, l.pageContext) : x = getPropValue(
16492
- p.defaultValue,
16489
+ const f = store$1.get(i);
16490
+ if (f && f.allColumns && this.setColumnsDefaultValue(f.allColumns, o, f, l), e && e.length > 0)
16491
+ for (var p = 0; p < e.length; p++) {
16492
+ const y = e[p];
16493
+ if (y && y.prop) {
16494
+ const x = getEntityFieldValue(o, y.prop);
16495
+ if (y.prop !== "$selection" && y.prop !== "$index" && y.defaultValue && y.defaultValue !== "" && (x === void 0 || x === "" || x === null)) {
16496
+ let E;
16497
+ f.pageContext ? E = getPropValueNew(y.defaultValue, f.pageContext) : E = getPropValue(
16498
+ y.defaultValue,
16493
16499
  o,
16494
16500
  t,
16495
16501
  n
16496
- ), setEntityFieldValue(o, p.prop, x);
16502
+ ), setEntityFieldValue(o, y.prop, E);
16497
16503
  }
16498
16504
  }
16499
16505
  }
16500
16506
  return o;
16501
16507
  },
16502
16508
  // 设置默认值null
16503
- setColumnsDefaultValue(e, t) {
16504
- for (let n = 0; n < e.length; n++) {
16505
- const o = e[n], i = o.prop;
16506
- i === "$index" || i === "$selection" || i === "operation" || (o.hasOwnProperty("children") ? this.setChildrenColumnsDefaultValue(o.children, t) : t[i] === void 0 && setEntityFieldValue(t, i, null));
16509
+ setColumnsDefaultValue(e, t, n, o) {
16510
+ for (let i = 0; i < e.length; i++) {
16511
+ const l = e[i], f = l.prop;
16512
+ if (!(f === "$index" || f === "$selection" || f === "operation")) {
16513
+ if (l.hasOwnProperty("children"))
16514
+ this.setChildrenColumnsDefaultValue(l.children, t);
16515
+ else if (t[f] === void 0) {
16516
+ const p = l.defaultValue;
16517
+ let y = null;
16518
+ console.log("setColumnsDefaultValue111------"), o || (console.log("setColumnsDefaultValue22---getDefaultValueFunc222---"), y = o(n.pageContext, p, null, null), console.log("setColumnsDefaultValue33---defaultValue---", y), y === void 0 && (y = null)), setEntityFieldValue(t, f, y);
16519
+ }
16520
+ }
16507
16521
  }
16508
16522
  setEntityFieldValue(t, "$editing", !1);
16509
16523
  },
@@ -17034,6 +17048,10 @@ const apis$2 = {
17034
17048
  additionalParamMap: o.additionalParamMap
17035
17049
  });
17036
17050
  }
17051
+ },
17052
+ refreshChildData(e, t, n) {
17053
+ const o = store$1.get(e);
17054
+ n == null || n === !1 ? (o.gridData = t, this.gridData = t) : (o.subTableData = t, this.subTableData = t);
17037
17055
  }
17038
17056
  }, _sfc_main$19 = {
17039
17057
  components: {
@@ -19875,7 +19893,7 @@ function _sfc_render$Q(e, t, n, o, i, l) {
19875
19893
  ], 4))
19876
19894
  ]);
19877
19895
  }
19878
- const GridIcon = /* @__PURE__ */ _export_sfc$1(_sfc_main$14, [["render", _sfc_render$Q]]), normalColumn_vue_vue_type_style_index_0_scoped_fb9450e7_lang = "", _sfc_main$13 = {
19896
+ const GridIcon = /* @__PURE__ */ _export_sfc$1(_sfc_main$14, [["render", _sfc_render$Q]]), normalColumn_vue_vue_type_style_index_0_scoped_d54c1aea_lang = "", _sfc_main$13 = {
19879
19897
  components: {
19880
19898
  DynamicInput,
19881
19899
  RowOperation,
@@ -20571,21 +20589,25 @@ function _sfc_render$P(e, t, n, o, i, l) {
20571
20589
  title: l.getMyHyperLinkSetting(z.row).title,
20572
20590
  class: "ellipsis cell--span"
20573
20591
  }, [
20574
- createTextVNode(toDisplayString$1(l.getMyHyperLinkSetting(z.row).label), 1),
20575
- l.getMyHyperLinkSetting(z.row).icon ? (openBlock(), createElementBlock("i", {
20576
- key: 0,
20577
- class: normalizeClass(l.getMyHyperLinkSetting(z.row).icon)
20578
- }, null, 2)) : createCommentVNode("", !0)
20592
+ createTextVNode(toDisplayString$1(l.getMyHyperLinkSetting(z.row).label) + " ", 1),
20593
+ l.getMyHyperLinkSetting(z.row).icon ? (openBlock(), createBlock(p, { key: 0 }, {
20594
+ default: withCtx(() => [
20595
+ (openBlock(), createBlock(resolveDynamicComponent(l.getMyHyperLinkSetting(z.row).icon)))
20596
+ ]),
20597
+ _: 2
20598
+ }, 1024)) : createCommentVNode("", !0)
20579
20599
  ], 12, _hoisted_18$2)) : (openBlock(), createElementBlock("span", {
20580
20600
  key: 1,
20581
20601
  id: n.column.prop + "DomData" + z.$index,
20582
20602
  class: "cell--span"
20583
20603
  }, [
20584
- createTextVNode(toDisplayString$1(l.getMyHyperLinkSetting(z.row).label), 1),
20585
- l.getMyHyperLinkSetting(z.row).icon ? (openBlock(), createElementBlock("i", {
20586
- key: 0,
20587
- class: normalizeClass(l.getMyHyperLinkSetting(z.row).icon)
20588
- }, null, 2)) : createCommentVNode("", !0)
20604
+ createTextVNode(toDisplayString$1(l.getMyHyperLinkSetting(z.row).label) + " ", 1),
20605
+ l.getMyHyperLinkSetting(z.row).icon ? (openBlock(), createBlock(p, { key: 0 }, {
20606
+ default: withCtx(() => [
20607
+ (openBlock(), createBlock(resolveDynamicComponent(l.getMyHyperLinkSetting(z.row).icon)))
20608
+ ]),
20609
+ _: 2
20610
+ }, 1024)) : createCommentVNode("", !0)
20589
20611
  ], 8, _hoisted_19))
20590
20612
  ]),
20591
20613
  _: 2
@@ -20678,21 +20700,25 @@ function _sfc_render$P(e, t, n, o, i, l) {
20678
20700
  title: e.$escapeHtml(l.getMyHyperLinkSetting(z.row).title),
20679
20701
  class: "ellipsis cell--span"
20680
20702
  }, [
20681
- createTextVNode(toDisplayString$1(e.$escapeHtml(l.getMyHyperLinkSetting(z.row).label)), 1),
20682
- l.getMyHyperLinkSetting(z.row).icon ? (openBlock(), createElementBlock("i", {
20683
- key: 0,
20684
- class: normalizeClass(l.getMyHyperLinkSetting(z.row).icon)
20685
- }, null, 2)) : createCommentVNode("", !0)
20703
+ createTextVNode(toDisplayString$1(e.$escapeHtml(l.getMyHyperLinkSetting(z.row).label)) + " ", 1),
20704
+ l.getMyHyperLinkSetting(z.row).icon ? (openBlock(), createBlock(p, { key: 0 }, {
20705
+ default: withCtx(() => [
20706
+ (openBlock(), createBlock(resolveDynamicComponent(l.getMyHyperLinkSetting(z.row).icon)))
20707
+ ]),
20708
+ _: 2
20709
+ }, 1024)) : createCommentVNode("", !0)
20686
20710
  ], 12, _hoisted_31)) : (openBlock(), createElementBlock("span", {
20687
20711
  key: 1,
20688
20712
  id: n.column.prop + "DomData" + z.$index,
20689
20713
  class: "cell--span"
20690
20714
  }, [
20691
- createTextVNode(toDisplayString$1(e.$escapeHtml(l.getMyHyperLinkSetting(z.row).label)), 1),
20692
- l.getMyHyperLinkSetting(z.row).icon ? (openBlock(), createElementBlock("i", {
20693
- key: 0,
20694
- class: normalizeClass(l.getMyHyperLinkSetting(z.row).icon)
20695
- }, null, 2)) : createCommentVNode("", !0)
20715
+ createTextVNode(toDisplayString$1(e.$escapeHtml(l.getMyHyperLinkSetting(z.row).label)) + " ", 1),
20716
+ l.getMyHyperLinkSetting(z.row).icon ? (openBlock(), createBlock(p, { key: 0 }, {
20717
+ default: withCtx(() => [
20718
+ (openBlock(), createBlock(resolveDynamicComponent(l.getMyHyperLinkSetting(z.row).icon)))
20719
+ ]),
20720
+ _: 2
20721
+ }, 1024)) : createCommentVNode("", !0)
20696
20722
  ], 8, _hoisted_32))
20697
20723
  ]),
20698
20724
  _: 2
@@ -20747,7 +20773,7 @@ function _sfc_render$P(e, t, n, o, i, l) {
20747
20773
  _: 1
20748
20774
  }, 8, ["align", "class-name", "filter-method", "filters", "fixed", "header-align", "prop", "sortable", "width"]);
20749
20775
  }
20750
- const NormalColumn = /* @__PURE__ */ _export_sfc$1(_sfc_main$13, [["render", _sfc_render$P], ["__scopeId", "data-v-fb9450e7"]]), _sfc_main$12 = {
20776
+ const NormalColumn = /* @__PURE__ */ _export_sfc$1(_sfc_main$13, [["render", _sfc_render$P], ["__scopeId", "data-v-d54c1aea"]]), _sfc_main$12 = {
20751
20777
  name: "GroupColumn",
20752
20778
  components: {
20753
20779
  NormalColumn
@@ -22707,6 +22733,14 @@ const ColumnsConfig = /* @__PURE__ */ _export_sfc$1(_sfc_main$11, [["render", _s
22707
22733
  number2: t
22708
22734
  };
22709
22735
  },
22736
+ mounted() {
22737
+ bus.$on("reset", () => {
22738
+ this.number1 = null, this.number2 = null;
22739
+ });
22740
+ },
22741
+ destroyed() {
22742
+ bus.$off("reset");
22743
+ },
22710
22744
  watch: {
22711
22745
  itemValue: {
22712
22746
  deep: !0,
@@ -24347,7 +24381,7 @@ function _sfc_render$F(e, t, n, o, i, l) {
24347
24381
  }, 8, ["data", "row-class-name", "onCurrentChange"])
24348
24382
  ])) : createCommentVNode("", !0);
24349
24383
  }
24350
- const searchFormAdvancedQuery = /* @__PURE__ */ _export_sfc$1(_sfc_main$V, [["render", _sfc_render$F], ["__scopeId", "data-v-72c9437c"]]), searchForm_vue_vue_type_style_index_0_scoped_a19797c7_lang = "", _sfc_main$U = {
24384
+ const searchFormAdvancedQuery = /* @__PURE__ */ _export_sfc$1(_sfc_main$V, [["render", _sfc_render$F], ["__scopeId", "data-v-72c9437c"]]), searchForm_vue_vue_type_style_index_0_scoped_40ee9ada_lang = "", _sfc_main$U = {
24351
24385
  name: "SearchForm",
24352
24386
  components: {
24353
24387
  // searchFormNumber,
@@ -24550,7 +24584,7 @@ const searchFormAdvancedQuery = /* @__PURE__ */ _export_sfc$1(_sfc_main$V, [["re
24550
24584
  });
24551
24585
  },
24552
24586
  resetForm() {
24553
- this.$refs.searchConditionList && (this.$refs.searchConditionList.editConditionId = null), this.searchType === "normal" ? this.$refs.searchFormOrdinarySearch.resetForm() : this.searchType === "advanced" && (this.$refs.searchFormAdvancedQuery.resetForm(), $emit(this, "reset"));
24587
+ this.$refs.searchConditionList && (this.$refs.searchConditionList.editConditionId = null), this.searchType === "normal" ? this.$refs.searchFormOrdinarySearch.resetForm() : this.searchType === "advanced" && (this.$refs.searchFormAdvancedQuery.resetForm(), $emit(this, "reset")), eventBus.$emit("reset");
24554
24588
  },
24555
24589
  setNumberValue(e, t, n) {
24556
24590
  let o = this.getFormItemValue(
@@ -24779,7 +24813,7 @@ function _sfc_render$E(e, t, n, o, i, l) {
24779
24813
  }, null, 8, ["onClose"])) : createCommentVNode("", !0)
24780
24814
  ]);
24781
24815
  }
24782
- const SearchForm$1 = /* @__PURE__ */ _export_sfc$1(_sfc_main$U, [["render", _sfc_render$E], ["__scopeId", "data-v-a19797c7"]]), _sfc_main$T = {
24816
+ const SearchForm$1 = /* @__PURE__ */ _export_sfc$1(_sfc_main$U, [["render", _sfc_render$E], ["__scopeId", "data-v-40ee9ada"]]), _sfc_main$T = {
24783
24817
  name: "SearchFormDialog",
24784
24818
  components: {
24785
24819
  SearchForm: SearchForm$1
@@ -25382,7 +25416,7 @@ function isHasPermission(e, t) {
25382
25416
  if (o !== void 0 && o === !0)
25383
25417
  return !0;
25384
25418
  }
25385
- const superGrid_vue_vue_type_style_index_0_scoped_e55589b3_rel_stylesheet_2Fscss_lang = "", _sfc_main$R = {
25419
+ const superGrid_vue_vue_type_style_index_0_scoped_bd8f01e1_rel_stylesheet_2Fscss_lang = "", _sfc_main$R = {
25386
25420
  components: {
25387
25421
  IndexColumn,
25388
25422
  SelectionColumn,
@@ -26364,8 +26398,9 @@ const superGrid_vue_vue_type_style_index_0_scoped_e55589b3_rel_stylesheet_2Fscss
26364
26398
  return o && (o && typeof o == "object" ? e.additionalParamMap = o : o && o !== "" && (e.additionalParamMap = JSON.parse(o))), e;
26365
26399
  },
26366
26400
  getComponentType(e) {
26367
- let t = "NormalColumn";
26368
- return e === "$index" ? t = "IndexColumn" : e === "$selection" ? (store$1.get(this.code).isMulitiSelect = !0, t = "SelectionColumn") : e === void 0 && (t = "GroupColumn"), t;
26401
+ const t = e;
26402
+ let n = "NormalColumn";
26403
+ return t === "$index" ? n = "IndexColumn" : t === "$selection" ? (store$1.get(this.code).isMulitiSelect = !0, n = "SelectionColumn") : t === void 0 && e.children && e.children.length > 0 && (n = "GroupColumn"), n;
26369
26404
  },
26370
26405
  focusOnFirstEditableInput() {
26371
26406
  this.basicInfo.editable && (this.lineEdit.editingCell.row = 0, this.lineEdit.editingCell.prop = getFirstEditableColumn(this.code));
@@ -26916,14 +26951,14 @@ function _sfc_render$B(e, t, n, o, i, l) {
26916
26951
  onCellDblclick: e.cellDblClick
26917
26952
  }, {
26918
26953
  default: withCtx(() => [
26919
- i.myCustomFormatter ? (openBlock(!0), createElementBlock(Fragment, { key: 0 }, renderList(l.visibleColumns, (q, F) => (openBlock(), createBlock(resolveDynamicComponent(l.getComponentType(q.prop)), {
26954
+ i.myCustomFormatter ? (openBlock(!0), createElementBlock(Fragment, { key: 0 }, renderList(l.visibleColumns, (q, F) => (openBlock(), createBlock(resolveDynamicComponent(l.getComponentType(q)), {
26920
26955
  ref_for: !0,
26921
26956
  ref: q.prop,
26922
26957
  key: q.label + F,
26923
26958
  column: q,
26924
26959
  "is-sql": i.isSql,
26925
26960
  "list-code": n.code,
26926
- "custom-format": l.getComponentType(q.prop) === "GroupColumn" ? i.myCustomFormatter : i.myCustomFormatter[q.prop],
26961
+ "custom-format": l.getComponentType(q) === "GroupColumn" ? i.myCustomFormatter : i.myCustomFormatter[q.prop],
26927
26962
  "new-width": i.newWidth,
26928
26963
  "drag-column-prop": i.dragColumnProp,
26929
26964
  "right-click-menu-arr": n.options.rightClickMenuArr,
@@ -26940,7 +26975,7 @@ function _sfc_render$B(e, t, n, o, i, l) {
26940
26975
  onRefresPortsData: l.refresPortsData,
26941
26976
  onRefresMainTableFields: l.refresMainTableFields,
26942
26977
  onProhibitToEdit: l.prohibitToEdit
26943
- }, null, 40, ["column", "is-sql", "list-code", "custom-format", "new-width", "drag-column-prop", "right-click-menu-arr", "table-name", "page-code", "list-name", "options", "pagination", "current-page", "grid-data", "page-grid-data", "onOpenPage", "onRefresPortData", "onRefresPortsData", "onRefresMainTableFields", "onProhibitToEdit"]))), 128)) : (openBlock(!0), createElementBlock(Fragment, { key: 1 }, renderList(l.visibleColumns, (q, F) => (openBlock(), createBlock(resolveDynamicComponent(l.getComponentType(q.prop)), {
26978
+ }, null, 40, ["column", "is-sql", "list-code", "custom-format", "new-width", "drag-column-prop", "right-click-menu-arr", "table-name", "page-code", "list-name", "options", "pagination", "current-page", "grid-data", "page-grid-data", "onOpenPage", "onRefresPortData", "onRefresPortsData", "onRefresMainTableFields", "onProhibitToEdit"]))), 128)) : (openBlock(!0), createElementBlock(Fragment, { key: 1 }, renderList(l.visibleColumns, (q, F) => (openBlock(), createBlock(resolveDynamicComponent(l.getComponentType(q)), {
26944
26979
  ref_for: !0,
26945
26980
  ref: q.prop,
26946
26981
  key: q.label + F,
@@ -27039,7 +27074,7 @@ function _sfc_render$B(e, t, n, o, i, l) {
27039
27074
  }, null, 8, ["buttom-arr", "column", "onClearHeaderContextmenu"])) : createCommentVNode("", !0)
27040
27075
  ]);
27041
27076
  }
27042
- const SuperGrid = /* @__PURE__ */ _export_sfc$1(_sfc_main$R, [["render", _sfc_render$B], ["__scopeId", "data-v-e55589b3"]]);
27077
+ const SuperGrid = /* @__PURE__ */ _export_sfc$1(_sfc_main$R, [["render", _sfc_render$B], ["__scopeId", "data-v-bd8f01e1"]]);
27043
27078
  SuperGrid.install = function(e) {
27044
27079
  e.component(SuperGrid.name, SuperGrid);
27045
27080
  };
@@ -33650,6 +33685,11 @@ const _sfc_main$u = {
33650
33685
  separator: {
33651
33686
  type: String,
33652
33687
  default: ","
33688
+ },
33689
+ // 是否打开树
33690
+ openTree: {
33691
+ type: Boolean,
33692
+ default: !0
33653
33693
  }
33654
33694
  },
33655
33695
  data() {
@@ -33677,8 +33717,10 @@ const _sfc_main$u = {
33677
33717
  },
33678
33718
  // 打开组织树
33679
33719
  showOrganizationTree() {
33680
- let e = this.multiple;
33681
- typeof e > "u" && (e = !1), e === !0 && this.getSelectInfo(), this.$emit("focus"), this.showOrganizationTreeFlag = !0, this.$emit("show-tree");
33720
+ if (this.openTree) {
33721
+ let e = this.multiple;
33722
+ typeof e > "u" && (e = !1), e === !0 && this.getSelectInfo(), this.$emit("focus"), this.showOrganizationTreeFlag = !0, this.$emit("show-tree");
33723
+ }
33682
33724
  },
33683
33725
  getPropName(e, t, n) {
33684
33726
  return getPropNameWhenJoinTable(e, t, n);
@@ -56949,6 +56991,10 @@ const _sfc_main$k = {
56949
56991
  isSql: {
56950
56992
  type: Boolean,
56951
56993
  default: !1
56994
+ },
56995
+ openFsUpload: {
56996
+ type: Boolean,
56997
+ default: !0
56952
56998
  }
56953
56999
  },
56954
57000
  created() {
@@ -56957,7 +57003,7 @@ const _sfc_main$k = {
56957
57003
  },
56958
57004
  methods: {
56959
57005
  openAnnexUpload() {
56960
- this.annexUploadFlag = !0;
57006
+ this.openFsUpload && (this.annexUploadFlag = !0);
56961
57007
  },
56962
57008
  handleBeforeUpload(e) {
56963
57009
  let t = this.fileSetObj.limitFileSize;
@@ -124480,7 +124526,7 @@ const _sfc_main$f = {
124480
124526
  },
124481
124527
  toolbar: {
124482
124528
  type: [String, Array],
124483
- default: " undo redo | formatselect fontsizeselect bold italic strikethrough underline hr forecolor backcolor | image | lineheight bullist numlist table | print fullscreen preview "
124529
+ default: " undo redo | formatselect fontsizeselect bold italic strikethrough underline hr forecolor backcolor| link | image | lineheight bullist numlist table | print fullscreen preview "
124484
124530
  }
124485
124531
  },
124486
124532
  data() {
@@ -126535,6 +126581,10 @@ const _hoisted_1$1 = ["onClick"], _hoisted_2 = { style: { "margin-left": "6.5px"
126535
126581
  }), _hoisted_1 = { class: "el-upload__text" }, _sfc_main$2 = /* @__PURE__ */ defineComponent({
126536
126582
  __name: "fs-drag-upload",
126537
126583
  props: {
126584
+ openFsUpload: {
126585
+ type: Boolean,
126586
+ default: !0
126587
+ },
126538
126588
  systemCode: {
126539
126589
  type: String,
126540
126590
  default: ""
@@ -126643,6 +126693,7 @@ const _hoisted_1$1 = ["onClick"], _hoisted_2 = { style: { "margin-left": "6.5px"
126643
126693
  headers: e.headers,
126644
126694
  action: i.value,
126645
126695
  multiple: e.multiple,
126696
+ disabled: !e.openFsUpload,
126646
126697
  "before-upload": l,
126647
126698
  "before-remove": e.beforeRemove,
126648
126699
  "on-success": f
@@ -126665,7 +126716,7 @@ const _hoisted_1$1 = ["onClick"], _hoisted_2 = { style: { "margin-left": "6.5px"
126665
126716
  createElementVNode("div", _hoisted_1, toDisplayString$1(e.placeholder), 1)
126666
126717
  ]),
126667
126718
  _: 1
126668
- }, 8, ["accept", "limit", "headers", "action", "multiple", "before-remove"])),
126719
+ }, 8, ["accept", "limit", "headers", "action", "multiple", "disabled", "before-remove"])),
126669
126720
  e.fileList && e.fileList.length > 0 ? (openBlock(), createBlock(_sfc_main$3, {
126670
126721
  key: 1,
126671
126722
  disabled: e.disabled,
@@ -126678,6 +126729,10 @@ const _hoisted_1$1 = ["onClick"], _hoisted_2 = { style: { "margin-left": "6.5px"
126678
126729
  }), _sfc_main$1 = /* @__PURE__ */ defineComponent({
126679
126730
  __name: "fs-button-upload",
126680
126731
  props: {
126732
+ openFsUpload: {
126733
+ type: Boolean,
126734
+ default: !0
126735
+ },
126681
126736
  systemCode: {
126682
126737
  type: String,
126683
126738
  default: ""
@@ -126783,6 +126838,7 @@ const _hoisted_1$1 = ["onClick"], _hoisted_2 = { style: { "margin-left": "6.5px"
126783
126838
  "show-file-list": !1,
126784
126839
  "auto-upload": "",
126785
126840
  headers: e.headers,
126841
+ disabled: !e.openFsUpload,
126786
126842
  action: i.value,
126787
126843
  multiple: e.multiple,
126788
126844
  "before-upload": l,
@@ -126809,7 +126865,7 @@ const _hoisted_1$1 = ["onClick"], _hoisted_2 = { style: { "margin-left": "6.5px"
126809
126865
  })
126810
126866
  ]),
126811
126867
  _: 1
126812
- }, 8, ["accept", "limit", "headers", "action", "multiple", "before-remove"])),
126868
+ }, 8, ["accept", "limit", "headers", "disabled", "action", "multiple", "before-remove"])),
126813
126869
  e.fileList && e.fileList.length > 0 ? (openBlock(), createBlock(_sfc_main$3, {
126814
126870
  key: 1,
126815
126871
  disabled: e.disabled,
@@ -126822,6 +126878,10 @@ const _hoisted_1$1 = ["onClick"], _hoisted_2 = { style: { "margin-left": "6.5px"
126822
126878
  }), _sfc_main = /* @__PURE__ */ defineComponent({
126823
126879
  __name: "fs-upload-new",
126824
126880
  props: {
126881
+ openFsUpload: {
126882
+ type: Object,
126883
+ default: !0
126884
+ },
126825
126885
  entity: {
126826
126886
  type: Object,
126827
126887
  default: () => null
@@ -126929,10 +126989,11 @@ const _hoisted_1$1 = ["onClick"], _hoisted_2 = { style: { "margin-left": "6.5px"
126929
126989
  row: e.entity,
126930
126990
  disabled: e.disabled,
126931
126991
  fileInfo: e.fileInfo,
126992
+ openFsUpload: e.openFsUpload,
126932
126993
  fileSetObj: { accept: e.accept, multiple: e.multiple, limitFileSize: e.limitFileSize },
126933
126994
  onUploadSuccess: o,
126934
126995
  onDeleteSuccess: i
126935
- }, null, 8, ["value", "row", "disabled", "fileInfo", "fileSetObj"])) : e.displayType === "button" ? (openBlock(), createBlock(_sfc_main$1, {
126996
+ }, null, 8, ["value", "row", "disabled", "fileInfo", "openFsUpload", "fileSetObj"])) : e.displayType === "button" ? (openBlock(), createBlock(_sfc_main$1, {
126936
126997
  key: 1,
126937
126998
  disabled: e.disabled,
126938
126999
  fileInfo: e.fileInfo,
@@ -126951,8 +127012,9 @@ const _hoisted_1$1 = ["onClick"], _hoisted_2 = { style: { "margin-left": "6.5px"
126951
127012
  onRemove: e.onRemove,
126952
127013
  beforeDownload: e.beforeDownload,
126953
127014
  pageContext: e.pageContext,
126954
- configure: e.configure
126955
- }, null, 8, ["disabled", "fileInfo", "systemCode", "accept", "multiple", "limit", "limitFileSize", "placeholder", "action", "headers", "file-list", "handleBeforeUpload", "onSuccess", "beforeRemove", "onRemove", "beforeDownload", "pageContext", "configure"])) : e.displayType === "drag" ? (openBlock(), createBlock(_sfc_main$2, {
127015
+ configure: e.configure,
127016
+ openFsUpload: e.openFsUpload
127017
+ }, null, 8, ["disabled", "fileInfo", "systemCode", "accept", "multiple", "limit", "limitFileSize", "placeholder", "action", "headers", "file-list", "handleBeforeUpload", "onSuccess", "beforeRemove", "onRemove", "beforeDownload", "pageContext", "configure", "openFsUpload"])) : e.displayType === "drag" ? (openBlock(), createBlock(_sfc_main$2, {
126956
127018
  key: 2,
126957
127019
  disabled: e.disabled,
126958
127020
  fileInfo: e.fileInfo,
@@ -126971,8 +127033,9 @@ const _hoisted_1$1 = ["onClick"], _hoisted_2 = { style: { "margin-left": "6.5px"
126971
127033
  onRemove: e.onRemove,
126972
127034
  beforeDownload: e.beforeDownload,
126973
127035
  pageContext: e.pageContext,
126974
- configure: e.configure
126975
- }, null, 8, ["disabled", "fileInfo", "systemCode", "accept", "multiple", "limit", "limitFileSize", "placeholder", "action", "headers", "file-list", "handleBeforeUpload", "onSuccess", "beforeRemove", "onRemove", "beforeDownload", "pageContext", "configure"])) : createCommentVNode("", !0);
127036
+ configure: e.configure,
127037
+ openFsUpload: e.openFsUpload
127038
+ }, null, 8, ["disabled", "fileInfo", "systemCode", "accept", "multiple", "limit", "limitFileSize", "placeholder", "action", "headers", "file-list", "handleBeforeUpload", "onSuccess", "beforeRemove", "onRemove", "beforeDownload", "pageContext", "configure", "openFsUpload"])) : createCommentVNode("", !0);
126976
127039
  };
126977
127040
  }
126978
127041
  });