ecinc-cloud-moazcgl 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 +52 -0
- package/lib/ecmoazcgl.common.js +147004 -0
- package/lib/ecmoazcgl.umd.js +147014 -0
- package/lib/ecmoazcgl.umd.min.js +31 -0
- package/package.json +10 -0
package/index.js
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
|
|
2
|
+
//index
|
|
3
|
+
import ZcglIndex from './src/index'
|
|
4
|
+
//zcsp
|
|
5
|
+
import ZcglZcspIndex from './src/zcsp/index'
|
|
6
|
+
import ZcglDetailModal from './src/zcsp/components/DetailModal'
|
|
7
|
+
import ZcglFollowList from './src/zcsp/components/FollowList'
|
|
8
|
+
import ZcglSelectContent from './src/zcsp/components/SelectContent'
|
|
9
|
+
import ZcglTableCell from './src/zcsp/components/TableCell'
|
|
10
|
+
//zcpd
|
|
11
|
+
import ZcglZcpdIndex from './src/zcpd/index'
|
|
12
|
+
import ZcglZcpdAblewq from './src/zcpd/components/ablewq'
|
|
13
|
+
import ZcglZcpdFollowList from './src/zcpd/components/FollowList'
|
|
14
|
+
//manage
|
|
15
|
+
import ZcglManageIndex from './src/manage/index'
|
|
16
|
+
import ZcglManageExport from './src/manage/export'
|
|
17
|
+
//home
|
|
18
|
+
import ZcglHomeIndex from './src/home/index'
|
|
19
|
+
import ZcglHomeChartPie from './src/home/components/ChartPie'
|
|
20
|
+
import ZcglHomePageJy from './src/home/components/PageJy'
|
|
21
|
+
import ZcglHomePageLy from './src/home/components/PageLy'
|
|
22
|
+
import ZcglHomeGrsyIndex from './src/home/grsy/index'
|
|
23
|
+
import ZcglHomeGrsyJy from './src/home/grsy/jy'
|
|
24
|
+
import ZcglHomeGrsyLy from './src/home/grsy/ly'
|
|
25
|
+
import ZcglHomeGrsyWx from './src/home/grsy/wx'
|
|
26
|
+
import ZcglHomeGrsyTableCell from './src/home/grsy/components/TableCell'
|
|
27
|
+
// 以对象的结构保存组件,便于遍历
|
|
28
|
+
const components = {
|
|
29
|
+
ZcglIndex,ZcglZcspIndex,ZcglDetailModal,ZcglFollowList,ZcglSelectContent,ZcglTableCell,
|
|
30
|
+
ZcglZcpdIndex,ZcglZcpdAblewq,ZcglZcpdFollowList,ZcglManageIndex,...ZcglManageExport,ZcglHomeIndex,
|
|
31
|
+
ZcglHomeChartPie,ZcglHomePageJy,ZcglHomePageLy,ZcglHomeGrsyIndex,ZcglHomeGrsyJy,ZcglHomeGrsyLy,ZcglHomeGrsyWx,ZcglHomeGrsyTableCell
|
|
32
|
+
}
|
|
33
|
+
// 定义 install 方法
|
|
34
|
+
const install = function(Vue) {
|
|
35
|
+
if (install.installed) return
|
|
36
|
+
install.installed = true
|
|
37
|
+
// 遍历并注册全局组件
|
|
38
|
+
Object.keys(components).forEach(key => {
|
|
39
|
+
Vue.component(key, components[key])
|
|
40
|
+
})
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
if (typeof window !== 'undefined' && window.Vue) {
|
|
44
|
+
install(window.Vue)
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export default {
|
|
48
|
+
// 导出的对象必须具备一个 install 方法
|
|
49
|
+
install,
|
|
50
|
+
// 组件列表
|
|
51
|
+
...components
|
|
52
|
+
}
|