cloud-web-corejs 1.1.0-dev.26 → 1.1.0-dev.28

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 (120) hide show
  1. package/package.json +1 -1
  2. package/src/components/Tinymce/index.vue +3 -0
  3. package/src/components/Tinymce/mce-chrome.scss +150 -0
  4. package/src/components/VabUpload/index.vue +1 -1
  5. package/src/components/VabUpload/style.scss +282 -0
  6. package/src/components/baseArea/index.vue +2 -2
  7. package/src/components/code-editor/ace-chrome.scss +17 -0
  8. package/src/components/code-editor/index.vue +3 -0
  9. package/src/components/excelImport/index.vue +1 -1
  10. package/src/components/fileLibrary/style.scss +579 -0
  11. package/src/components/hiprint/style.scss +188 -0
  12. package/src/components/jsonImport/index.vue +1 -1
  13. package/src/components/langImport/index.vue +1 -1
  14. package/src/components/mobile/buttonGroup/index.vue +1 -1
  15. package/src/components/obsUpload/index.vue +1 -1
  16. package/src/components/onlineTalk/index.vue +2 -2
  17. package/src/components/table/index.js +3 -0
  18. package/src/components/table/style.scss +1399 -0
  19. package/src/components/wf/style.scss +265 -0
  20. package/src/components/xform/docs/2026-08 xform H5 P0 /345/256/236/347/216/260/350/247/204/346/240/274.md" +1 -1
  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" +1 -1
  22. package/src/components/xform/form-designer/form-widget/dialog/importDialog.vue +1 -1
  23. package/src/components/xform/form-designer/form-widget/field-widget/a-link-widget.vue +1 -1
  24. package/src/components/xform/form-designer/form-widget/field-widget/a-text-widget.vue +1 -1
  25. package/src/components/xform/form-designer/form-widget/field-widget/area-select-widget.vue +1 -1
  26. package/src/components/xform/form-designer/form-widget/field-widget/autocomplete-widget.vue +1 -1
  27. package/src/components/xform/form-designer/form-widget/field-widget/baseAttachment-widget.vue +1 -1
  28. package/src/components/xform/form-designer/form-widget/field-widget/button-widget.vue +1 -1
  29. package/src/components/xform/form-designer/form-widget/field-widget/cascader-widget.vue +1 -1
  30. package/src/components/xform/form-designer/form-widget/field-widget/census-widget.vue +1 -1
  31. package/src/components/xform/form-designer/form-widget/field-widget/checkbox-widget.vue +1 -1
  32. package/src/components/xform/form-designer/form-widget/field-widget/color-widget.vue +1 -1
  33. package/src/components/xform/form-designer/form-widget/field-widget/copy_button-widget.vue +1 -1
  34. package/src/components/xform/form-designer/form-widget/field-widget/date-range-widget.vue +1 -1
  35. package/src/components/xform/form-designer/form-widget/field-widget/date-widget.vue +1 -1
  36. package/src/components/xform/form-designer/form-widget/field-widget/descriptions-widget.vue +1 -1
  37. package/src/components/xform/form-designer/form-widget/field-widget/divider-widget.vue +1 -1
  38. package/src/components/xform/form-designer/form-widget/field-widget/download-button-widget.vue +1 -1
  39. package/src/components/xform/form-designer/form-widget/field-widget/dropdown-item-widget.vue +1 -1
  40. package/src/components/xform/form-designer/form-widget/field-widget/dropdown-widget.vue +1 -1
  41. package/src/components/xform/form-designer/form-widget/field-widget/echart-bar-widget.vue +1 -1
  42. package/src/components/xform/form-designer/form-widget/field-widget/echart-category-widget.vue +1 -1
  43. package/src/components/xform/form-designer/form-widget/field-widget/echart-pie-widget.vue +1 -1
  44. package/src/components/xform/form-designer/form-widget/field-widget/file-upload-widget.vue +1 -1
  45. package/src/components/xform/form-designer/form-widget/field-widget/form-item-wrapper.vue +1 -1
  46. package/src/components/xform/form-designer/form-widget/field-widget/html-text-widget.vue +1 -1
  47. package/src/components/xform/form-designer/form-widget/field-widget/import-button-widget.vue +1 -1
  48. package/src/components/xform/form-designer/form-widget/field-widget/import2-button-widget.vue +1 -1
  49. package/src/components/xform/form-designer/form-widget/field-widget/input-batch-widget.vue +1 -1
  50. package/src/components/xform/form-designer/form-widget/field-widget/input-widget.vue +1 -1
  51. package/src/components/xform/form-designer/form-widget/field-widget/multiSearch-widget.vue +1 -1
  52. package/src/components/xform/form-designer/form-widget/field-widget/news-list-widget.vue +1 -1
  53. package/src/components/xform/form-designer/form-widget/field-widget/number-widget.vue +1 -1
  54. package/src/components/xform/form-designer/form-widget/field-widget/oplog-widget.vue +1 -1
  55. package/src/components/xform/form-designer/form-widget/field-widget/picture-upload-widget.vue +1 -1
  56. package/src/components/xform/form-designer/form-widget/field-widget/print-button-widget.vue +1 -1
  57. package/src/components/xform/form-designer/form-widget/field-widget/print-detail-button-widget.vue +1 -1
  58. package/src/components/xform/form-designer/form-widget/field-widget/project-tag-widget.vue +1 -1
  59. package/src/components/xform/form-designer/form-widget/field-widget/radio-widget.vue +1 -1
  60. package/src/components/xform/form-designer/form-widget/field-widget/rate-widget.vue +1 -1
  61. package/src/components/xform/form-designer/form-widget/field-widget/rich-editor-widget.vue +1 -1
  62. package/src/components/xform/form-designer/form-widget/field-widget/save_submit_wf_button-widget.vue +1 -1
  63. package/src/components/xform/form-designer/form-widget/field-widget/script-input-widget.vue +1 -1
  64. package/src/components/xform/form-designer/form-widget/field-widget/search_button-widget.vue +1 -1
  65. package/src/components/xform/form-designer/form-widget/field-widget/select-export-button-widget.vue +1 -1
  66. package/src/components/xform/form-designer/form-widget/field-widget/select-export-item-button-widget.vue +1 -1
  67. package/src/components/xform/form-designer/form-widget/field-widget/select-widget.vue +1 -1
  68. package/src/components/xform/form-designer/form-widget/field-widget/singerSearch-widget.vue +1 -1
  69. package/src/components/xform/form-designer/form-widget/field-widget/singleUpload-widget.vue +1 -1
  70. package/src/components/xform/form-designer/form-widget/field-widget/slider-widget.vue +1 -1
  71. package/src/components/xform/form-designer/form-widget/field-widget/static-content-wrapper.vue +1 -1
  72. package/src/components/xform/form-designer/form-widget/field-widget/static-text-widget.vue +1 -1
  73. package/src/components/xform/form-designer/form-widget/field-widget/status-widget.vue +1 -1
  74. package/src/components/xform/form-designer/form-widget/field-widget/switch-widget.vue +1 -1
  75. package/src/components/xform/form-designer/form-widget/field-widget/table-export-button-widget.vue +1 -1
  76. package/src/components/xform/form-designer/form-widget/field-widget/tempStorage-widget.vue +1 -1
  77. package/src/components/xform/form-designer/form-widget/field-widget/text-widget.vue +1 -1
  78. package/src/components/xform/form-designer/form-widget/field-widget/textarea-widget.vue +1 -1
  79. package/src/components/xform/form-designer/form-widget/field-widget/time-range-widget.vue +1 -1
  80. package/src/components/xform/form-designer/form-widget/field-widget/time-widget.vue +1 -1
  81. package/src/components/xform/form-designer/form-widget/field-widget/title-head-widget.vue +1 -1
  82. package/src/components/xform/form-designer/form-widget/field-widget/vabSearch-widget.vue +1 -1
  83. package/src/components/xform/form-designer/form-widget/field-widget/vabUpload-widget.vue +1 -1
  84. package/src/components/xform/form-designer/form-widget/field-widget/vabUpload2-widget.vue +1 -1
  85. package/src/components/xform/form-designer/form-widget/field-widget/vue-page-widget.vue +1 -1
  86. package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/data-table-editor.vue +18 -1
  87. package/src/components/xform/form-designer/setting-panel/property-editor/container-list-h5/list-h5-editor.vue +33 -20
  88. package/src/components/xform/form-designer/widget-panel/widgetsConfig.js +8 -8
  89. package/src/components/xform/form-render/container-item/data-table-mixin.js +16 -8
  90. package/src/components/xform/form-render/container-item/list-h5-item.vue +92 -309
  91. package/src/components/xform/mixins/scriptHttp.js +28 -7
  92. package/src/components/xform/styles/census.scss +288 -0
  93. package/src/components/xform/styles/containers.scss +208 -0
  94. package/src/components/xform/styles/designer.scss +904 -0
  95. package/src/components/xform/styles/detail-temp.scss +71 -0
  96. package/src/components/xform/styles/h5-designer.scss +191 -0
  97. package/src/components/xform/styles/h5.scss +5 -6
  98. package/src/components/xform/styles/skins.scss +398 -0
  99. package/src/components/xform/styles/table-layout.scss +91 -0
  100. package/src/components/xform/styles/titles.scss +255 -0
  101. package/src/components/xform/utils/util.js +20 -0
  102. package/src/index.js +2 -514
  103. package/src/layout/components/Sidebar/default.vue +3 -3
  104. package/src/layout/components/TagsView/index.vue +1 -1
  105. package/src/layout/defaultLayout.vue +2 -2
  106. package/src/store/modules/settings.js +1 -1
  107. package/src/utils/vab.js +33 -11
  108. package/src/views/bd/setting/formVersion/compareContMixin.scss +1 -1
  109. package/src/views/mobile/user/area/dialog.vue +1 -1
  110. package/src/views/mobile/user/user/dialog.vue +1 -1
  111. package/src/views/user/commMenu/index.vue +3 -1
  112. package/src/views/user/commMenu/style.scss +123 -0
  113. package/src/views/user/home/default.vue +5 -5
  114. package/src/views/user/home/default2.vue +2 -2
  115. package/src/views/user/role/edit.vue +4 -0
  116. package/src/views/user/role/role-box.scss +83 -0
  117. package/src/views/user/role/voc_edit.vue +4 -0
  118. package/src/views/user/wf/wf_obj_config/importItemDialog.vue +1 -1
  119. package/src/resources/js/base/common.js +0 -110
  120. package/src/views/user/outLink/cc_form_view.vue +0 -188
