super-page-designer 2.3.11-design3 → 2.3.12-sit1-design1

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 (57) hide show
  1. package/dist/es/components/design/utils/page-event-util.js +0 -1
  2. package/dist/es/components/design/utils/page-i18n-util.js +5 -6
  3. package/dist/es/components/design/utils/page-table-util.js +93 -60
  4. package/dist/es/components/design/views/assemblys/button/button/button-attr-advanced.vue.js +32 -31
  5. package/dist/es/components/design/views/assemblys/button/component/journal-set-dialog.vue.js +3 -3
  6. package/dist/es/components/design/views/assemblys/button/component/journal-set-dialog.vue2.js +23 -30
  7. package/dist/es/components/design/views/assemblys/button/export-pdf/exportpdf-attr-advanced.vue.js +21 -20
  8. package/dist/es/components/design/views/assemblys/chart/column-line/series/column-line-series-attr-base.vue.js +4 -5
  9. package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-attr-base.vue.js +5 -91
  10. package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-attr-base.vue2.js +99 -2
  11. package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-design.vue2.js +17 -17
  12. package/dist/es/components/design/views/assemblys/common/common-icon-bind.vue.js +1 -1
  13. package/dist/es/components/design/views/assemblys/common/common-icon-bind.vue2.js +23 -26
  14. package/dist/es/components/design/views/assemblys/common/common-style-background.vue.js +2 -3
  15. package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue.js +1 -1
  16. package/dist/es/components/design/views/assemblys/common/{common-variable-bind.vue2.js → common-variable-bind.vue3.js} +13 -13
  17. package/dist/es/components/design/views/assemblys/common/common-watermark.vue.js +24 -0
  18. package/dist/es/components/design/views/assemblys/common/common-watermark.vue2.js +4 -0
  19. package/dist/es/components/design/views/assemblys/common/page-permission-select.vue.js +4 -4
  20. package/dist/es/components/design/views/assemblys/container/tabs/tabs-attr.vue2.js +2 -3
  21. package/dist/es/components/design/views/assemblys/container/tools/tools-design.vue2.js +22 -22
  22. package/dist/es/components/design/views/assemblys/data/bar-code/barcode-design.vue2.js +3 -3
  23. package/dist/es/components/design/views/assemblys/data/component/composite-header.vue2.js +1 -1
  24. package/dist/es/components/design/views/assemblys/data/component/configuration-value.vue.js +11 -76
  25. package/dist/es/components/design/views/assemblys/data/component/dynamic-column.vue.js +44 -42
  26. package/dist/es/components/design/views/assemblys/data/component/formatting.vue.js +23 -20
  27. package/dist/es/components/design/views/assemblys/data/component/import-header.vue.js +2 -2
  28. package/dist/es/components/design/views/assemblys/data/component/table-column-format.vue.js +19 -0
  29. package/dist/es/components/design/views/assemblys/data/component/table-column-format.vue2.js +4 -0
  30. package/dist/es/components/design/views/assemblys/data/table/table-design.vue2.js +2 -2
  31. package/dist/es/components/design/views/assemblys/data/table/tablecolumn-attr-base.vue.js +3 -3
  32. package/dist/es/components/design/views/assemblys/data/table/tablecolumn-attr-base.vue2.js +72 -75
  33. package/dist/es/components/design/views/assemblys/data/table/tablecolumn-dynamic-column.vue.js +10 -10
  34. package/dist/es/components/design/views/assemblys/data/tree/tree-attr-base.vue.js +4 -4
  35. package/dist/es/components/design/views/assemblys/data/tree/tree-design.vue2.js +3 -3
  36. package/dist/es/components/design/views/assemblys/form/common/icon-set-dialog.vue2.js +1 -1
  37. package/dist/es/components/design/views/assemblys/form/file-upload/fileupload-attr-advanced.vue.js +9 -8
  38. package/dist/es/components/design/views/assemblys/form/file-upload/fileupload-design.vue2.js +1 -1
  39. package/dist/es/components/design/views/assemblys/form/label/label-design.vue2.js +11 -11
  40. package/dist/es/components/design/views/assemblys/form/rich-text/richtext-design.vue2.js +13 -14
  41. package/dist/es/components/design/views/assemblys/object-design.vue.js +1 -1
  42. package/dist/es/components/design/views/assemblys/object-design.vue3.js +1 -1
  43. package/dist/es/components/design/views/assemblys/page/component/setting-form-rule-base-input.vue.js +2 -2
  44. package/dist/es/components/design/views/assemblys/page/page-attr-advanced.vue.js +1 -1
  45. package/dist/es/components/design/views/assemblys/workflow/picture-flow/pictureflow-design.vue2.js +1 -1
  46. package/dist/es/components/design/views/assemblys/workflow/workflow-node/workflownode-design.vue2.js +3 -3
  47. package/dist/es/components/design/views/design/page-design.vue2.js +1 -1
  48. package/dist/es/components/design/views/design/page-event/config.vue.js +7 -0
  49. package/dist/es/components/design/views/design/page-event/config.vue2.js +76 -5
  50. package/dist/es/components/design/views/design/page-event/page-event-content.vue.js +1 -1
  51. package/dist/es/components/design/views/design/view/components/quick-add-dialog.vue.js +0 -1
  52. package/dist/es/components/design/views/design/view/page-switch.vue2.js +2 -3
  53. package/dist/es/components/design/views/design/view/view-design-display.vue.js +1 -1
  54. package/dist/es/stores/undo-redo-store.js +1 -1
  55. package/dist/es/style.css +16 -12
  56. package/package.json +4 -4
  57. package/dist/es/components/design/views/design/page-event/config.vue3.js +0 -79
@@ -6,7 +6,6 @@ function t() {
6
6
  try {
7
7
  for (let e2 of o) "customFunc" == e2.name && r.push({ value: e2.eventName, label: e2.eventName + (e2.remark ? "-" + e2.remark : "") });
8
8
  } catch (e2) {
9
- console.error("获取自定义方法失败", e2);
10
9
  }
11
10
  return r;
12
11
  }
@@ -1,20 +1,19 @@
1
1
  const e = ["tools", "form"];
