ecinc-cloud-moadcdb 9.5.214 → 9.5.215
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 +44 -11
- package/lang/en.js +809 -0
- package/lang/es.js +10 -0
- package/lang/index.js +25 -0
- package/lang/ja.js +10 -0
- package/lang/zhCN.js +779 -0
- package/lib/ecmoadcdb.common.js +8284 -4006
- package/lib/ecmoadcdb.umd.js +8284 -4006
- package/lib/ecmoadcdb.umd.min.js +140 -140
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -52,20 +52,52 @@ import DcdbCbgzHb from './src/cbgz/components/hb'
|
|
|
52
52
|
import DcdbCbgzSupervisionTask from './src/cbgz/components/SupervisionTask'
|
|
53
53
|
// 以对象的结构保存组件,便于遍历
|
|
54
54
|
const components = {
|
|
55
|
-
DcdbIndex,
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
55
|
+
DcdbIndex,
|
|
56
|
+
DcdbHomeIndex,
|
|
57
|
+
DcdbDcdbIndex,
|
|
58
|
+
DcdbDbkbIndex,
|
|
59
|
+
DcdbReceiveBusiForm,
|
|
60
|
+
DcdbDbyjIndex,
|
|
61
|
+
DcdbBillboardList,
|
|
62
|
+
DcdbComponentsInnerTable,
|
|
63
|
+
DcdbWdrwIndex,
|
|
64
|
+
DcdbWdhbIndex,
|
|
65
|
+
DcdbWdspIndex,
|
|
66
|
+
DcdbDbrwIndex,
|
|
67
|
+
DcdbSupervisionTask,
|
|
68
|
+
DcdbDblxIndex,
|
|
69
|
+
DcdbCbgzBgjl,
|
|
70
|
+
DcdbCbgzQtrw,
|
|
71
|
+
DcdbCbgzPhrw,
|
|
72
|
+
DcdbDbjbIndex,
|
|
73
|
+
DcdbWdgzIndex,
|
|
74
|
+
DcdbWddbIndex,
|
|
75
|
+
DcdbBmdbIndex,
|
|
76
|
+
DcdbComponentsBjInnerTable,
|
|
77
|
+
DcdbDbbjIndex,
|
|
78
|
+
DcdbDbyqIndex,
|
|
79
|
+
DcdbDbqxIndex,
|
|
80
|
+
DcdbDbgdIndex,
|
|
81
|
+
DcdbDbsbIndex,
|
|
82
|
+
DcdbShangBao,
|
|
83
|
+
DcdbDbkbDetail,
|
|
84
|
+
DcdbGcpfIndex,
|
|
85
|
+
DcdbZlpfIndex,
|
|
86
|
+
DcdbDbbgDbzb,
|
|
87
|
+
DcdbDbbgDbyb,
|
|
88
|
+
DcdbComponentsScoreForm,
|
|
89
|
+
DcdbZgqsIndex,
|
|
90
|
+
DcdbCbgzIndex,
|
|
91
|
+
DcdbCbgzGzqsSignFor,
|
|
92
|
+
DcdbCbgzHb,
|
|
93
|
+
DcdbCbgzSupervisionTask
|
|
62
94
|
}
|
|
63
95
|
// 定义 install 方法
|
|
64
|
-
const install = function(Vue) {
|
|
96
|
+
const install = function (Vue) {
|
|
65
97
|
if (install.installed) return
|
|
66
98
|
install.installed = true
|
|
67
99
|
// 遍历并注册全局组件
|
|
68
|
-
Object.keys(components).forEach(key => {
|
|
100
|
+
Object.keys(components).forEach((key) => {
|
|
69
101
|
Vue.component(key, components[key])
|
|
70
102
|
})
|
|
71
103
|
}
|
|
@@ -73,10 +105,11 @@ const install = function(Vue) {
|
|
|
73
105
|
if (typeof window !== 'undefined' && window.Vue) {
|
|
74
106
|
install(window.Vue)
|
|
75
107
|
}
|
|
76
|
-
|
|
108
|
+
const $messages = require('./lang/index')
|
|
77
109
|
export default {
|
|
78
110
|
// 导出的对象必须具备一个 install 方法
|
|
79
111
|
install,
|
|
80
112
|
// 组件列表
|
|
81
|
-
...components
|
|
113
|
+
...components,
|
|
114
|
+
$messages
|
|
82
115
|
}
|