@@ -93,7 +93,7 @@
93
93
  </script>
94
94
 
95
95
  <style lang="scss" scoped>
96
- @import "~@/styles/global.scss"; //* form-item-wrapper已引入,还需要重复引入吗? *//
96
+ @import "~@base/styles/theme-variables.scss"; //* form-item-wrapper已引入,还需要重复引入吗? *//
97
97
 
98
98
  .full-width-input {
99
99
  width: 100% !important;
@@ -114,7 +114,7 @@
114
114
  </script>
115
115
 
116
116
  <style lang="scss" scoped>
117
- @import "~@/styles/global.scss"; //* form-item-wrapper已引入,还需要重复引入吗? *//
117
+ @import "~@base/styles/theme-variables.scss"; //* form-item-wrapper已引入,还需要重复引入吗? *//
118
118
 
119
119
  .full-width-input {
120
120
  width: 100% !important;
@@ -111,5 +111,5 @@ export default {
111
111
  </script>
112
112
 
113
113
  <style lang="scss" scoped>
114
- @import "~@/styles/global.scss";
114
+ @import "~@base/styles/theme-variables.scss";
115
115
  </style>
@@ -122,7 +122,7 @@ export default {
122
122
  </script>
123
123
 
124
124
  <style lang="scss" scoped>
125
- @import "~@/styles/global.scss";
125
+ @import "~@base/styles/theme-variables.scss";
126
126
 
127
127
  .script-input-design-placeholder {
128
128
  min-height: 120px;
@@ -77,5 +77,5 @@ export default {
77
77
  </script>
78
78
 
79
79
  <style lang="scss" scoped>
80
- @import "~@/styles/global.scss"; //* form-item-wrapper已引入,还需要重复引入吗? *//
80
+ @import "~@base/styles/theme-variables.scss"; //* form-item-wrapper已引入,还需要重复引入吗? *//
81
81
  </style>
@@ -81,6 +81,6 @@ export default {
81
81
  </script>
82
82
 
83
83
  <style lang="scss" scoped>
84
- @import "~@/styles/global.scss"; //* static-content-wrapper已引入,还需要重复引入吗? *//
84
+ @import "~@base/styles/theme-variables.scss"; //* static-content-wrapper已引入,还需要重复引入吗? *//
85
85
 
86
86
  </style>
@@ -126,5 +126,5 @@ export default {
126
126
  </script>
127
127
 
128
128
  <style lang="scss" scoped>
129
- @import "~@/styles/global.scss"; //* static-content-wrapper已引入,还需要重复引入吗? *//
129
+ @import "~@base/styles/theme-variables.scss"; //* static-content-wrapper已引入,还需要重复引入吗? *//
130
130
  </style>
@@ -130,7 +130,7 @@ export default {
130
130
  </script>
131
131
 
132
132
  <style lang="scss" scoped>
133
- @import "~@/styles/global.scss"; //* form-item-wrapper已引入,还需要重复引入吗? *//
133
+ @import "~@base/styles/theme-variables.scss"; //* form-item-wrapper已引入,还需要重复引入吗? *//
134
134
 
135
135
  .full-width-input {
136
136
  width: 100% !important;
@@ -30,7 +30,7 @@ export default {
30
30
  </script>
31
31
 
32
32
  <style lang="scss" scoped>
33
- @import "~@/styles/global.scss"; //* form-item-wrapper已引入,还需要重复引入吗? *//
33
+ @import "~@base/styles/theme-variables.scss"; //* form-item-wrapper已引入,还需要重复引入吗? *//
34
34
 
35
35
  .full-width-input {
36
36
  width: 100% !important;
@@ -122,7 +122,7 @@ export default {
122
122
  </script>
123
123
 
124
124
  <style lang="scss" scoped>
125
- @import "~@/styles/global.scss"; //* form-item-wrapper已引入,还需要重复引入吗? *//
125
+ @import "~@base/styles/theme-variables.scss"; //* form-item-wrapper已引入,还需要重复引入吗? *//
126
126
 
127
127
  .full-width-input {
128
128
  width: 100% !important;
@@ -91,7 +91,7 @@
91
91
  </script>
92
92
 
93
93
  <style lang="scss" scoped>
94
- @import "~@/styles/global.scss"; //* form-item-wrapper已引入,还需要重复引入吗? *//
94
+ @import "~@base/styles/theme-variables.scss"; //* form-item-wrapper已引入,还需要重复引入吗? *//
95
95
 
96
96
  .full-width-input {
97
97
  width: 100% !important;
@@ -159,7 +159,7 @@ export default {
159
159
  </script>
160
160
 
161
161
  <style lang="scss" scoped>
162
- @import "~@/styles/global.scss";
162
+ @import "~@base/styles/theme-variables.scss";
163
163
 
164
164
  .design-time-bottom-margin {
165
165
  margin-bottom: 5px;
@@ -83,6 +83,6 @@
83
83
  </script>
84
84
 
85
85
  <style lang="scss" scoped>
86
- @import "~@/styles/global.scss"; //* static-content-wrapper已引入,还需要重复引入吗? *//
86
+ @import "~@base/styles/theme-variables.scss"; //* static-content-wrapper已引入,还需要重复引入吗? *//
87
87
 
88
88
  </style>
@@ -165,5 +165,5 @@ export default {
165
165
  </script>
166
166
 
167
167
  <style lang="scss" scoped>
168
- @import "~@/styles/global.scss"; //* form-item-wrapper已引入,还需要重复引入吗? *//
168
+ @import "~@base/styles/theme-variables.scss"; //* form-item-wrapper已引入,还需要重复引入吗? *//
169
169
  </style>
@@ -100,7 +100,7 @@
100
100
  </script>
101
101
 
102
102
  <style lang="scss" scoped>
103
- @import "~@/styles/global.scss"; //* form-item-wrapper已引入,还需要重复引入吗? *//
103
+ @import "~@base/styles/theme-variables.scss"; //* form-item-wrapper已引入,还需要重复引入吗? *//
104
104
 
105
105
  .full-width-input {
106
106
  width: 100% !important;
@@ -97,5 +97,5 @@ export default {
97
97
  </script>
98
98
 
99
99
  <style lang="scss" scoped>
100
- @import "~@/styles/global.scss"; //* static-content-wrapper已引入,还需要重复引入吗? *//
100
+ @import "~@base/styles/theme-variables.scss"; //* static-content-wrapper已引入,还需要重复引入吗? *//
101
101
  </style>
@@ -143,5 +143,5 @@ export default {
143
143
  </script>
144
144
 
145
145
  <style lang="scss" scoped>
146
- @import "~@/styles/global.scss"; //* static-content-wrapper已引入,还需要重复引入吗? *//
146
+ @import "~@base/styles/theme-variables.scss"; //* static-content-wrapper已引入,还需要重复引入吗? *//
147
147
  </style>
@@ -162,7 +162,7 @@ export default {
162
162
  </script>
163
163
 
164
164
  <style lang="scss" scoped>
165
- @import "~@/styles/global.scss"; //* form-item-wrapper已引入,还需要重复引入吗? *//
165
+ @import "~@base/styles/theme-variables.scss"; //* form-item-wrapper已引入,还需要重复引入吗? *//
166
166
  ::v-deep .el-form-item {
167
167
  min-height: 34px;
168
168
  }
@@ -94,6 +94,6 @@
94
94
  </script>
95
95
 
96
96
  <style lang="scss" scoped>
97
- @import "~@/styles/global.scss"; //* form-item-wrapper已引入,还需要重复引入吗? *//
97
+ @import "~@base/styles/theme-variables.scss"; //* form-item-wrapper已引入,还需要重复引入吗? *//
98
98
 
99
99
  </style>
@@ -97,7 +97,7 @@
97
97
  </script>
98
98
 
99
99
  <style lang="scss" scoped>
100
- @import "~@/styles/global.scss"; //* form-item-wrapper已引入,还需要重复引入吗? *//
100
+ @import "~@base/styles/theme-variables.scss"; //* form-item-wrapper已引入,还需要重复引入吗? *//
101
101
 
102
102
  .full-width-input {
103
103
  width: 100% !important;
@@ -125,7 +125,7 @@
125
125
  </script>
126
126
 
127
127
  <style lang="scss" scoped>
128
- @import "~@/styles/global.scss"; //* form-item-wrapper已引入,还需要重复引入吗? *//
128
+ @import "~@base/styles/theme-variables.scss"; //* form-item-wrapper已引入,还需要重复引入吗? *//
129
129
 
130
130
  .full-width-input {
131
131
  width: 100% !important;
@@ -77,6 +77,6 @@
77
77
  </script>
78
78
 
79
79
  <style lang="scss" scoped>
80
- @import "~@/styles/global.scss"; //* static-content-wrapper已引入,还需要重复引入吗? *//
80
+ @import "~@base/styles/theme-variables.scss"; //* static-content-wrapper已引入,还需要重复引入吗? *//
81
81
 
82
82
  </style>
@@ -30,7 +30,7 @@ export default {
30
30
  </script>
31
31
 
32
32
  <style lang="scss" scoped>
33
- @import "~@/styles/global.scss"; //* form-item-wrapper已引入,还需要重复引入吗? *//
33
+ @import "~@base/styles/theme-variables.scss"; //* form-item-wrapper已引入,还需要重复引入吗? *//
34
34
 
35
35
  .full-width-input {
36
36
  width: 100% !important;
@@ -314,7 +314,7 @@ export default {
314
314
  </script>
315
315
 
316
316
  <style lang="scss" scoped>
317
- @import "~@/styles/global.scss"; //* form-item-wrapper已引入,还需要重复引入吗? *//
317
+ @import "~@base/styles/theme-variables.scss"; //* form-item-wrapper已引入,还需要重复引入吗? *//
318
318
 
319
319
  .full-width-input {
320
320
  width: 100% !important;
@@ -728,7 +728,7 @@ export default {
728
728
  </script>
729
729
 
730
730
  <style lang="scss" scoped>
731
- @import "~@/styles/global.scss"; //* form-item-wrapper已引入,还需要重复引入吗? *//
731
+ @import "~@base/styles/theme-variables.scss"; //* form-item-wrapper已引入,还需要重复引入吗? *//
732
732
 
733
733
  .full-width-input {
734
734
  width: 100% !important;
@@ -188,7 +188,7 @@ export default {
188
188
  </script>
189
189
 
190
190
  <style lang="scss" scoped>
191
- @import "~@/styles/global.scss";
191
+ @import "~@base/styles/theme-variables.scss";
192
192
 
193
193
  .designer-vue-page-container {
194
194
  outline: 1px dashed #336699;
@@ -51,7 +51,10 @@
51
51
  <el-switch v-model="isShowQueryButton"></el-switch>
52
52
  </el-form-item>
53
53
  <el-form-item :label="i18nt('designer.setting.showPagination')">
54
- <el-switch v-model="optionModel.showPagination"></el-switch>
54
+ <el-switch
55
+ v-model="optionModel.showPagination"
56
+ :disabled="isPagedReturnType"
57
+ ></el-switch>
55
58
  </el-form-item>
56
59
  <el-form-item :label="i18nt('是否显示表尾统计行')">
57
60
  <el-switch v-model="optionModel.showGridFooter"></el-switch>
@@ -719,6 +722,7 @@ import Draggable from "vuedraggable";
719
722
  import {
720
723
  deepClone,
721
724
  generateId,
725
+ isPagedCollectionReturnType,
722
726
  } from "../../../../../../components/xform/utils/util";
723
727
  import Sortable from "sortablejs";
724
728
  import requestaccessDialog from "../../../../../../views/user/form/report_requestaccess/dialog.vue";
@@ -1065,6 +1069,19 @@ export default {
1065
1069
  dynamicSchemaConvertDisplay() {
1066
1070
  return this.optionModel.dynamicSchemaConvert || "";
1067
1071
  },
1072
+ isPagedReturnType() {
1073
+ return isPagedCollectionReturnType(this.optionModel.accessReturnType);
1074
+ },
1075
+ },
1076
+ watch: {
1077
+ "optionModel.accessReturnType": {
1078
+ immediate: true,
1079
+ handler(val) {
1080
+ if (isPagedCollectionReturnType(val)) {
1081
+ this.optionModel.showPagination = true;
1082
+ }
1083
+ },
1084
+ },
1068
1085
  },
1069
1086
  mounted: function () {
1070
1087
  const preloadColumnDialog = () => {
@@ -59,10 +59,11 @@
59
59
  <el-input v-model="scope.row.prop"></el-input>
60
60
  </template>
61
61
  </el-table-column>
62
- <!-- 「列宽」已移除:H5 明细卡片是 dl/dt/dd 排版,不读列宽 —— 它当年是从数据表格
63
- 那套列配置沿用过来的,运行期只被塞进一个拼错的键(witdh)、无人读取。
64
- 列在卡片里占整行还是半行,由下面的「H5列宽」控制。
65
- 存量模板里残留的 width 值不用清,读不到就是了。 -->
62
+ <el-table-column :label="i18nt('designer.setting.columnWidth')" width="100" prop="width">
63
+ <template slot-scope="scope">
64
+ <el-input v-model="scope.row.width"></el-input>
65
+ </template>
66
+ </el-table-column>
66
67
  <el-table-column :label="i18nt('designer.setting.visibleColumn')" width="70" prop="show">
67
68
  <template slot-scope="scope">
68
69
  <el-switch v-model="scope.row.show"></el-switch>
@@ -78,21 +79,6 @@
78
79
  <el-switch v-model="scope.row.showForRow"></el-switch>
79
80
  </template>
80
81
  </el-table-column>
81
- <!-- H5 明细卡片里这个字段占整行还是半行(半行=一行两个)。
82
- 不配即整行,运行期判等只认 'half'(存量列读到 undefined 就是整行),
83
- 不能写成 !== 'full'。样式见 xform/styles/h5.scss 块 I2。
84
- ★ 用 :value + $set 而不是 v-model:h5Span 是后加的键,存量列上没有,
85
- Vue 2 只给赋值那一刻已存在的属性装 getter/setter,直接 v-model
86
- 新增属性追踪不到,选完不回显。 -->
87
- <el-table-column label="H5列宽" width="110" prop="h5Span">
88
- <template slot-scope="scope">
89
- <el-select :value="scope.row.h5Span" clearable placeholder="整行"
90
- @input="v => $set(scope.row, 'h5Span', v)">
91
- <el-option value="full" label="整行"></el-option>
92
- <el-option value="half" label="半行(一行两个)"></el-option>
93
- </el-select>
94
- </template>
95
- </el-table-column>
96
82
  <el-table-column :label="i18nt('designer.setting.formatOfColumn')" width="200" prop="formatS">
97
83
  <template slot-scope="scope">
98
84
  <el-select v-model="scope.row.formatS" @change="changeFormatS(scope.row)" clearable>
@@ -455,11 +441,38 @@ export default {
455
441
  },
456
442
  {
457
443
  label: 'edit Format',
458
- /* H5 暂时只读:编辑格式只留下拉框,其余先不下发 */
459
444
  options: [
445
+ {
446
+ value: 'editInput',
447
+ label: '文本输入框'
448
+ },
449
+ {
450
+ value: 'editNumber',
451
+ label: '数字输入框'
452
+ },
453
+ {
454
+ value: 'editDate',
455
+ label: '日期输入框'
456
+ },
460
457
  {
461
458
  value: 'editSelect',
462
459
  label: '下拉框'
460
+ },
461
+ {
462
+ value: 'editSearch',
463
+ label: '搜索框'
464
+ },
465
+ {
466
+ value: 'editDelete',
467
+ label: '删除按钮'
468
+ },
469
+ {
470
+ value: 'editButton',
471
+ label: '查看按钮'
472
+ },
473
+ {
474
+ value: 'button',
475
+ label: '按钮'
463
476
  }
464
477
  ]
465
478
  },
@@ -123,7 +123,7 @@ export const containers = [
123
123
  }, {
124
124
  type: "grid-sub-form",
125
125
  category: "container",
126
- icon: "grid-sub-form",
126
+ icon: "sub-form",
127
127
  widgetList: [],
128
128
  options: {
129
129
  name: "",
@@ -141,7 +141,7 @@ export const containers = [
141
141
  {
142
142
  type: "grid-col",
143
143
  category: "container",
144
- icon: "grid-col",
144
+ icon: "grid",
145
145
  internal: !0,
146
146
  widgetList: [],
147
147
  options: {
@@ -163,7 +163,7 @@ export const containers = [
163
163
  {
164
164
  type: "table-cell",
165
165
  category: "container",
166
- icon: "table-cell",
166
+ icon: "table",
167
167
  internal: !0,
168
168
  widgetList: [],
169
169
  merged: !1,
@@ -179,7 +179,7 @@ export const containers = [
179
179
  {
180
180
  type: "tab-pane",
181
181
  category: "container",
182
- icon: "tab-pane",
182
+ icon: "tab",
183
183
  internal: !0,
184
184
  widgetList: [],
185
185
  options: {
@@ -588,7 +588,7 @@ export const containers = [
588
588
  * 直接拖进 tab-pane(见 docs/详情模块标签承载方案.md) */
589
589
  type: "detail-pane",
590
590
  category: "container",
591
- icon: "grid-col",
591
+ icon: "grid",
592
592
  buttonWidgetList: [],
593
593
  widgetList: [],
594
594
  options: {
@@ -798,7 +798,7 @@ export const containers = [
798
798
  {
799
799
  type: "h5-card-pane",
800
800
  category: "container",
801
- icon: "tab-pane",
801
+ icon: "tab",
802
802
  internal: !0,
803
803
  buttonWidgetList: [],
804
804
  widgetList: [],
@@ -828,7 +828,7 @@ export const containers = [
828
828
  {
829
829
  type: "h5-table-cell",
830
830
  category: "container",
831
- icon: "table-cell",
831
+ icon: "table",
832
832
  internal: !0,
833
833
  widgetList: [],
834
834
  merged: !1,
@@ -3861,7 +3861,7 @@ export const advancedFields = [
3861
3861
  },
3862
3862
  {
3863
3863
  type: "dropdown-item",
3864
- icon: "tab-pane",
3864
+ icon: "tab",
3865
3865
  internal: !0,
3866
3866
  options: {
3867
3867
  name: "",
@@ -21,6 +21,8 @@ import {
21
21
  traverseAllWidgetsNew,
22
22
  isAttachmentWidgetType,
23
23
  isVabsearchMultiWidget,
24
+ isPagedCollectionReturnType,
25
+ shouldShowDataTablePagination,
24
26
  XFORM_ROW_CLEAN_FIELDS,
25
27
  } from "../../../../components/xform/utils/util";
26
28
  import {
@@ -266,6 +268,12 @@ modules = {
266
268
  let formRef = this.getFormRef();
267
269
  return formRef.dataId;
268
270
  },
271
+ /**
272
+ * 分页集合数据必须显示分页,否则查询结果按 records/total 解析会报错。
273
+ */
274
+ isPaginationVisible() {
275
+ return shouldShowDataTablePagination(this.widget.options);
276
+ },
269
277
  },
270
278
  created: function () {
271
279
  if (!this.formModel[this.fieldKeyName])
@@ -2697,7 +2705,9 @@ modules = {
2697
2705
  let tableRef = this.getTableRef();
2698
2706
  let formDataModel = this.getFormRef().formDataModel;
2699
2707
  let isQueryTable = this.widget.options.isQueryTable || false;
2700
- let isDataPage = this.widget.options.accessReturnType === "2";
2708
+ let isDataPage = isPagedCollectionReturnType(
2709
+ this.widget.options.accessReturnType
2710
+ );
2701
2711
  let reportTemplate = this.getFormRef().reportTemplate;
2702
2712
  let formCode = reportTemplate.formCode;
2703
2713
  let dataId = this.formDataId;
@@ -2719,7 +2729,7 @@ modules = {
2719
2729
  paramFun = () => {
2720
2730
  let conditions = this.getSearchCondition();
2721
2731
  let $grid = this.getGridTable();
2722
- if (this.widget.options.showPagination) {
2732
+ if (this.isPaginationVisible) {
2723
2733
  let proxyInfo = $grid.getProxyInfo();
2724
2734
  let searchCount = true;
2725
2735
  let isQueryAllPage = getTableStateValue($grid, "isQueryAllPage");
@@ -3166,9 +3176,7 @@ modules = {
3166
3176
  config: {
3167
3177
  height: height,
3168
3178
  showFooter,
3169
- pagerConfig: this.widget.options.showPagination
3170
- ? pagerConfig
3171
- : false,
3179
+ pagerConfig: this.isPaginationVisible ? pagerConfig : false,
3172
3180
  treeConfig,
3173
3181
  rowConfig,
3174
3182
  headerCellStyle,
@@ -3799,10 +3807,10 @@ modules = {
3799
3807
  getScriptCode() {
3800
3808
  let accessReturnType = this.widget.options.accessReturnType;
3801
3809
  let defaultScriptCode = "getList";
3802
- if (accessReturnType === "1") {
3803
- defaultScriptCode = "getList";
3804
- } else if (accessReturnType === "2") {
3810
+ if (isPagedCollectionReturnType(accessReturnType)) {
3805
3811
  defaultScriptCode = "getPage";
3812
+ } else if (String(accessReturnType) === "1") {
3813
+ defaultScriptCode = "getList";
3806
3814
  }
3807
3815
  let scriptCode = this.widget.options.formScriptCode || defaultScriptCode;
3808
3816
  return scriptCode;