ecinc-cloud-moadcdb 9.5.213 → 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 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, DcdbHomeIndex, DcdbDcdbIndex, DcdbDbkbIndex, DcdbReceiveBusiForm,
56
- DcdbDbyjIndex, DcdbBillboardList, DcdbComponentsInnerTable, DcdbWdrwIndex, DcdbWdhbIndex,
57
- DcdbWdspIndex, DcdbDbrwIndex, DcdbSupervisionTask, DcdbDblxIndex, DcdbCbgzBgjl, DcdbCbgzQtrw, DcdbCbgzPhrw,
58
- DcdbDbjbIndex, DcdbWdgzIndex, DcdbWddbIndex, DcdbBmdbIndex, DcdbComponentsBjInnerTable,
59
- DcdbDbbjIndex, DcdbDbyqIndex, DcdbDbqxIndex, DcdbDbgdIndex, DcdbDbsbIndex, DcdbShangBao, DcdbDbkbDetail,
60
- DcdbGcpfIndex, DcdbZlpfIndex, DcdbDbbgDbzb, DcdbDbbgDbyb, DcdbComponentsScoreForm, DcdbZgqsIndex, DcdbCbgzIndex, DcdbCbgzGzqsSignFor,
61
- DcdbCbgzHb, DcdbCbgzSupervisionTask
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
  }