2
- function s(r, a) {
2
+ function s(l, o) {
3
3
  var _a;
4
4
  try {
5
- r.name || r.label && o(r.label, a), ((_a = r.props) == null ? void 0 : _a.base) && !e.includes(r.name) && (r.props.base.title && o(r.props.base.title, a), r.props.base.placeholder && o(r.props.base.placeholder, a), r.props.base.label && o(r.props.base.label, a)), r.items && r.items.length > 0 && r.items.forEach((e2) => {
6
- s(e2, a);
5
+ l.name || l.label && a(l.label, o), ((_a = l.props) == null ? void 0 : _a.base) && !e.includes(l.name) && (l.props.base.title && a(l.props.base.title, o), l.props.base.placeholder && a(l.props.base.placeholder, o), l.props.base.label && a(l.props.base.label, o)), l.items && l.items.length > 0 && l.items.forEach((e2) => {
6
+ s(e2, o);
7
7
  });
8
8
  } catch (e2) {
9
- console.error(e2);
10
9
  }
11
10
  }
12
- function o(e2, s2) {
11
+ function a(e2, s2) {
13
12
  Array.isArray(e2) || (e2 = [e2]), e2.forEach((e3) => {
14
13
  s2.i18nKeys.includes(e3) || s2.i18nKeys.push(e3);
15
14
  });
16
15
  }
17
16
  export {
18
- o as addI18nKey,
17
+ a as addI18nKey,
19
18
  s as setPagetemI18nKey
20
19
  };
@@ -3,81 +3,85 @@ import { getFormPropName as t } from "./page-helper-util.js";
3
3
  import { getDesignEvents as r } from "./assemblys-config.js";
4
4
  import { addI18nKey as a } from "./page-i18n-util.js";
5
5
  import { findDesignItemByUuid as o } from "./common-util.js";
6
- import { getComponentOptionConfigsBase as s } from "super-page-runtime";
7
- function i(t2, r2, a2) {
6
+ import { getComponentOptionConfigsBase as i } from "super-page-runtime";
7
+ function n(t2, r2, a2) {
8
8
  let o2 = window.$vueApp.config.globalProperties.baseAPI + "/mms/data-tables/table-columns";
9
9
  return o2 += "?systemCode=" + (t2 || ""), o2 += "&publishVersion=" + (r2 || ""), o2 += "&tableName=" + (a2 || ""), e.get(o2);
10
10
  }
11
- function n(t2, r2, a2) {
11
+ function s(t2, r2, a2) {
12
12
  const o2 = { systemCode: t2, formVersion: r2, publishVersion: a2 };
13
13
  return e.get(window.$vueApp.config.globalProperties.baseAPI + "/mms/list-view-children/forms", o2);
14
14
  }
15
15
  function p(e2, r2) {
16
- const o2 = JSON.stringify(e2), s2 = JSON.parse(o2);
17
- r2.tableRuntimes || (r2.tableRuntimes = {}), r2.tableRuntimes[s2.uuid] = function(e3, r3, o3) {
16
+ const o2 = JSON.stringify(e2), i2 = JSON.parse(o2);
17
+ r2.tableRuntimes || (r2.tableRuntimes = {}), r2.tableRuntimes[i2.uuid] = function(e3, r3, o3) {
18
18
  var _a;
19
- const s3 = "V" + r3.version + "__" + r3.code + "__" + e3.uuid, i3 = { configure: o3, code: s3, name: e3.title, totalType: e3.props.base ? e3.props.base.totalType : null, remark: e3.props.base ? e3.props.base.remark : null, pagination: e3.props.base ? e3.props.base.subPaging : null, rowNum: e3.props.base ? e3.props.base.pageSize : null, optionalRows: e3.props.base ? e3.props.base.pageSizes : null, layout: e3.props.base ? JSON.stringify(e3.props.base.layout) : null, startQuery: e3.props.base ? e3.props.base.startQuery : null, popUp: e3.props.base ? e3.props.base.popUp : null, isInitializationQuery: e3.props.dataOrigin.initializationQuery, defaultQueryCriteria: e3.props.dataOrigin.defaultQueryCriteria, queryLabelPosition: e3.props.base ? e3.props.base.queryLabelPosition : null, editable: e3.props.base ? e3.props.base.editable : null, urlToListData: e3.props.base ? e3.props.base.urlToListData : null, isSql: true, customConfig: e3.props.base ? e3.props.base.customConfig : null, tableName: e3.props.dataOrigin.tableName, totalable: e3.props.title.totalable, defaultSortField: JSON.stringify(e3.props.dataOrigin.sortField), titleAlign: e3.props.base ? e3.props.base.alignTitle : null, contAlign: e3.props.base ? e3.props.base.alignContent : null, displayEffect: e3.props.base ? e3.props.base.displayEffect : null, textOverflow: (_a = e3.props.base) == null ? void 0 : _a.textOverflow, isDragColumn: e3.props.base ? e3.props.base.isDragColumn : null, border: e3.props.base ? e3.props.base.border : null, customImportColumns: e3.props.importSetting.importFields };
20
- return i3.items = function(e4, r4) {
19
+ const i3 = "V" + r3.version + "__" + r3.code + "__" + e3.uuid, n3 = { configure: o3, code: i3, name: e3.title, totalType: e3.props.base ? e3.props.base.totalType : null, remark: e3.props.base ? e3.props.base.remark : null, pagination: e3.props.base ? e3.props.base.subPaging : null, rowNum: e3.props.base ? e3.props.base.pageSize : null, optionalRows: e3.props.base ? e3.props.base.pageSizes : null, layout: e3.props.base ? JSON.stringify(e3.props.base.layout) : null, startQuery: e3.props.base ? e3.props.base.startQuery : null, popUp: e3.props.base ? e3.props.base.popUp : null, isInitializationQuery: e3.props.dataOrigin.initializationQuery, defaultQueryCriteria: e3.props.dataOrigin.defaultQueryCriteria ? JSON.stringify(e3.props.dataOrigin.defaultQueryCriteria) : "", queryLabelPosition: e3.props.base ? e3.props.base.queryLabelPosition : null, editable: e3.props.base ? e3.props.base.editable : null, urlToListData: e3.props.base ? e3.props.base.urlToListData : null, customConfig: e3.props.base ? e3.props.base.customConfig : null, tableName: e3.props.dataOrigin.tableName, totalable: e3.props.title.totalable, defaultSortField: JSON.stringify(e3.props.dataOrigin.sortField), titleAlign: e3.props.base ? e3.props.base.alignTitle : null, contAlign: e3.props.base ? e3.props.base.alignContent : null, displayEffect: e3.props.base ? e3.props.base.displayEffect : null, textOverflow: (_a = e3.props.base) == null ? void 0 : _a.textOverflow, isDragColumn: e3.props.base ? e3.props.base.isDragColumn : null, border: e3.props.base ? e3.props.base.border : null, customImportColumns: e3.props.importSetting.importFields };
20
+ return n3.items = function(e4, r4) {
21
21
  var _a2;
22
22
  const o4 = [];
23
23
  return (_a2 = e4.items) == null ? void 0 : _a2.forEach((e5) => {
24
- const s4 = { controlName: c(e5) };
25
- let i4 = { headerName: e5.props.base.name, prop: t(e5.props.base.prop), width: e5.props.base.columnWidth, listColumnSort: e5.props.base.sortable, filterable: e5.props.base.filterable, visible: e5.props.base.visible, exportable: e5.props.base.exportable, total: e5.props.base.total, listColumnFixed: e5.props.base.listColumnFixed, format: g(e5), valueSet: l(e5), querySettingName: e5.props.base.querySettingName ? e5.props.base.querySettingName : "no", queryMatching: e5.props.base.queryMatching, querySetting: e5.props.querySetting ? JSON.stringify(e5.props.querySetting) : null, editable: e5.props.editLine.editable, defaultValue: e5.props.base.defaultValue, controlName: s4.controlName, controlConfig: b(e5), eventType: S(e5), displayOrder: e5.props.base.displayOrder, fileSet: f(e5), orgTreeSet: d(e5), dynamicColumnJson: C(e5), valueSetOptions: u(e5, r4.systemCode, r4.systemVersion), required: e5.props.verification.required, pattern: e5.props.verification.verifyRegex, checkType: O(e5.props.verification.type), contAlign: e5.props.base ? e5.props.base.alignContent : null, titleAlign: e5.props.base ? e5.props.base.alignTitle : null, i18nKey: e5.props.base.name };
26
- r4.i18nKeys && a(e5.props.base.name, r4), e5.functionCodes && e5.functionCodes.length > 0 && (i4.functionCode = e5.functionCodes.join(",")), o4.push(i4);
24
+ const i4 = { controlName: m(e5) };
25
+ let n4 = { headerName: e5.props.base.name, prop: t(e5.props.base.prop), width: e5.props.base.columnWidth, listColumnSort: e5.props.base.sortable, filterable: e5.props.base.filterable, visible: e5.props.base.visible, exportable: e5.props.base.exportable, total: e5.props.base.total, listColumnFixed: e5.props.base.listColumnFixed, format: b(e5), valueSet: l(e5), querySettingName: e5.props.base.querySettingName ? e5.props.base.querySettingName : "no", queryMatching: e5.props.base.queryMatching, querySetting: e5.props.querySetting ? JSON.stringify(e5.props.querySetting) : null, editable: e5.props.editLine.editable, defaultValue: e5.props.base.defaultValue, controlName: i4.controlName, controlConfig: g(e5), eventType: S(e5), displayOrder: e5.props.base.displayOrder, fileSet: d(e5), orgTreeSet: f(e5), dynamicColumnJson: C(e5), valueSetOptions: u(e5, r4.systemCode, r4.systemVersion), required: e5.props.verification.required, pattern: e5.props.verification.verifyRegex, checkType: T(e5.props.verification.type), contAlign: e5.props.base ? e5.props.base.alignContent : null, titleAlign: e5.props.base ? e5.props.base.alignTitle : null, i18nKey: e5.props.base.name };
26
+ r4.i18nKeys && a(e5.props.base.name, r4), e5.functionCodes && e5.functionCodes.length > 0 && (n4.functionCode = e5.functionCodes.join(",")), o4.push(n4);
27
27
  }), o4;
28
- }(e3, r3), i3.groupHeaders = function(e4) {
28
+ }(e3, r3), n3.groupHeaders = function(e4) {
29
29
  const t2 = [];
30
30
  e4.props.base.isEnableGroupHeader && e4.props.groupHeaders && e4.props.groupHeaders.forEach((e5) => {
31
31
  const r4 = { titleText: e5.titleText, parentCode: e5.parentUuid, displayOrder: e5.displayOrder, prop: e5.prop, uuid: e5.uuid };
32
32
  t2.push(r4);
33
33
  });
34
34
  return t2.sort((e5, t3) => e5.displayOrder - t3.displayOrder), t2;
35
- }(e3), i3;
36
- }(s2, r2, o2), delete e2.btnList, delete e2.items, delete e2.modelFields;
37
- const i2 = s2.runtime;
38
- if (i2 && (i2.events || i2.common)) {
39
- const { events: t2, common: r3 } = i2;
35
+ }(e3), n3;
36
+ }(i2, r2, o2), delete e2.btnList, delete e2.items, delete e2.modelFields;
37
+ const n2 = i2.runtime;
38
+ if (n2 && (n2.events || n2.common)) {
39
+ const { events: t2, common: r3 } = n2;
40
40
  e2.runtime = { events: t2, common: r3 };
41
41
  } else delete e2.runtime;
42
42
  }
43
- function l(e2, t2) {
44
- const r2 = e2.props;
43
+ function l(e2) {
44
+ const t2 = e2.props;
45
45
  if ("inputNumber" === e2.name) return null;
46
- if (r2.dataOrigin && r2.dataOrigin.optionValueSetType && "none" !== r2.dataOrigin.optionValueSetType) {
47
- const e3 = r2.dataOrigin.optionValueSetType;
46
+ if (t2.dataOrigin && t2.dataOrigin.optionValueSetType && "none" !== t2.dataOrigin.optionValueSetType) {
47
+ const e3 = t2.dataOrigin.optionValueSetType;
48
48
  if ("static" === e3) {
49
- return r2.dataOrigin.staticStates.map((e4) => `${e4.value}:${e4.label}`).join(",");
49
+ return t2.dataOrigin.staticStates.map((e4) => `${e4.value}:${e4.label}`).join(",");
50
50
  }
51
- if ("optionGroup" === e3) return `${e3}:${r2.dataOrigin.optionGroup}`;
52
- if ("dynamicData" === e3) return `dynamicDataSource:${r2.dataOrigin.dynamicDataSourceCode}`;
53
- if ("dataTable" === e3) return `${e3}:${r2.dataOrigin.tableName}`;
54
- if ("service" === e3) return `${e3}:${r2.dataOrigin.serveName}`;
51
+ if ("optionGroup" === e3) return `${e3}:${t2.dataOrigin.optionGroup}`;
52
+ if ("dynamicData" === e3) return `dynamicDataSource:${t2.dataOrigin.dynamicDataSourceCode}`;
53
+ if ("dataTable" === e3) return `${e3}:${t2.dataOrigin.tableName}`;
54
+ if ("service" === e3) return `${e3}:${t2.dataOrigin.serveName}`;
55
55
  }
56
56
  }
57
57
  function u(e2, t2, r2) {
58
+ if (!e2) return;
58
59
  const a2 = e2.props;
59
- if ("inputNumber" === e2.name) {
60
- const e3 = { step: a2.base.step, precision: a2.base.precision };
61
- return e3.min = a2.base.min || 0 === a2.base.min ? a2.base.min : null, e3.max = a2.base.max || 0 === a2.base.max ? a2.base.max : null, JSON.stringify(e3);
62
- }
63
- if ("switch" === e2.name) return JSON.stringify({ activeText: a2.base.activeText, activeValue: a2.base.activeValue, inactiveText: a2.base.inactiveText, inactiveValue: a2.base.inactiveValue, offColor: a2.base.offColor, onColor: a2.base.onColor });
64
- if (a2.dataOrigin && a2.dataOrigin.optionValueSetType) {
65
- const o2 = a2.dataOrigin.optionValueSetType, i2 = a2.dataOrigin;
66
- if ("dynamicData" === o2) return JSON.stringify({ type: "dynamicData", dynamicDataSourceCode: i2.dynamicDataSourceCode, filterType: i2.filterType, valueSetOptions: m(i2), valueLabelSwitch: !!i2.valueLabelSwitch });
60
+ let o2 = function(e3) {
61
+ const t3 = e3.props;
62
+ if ("inputNumber" === e3.name) {
63
+ const e4 = { step: t3.base.step, precision: t3.base.precision };
64
+ return e4.min = t3.base.min || 0 === t3.base.min ? t3.base.min : null, e4.max = t3.base.max || 0 === t3.base.max ? t3.base.max : null, JSON.stringify(e4);
65
+ }
66
+ if ("switch" === e3.name) return JSON.stringify({ activeText: t3.base.activeText, activeValue: t3.base.activeValue, inactiveText: t3.base.inactiveText, inactiveValue: t3.base.inactiveValue, offColor: t3.base.offColor, onColor: t3.base.onColor });
67
+ }(e2);
68
+ if (!o2 && a2.dataOrigin && a2.dataOrigin.optionValueSetType) {
69
+ const o3 = a2.dataOrigin.optionValueSetType, n2 = a2.dataOrigin;
70
+ if ("dynamicData" === o3) return JSON.stringify({ type: "dynamicData", dynamicDataSourceCode: n2.dynamicDataSourceCode, filterType: n2.filterType, valueSetOptions: c(n2), valueLabelSwitch: !!n2.valueLabelSwitch });
67
71
  {
68
- const a3 = s(e2, t2, r2);
69
- return a3 ? (a3.valueSetOptions = m(i2), JSON.stringify(a3)) : null;
72
+ const a3 = i(e2, t2, r2);
73
+ return a3 ? (a3.valueSetOptions = c(n2), JSON.stringify(a3)) : null;
70
74
  }
71
75
  }
72
76
  }
73
- function m(e2) {
77
+ function c(e2) {
74
78
  const t2 = [];
75
79
  return e2.autoSets.forEach((e3) => {
76
80
  const r2 = y(e3.target);
77
81
  t2.push({ columnName: y(e3.source), valueField: r2, valueColumn: { name: r2, dbColumnName: r2.toUpperCase() } });
78
82
  }), t2;
79
83
  }
80
- function c(e2) {
84
+ function m(e2) {
81
85
  if (!e2.name) return null;
82
86
  switch (e2.name) {
83
87
  case "input-text":
@@ -144,7 +148,7 @@ function c(e2) {
144
148
  return "custom:" + e2.props.base.customComponent;
145
149
  }
146
150
  }
147
- function d(e2) {
151
+ function f(e2) {
148
152
  if ("dept-tree" === e2.name) {
149
153
  const t2 = [];
150
154
  return e2.props.base.otherFieldSets && e2.props.base.otherFieldSets.length > 0 && e2.props.base.otherFieldSets.forEach((e3) => {
@@ -153,7 +157,7 @@ function d(e2) {
153
157
  }
154
158
  return null;
155
159
  }
156
- function f(e2) {
160
+ function d(e2) {
157
161
  if ("file-upload" === e2.name) {
158
162
  const t2 = y(e2.props.base.prop), r2 = y(e2.props.format ? e2.props.format.fileUuid : null);
159
163
  let a2 = {};
@@ -161,20 +165,20 @@ function f(e2) {
161
165
  }
162
166
  return null;
163
167
  }
164
- function b(e2) {
168
+ function g(e2) {
165
169
  var _a, _b, _c, _d, _e, _f;
166
170
  let t2 = {};
167
171
  if ("select" === e2.name) {
168
172
  const r2 = e2.props.base, a2 = r2.allowCreate, o2 = r2.clearable;
169
- let s2 = false;
170
- ("normal" === e2.props.dataOrigin.filterType || a2) && (s2 = true), t2.automaticDropdown = false, t2.clearable = o2, t2.filterable = s2, t2.allowCreate = a2;
173
+ let i2 = false;
174
+ ("normal" === e2.props.dataOrigin.filterType || a2) && (i2 = true), t2.automaticDropdown = false, t2.clearable = o2, t2.filterable = i2, t2.allowCreate = a2;
171
175
  } else if ("input-text" === e2.name) {
172
176
  const r2 = !!((_a = e2.props.scan) == null ? void 0 : _a.enable), a2 = (_b = e2.props.scan) == null ? void 0 : _b.ruleList;
173
177
  t2.scanEnable = r2, t2.scanRuleList = a2;
174
178
  } else "custom" === e2.name ? t2.customParams = e2.props.parameter : "datePicker" === e2.name ? (t2.format = e2.props.base.format, t2.valueFormat = e2.props.base.valueFormat) : "dept-tree" === e2.name && (t2.limitFilterColumn = e2.props.base.limitFilterColumn, t2.deptScope = e2.props.base.deptScope, t2.deptScopeField = e2.props.base.deptScopeField, t2.deptScopeDepts = e2.props.base.deptScopeDepts);
175
179
  return ((_c = e2.style) == null ? void 0 : _c.cellStyle) && (t2.cellStyle = e2.style.cellStyle), ((_d = e2.style) == null ? void 0 : _d.titleStyle) && (t2.titleStyle = e2.style.titleStyle), ((_f = (_e = e2.props) == null ? void 0 : _e.base) == null ? void 0 : _f.editConditions) && e2.props.base.editConditions.length > 0 && (t2.editConditions = e2.props.base.editConditions), t2 ? JSON.stringify(t2) : null;
176
180
  }
177
- function g(e2) {
181
+ function b(e2) {
178
182
  var _a, _b, _c;
179
183
  if (e2.props.format) {
180
184
  if ("hyperlinks" === e2.props.format.type && ((_a = e2.props.linkPage) == null ? void 0 : _a.length) > 0) {
@@ -214,10 +218,39 @@ function S(e2, t2) {
214
218
  e3.jsContent && e3.jsContent.trim() && (r2 || (r2 = {}), r2[e3.name] = e3.componentUuid + "_" + e3.name);
215
219
  }), r2) ? JSON.stringify(r2) : r2;
216
220
  }
217
- function C(e2) {
218
- return e2.props.base.prop && "dynamicColumnSelect" === e2.props.base.prop ? JSON.stringify(e2.props.dynamicColumnData) : null;
221
+ function C(e2, t2) {
222
+ return e2.props.base.prop && "dynamicColumnSelect" === e2.props.base.prop ? (function(e3) {
223
+ if (!e3 || !e3.columnModelTable) return;
224
+ e3.columnModelTable.forEach((e4) => {
225
+ var _a, _b, _c, _d, _e, _f;
226
+ const t4 = e4.componentConfig;
227
+ if (t4) {
228
+ e4.format = b(t4), e4.defaultValue = (_b = (_a = t4.props) == null ? void 0 : _a.base) == null ? void 0 : _b.defaultValue, e4.controlName = m(t4), e4.controlConfig = g(t4), e4.eventType = S(t4), e4.fileSet = d(t4), e4.orgTreeSet = f(t4), e4.required = (_d = (_c = t4.props) == null ? void 0 : _c.verification) == null ? void 0 : _d.required, e4.pattern = (_f = (_e = t4.props) == null ? void 0 : _e.verification) == null ? void 0 : _f.verifyRegex, e4.checkType = T(t4.props.verification.type);
229
+ const r3 = l(t4);
230
+ e4.valueSet = r3;
231
+ let a3 = u(t4, null, null);
232
+ a3 || (a3 = e4.valueSetOptions), e4.valueSetOptions = a3, e4.functionCodes && e4.functionCodes.length > 0 ? e4.functionCode = e4.functionCodes.join(",") : e4.functionCode = "";
233
+ } else e4.format = null, e4.defaultValue = null, e4.controlName = null, e4.controlConfig = null, e4.eventType = null, e4.fileSet = null, e4.orgTreeSet = null, e4.required = null, e4.pattern = null, e4.checkType = null, e4.valueSet = null;
234
+ let r2 = u(t4, null, null);
235
+ r2 || (r2 = e4.valueSetOptions), e4.valueSetOptions = r2;
236
+ const a2 = e4.titleValueSetComponentConfig;
237
+ if (a2) {
238
+ const t5 = l(a2);
239
+ e4.titleValueSet = t5;
240
+ let r3 = u(a2, null, null);
241
+ e4.titleValueSetOptions = r3;
242
+ } else e4.titleValueSet = null, e4.titleValueSetOptions = null;
243
+ });
244
+ const t3 = e3.groupTitleDynamicConfigure;
245
+ if (t3) {
246
+ const r2 = l(t3);
247
+ r2 ? (e3.groupTitleValueSet || (e3.groupTitleValueSet = {}), e3.groupTitleValueSet.valueSet = r2) : e3.groupTitleValueSet && e3.groupTitleValueSet.valueSet && (e3.groupTitleValueSet.valueSet = null);
248
+ let a2 = u(t3, null, null);
249
+ a2 ? (e3.groupTitleValueSet || (e3.groupTitleValueSet = {}), e3.groupTitleValueSet.valueSetOptions = a2) : e3.groupTitleValueSet && e3.groupTitleValueSet.valueSetOptions && (e3.groupTitleValueSet.valueSetOptions = null);
250
+ } else e3.groupTitleValueSet = null;
251
+ }(e2.props.dynamicColumnData), JSON.stringify(e2.props.dynamicColumnData)) : null;
219
252
  }
220
- function O(e2) {
253
+ function T(e2) {
221
254
  if (Array.isArray(e2) && e2.length > 0) {
222
255
  const t2 = [];
223
256
  return e2.forEach((e3) => {
@@ -226,38 +259,38 @@ function O(e2) {
226
259
  }
227
260
  return Array.isArray(e2) && 0 === e2.length ? null : e2;
228
261
  }
229
- function h(e2, t2) {
262
+ function O(e2, t2) {
230
263
  let a2 = { uuid: e2.uuid, base: e2.props.base, dataOrigin: e2.props.dataOrigin, dynamicColumnData: e2.props.dynamicColumnData, editLine: e2.props.editLine, format: e2.props.format, verification: e2.props.verification, definition: e2.props.definition, size: e2.props.size };
231
264
  e2.props = {}, e2.uuid = a2.uuid, e2.props.base = a2.base, e2.props.dataOrigin = a2.dataOrigin, e2.props.dynamicColumnData = a2.dynamicColumnData, e2.props.editLine = a2.editLine, e2.props.format = a2.format, e2.props.verification = a2.verification, e2.props.definition = a2.definition, e2.props.size = a2.size, e2.events = r(t2), e2.name = t2;
232
265
  }
233
- function T(e2, t2) {
266
+ function h(e2, t2) {
234
267
  return e2 = {}, t2.forEach((t3) => {
235
268
  e2[t3.dbColumnName] = t3;
236
269
  }), e2;
237
270
  }
238
- function N(e2, t2) {
271
+ function v(e2, t2) {
239
272
  let r2, a2 = e2.tableName;
240
273
  return a2 || (e2.tableRuntimes && t2 && e2.tableRuntimes[t2] && e2.pageType && "list" === e2.pageType && (r2 = JSON.parse(e2.tableRuntimes[t2].configure)), r2 && r2.props && r2.props.dataOrigin ? r2.props.dataOrigin.tableName : null);
241
274
  }
242
- function v(e2) {
275
+ function N(e2) {
243
276
  let t2 = [];
244
277
  return e2 && e2.forEach((e3) => {
245
278
  t2.push({ value: e3.dbColumnName, label: e3.alias, alias: e3.alias, dataType: e3.dataType });
246
279
  }), t2;
247
280
  }
248
- function D(e2, t2, r2) {
281
+ function V(e2, t2, r2) {
249
282
  var _a;
250
283
  const a2 = e2 ? e2.pageType : null;
251
- let s2, i2;
252
- return r2 ? s2 = r2 : (t2 == null ? void 0 : t2.props.base.tableUuid) ? (i2 = t2.props.base.tableUuid, s2 = o(e2, i2)) : a2 && "list" === a2 && ((_a = e2 == null ? void 0 : e2.tableUuids) == null ? void 0 : _a.length) > 0 ? (i2 = e2 == null ? void 0 : e2.tableUuids[0], s2 = o(e2, i2)) : (e2 == null ? void 0 : e2.currentTableConfig) && (s2 = e2.currentTableConfig), s2;
284
+ let i2, n2;
285
+ return r2 ? i2 = r2 : (t2 == null ? void 0 : t2.props.base.tableUuid) ? (n2 = t2.props.base.tableUuid, i2 = o(e2, n2)) : a2 && "list" === a2 && ((_a = e2 == null ? void 0 : e2.tableUuids) == null ? void 0 : _a.length) > 0 ? (n2 = e2 == null ? void 0 : e2.tableUuids[0], i2 = o(e2, n2)) : (e2 == null ? void 0 : e2.currentTableConfig) && (i2 = e2.currentTableConfig), i2;
253
286
  }
254
287
  export {
255
- T as changeFeieldToMap,
256
- v as getModelOptionsByFields,
257
- D as getTableConfigByTableUuid,
258
- N as getTableNameByTableUuid,
259
- n as querySublist,
260
- i as queryTableFields,
288
+ h as changeFeieldToMap,
289
+ N as getModelOptionsByFields,
290
+ V as getTableConfigByTableUuid,
291
+ v as getTableNameByTableUuid,
292
+ s as querySublist,
293
+ n as queryTableFields,
261
294
  p as setTableRuntimesFromConfigure,
262
- h as tableResetConfigIndo
295
+ O as tableResetConfigIndo
263
296
  };
@@ -1,4 +1,4 @@
1
- import { defineComponent as e, ref as o, watch as l, resolveComponent as a, createBlock as i, openBlock as n, withCtx as t, createVNode as s, createCommentVNode as u, createElementVNode as r, createElementBlock as p, Fragment as f, renderList as c, createTextVNode as g, withDirectives as d, vShow as m } from "vue";
1
+ import { defineComponent as e, ref as o, watch as l, resolveComponent as a, createBlock as i, openBlock as n, withCtx as t, createVNode as u, createCommentVNode as s, createElementVNode as r, createElementBlock as f, Fragment as c, renderList as p, createTextVNode as g, withDirectives as m, vShow as d } from "vue";
2
2
  import b from "../component/condition-dialog.vue.js";
3
3
  import v from "../component/set-dialog.vue.js";
4
4
  import y from "../component/combination.vue.js";
@@ -6,56 +6,57 @@ import C from "../component/journal-set-dialog.vue.js";
6
6
  import _ from "../../common/common-advanced-basic-showcondition.vue.js";
7
7
  import { isShowOpinionSetting as k } from "../../../../utils/form-design-util.js";
8
8
  import V from "agilebuilder-ui/src/utils/request";
9
- import { getTableConfigByTableUuid as h } from "../../../../utils/page-table-util.js";
10
- const w = { style: { padding: "8px 0px 0px 0px" } }, D = e({ __name: "button-attr-advanced", props: { configure: { type: Object, default: () => {
9
+ import { getTableConfigByTableUuid as w } from "../../../../utils/page-table-util.js";
10
+ import h from "../../common/common-watermark.vue.js";
11
+ const D = { style: { padding: "8px 0px 0px 0px" } }, j = e({ __name: "button-attr-advanced", props: { configure: { type: Object, default: () => {
11
12
  } }, pageDesign: { type: Object, default: () => {
12
13
  } } }, setup(e2) {
13
14
  var _a;
14
- const D2 = e2, O = o(["base"]), j = o(false), M = o([]), x = (_a = D2.pageDesign) == null ? void 0 : _a.systemVersion, L = o(h(D2.pageDesign, D2.configure));
15
- function R() {
16
- j.value = false;
15
+ const j2 = e2, O = o(["base"]), M = o(false), x = o([]), L = (_a = j2.pageDesign) == null ? void 0 : _a.systemVersion, R = o(w(j2.pageDesign, j2.configure));
16
+ function S() {
17
+ M.value = false;
17
18
  }
18
- function S(e3) {
19
- D2.configure.props.base.logSetting = e3, R();
19
+ function N(e3) {
20
+ j2.configure.props.base.logSetting = e3, S();
20
21
  }
21
- V.post(window.$vueApp.config.globalProperties.baseAPI + `/mms/setting-transformations/option/${D2.pageDesign.systemCode}/${x}`).then((e3) => {
22
- M.value = e3;
22
+ V.post(window.$vueApp.config.globalProperties.baseAPI + `/mms/setting-transformations/option/${j2.pageDesign.systemCode}/${L}`).then((e3) => {
23
+ x.value = e3;
23
24
  });
24
- const N = o(false);
25
- function U() {
26
- N.value = false;
25
+ const U = o(false);
26
+ function z() {
27
+ U.value = false;
27
28
  }
28
- const z = o(false);
29
- function A() {
30
- z.value = false;
29
+ const A = o(false);
30
+ function $() {
31
+ A.value = false;
31
32
  }
32
- function $(e3) {
33
- D2.configure.props.setValueList = e3, D2.configure.props.setValueList;
33
+ function F(e3) {
34
+ j2.configure.props.setValueList = e3;
34
35
  }
35
- const F = o(false);
36
- function P() {
37
- F.value = false;
36
+ const P = o(false);
37
+ function W() {
38
+ P.value = false;
38
39
  }
39
- function W(e3) {
40
- D2.configure.props.base.showConditions = JSON.stringify(e3);
40
+ function q(e3) {
41
+ j2.configure.props.base.showConditions = JSON.stringify(e3);
41
42
  }
42
- const q = o(J("opinion")), I = o(J("wfRemark"));
43
- function J(e3) {
43
+ const I = o(B("opinion")), J = o(B("wfRemark"));
44
+ function B(e3) {
44
45
  let o2 = false;
45
- const l2 = D2.configure.events.filter((e4) => "click" === e4.name && e4.eventName);
46
+ const l2 = j2.configure.events.filter((e4) => "click" === e4.name && e4.eventName);
46
47
  if (l2 && l2.length > 0) {
47
48
  const a2 = l2[0].eventName;
48
49
  o2 = k(a2, e3);
49
50
  }
50
51
  return o2;
51
52
  }
52
- return l(D2.configure.events, (e3) => {
53
- q.value = J("opinion"), I.value = J("wfRemark"), q.value || (D2.configure.props.base.isMustOpinion = false);
53
+ return l(j2.configure.events, (e3) => {
54
+ I.value = B("opinion"), J.value = B("wfRemark"), I.value || (j2.configure.props.base.isMustOpinion = false);
54
55
  }, { immediate: true }), (o2, l2) => {
55
- const k2 = a("el-option"), V2 = a("el-select"), h2 = a("el-form-item"), D3 = a("el-button"), x2 = a("el-text"), J2 = a("el-switch"), B = a("el-collapse-item"), E = a("el-collapse"), G = a("el-form");
56
- return n(), i(G, { "label-width": "80px", size: "small" }, { default: t(() => [s(E, { modelValue: O.value, "onUpdate:modelValue": l2[7] || (l2[7] = (e3) => O.value = e3), style: { "margin-top": "6px" } }, { default: t(() => [s(B, { title: "高级设置", name: "base", class: "amb-design-attr-group-header" }, { default: t(() => [r("div", w, [s(h2, { label: "成功后", class: "amb-design-attr-item" }, { default: t(() => [s(V2, { modelValue: e2.configure.props.base.successOperation, "onUpdate:modelValue": l2[0] || (l2[0] = (o3) => e2.configure.props.base.successOperation = o3), class: "ml-4" }, { default: t(() => [s(k2, { label: "无操作", value: "noOperation" }), s(k2, { label: "刷新", value: "refresh" }), s(k2, { label: "关闭窗口", value: "closeWindow" }), s(k2, { label: "关闭窗口并刷新列表", value: "closeWindowAndRefresh" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(h2, { label: "转换规则", class: "amb-design-attr-item" }, { default: t(() => [s(V2, { modelValue: e2.configure.props.base.conversionCodes, "onUpdate:modelValue": l2[1] || (l2[1] = (o3) => e2.configure.props.base.conversionCodes = o3), multiple: "", class: "ml-4" }, { default: t(() => [(n(true), p(f, null, c(M.value, (e3) => (n(), i(k2, { key: e3.code, label: e3.name, value: e3.code }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(h2, { label: "执行条件", class: "amb-design-attr-item" }, { default: t(() => [s(D3, { type: "primary", onClick: l2[2] || (l2[2] = (e3) => N.value = true) }, { default: t(() => l2[8] || (l2[8] = [g("编辑")])), _: 1 })]), _: 1 }), s(h2, { label: "启用条件", class: "amb-design-attr-item" }, { default: t(() => [(n(), i(_, { key: e2.configure.uuid + "_edit", configure: e2.configure, title: "启用条件", tableConfigure: L.value, type: "editConditions" }, null, 8, ["configure", "tableConfigure"]))]), _: 1 }), s(h2, { label: "自动设值", class: "amb-design-attr-item" }, { default: t(() => [s(D3, { type: "primary", onClick: l2[3] || (l2[3] = (e3) => z.value = true) }, { default: t(() => l2[9] || (l2[9] = [g("编辑")])), _: 1 }), d(s(x2, { type: "success" }, { default: t(() => l2[10] || (l2[10] = [g("  已设置条件. ")])), _: 1 }, 512), [[m, e2.configure.props && e2.configure.props.setValueList && e2.configure.props.setValueList.length > 0]])]), _: 1 }), s(h2, { label: "显示条件", class: "amb-design-attr-item" }, { default: t(() => [(n(), i(_, { key: e2.configure.uuid + "_show", configure: e2.configure, type: "showConditions", tableConfigure: L.value }, null, 8, ["configure", "tableConfigure"]))]), _: 1 }), s(h2, { label: "日志设置", class: "amb-design-attr-item" }, { default: t(() => [s(D3, { type: "primary", onClick: l2[4] || (l2[4] = (e3) => j.value = true) }, { default: t(() => l2[11] || (l2[11] = [g("编辑")])), _: 1 })]), _: 1 }), q.value ? (n(), i(h2, { key: 0, label: "意见必填", class: "amb-design-attr-item" }, { default: t(() => [s(J2, { modelValue: e2.configure.props.base.isMustOpinion, "onUpdate:modelValue": l2[5] || (l2[5] = (o3) => e2.configure.props.base.isMustOpinion = o3), size: "default" }, null, 8, ["modelValue"])]), _: 1 })) : u("", true), e2.configure.props.base.isMustOpinion ? (n(), i(h2, { key: 1, label: "意见必填条件", class: "amb-design-attr-item" }, { default: t(() => [(n(), i(_, { key: e2.configure.uuid + "_opinion", configure: e2.configure, type: "mustOpinionConditions", tableConfigure: L.value, title: "意见必填条件" }, null, 8, ["configure", "tableConfigure"]))]), _: 1 })) : u("", true), I.value ? (n(), i(h2, { key: 2, label: "备注必填", class: "amb-design-attr-item" }, { default: t(() => [s(J2, { modelValue: e2.configure.props.base.isMustRemark, "onUpdate:modelValue": l2[6] || (l2[6] = (o3) => e2.configure.props.base.isMustRemark = o3), size: "default" }, null, 8, ["modelValue"])]), _: 1 })) : u("", true), e2.configure.props.base.isMustRemark ? (n(), i(h2, { key: 3, label: "备注必填条件", class: "amb-design-attr-item" }, { default: t(() => [(n(), i(_, { key: e2.configure.uuid + "_remark", configure: e2.configure, type: "mustRemarkConditions", tableConfigure: L.value, title: "办理备注必填条件" }, null, 8, ["configure", "tableConfigure"]))]), _: 1 })) : u("", true)])]), _: 1 }), N.value ? (n(), i(b, { key: 0, pageDesign: e2.pageDesign, configure: e2.configure, tableConfigure: L.value, onClose: U }, null, 8, ["pageDesign", "configure", "tableConfigure"])) : u("", true), z.value ? (n(), i(v, { key: 1, pageDesign: e2.pageDesign, configure: e2.configure, tableConfigure: L.value, onSave: $, onClose: A }, null, 8, ["pageDesign", "configure", "tableConfigure"])) : u("", true), F.value ? (n(), i(y, { key: 2, conditionList: e2.configure.props.base.showConditions, fieldNameList: e2.pageDesign.modelFields, fieldMap: e2.pageDesign.modelFieldsMap, tableConfigure: L.value, onSave: W, onClose: P }, null, 8, ["conditionList", "fieldNameList", "fieldMap", "tableConfigure"])) : u("", true), j.value ? (n(), i(C, { key: 3, modelValue: e2.configure.props.base.logSetting, onClose: R, onSave: S }, null, 8, ["modelValue"])) : u("", true)]), _: 1 }, 8, ["modelValue"])]), _: 1 });
56
+ const k2 = a("el-option"), V2 = a("el-select"), w2 = a("el-form-item"), j3 = a("el-button"), L2 = a("el-text"), B2 = a("el-switch"), E = a("el-collapse-item"), G = a("el-collapse"), H = a("el-form");
57
+ return n(), i(H, { "label-width": "80px", size: "small" }, { default: t(() => [u(G, { modelValue: O.value, "onUpdate:modelValue": l2[7] || (l2[7] = (e3) => O.value = e3), style: { "margin-top": "6px" } }, { default: t(() => [u(E, { title: "高级设置", name: "base", class: "amb-design-attr-group-header" }, { default: t(() => [r("div", D, [u(w2, { label: "成功后", class: "amb-design-attr-item" }, { default: t(() => [u(V2, { modelValue: e2.configure.props.base.successOperation, "onUpdate:modelValue": l2[0] || (l2[0] = (o3) => e2.configure.props.base.successOperation = o3), class: "ml-4" }, { default: t(() => [u(k2, { label: "无操作", value: "noOperation" }), u(k2, { label: "刷新", value: "refresh" }), u(k2, { label: "关闭窗口", value: "closeWindow" }), u(k2, { label: "关闭窗口并刷新列表", value: "closeWindowAndRefresh" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(w2, { label: "转换规则", class: "amb-design-attr-item" }, { default: t(() => [u(V2, { modelValue: e2.configure.props.base.conversionCodes, "onUpdate:modelValue": l2[1] || (l2[1] = (o3) => e2.configure.props.base.conversionCodes = o3), multiple: "", class: "ml-4" }, { default: t(() => [(n(true), f(c, null, p(x.value, (e3) => (n(), i(k2, { key: e3.code, label: e3.name, value: e3.code }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(w2, { label: "执行条件", class: "amb-design-attr-item" }, { default: t(() => [u(j3, { type: "primary", onClick: l2[2] || (l2[2] = (e3) => U.value = true) }, { default: t(() => l2[8] || (l2[8] = [g("编辑")])), _: 1 })]), _: 1 }), u(w2, { label: "启用条件", class: "amb-design-attr-item" }, { default: t(() => [(n(), i(_, { key: e2.configure.uuid + "_edit", configure: e2.configure, title: "启用条件", tableConfigure: R.value, type: "editConditions" }, null, 8, ["configure", "tableConfigure"]))]), _: 1 }), u(w2, { label: "自动设值", class: "amb-design-attr-item" }, { default: t(() => [u(j3, { type: "primary", onClick: l2[3] || (l2[3] = (e3) => A.value = true) }, { default: t(() => l2[9] || (l2[9] = [g("编辑")])), _: 1 }), m(u(L2, { type: "success" }, { default: t(() => l2[10] || (l2[10] = [g("  已设置条件. ")])), _: 1 }, 512), [[d, e2.configure.props && e2.configure.props.setValueList && e2.configure.props.setValueList.length > 0]])]), _: 1 }), u(w2, { label: "显示条件", class: "amb-design-attr-item" }, { default: t(() => [(n(), i(_, { key: e2.configure.uuid + "_show", configure: e2.configure, type: "showConditions", tableConfigure: R.value }, null, 8, ["configure", "tableConfigure"]))]), _: 1 }), u(w2, { label: "日志设置", class: "amb-design-attr-item" }, { default: t(() => [u(j3, { type: "primary", onClick: l2[4] || (l2[4] = (e3) => M.value = true) }, { default: t(() => l2[11] || (l2[11] = [g("编辑")])), _: 1 })]), _: 1 }), I.value ? (n(), i(w2, { key: 0, label: "意见必填", class: "amb-design-attr-item" }, { default: t(() => [u(B2, { modelValue: e2.configure.props.base.isMustOpinion, "onUpdate:modelValue": l2[5] || (l2[5] = (o3) => e2.configure.props.base.isMustOpinion = o3), size: "default" }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), e2.configure.props.base.isMustOpinion ? (n(), i(w2, { key: 1, label: "意见必填条件", class: "amb-design-attr-item" }, { default: t(() => [(n(), i(_, { key: e2.configure.uuid + "_opinion", configure: e2.configure, type: "mustOpinionConditions", tableConfigure: R.value, title: "意见必填条件" }, null, 8, ["configure", "tableConfigure"]))]), _: 1 })) : s("", true), J.value ? (n(), i(w2, { key: 2, label: "备注必填", class: "amb-design-attr-item" }, { default: t(() => [u(B2, { modelValue: e2.configure.props.base.isMustRemark, "onUpdate:modelValue": l2[6] || (l2[6] = (o3) => e2.configure.props.base.isMustRemark = o3), size: "default" }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), e2.configure.props.base.isMustRemark ? (n(), i(w2, { key: 3, label: "备注必填条件", class: "amb-design-attr-item" }, { default: t(() => [(n(), i(_, { key: e2.configure.uuid + "_remark", configure: e2.configure, type: "mustRemarkConditions", tableConfigure: R.value, title: "办理备注必填条件" }, null, 8, ["configure", "tableConfigure"]))]), _: 1 })) : s("", true)])]), _: 1 }), u(E, { title: "水印设置", name: "watermark", class: "amb-design-attr-group-header" }, { default: t(() => [u(h, { configure: e2.configure }, null, 8, ["configure"])]), _: 1 }), U.value ? (n(), i(b, { key: 0, pageDesign: e2.pageDesign, configure: e2.configure, tableConfigure: R.value, onClose: z }, null, 8, ["pageDesign", "configure", "tableConfigure"])) : s("", true), A.value ? (n(), i(v, { key: 1, pageDesign: e2.pageDesign, configure: e2.configure, tableConfigure: R.value, onSave: F, onClose: $ }, null, 8, ["pageDesign", "configure", "tableConfigure"])) : s("", true), P.value ? (n(), i(y, { key: 2, conditionList: e2.configure.props.base.showConditions, fieldNameList: e2.pageDesign.modelFields, fieldMap: e2.pageDesign.modelFieldsMap, tableConfigure: R.value, onSave: q, onClose: W }, null, 8, ["conditionList", "fieldNameList", "fieldMap", "tableConfigure"])) : s("", true), M.value ? (n(), i(C, { key: 3, modelValue: e2.configure.props.base.logSetting, onClose: S, onSave: N }, null, 8, ["modelValue"])) : s("", true)]), _: 1 }, 8, ["modelValue"])]), _: 1 });
57
58
  };
58
59
  } });
59
60
  export {
60
- D as default
61
+ j as default
61
62
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./journal-set-dialog.vue2.js";
2
2
  /* empty css */
3
- import e from "../../../../../../_virtual/_plugin-vue_export-helper.js";
4
- const r = e(o, [["__scopeId", "data-v-6b022e71"]]);
3
+ import a from "../../../../../../_virtual/_plugin-vue_export-helper.js";
4
+ const e = a(o, [["__scopeId", "data-v-d630afac"]]);
5
5
  export {
6
- r as default
6
+ e as default
7
7
  };
@@ -1,36 +1,29 @@
1
- import { defineComponent as e, ref as l, onMounted as a, resolveComponent as t, createBlock as u, openBlock as o, withCtx as n, createElementBlock as i, Fragment as r, renderList as d, createTextVNode as m, toDisplayString as p, withKeys as s, createVNode as v, unref as f, createElementVNode as c } from "vue";
2
- import { EditPen as y, Search as g } from "@element-plus/icons-vue";
3
- import _ from "../../common/common-variable-bind.vue.js";
4
- const V = { class: "dialog-footer" }, k = e({ __name: "journal-set-dialog", props: { modelValue: { type: Array, default: () => [] } }, emits: ["save"], setup(e2, { emit: k2 }) {
5
- const C = e2, b = k2, h = l([]), x = l(false), z = l(""), w = l(false), j = l("");
6
- function B() {
7
- b("save", h.value);
1
+ import { defineComponent as e, ref as l, onMounted as t, resolveComponent as o, createBlock as a, openBlock as u, withCtx as n, createVNode as r, createElementBlock as d, Fragment as i, renderList as s, createTextVNode as m, toDisplayString as p, createElementVNode as v } from "vue";
2
+ import "@element-plus/icons-vue";
3
+ import f from "../../common/common-variable-bind.vue.js";
4
+ const c = { class: "dialog-footer" }, y = e({ __name: "journal-set-dialog", props: { modelValue: { type: Array, default: () => [] }, title: { type: String, default: () => "日志设置" } }, emits: ["save"], setup(e2, { emit: y2 }) {
5
+ const _ = e2, g = y2, b = l([]);
6
+ l(false), l("");
7
+ const V = l(false), C = l("");
8
+ function x() {
9
+ g("save", b.value);
8
10
  }
9
- function U() {
10
- if ("" != z.value) {
11
- let e3 = { name: z.value };
12
- h.value.push(e3), x.value = false, z.value = "";
13
- }
14
- }
15
- function $() {
16
- x.value = true, z.value = "";
17
- }
18
- return a(() => {
19
- C.modelValue && (h.value = C.modelValue);
20
- }), (e3, l2) => {
21
- const a2 = t("el-tag"), k3 = t("el-input"), C2 = t("el-button"), b2 = t("el-icon"), A = t("el-button-group"), K = t("el-dialog");
22
- return o(), u(K, { "model-value": "", title: "日志设置", "append-to-body": "", width: "40%", onBeforeClose: l2[4] || (l2[4] = (l3) => e3.$emit("close")) }, { footer: n(() => [c("div", V, [v(C2, { type: "default", onClick: l2[3] || (l2[3] = (l3) => e3.$emit("close")) }, { default: n(() => l2[7] || (l2[7] = [m("取消")])), _: 1 }), v(C2, { type: "primary", onClick: B }, { default: n(() => l2[8] || (l2[8] = [m(" 确定 ")])), _: 1 })])]), default: n(() => [(o(true), i(r, null, d(h.value, (e4, l3) => {
23
- return o(), u(a2, { key: l3, closable: "", size: "large", type: (t2 = e4, "2" === t2.type ? "success" : null), onClose: (l4) => {
24
- return a3 = e4, void (h.value = h.value.filter((e5) => e5 != a3));
25
- var a3;
26
- } }, { default: n(() => [m(p(e4.name), 1)]), _: 2 }, 1032, ["type", "onClose"]);
27
- var t2;
28
- }), 128)), x.value ? (o(), u(k3, { key: 0, size: "default", style: { width: "200px", "margin-left": "10px" }, modelValue: z.value, "onUpdate:modelValue": l2[0] || (l2[0] = (e4) => z.value = e4), onBlur: U, onKeyup: s(U, ["enter"]) }, null, 8, ["modelValue"])) : w.value ? (o(), u(_, { key: 1, style: { width: "200px", "margin-left": "10px" }, modelValue: j.value, paramTypes: "['data','page']", "onUpdate:modelValue": l2[1] || (l2[1] = (e4) => {
29
- return l3 = e4, h.value.push({ name: l3 }), void (w.value = false);
11
+ return t(() => {
12
+ _.modelValue && (b.value = _.modelValue);
13
+ }), (l2, t2) => {
14
+ const y3 = o("el-col"), _2 = o("el-tag"), g2 = o("el-row"), h = o("el-button"), k = o("el-dialog");
15
+ return u(), a(k, { "model-value": "", title: e2.title, "append-to-body": "", width: "40%", onBeforeClose: t2[2] || (t2[2] = (e3) => l2.$emit("close")) }, { footer: n(() => [v("div", c, [r(h, { type: "primary", onClick: x }, { default: n(() => t2[3] || (t2[3] = [m(" 确定 ")])), _: 1 }), r(h, { type: "default", onClick: t2[1] || (t2[1] = (e3) => l2.$emit("close")) }, { default: n(() => t2[4] || (t2[4] = [m("取消")])), _: 1 })])]), default: n(() => [r(g2, null, { default: n(() => [r(y3, { span: 18, style: { "padding-bottom": "10px" } }, { default: n(() => [r(f, { style: { width: "200px", "margin-left": "10px" }, modelValue: C.value, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => {
16
+ return l3 = e3, b.value.push(l3), void (V.value = false);
30
17
  var l3;
31
- }) }, null, 8, ["modelValue"])) : (o(), u(A, { key: 2, style: { "margin-left": "10px" } }, { default: n(() => [v(C2, { size: "default", type: "primary", icon: f(y), onClick: $ }, { default: n(() => l2[5] || (l2[5] = [m("输入文字")])), _: 1 }, 8, ["icon"]), v(C2, { size: "default", type: "primary", onClick: l2[2] || (l2[2] = (e4) => w.value = true) }, { default: n(() => [l2[6] || (l2[6] = m(" 选择字段")), v(b2, { class: "el-icon--right" }, { default: n(() => [v(f(g))]), _: 1 })]), _: 1 })]), _: 1 }))]), _: 1 });
18
+ }) }, null, 8, ["modelValue"])]), _: 1 }), r(y3, null, { default: n(() => [(u(true), d(i, null, s(b.value, (e3, l3) => {
19
+ return u(), a(_2, { key: l3, closable: "", size: "large", type: (t3 = e3, "2" === t3.type ? "success" : null), onClose: (l4) => {
20
+ return t4 = e3, void (b.value = b.value.filter((e4) => e4 != t4));
21
+ var t4;
22
+ } }, { default: n(() => [m(p(e3), 1)]), _: 2 }, 1032, ["type", "onClose"]);
23
+ var t3;
24
+ }), 128))]), _: 1 })]), _: 1 })]), _: 1 }, 8, ["title"]);
32
25
  };
33
26
  } });
34
27
  export {
35
- k as default
28
+ y as default
36
29
  };
@@ -1,35 +1,36 @@
1
- import { defineComponent as e, ref as l, resolveComponent as o, createBlock as a, openBlock as n, withCtx as t, createVNode as i, createCommentVNode as u, createElementVNode as s, createTextVNode as d } from "vue";
2
- import r from "../component/condition-dialog.vue.js";
3
- import m from "../component/set-dialog.vue.js";
1
+ import { defineComponent as e, ref as l, resolveComponent as o, createBlock as a, openBlock as n, withCtx as t, createVNode as i, createCommentVNode as u, createElementVNode as s, createTextVNode as r } from "vue";
2
+ import m from "../component/condition-dialog.vue.js";
3
+ import d from "../component/set-dialog.vue.js";
4
4
  import c from "../component/combination.vue.js";
5
5
  import p from "../component/journal-set-dialog.vue.js";
6
6
  import f from "../../common/common-advanced-basic-showcondition.vue.js";
7
- const b = { style: { padding: "8px 0px 0px 0px" } }, v = e({ __name: "exportpdf-attr-advanced", props: { configure: Object, default: () => ({ props: {} }) }, setup(e2) {
8
- const v2 = e2, _ = l(["base"]), g = l([{ dbColumnName: "FIRST_TASK_ID", label: "该流程的第一个任务的id", type: "TEXT", value: "FIRST_TASK_ID" }, { dbColumnName: "ID", label: "id", type: "LONG", value: "ID" }, { dbColumnName: "AUDIT_REPORT_NO", label: "审核报告编号", type: "TEXT", value: "AUDIT_REPORT_NO" }]), T = l({ FIRST_TASK_ID: { dbColumnName: "FIRST_TASK_ID", label: "该流程的第一个任务的id", type: "TEXT", value: "FIRST_TASK_ID" }, ID: { dbColumnName: "ID", label: "id", type: "LONG", value: "ID" }, AUDIT_REPORT_NO: { dbColumnName: "AUDIT_REPORT_NO", label: "审核报告编号", type: "TEXT", value: "AUDIT_REPORT_NO" } }), y = l(false);
9
- function I() {
10
- y.value = false;
7
+ import b from "../../common/common-watermark.vue.js";
8
+ const g = { style: { padding: "8px 0px 0px 0px" } }, v = e({ __name: "exportpdf-attr-advanced", props: { configure: Object, default: () => ({ props: {} }) }, setup(e2) {
9
+ const v2 = e2, _ = l(["base"]), T = l([{ dbColumnName: "FIRST_TASK_ID", label: "该流程的第一个任务的id", type: "TEXT", value: "FIRST_TASK_ID" }, { dbColumnName: "ID", label: "id", type: "LONG", value: "ID" }, { dbColumnName: "AUDIT_REPORT_NO", label: "审核报告编号", type: "TEXT", value: "AUDIT_REPORT_NO" }]), y = l({ FIRST_TASK_ID: { dbColumnName: "FIRST_TASK_ID", label: "该流程的第一个任务的id", type: "TEXT", value: "FIRST_TASK_ID" }, ID: { dbColumnName: "ID", label: "id", type: "LONG", value: "ID" }, AUDIT_REPORT_NO: { dbColumnName: "AUDIT_REPORT_NO", label: "审核报告编号", type: "TEXT", value: "AUDIT_REPORT_NO" } }), I = l(false);
10
+ function O() {
11
+ I.value = false;
11
12
  }
12
- function O(e3) {
13
- v2.configure.props.base.logSetting = e3, I();
13
+ function C(e3) {
14
+ v2.configure.props.base.logSetting = e3, O();
14
15
  }
15
- const C = l(false);
16
- function N() {
17
- C.value = false;
16
+ const N = l(false);
17
+ function R() {
18
+ N.value = false;
18
19
  }
19
- const R = l(false);
20
- function D() {
21
- R.value = false;
20
+ const D = l(false);
21
+ function S() {
22
+ D.value = false;
22
23
  }
23
- const S = l(false);
24
- function A() {
25
- S.value = false;
24
+ const A = l(false);
25
+ function k() {
26
+ A.value = false;
26
27
  }
27
28
  function E(e3) {
28
29
  v2.configure.props.base.showConditions = JSON.stringify(e3);
29
30
  }
30
31
  return (l2, v3) => {
31
- const k = o("el-option"), x = o("el-select"), V = o("el-form-item"), h = o("el-button"), j = o("el-collapse-item"), U = o("el-collapse"), w = o("el-form");
32
- return n(), a(w, { "label-width": "80px", size: "small" }, { default: t(() => [i(U, { modelValue: _.value, "onUpdate:modelValue": v3[4] || (v3[4] = (e3) => _.value = e3), style: { "margin-top": "6px" } }, { default: t(() => [i(j, { title: "高级设置", name: "base", class: "amb-design-attr-group-header" }, { default: t(() => [s("div", b, [i(V, { label: "成功后", class: "amb-design-attr-item" }, { default: t(() => [i(x, { modelValue: e2.configure.props.base.successOperation, "onUpdate:modelValue": v3[0] || (v3[0] = (l3) => e2.configure.props.base.successOperation = l3), class: "ml-4" }, { default: t(() => [i(k, { label: "无操作", value: "noOperation" }), i(k, { label: "刷新", value: "refresh" }), i(k, { label: "关闭窗口", value: "closeWindow" }), i(k, { label: "关闭窗口并刷新列表", value: "closeWindowAndRefresh" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V, { label: "执行条件", class: "amb-design-attr-item" }, { default: t(() => [i(h, { type: "primary", onClick: v3[1] || (v3[1] = (e3) => C.value = true) }, { default: t(() => v3[5] || (v3[5] = [d("编辑")])), _: 1 })]), _: 1 }), i(V, { label: "启用条件", class: "amb-design-attr-item" }, { default: t(() => [(n(), a(f, { key: e2.configure.uuid + "_edit", configure: e2.configure, type: "editConditions" }, null, 8, ["configure"]))]), _: 1 }), i(V, { label: "显示条件", class: "amb-design-attr-item" }, { default: t(() => [i(h, { type: "primary", onClick: v3[2] || (v3[2] = (e3) => S.value = true) }, { default: t(() => v3[6] || (v3[6] = [d("编辑")])), _: 1 })]), _: 1 }), i(V, { label: "日志设置", class: "amb-design-attr-item" }, { default: t(() => [i(h, { type: "primary", onClick: v3[3] || (v3[3] = (e3) => y.value = true) }, { default: t(() => v3[7] || (v3[7] = [d("编辑")])), _: 1 })]), _: 1 })])]), _: 1 }), C.value ? (n(), a(r, { key: 0, configure: e2.configure, onClose: N }, null, 8, ["configure"])) : u("", true), R.value ? (n(), a(m, { key: 1, configure: e2.configure, onClose: D }, null, 8, ["configure"])) : u("", true), S.value ? (n(), a(c, { key: 2, conditionList: e2.configure.props.base.showConditions, fieldNameList: g.value, fieldMap: T.value, onSave: E, onClose: A }, null, 8, ["conditionList", "fieldNameList", "fieldMap"])) : u("", true), y.value ? (n(), a(p, { key: 3, modelValue: e2.configure.props.base.logSetting, onClose: I, onSave: O }, null, 8, ["modelValue"])) : u("", true)]), _: 1 }, 8, ["modelValue"])]), _: 1 });
32
+ const h = o("el-option"), j = o("el-select"), w = o("el-form-item"), x = o("el-button"), V = o("el-collapse-item"), U = o("el-collapse"), L = o("el-form");
33
+ return n(), a(L, { "label-width": "80px", size: "small" }, { default: t(() => [i(U, { modelValue: _.value, "onUpdate:modelValue": v3[4] || (v3[4] = (e3) => _.value = e3), style: { "margin-top": "6px" } }, { default: t(() => [i(V, { title: "高级设置", name: "base", class: "amb-design-attr-group-header" }, { default: t(() => [s("div", g, [i(w, { label: "成功后", class: "amb-design-attr-item" }, { default: t(() => [i(j, { modelValue: e2.configure.props.base.successOperation, "onUpdate:modelValue": v3[0] || (v3[0] = (l3) => e2.configure.props.base.successOperation = l3), class: "ml-4" }, { default: t(() => [i(h, { label: "无操作", value: "noOperation" }), i(h, { label: "刷新", value: "refresh" }), i(h, { label: "关闭窗口", value: "closeWindow" }), i(h, { label: "关闭窗口并刷新列表", value: "closeWindowAndRefresh" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(w, { label: "执行条件", class: "amb-design-attr-item" }, { default: t(() => [i(x, { type: "primary", onClick: v3[1] || (v3[1] = (e3) => N.value = true) }, { default: t(() => v3[5] || (v3[5] = [r("编辑")])), _: 1 })]), _: 1 }), i(w, { label: "启用条件", class: "amb-design-attr-item" }, { default: t(() => [(n(), a(f, { key: e2.configure.uuid + "_edit", configure: e2.configure, type: "editConditions" }, null, 8, ["configure"]))]), _: 1 }), i(w, { label: "显示条件", class: "amb-design-attr-item" }, { default: t(() => [i(x, { type: "primary", onClick: v3[2] || (v3[2] = (e3) => A.value = true) }, { default: t(() => v3[6] || (v3[6] = [r("编辑")])), _: 1 })]), _: 1 }), i(w, { label: "日志设置", class: "amb-design-attr-item" }, { default: t(() => [i(x, { type: "primary", onClick: v3[3] || (v3[3] = (e3) => I.value = true) }, { default: t(() => v3[7] || (v3[7] = [r("编辑")])), _: 1 })]), _: 1 })])]), _: 1 }), i(V, { title: "水印设置", name: "watermark", class: "amb-design-attr-group-header" }, { default: t(() => [i(b, { configure: e2.configure }, null, 8, ["configure"])]), _: 1 }), N.value ? (n(), a(m, { key: 0, configure: e2.configure, onClose: R }, null, 8, ["configure"])) : u("", true), D.value ? (n(), a(d, { key: 1, configure: e2.configure, onClose: S }, null, 8, ["configure"])) : u("", true), A.value ? (n(), a(c, { key: 2, conditionList: e2.configure.props.base.showConditions, fieldNameList: T.value, fieldMap: y.value, onSave: E, onClose: k }, null, 8, ["conditionList", "fieldNameList", "fieldMap"])) : u("", true), I.value ? (n(), a(p, { key: 3, modelValue: e2.configure.props.base.logSetting, onClose: O, onSave: C }, null, 8, ["modelValue"])) : u("", true)]), _: 1 }, 8, ["modelValue"])]), _: 1 });
33
34
  };
34
35
  } });
35
36
  export {