ecinc-cloud-moadjgl 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 +60 -0
- package/lib/ecmoadjgl.common.js +28502 -0
- package/lib/ecmoadjgl.umd.js +28512 -0
- package/lib/ecmoadjgl.umd.min.js +8 -0
- package/lib/img/iconfont.bebddb8d.svg +29 -0
- package/package.json +10 -0
package/index.js
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
|
|
2
|
+
// djgl
|
|
3
|
+
// components
|
|
4
|
+
import DjglComponentDyhd from './src/components/dyhd'
|
|
5
|
+
// djhd
|
|
6
|
+
import DjglDjhd from './src/djhd'
|
|
7
|
+
// task
|
|
8
|
+
import DjglTask from './src/task'
|
|
9
|
+
// xczd
|
|
10
|
+
import DjglXczdShowDetail from './src/xczd/detail/showDetail'
|
|
11
|
+
import DjglXczd from './src/xczd'
|
|
12
|
+
import DjglXczdNewPublish from './src/xczd/newPublish'
|
|
13
|
+
// zzsw
|
|
14
|
+
import DjglZzswComponentAddForm from './src/zzsw/components/addForm'
|
|
15
|
+
import DjglZzswComponentCellPopup from './src/zzsw/components/CellPopup'
|
|
16
|
+
import DjglZzswComponentDyfz from './src/zzsw/components/dyfz'
|
|
17
|
+
import DjglZzswComponentDygl from './src/zzsw/components/dygl'
|
|
18
|
+
import DjglZzswComponentGxzr from './src/zzsw/components/gxzr'
|
|
19
|
+
import DjglZzswComponentZzhj from './src/zzsw/components/zzhj'
|
|
20
|
+
import DjglZzsw from './src/zzsw'
|
|
21
|
+
|
|
22
|
+
import DjglIndex from './src'
|
|
23
|
+
|
|
24
|
+
// 以对象的结构保存组件,便于遍历
|
|
25
|
+
const components = {
|
|
26
|
+
DjglComponentDyhd,
|
|
27
|
+
DjglDjhd,
|
|
28
|
+
DjglTask,
|
|
29
|
+
DjglXczdShowDetail,
|
|
30
|
+
DjglXczd,
|
|
31
|
+
DjglXczdNewPublish,
|
|
32
|
+
DjglZzswComponentAddForm,
|
|
33
|
+
DjglZzswComponentCellPopup,
|
|
34
|
+
DjglZzswComponentDyfz,
|
|
35
|
+
DjglZzswComponentDygl,
|
|
36
|
+
DjglZzswComponentGxzr,
|
|
37
|
+
DjglZzswComponentZzhj,
|
|
38
|
+
DjglZzsw,
|
|
39
|
+
DjglIndex
|
|
40
|
+
}
|
|
41
|
+
// 定义 install 方法
|
|
42
|
+
const install = function(Vue) {
|
|
43
|
+
if (install.installed) return
|
|
44
|
+
install.installed = true
|
|
45
|
+
// 遍历并注册全局组件
|
|
46
|
+
Object.keys(components).forEach(key => {
|
|
47
|
+
Vue.component(key, components[key])
|
|
48
|
+
})
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
if (typeof window !== 'undefined' && window.Vue) {
|
|
52
|
+
install(window.Vue)
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export default {
|
|
56
|
+
// 导出的对象必须具备一个 install 方法
|
|
57
|
+
install,
|
|
58
|
+
// 组件列表
|
|
59
|
+
...components
|
|
60
|
+
}
|