vue2-client 1.10.33 → 1.10.35

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 (23) hide show
  1. package/package.json +107 -107
  2. package/src/App.vue +196 -196
  3. package/src/base-client/components/common/XAddNativeForm/demo.vue +43 -43
  4. package/src/base-client/components/common/XAddReport/XAddReport.vue +1 -1
  5. package/src/base-client/components/common/XConversation/XConversation.vue +12 -0
  6. package/src/base-client/components/common/XForm/XForm.vue +393 -393
  7. package/src/base-client/components/common/XForm/XFormItem.vue +1248 -1248
  8. package/src/base-client/components/common/XFormCol/XFormCol.vue +157 -157
  9. package/src/base-client/components/common/XFormTable/XFormTable.vue +12 -0
  10. package/src/base-client/components/common/XIntervalPicker/XIntervalPicker.vue +121 -121
  11. package/src/base-client/components/common/XReportDrawer/XReportDrawer.vue +1 -1
  12. package/src/base-client/components/common/XReportGrid/XReport.vue +1079 -1070
  13. package/src/base-client/components/common/XReportGrid/XReportDemo.vue +46 -47
  14. package/src/base-client/components/common/XReportGrid/XReportDesign.vue +628 -628
  15. package/src/base-client/components/common/XReportGrid/XReportJsonRender.vue +380 -380
  16. package/src/base-client/components/common/XReportGrid/XReportTrGroup.vue +1104 -1104
  17. package/src/base-client/components/common/XReportGrid/print.js +184 -184
  18. package/src/base-client/components/common/XTab/XTab.vue +57 -25
  19. package/src/components/cache/AKeepAlive.js +179 -179
  20. package/src/layouts/BlankView.vue +78 -78
  21. package/src/pages/ReportGrid/index.vue +76 -76
  22. package/src/router/async/router.map.js +2 -2
  23. package/src/utils/microAppUtils.js +49 -49
@@ -1,43 +1,43 @@
1
- <script>
2
- import XAddNativeForm from '@vue2-client/base-client/components/common/XAddNativeForm/XAddNativeForm.vue'
3
- import { getConfigByNameAsync } from '@vue2-client/services/api/common'
4
-
5
- export default {
6
- name: 'Demo',
7
- components: { XAddNativeForm },
8
- mounted () {
9
- const realTableData = [{ tsc_f_contract_id: null, tsc_f_contract_code: '3316370809565024955', tsc_f_createfile_date: '2025-01-13 00:00:00', tsc_f_data: '王翔测试-15358338312: 繁荣南路滨河花园4楼号4单元19楼层1908门牌号' }]
10
- getConfigByNameAsync('ceshiCRUD', 'af-system').then(res => {
11
- this.$refs.xAddFrom.init(Object.assign(res, {
12
- modifyModelData: {
13
- data: {
14
- oldSignList: realTableData
15
- }
16
- }
17
- }))
18
- })
19
- },
20
- methods: {
21
- aaa (attr, value) {
22
- },
23
- singLocal () {
24
- console.log('singLocal')
25
- }
26
- }
27
- }
28
- </script>
29
-
30
- <template>
31
- <a-card>
32
- <x-add-native-form
33
- ref="xAddFrom"
34
- @getinfo="aaa"
35
- @onSubmit="aaa"
36
- @singLocal="singLocal"
37
- />
38
- </a-card>
39
- </template>
40
-
41
- <style scoped lang="less">
42
-
43
- </style>
1
+ <script>
2
+ import XAddNativeForm from '@vue2-client/base-client/components/common/XAddNativeForm/XAddNativeForm.vue'
3
+ import { getConfigByNameAsync } from '@vue2-client/services/api/common'
4
+
5
+ export default {
6
+ name: 'Demo',
7
+ components: { XAddNativeForm },
8
+ mounted () {
9
+ const realTableData = [{ tsc_f_contract_id: null, tsc_f_contract_code: '3316370809565024955', tsc_f_createfile_date: '2025-01-13 00:00:00', tsc_f_data: '王翔测试-15358338312: 繁荣南路滨河花园4楼号4单元19楼层1908门牌号' }]
10
+ getConfigByNameAsync('ceshiCRUD', 'af-system').then(res => {
11
+ this.$refs.xAddFrom.init(Object.assign(res, {
12
+ modifyModelData: {
13
+ data: {
14
+ oldSignList: realTableData
15
+ }
16
+ }
17
+ }))
18
+ })
19
+ },
20
+ methods: {
21
+ aaa (attr, value) {
22
+ },
23
+ singLocal () {
24
+ console.log('singLocal')
25
+ }
26
+ }
27
+ }
28
+ </script>
29
+
30
+ <template>
31
+ <a-card>
32
+ <x-add-native-form
33
+ ref="xAddFrom"
34
+ @getinfo="aaa"
35
+ @onSubmit="aaa"
36
+ @singLocal="singLocal"
37
+ />
38
+ </a-card>
39
+ </template>
40
+
41
+ <style scoped lang="less">
42
+
43
+ </style>
@@ -87,7 +87,7 @@ export default {
87
87
  currUser: this.currUser
88
88
  }
89
89
  },
90
- inject: ['getParentComponentByName'],
90
+ inject: ['getParentComponentByName', 'setGlobalData', 'getGlobalData'],
91
91
  computed: {
92
92
  businessTitle () {
93
93
  return this.businessType + this.title
@@ -44,6 +44,18 @@ export default {
44
44
  return null
45
45
  },
46
46
  },
47
+ setGlobalData: {
48
+ default: () => () => {
49
+ console.warn('setGlobalData is not provided.')
50
+ return null
51
+ },
52
+ },
53
+ getGlobalData: {
54
+ default: () => () => {
55
+ console.warn('getGlobalData is not provided.')
56
+ return null
57
+ },
58
+ },
47
59
  getSelectedData: {
48
60
  default: () => () => {
49
61
  console.warn('getSelectedData is not provided.')