cloud-web-corejs 1.0.54-dev.810 → 1.0.54-dev.811

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 (83) hide show
  1. package/package.json +1 -1
  2. package/src/components/VabUpload/image-viewer.vue +442 -442
  3. package/src/components/VabUpload/index.vue +44 -2
  4. package/src/components/VabUpload/mixins.js +126 -19
  5. package/src/components/VabUpload/view.vue +247 -209
  6. package/src/components/baseTabs/mixins.js +181 -181
  7. package/src/components/mobile/wf/content.vue +1665 -1556
  8. package/src/components/table/config.js +78 -78
  9. package/src/components/table/index.js +1276 -1276
  10. package/src/components/table/tableForm.vue +330 -330
  11. package/src/components/table/tableFormMixin.js +318 -318
  12. package/src/components/table/vxeFilter/index.js +163 -163
  13. package/src/components/table/vxeFilter/mixin.js +316 -316
  14. package/src/components/wf/content.vue +1188 -1188
  15. package/src/components/wf/wf.js +29 -12
  16. package/src/components/wf/wfActionDropdown.vue +1 -1
  17. package/src/components/wf/wfActionItems.js +1 -1
  18. package/src/components/xform/docs/2026-08 xform H5 P0 /345/256/236/347/216/260/350/247/204/346/240/274.md" +528 -0
  19. package/src/components/xform/docs/2026-08 xform H5 P1 /345/256/236/347/216/260/350/247/204/346/240/274.md" +412 -0
  20. package/src/components/xform/docs/2026-08 xform H5 P2 /345/256/236/347/216/260/350/247/204/346/240/274.md" +287 -0
  21. package/src/components/xform/docs/2026-08 xform /347/247/273/345/212/250/347/253/257/345/270/203/345/261/200/345/257/271/351/275/220 bill_setting /346/226/271/346/241/210.md" +400 -0
  22. package/src/components/xform/form-designer/designer.js +15 -0
  23. package/src/components/xform/form-designer/form-widget/container-widget/data-table-widget.vue +269 -269
  24. package/src/components/xform/form-designer/form-widget/container-widget/detail-temp-widget.vue +132 -0
  25. package/src/components/xform/form-designer/form-widget/container-widget/detail-widget.vue +250 -250
  26. package/src/components/xform/form-designer/form-widget/dialog/fileReferenceDialog.vue +319 -320
  27. package/src/components/xform/form-designer/form-widget/dialog/formDialog.vue +365 -365
  28. package/src/components/xform/form-designer/form-widget/dialog/searchFormDialog.vue +554 -555
  29. package/src/components/xform/form-designer/form-widget/dialog/vabSearchDialog.vue +409 -409
  30. package/src/components/xform/form-designer/form-widget/field-widget/a-link-widget.vue +150 -132
  31. package/src/components/xform/form-designer/form-widget/field-widget/date-range-widget.vue +114 -114
  32. package/src/components/xform/form-designer/form-widget/field-widget/date-widget.vue +154 -154
  33. package/src/components/xform/form-designer/form-widget/field-widget/form-item-wrapper.vue +29 -1
  34. package/src/components/xform/form-designer/form-widget/field-widget/mixins/date-limit-mixin.js +178 -178
  35. package/src/components/xform/form-designer/form-widget/field-widget/mixins/time-limit-mixin.js +77 -77
  36. package/src/components/xform/form-designer/form-widget/field-widget/select-widget.vue +139 -139
  37. package/src/components/xform/form-designer/form-widget/field-widget/time-range-widget.vue +106 -106
  38. package/src/components/xform/form-designer/form-widget/field-widget/time-widget.vue +134 -134
  39. package/src/components/xform/form-designer/form-widget/field-widget/vabUpload-widget.vue +1 -0
  40. package/src/components/xform/form-designer/setting-panel/form-setting.vue +39 -39
  41. package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/exportItemColumns-dialog.vue +438 -438
  42. package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/table-column-dialog.vue +2103 -2103
  43. package/src/components/xform/form-designer/setting-panel/property-editor/container-detail/detail-temp-edito.vue +90 -0
  44. package/src/components/xform/form-designer/setting-panel/property-editor/container-grid/gutter-editor.vue +82 -82
  45. package/src/components/xform/form-designer/setting-panel/property-editor/container-table/table-dynamicField-editor.vue +8 -8
  46. package/src/components/xform/form-designer/setting-panel/property-editor/dropdownFlag-editor.vue +137 -137
  47. package/src/components/xform/form-designer/setting-panel/property-editor/field-button/search-dialog-event-editor.vue +237 -237
  48. package/src/components/xform/form-designer/setting-panel/property-editor/field-date/date-defaultValue-editor.vue +43 -43
  49. package/src/components/xform/form-designer/setting-panel/property-editor/field-date-range/date-range-defaultValue-editor.vue +43 -43
  50. package/src/components/xform/form-designer/setting-panel/property-editor/field-import-button/import2-button-editor.vue +96 -96
  51. package/src/components/xform/form-designer/setting-panel/property-editor/field-time/time-defaultValue-editor.vue +42 -42
  52. package/src/components/xform/form-designer/setting-panel/property-editor/field-time-range/time-range-defaultValue-editor.vue +43 -43
  53. package/src/components/xform/form-designer/setting-panel/property-editor/formScriptEnabled-editor.vue +158 -158
  54. package/src/components/xform/form-designer/setting-panel/property-editor/h5Span-editor.vue +51 -0
  55. package/src/components/xform/form-designer/setting-panel/property-editor/itemStyle-editor.vue +39 -0
  56. package/src/components/xform/form-designer/setting-panel/property-editor/name-editor.vue +188 -188
  57. package/src/components/xform/form-designer/setting-panel/property-editor/styleTempClass-editor.vue +51 -0
  58. package/src/components/xform/form-designer/setting-panel/property-editor/textFlag-editor.vue +347 -347
  59. package/src/components/xform/form-designer/setting-panel/propertyRegister.js +4 -0
  60. package/src/components/xform/form-designer/widget-panel/widgetsConfig.js +55 -3
  61. package/src/components/xform/form-render/container-item/data-table-mixin.js +33 -12
  62. package/src/components/xform/form-render/container-item/detail-h5-item.vue +183 -32
  63. package/src/components/xform/form-render/container-item/detail-temp-item.vue +110 -0
  64. package/src/components/xform/form-render/container-item/h5-card-pane-item.vue +160 -140
  65. package/src/components/xform/form-render/container-item/list-h5-item.vue +1642 -1700
  66. package/src/components/xform/form-render/index.vue +153 -147
  67. package/src/components/xform/form-render/indexMixin.js +12 -0
  68. package/src/components/xform/lang/en-US.js +10 -0
  69. package/src/components/xform/lang/zh-CN.js +12 -0
  70. package/src/components/xform/mixins/defaultHandle.js +707 -707
  71. package/src/components/xform/styles/h5.scss +1633 -0
  72. package/src/components/xform/utils/textMaskUtil.js +182 -182
  73. package/src/components/xform/utils/treeTableUtil.js +1292 -1265
  74. package/src/components/xform/utils/util.js +56 -11
  75. package/src/utils/pdfUtil.js +429 -429
  76. package/src/views/bd/setting/bd_company_env/dialog.vue +174 -174
  77. package/src/views/bd/setting/table_model/edit.vue +1066 -1066
  78. package/src/views/bd/setting/table_model/mixins/edit.js +1455 -1455
  79. package/src/views/bd/setting/table_model/mixins/zdDialog.js +148 -148
  80. package/src/views/user/home/wjl/content.vue +394 -31
  81. package/src/views/user/role/edit.vue +632 -632
  82. package/src/views/user/role/list.vue +260 -260
  83. package/src/views/user/wf/wf_manage/list.vue +1116 -1116
