ecinc-cloud-moakqgl 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,65 @@
1
+
2
+ //index
3
+ import KqglIndex from './src/index'
4
+ //wdkq
5
+ import KqglCalendar from './src/wdkq/Calendar'
6
+ import KqglOutSideRecord from './src/wdkq/OutSideRecord'
7
+ import KqglStatistics from './src/wdkq/Statistics'
8
+ //vacate
9
+ import KqglVacateIndex from './src/vacate/index'
10
+ //tjfx
11
+ import KqglTjfxTj1 from './src/tjfx/tj1'
12
+ //taskItem
13
+ import KqglTaskItemIndex from './src/taskItem/index'
14
+ //resign
15
+ import KqglResignIndex from './src/resign/index'
16
+ //outside
17
+ import KqglOutsideIndex from './src/outside/index'
18
+ import KqglChangelocation from './src/outside/components/changelocation'
19
+ import KqglDetail from './src/outside/components/detail'
20
+ import KqglFaceguide from './src/outside/components/faceguide'
21
+ //kqdk
22
+ import KqglKqdkIndex from './src/kqdk/index'
23
+ //components
24
+ import KqglDataTime from './src/components/dataTime'
25
+ import KqglRealityTime from './src/components/RealityTime'
26
+ import KqglVacateDetail from './src/components/vacateDetail'
27
+ // 以对象的结构保存组件,便于遍历
28
+ const components = {
29
+ KqglIndex,
30
+ KqglCalendar,
31
+ KqglOutSideRecord,
32
+ KqglStatistics,
33
+ KqglVacateIndex,
34
+ KqglTjfxTj1,
35
+ KqglTaskItemIndex,
36
+ KqglResignIndex,
37
+ KqglOutsideIndex,
38
+ KqglChangelocation,
39
+ KqglDetail,
40
+ KqglFaceguide,
41
+ KqglKqdkIndex,
42
+ KqglDataTime,
43
+ KqglRealityTime,
44
+ KqglVacateDetail
45
+ }
46
+ // 定义 install 方法
47
+ const install = function(Vue) {
48
+ if (install.installed) return
49
+ install.installed = true
50
+ // 遍历并注册全局组件
51
+ Object.keys(components).forEach(key => {
52
+ Vue.component(key, components[key])
53
+ })
54
+ }
55
+
56
+ if (typeof window !== 'undefined' && window.Vue) {
57
+ install(window.Vue)
58
+ }
59
+
60
+ export default {
61
+ // 导出的对象必须具备一个 install 方法
62
+ install,
63
+ // 组件列表
64
+ ...components
65
+ }