ecinc-cloud-moagwgl 9.5.0

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.
package/index.js ADDED
@@ -0,0 +1,81 @@
1
+ // 导入单个组件
2
+
3
+ //index
4
+ import GwglIndex from './src/index'
5
+
6
+ // gwbw
7
+ import GwglGwbw from './src/gwbw/index'
8
+
9
+ // gwcqbw
10
+ import GwglGwcqbw from './src/gwcqbw/index'
11
+
12
+ // gwcx
13
+ import GwglGwcx from './src/gwcx/index'
14
+ import GwglGwcxMyTodo from './src/gwcx/index1'
15
+ import GwglGwcxJY from './src/gwcx/indexJY'
16
+ import GwglGwcxQY from './src/gwcx/indexQY'
17
+ import GwglGwcxYL from './src/gwcx/indexYL'
18
+ import GwglGwcxZW from './src/gwcx/indexZW'
19
+
20
+ // gwgd
21
+ import GwglGwgd from './src/gwgd/index'
22
+ // gwjh
23
+ import GwglGwjh from './src/gwjh/index'
24
+ // gwList
25
+ import GwglGwList from './src/gwList/index'
26
+ // gwnw
27
+ import GwglGwnw from './src/gwnw/index'
28
+ // gwSendlog
29
+ import GwglGwSendlog from './src/gwSendlog/index'
30
+ // gwwcjd
31
+ import GwglGwwcjd from './src/gwwcjd/index'
32
+ // gwyw
33
+ import GwglGwyw from './src/gwyw/index'
34
+ // home
35
+ import GwglHome from './src/home/index'
36
+ // wjtb
37
+ import GwglUploadAttachment from './src/wjtb/components/UploadAttachment'
38
+
39
+
40
+ // 以对象的结构保存组件,便于遍历
41
+ const components = {
42
+ GwglIndex,
43
+ GwglGwbw,
44
+ GwglGwcqbw,
45
+ GwglGwcx,
46
+ GwglGwcxMyTodo,
47
+ GwglGwcxJY,
48
+ GwglGwcxQY,
49
+ GwglGwcxYL,
50
+ GwglGwcxZW,
51
+ GwglGwgd,
52
+ GwglGwjh,
53
+ GwglGwList,
54
+ GwglGwnw,
55
+ GwglGwSendlog,
56
+ GwglGwwcjd,
57
+ GwglGwyw,
58
+ GwglHome,
59
+ GwglUploadAttachment
60
+
61
+ }
62
+ // 定义 install 方法
63
+ const install = function(Vue) {
64
+ if (install.installed) return
65
+ install.installed = true
66
+ // 遍历并注册全局组件
67
+ Object.keys(components).forEach(key => {
68
+ Vue.component(key, components[key])
69
+ })
70
+ }
71
+
72
+ if (typeof window !== 'undefined' && window.Vue) {
73
+ install(window.Vue)
74
+ }
75
+
76
+ export default {
77
+ // 导出的对象必须具备一个 install 方法
78
+ install,
79
+ // 组件列表
80
+ ...components
81
+ }