@@ -1,148 +1,148 @@
1
- import { selectDialogMixins } from "@base/mixins/selectDialog";
2
-
3
- let modules = {};
4
- modules = {
5
- name: "zdDialog",
6
- props: ["visiable", "multi", "rows", "param", "taBm"],
7
- mixins: [selectDialogMixins],
8
- components: {},
9
- created() {
10
- this.initSetting();
11
- },
12
- mounted() {
13
- this.initTableM1();
14
- },
15
- data() {
16
- return {
17
- showDialog: true,
18
- falseValue: false,
19
- selectMulti: true,
20
- formData: {},
21
- vxeOption: {},
22
- showSaleOrgDialog: false,
23
- fieldKey: "taZdMc",
24
- };
25
- },
26
- methods: {
27
- initTableM1() {
28
- let that = this;
29
-
30
- let zdTypeMap = {
31
- Boolean: this.$t1("布尔"),
32
- Integer: this.$t1("整数"),
33
- Long: this.$t1("长整数"),
34
- Decimal: this.$t1("精度小数"),
35
- Money: this.$t1("金额"),
36
- Text: this.$t1("文本"),
37
- TextArea: this.$t1("长文本"),
38
- DateTime: this.$t1("日期时间"),
39
- Reference: this.$t1("关联表(文本)"),
40
- ReferenceLong: this.$t1("关联表(长整型)"),
41
- };
42
-
43
- let tableOption = {
44
- vue: that,
45
- tableRef: "table-m1",
46
- tableName: "bd_table_model_field_dialog-m1",
47
- path: USER_PREFIX + "/szTaMb/getSzTaZdMbsByTaBm",
48
- param: () => {
49
- return {
50
- taBm: this.taBm,
51
- enabled: true,
52
- searchDb: true,
53
- ...this.formData,
54
- ...this.param,
55
- };
56
- },
57
- callback: (rows) => {
58
- this.restoreChecked(rows);
59
- },
60
- columns: [
61
- { type: "checkbox", width: 48, resizable: false, fixed: "left" },
62
- {
63
- title: this.$t1("实体字段名称"),
64
- field: "zdEn",
65
- width: 150,
66
- },
67
- {
68
- title: this.$t1("数据库表字段名"),
69
- field: "taZdMc",
70
- width: 150,
71
- },
72
- {
73
- title: this.$t1("字段描述"),
74
- field: "zdCh",
75
- width: 150,
76
- },
77
- {
78
- title: this.$t1("字段类型"),
79
- field: "zdType",
80
- width: 150,
81
- slots: {
82
- default: ({ row, rowIndex, $table }) => {
83
- return zdTypeMap[row.zdType];
84
- },
85
- },
86
- },
87
- {
88
- title: this.$t1("关联字段"),
89
- field: "referenceZd",
90
- width: 150,
91
- },
92
- {
93
- width: 47,
94
- fixed: "right",
95
- title: "",
96
- sortable: false,
97
- },
98
- ],
99
- config: {
100
- checkboxConfig: {
101
- checkStrictly: true,
102
- showHeader: this.selectMulti,
103
- trigger: "row",
104
- },
105
- proxyConfig: {
106
- props: {
107
- result: "objx", // 配置响应结果列表字段
108
- total: "objx.length", // 配置响应结果总页数字段
109
- },
110
- },
111
- },
112
- };
113
- this.$vxeTableUtil.initVxeTable(tableOption).then((opts) => {
114
- that.vxeOption = opts;
115
- });
116
- },
117
- /**
118
- * 列表每次查询完,把已选中的字段重新勾上。
119
- *
120
- * selectDialogMixins.initSetting 只把 rows 播种进 checkRows(右侧已选列表),
121
- * 表格自身的勾选状态没人恢复 —— 不补这一步,弹框打开时左边一个勾都没有,
122
- * 用户再勾一个新字段就会把原有的显示字段整组顶掉。
123
- */
124
- restoreChecked(rows) {
125
- let checkRows = this.checkRows;
126
- if (!checkRows || !checkRows.length || !rows || !rows.length) {
127
- return;
128
- }
129
- let fieldKey = this.fieldKey;
130
- let keys = checkRows.map((item) => item[fieldKey]);
131
- let targetRows = rows.filter((row) => keys.includes(row[fieldKey]));
132
- if (!targetRows.length) {
133
- return;
134
- }
135
- // 回填进来的可能只是 { taZdMc } 这样的占位行,用列表里的真实行替换掉,
136
- // 保证「确定」抛给调用方的是带 zdEn / zdCh 的完整数据
137
- this.checkRows = checkRows.map((item) => {
138
- let real = targetRows.find((row) => row[fieldKey] === item[fieldKey]);
139
- return real || item;
140
- });
141
- let $grid = this.$refs[this.defaultTableRefName];
142
- if ($grid && $grid.setCheckboxRow) {
143
- $grid.setCheckboxRow(targetRows, true);
144
- }
145
- },
146
- },
147
- };
148
- export default modules;
1
+ import { selectDialogMixins } from "@base/mixins/selectDialog";
2
+
3
+ let modules = {};
4
+ modules = {
5
+ name: "zdDialog",
6
+ props: ["visiable", "multi", "rows", "param", "taBm"],
7
+ mixins: [selectDialogMixins],
8
+ components: {},
9
+ created() {
10
+ this.initSetting();
11
+ },
12
+ mounted() {
13
+ this.initTableM1();
14
+ },
15
+ data() {
16
+ return {
17
+ showDialog: true,
18
+ falseValue: false,
19
+ selectMulti: true,
20
+ formData: {},
21
+ vxeOption: {},
22
+ showSaleOrgDialog: false,
23
+ fieldKey: "taZdMc",
24
+ };
25
+ },
26
+ methods: {
27
+ initTableM1() {
28
+ let that = this;
29
+
30
+ let zdTypeMap = {
31
+ Boolean: this.$t1("布尔"),
32
+ Integer: this.$t1("整数"),
33
+ Long: this.$t1("长整数"),
34
+ Decimal: this.$t1("精度小数"),
35
+ Money: this.$t1("金额"),
36
+ Text: this.$t1("文本"),
37
+ TextArea: this.$t1("长文本"),
38
+ DateTime: this.$t1("日期时间"),
39
+ Reference: this.$t1("关联表(文本)"),
40
+ ReferenceLong: this.$t1("关联表(长整型)"),
41
+ };
42
+
43
+ let tableOption = {
44
+ vue: that,
45
+ tableRef: "table-m1",
46
+ tableName: "bd_table_model_field_dialog-m1",
47
+ path: USER_PREFIX + "/szTaMb/getSzTaZdMbsByTaBm",
48
+ param: () => {
49
+ return {
50
+ taBm: this.taBm,
51
+ enabled: true,
52
+ searchDb: true,
53
+ ...this.formData,
54
+ ...this.param,
55
+ };
56
+ },
57
+ callback: (rows) => {
58
+ this.restoreChecked(rows);
59
+ },
60
+ columns: [
61
+ { type: "checkbox", width: 48, resizable: false, fixed: "left" },
62
+ {
63
+ title: this.$t1("实体字段名称"),
64
+ field: "zdEn",
65
+ width: 150,
66
+ },
67
+ {
68
+ title: this.$t1("数据库表字段名"),
69
+ field: "taZdMc",
70
+ width: 150,
71
+ },
72
+ {
73
+ title: this.$t1("字段描述"),
74
+ field: "zdCh",
75
+ width: 150,
76
+ },
77
+ {
78
+ title: this.$t1("字段类型"),
79
+ field: "zdType",
80
+ width: 150,
81
+ slots: {
82
+ default: ({ row, rowIndex, $table }) => {
83
+ return zdTypeMap[row.zdType];
84
+ },
85
+ },
86
+ },
87
+ {
88
+ title: this.$t1("关联字段"),
89
+ field: "referenceZd",
90
+ width: 150,
91
+ },
92
+ {
93
+ width: 47,
94
+ fixed: "right",
95
+ title: "",
96
+ sortable: false,
97
+ },
98
+ ],
99
+ config: {
100
+ checkboxConfig: {
101
+ checkStrictly: true,
102
+ showHeader: this.selectMulti,
103
+ trigger: "row",
104
+ },
105
+ proxyConfig: {
106
+ props: {
107
+ result: "objx", // 配置响应结果列表字段
108
+ total: "objx.length", // 配置响应结果总页数字段
109
+ },
110
+ },
111
+ },
112
+ };
113
+ this.$vxeTableUtil.initVxeTable(tableOption).then((opts) => {
114
+ that.vxeOption = opts;
115
+ });
116
+ },
117
+ /**
118
+ * 列表每次查询完,把已选中的字段重新勾上。
119
+ *
120
+ * selectDialogMixins.initSetting 只把 rows 播种进 checkRows(右侧已选列表),
121
+ * 表格自身的勾选状态没人恢复 —— 不补这一步,弹框打开时左边一个勾都没有,
122
+ * 用户再勾一个新字段就会把原有的显示字段整组顶掉。
123
+ */
124
+ restoreChecked(rows) {
125
+ let checkRows = this.checkRows;
126
+ if (!checkRows || !checkRows.length || !rows || !rows.length) {
127
+ return;
128
+ }
129
+ let fieldKey = this.fieldKey;
130
+ let keys = checkRows.map((item) => item[fieldKey]);
131
+ let targetRows = rows.filter((row) => keys.includes(row[fieldKey]));
132
+ if (!targetRows.length) {
133
+ return;
134
+ }
135
+ // 回填进来的可能只是 { taZdMc } 这样的占位行,用列表里的真实行替换掉,
136
+ // 保证「确定」抛给调用方的是带 zdEn / zdCh 的完整数据
137
+ this.checkRows = checkRows.map((item) => {
138
+ let real = targetRows.find((row) => row[fieldKey] === item[fieldKey]);
139
+ return real || item;
140
+ });
141
+ let $grid = this.$refs[this.defaultTableRefName];
142
+ if ($grid && $grid.setCheckboxRow) {
143
+ $grid.setCheckboxRow(targetRows, true);
144
+ }
145
+ },
146
+ },
147
+ };
148
+ export default modules;