ecinc-cloud-yoahtgl 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 +75 -0
- package/lib/ecyoahtgl.common.js +138952 -0
- package/lib/ecyoahtgl.umd.js +138962 -0
- package/lib/ecyoahtgl.umd.min.js +31 -0
- package/package.json +10 -0
package/index.js
ADDED
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
// 导入单个组件
|
|
2
|
+
// dateTableTree
|
|
3
|
+
import HtglDateTableTreeImportfile from './src/dateTableTree/importfile'
|
|
4
|
+
import HtglDateTableTree from './src/dateTableTree'
|
|
5
|
+
// htda
|
|
6
|
+
import HtglHtdaJyjl from './src/htda/jyjl'
|
|
7
|
+
// index
|
|
8
|
+
import HtglIndexCommonForm from './src/index/components/commonForm'
|
|
9
|
+
import HtglFkjd from './src/index/components/fkjd'
|
|
10
|
+
import HtglFzhttj from './src/index/components/fzhttj'
|
|
11
|
+
import HtglHtflList from './src/index/components/htflList'
|
|
12
|
+
import HtglHtjetj from './src/index/components/htjetj'
|
|
13
|
+
import HtglHtxxtx from './src/index/components/htxxtx'
|
|
14
|
+
// jygl
|
|
15
|
+
import HtglJygl from './src/jygl'
|
|
16
|
+
// mbgl
|
|
17
|
+
import HtglMbgl from './src/mbgl/index'
|
|
18
|
+
import HtglModuleIndex from './src/mbgl/components/moduleIndex'
|
|
19
|
+
// portlet
|
|
20
|
+
import HtglContractClauseBank from './src/portlet/ContractClauseBank'
|
|
21
|
+
// tjfx
|
|
22
|
+
import HtglTjfxListTable from './src/tjfx/components/ListTable'
|
|
23
|
+
import HtglTjfxFkhttj from './src/tjfx/fkhttj'
|
|
24
|
+
import HtglTjfxHtdatj from './src/tjfx/htdatj'
|
|
25
|
+
import HtglTjfxHtfk from './src/tjfx/htfk'
|
|
26
|
+
import HtglTjfxHtqy from './src/tjfx/htqy'
|
|
27
|
+
import HtglTjfxHtzxtj from './src/tjfx/htzxtj'
|
|
28
|
+
import HtglTjfxSkhttj from './src/tjfx/skhttj'
|
|
29
|
+
// wdjy
|
|
30
|
+
import HtglWdjy from './src/wdjy'
|
|
31
|
+
|
|
32
|
+
// 以数组的结构保存组件,便于遍历
|
|
33
|
+
const components = {
|
|
34
|
+
HtglDateTableTreeImportfile,
|
|
35
|
+
HtglDateTableTree,
|
|
36
|
+
HtglHtdaJyjl,
|
|
37
|
+
HtglIndexCommonForm,
|
|
38
|
+
HtglFkjd,
|
|
39
|
+
HtglFzhttj,
|
|
40
|
+
HtglHtflList,
|
|
41
|
+
HtglHtjetj,
|
|
42
|
+
HtglHtxxtx,
|
|
43
|
+
HtglJygl,
|
|
44
|
+
HtglMbgl,
|
|
45
|
+
HtglModuleIndex,
|
|
46
|
+
HtglContractClauseBank,
|
|
47
|
+
HtglTjfxListTable,
|
|
48
|
+
HtglTjfxFkhttj,
|
|
49
|
+
HtglTjfxHtdatj,
|
|
50
|
+
HtglTjfxHtfk,
|
|
51
|
+
HtglTjfxHtqy,
|
|
52
|
+
HtglTjfxHtzxtj,
|
|
53
|
+
HtglTjfxSkhttj,
|
|
54
|
+
HtglWdjy
|
|
55
|
+
}
|
|
56
|
+
// 定义 install 方法
|
|
57
|
+
const install = function(Vue) {
|
|
58
|
+
if (install.installed) return
|
|
59
|
+
install.installed = true
|
|
60
|
+
// 遍历并注册全局组件
|
|
61
|
+
Object.keys(components).forEach(key => {
|
|
62
|
+
Vue.component(key, components[key])
|
|
63
|
+
})
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
if (typeof window !== 'undefined' && window.Vue) {
|
|
67
|
+
install(window.Vue)
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
export default {
|
|
71
|
+
// 导出的对象必须具备一个 install 方法
|
|
72
|
+
install,
|
|
73
|
+
// 组件列表
|
|
74
|
+
...components
|
|
75
|
+
}
|