super-pages 0.0.13-up → 0.0.15-up

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 (49) hide show
  1. package/README.md +7 -7
  2. package/index.html +13 -13
  3. package/lib/super-pages.css +1 -1
  4. package/lib/super-pages.js +9 -9
  5. package/lib/super-pages.umd.cjs +1 -1
  6. package/package.json +1 -1
  7. package/packages/index.js +30 -30
  8. package/packages/super-page/index.js +9 -9
  9. package/packages/super-page/src/button-group.vue +294 -294
  10. package/packages/super-page/src/chart-page.vue +215 -215
  11. package/packages/super-page/src/chart-query-page.vue +163 -163
  12. package/packages/super-page/src/export-form-report-dialog.vue +145 -145
  13. package/packages/super-page/src/form-head.vue +74 -74
  14. package/packages/super-page/src/form-page.vue +107 -107
  15. package/packages/super-page/src/group-tag.vue +21 -21
  16. package/packages/super-page/src/list-toolbar-dynamic-source.vue +89 -89
  17. package/packages/super-page/src/list-toolbar-page.vue +377 -377
  18. package/packages/super-page/src/my-button-base.vue +438 -438
  19. package/packages/super-page/src/my-button.vue +196 -196
  20. package/packages/super-page/src/page-custom-component.vue +56 -56
  21. package/packages/super-page/src/remove-signer-dialog.vue +103 -103
  22. package/packages/super-page/src/sub-tab-page.vue +79 -79
  23. package/packages/super-page/src/super-page-component.vue +86 -86
  24. package/packages/super-page/src/super-page.vue +162 -162
  25. package/packages/super-page/src/tab-page.vue +154 -154
  26. package/packages/super-page/src/task-informition-dialog.vue +82 -82
  27. package/packages/super-page/src/util/ListButtonEvent.js +896 -896
  28. package/packages/super-page/src/util/api.js +37 -37
  29. package/packages/super-page/src/util/callEvents.js +62 -62
  30. package/packages/super-page/src/util/chartButtonEvent.js +60 -60
  31. package/packages/super-page/src/util/common-util.js +102 -102
  32. package/packages/super-page/src/util/commonButtonEvent.js +70 -70
  33. package/packages/super-page/src/util/formButtonEvent.js +509 -509
  34. package/packages/super-page/src/util/store.js +3 -3
  35. package/packages/super-page/src/util/super-page.js +29 -29
  36. package/packages/super-page/src/util/util.js +1 -1
  37. package/packages/super-page/src/util/workflowButtonEvent.js +1729 -1729
  38. package/packages/super-page/src/widget-col-page.vue +339 -339
  39. package/packages/super-page/src/widget-page.vue +703 -703
  40. package/packages/super-page/src/widget-sub-tab-pane-page.vue +115 -115
  41. package/packages/super-page/src/widget-tab-pane-page.vue +135 -135
  42. package/packages/super-page/src/workflow-button-group.vue +561 -561
  43. package/packages/super-page-dialog/index.js +9 -9
  44. package/packages/super-page-dialog/src/super-page-dialog.vue +200 -200
  45. package/packages/utils/gogocodeTransfer.js +59 -59
  46. package/src/i18n/langs/cn.js +65 -65
  47. package/src/i18n/langs/en.js +68 -68
  48. package/src/utils/common-util.js +9 -9
  49. package/vite.config.js +36 -36
@@ -1,3 +1,3 @@
1
- // 用于存放表单数据、是否是预览状态、系统信息
2
- const store = new Map()
3
- export default store
1
+ // 用于存放表单数据、是否是预览状态、系统信息
2
+ const store = new Map()
3
+ export default store
@@ -1,29 +1,29 @@
1
- import * as Vue from 'vue'
2
- const superPageService = {
3
- getPageSetting(code) {
4
- return this.$http.get(
5
- window.$vueApp.config.globalProperties.baseAPI +
6
- '/component/super-pages/' +
7
- code
8
- )
9
- },
10
- getSystemWatermark(code) {
11
- return this.$http.get(
12
- window.$vueApp.config.globalProperties.baseAPI +
13
- '/component/super-pages/getWatermark/' +
14
- code
15
- )
16
- },
17
- getPageSettingTest() {
18
- // return this.$http.get('http://localhost:8080/test/list-page.json')
19
- // return this.$http.get('http://localhost:8080/test/form-page.json')
20
- // return this.$http.get('http://localhost:8080/test/workflow-form-page.json')
21
- // return this.$http.get('http://localhost:8080/test/chart-page.json')
22
- // return this.$http.get('http://localhost:8080/test/tab-page.json')
23
- // return this.$http.get('http://localhost:8080/test/workflow-history-page.json')
24
- return this.$http.get(
25
- 'http://localhost:8080/test/other-component-page.json'
26
- )
27
- },
28
- }
29
- export default superPageService
1
+ import * as Vue from 'vue'
2
+ const superPageService = {
3
+ getPageSetting(code) {
4
+ return this.$http.get(
5
+ window.$vueApp.config.globalProperties.baseAPI +
6
+ '/component/super-pages/' +
7
+ code
8
+ )
9
+ },
10
+ getSystemWatermark(code) {
11
+ return this.$http.get(
12
+ window.$vueApp.config.globalProperties.baseAPI +
13
+ '/component/super-pages/getWatermark/' +
14
+ code
15
+ )
16
+ },
17
+ getPageSettingTest() {
18
+ // return this.$http.get('http://localhost:8080/test/list-page.json')
19
+ // return this.$http.get('http://localhost:8080/test/form-page.json')
20
+ // return this.$http.get('http://localhost:8080/test/workflow-form-page.json')
21
+ // return this.$http.get('http://localhost:8080/test/chart-page.json')
22
+ // return this.$http.get('http://localhost:8080/test/tab-page.json')
23
+ // return this.$http.get('http://localhost:8080/test/workflow-history-page.json')
24
+ return this.$http.get(
25
+ 'http://localhost:8080/test/other-component-page.json'
26
+ )
27
+ },
28
+ }
29
+ export default superPageService
@@ -730,7 +730,7 @@ const Util = {
730
730
  return baseUrl
731
731
  },
732
732
  getFormatDate(date, formatStr) {
733
- if (formatStr === 'yyyy-MM-dd') {
733
+ if (formatStr === 'yyyy-MM-dd' || formatStr === 'YYYY-MM-DD') {
734
734
  var year = date.getFullYear()
735
735
  var month =
736
736
  date.getMonth() + 1 < 10