ecinc-cloud-moafygl 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 ADDED
@@ -0,0 +1,59 @@
1
+
2
+ //index
3
+ import FyglIndex from './src/index'
4
+ //taskItem
5
+ import FyglTaskItemIndex from './src/taskItem/index'
6
+ import FyglTaskItemIndex11 from './src/taskItem/index11'
7
+ import FyglTaskItemMyCreated from './src/taskItem/myCreated'
8
+ //lendAccount
9
+ import FyglLendAccountIndex from './src/lendAccount/index'
10
+ import FyglLendAccountItemCell from './src/lendAccount/ItemCell'
11
+ import FyglLendAccountLendDetail from './src/lendAccount/LendDetail'
12
+ //fyzc
13
+ import FyglFyzcIndex from './src/fyzc/index'
14
+ import FyglFyzcFyIndex from './src/fyzc/fyIndex'
15
+ import FyglFyzcDetailForm from './src/fyzc/form/detailForm'
16
+ import FyglFyzcFyForm from './src/fyzc/form/fyForm'
17
+ //expenseAccountInfo
18
+ import FyglExpenseAccountInfoForm from './src/expenseAccountInfo/form'
19
+ import FyglExpenseInfo from './src/expenseAccountInfo/components/ExpenseInfo'
20
+ import FyglExpenseTotal from './src/expenseAccountInfo/components/ExpenseTotal'
21
+ import FyglLendInfo from './src/expenseAccountInfo/components/LendInfo'
22
+ //expenseAccount
23
+ import FyglExpenseAccount from './src/expenseAccount/index'
24
+ import FyglExpenseAccountForm from './src/expenseAccount/form'
25
+ import FyglExpenseInfoCell from './src/expenseAccount/components/ExpenseInfoCell'
26
+ import FyglNoexpense from './src/expenseAccount/components/Noexpense'
27
+ //components
28
+ import FyglAccountForm from './src/components/AccountForm'
29
+ import FyglListPageDialog from './src/components/ListPageDialog'
30
+ import FyglListPageSelect from './src/components/ListPageSelect'
31
+ import FyglSelAdd from './src/components/SelAdd'
32
+ //budgetControl
33
+ import FyglDetailInnerTable from './src/budgetControl/budgetSummary/DetailInnerTable'
34
+ // 以对象的结构保存组件,便于遍历
35
+ const components = {
36
+ FyglIndex,FyglTaskItemIndex,FyglTaskItemIndex11,FyglTaskItemMyCreated,FyglLendAccountIndex,FyglFyzcIndex,FyglFyzcFyIndex,FyglExpenseAccountInfoForm,FyglExpenseInfo,
37
+ FyglExpenseTotal,FyglLendInfo,FyglExpenseAccount,FyglExpenseAccountForm,FyglExpenseInfoCell,FyglNoexpense,FyglAccountForm,FyglListPageDialog,FyglListPageSelect,
38
+ FyglSelAdd,FyglDetailInnerTable,FyglFyzcDetailForm,FyglFyzcFyForm,FyglLendAccountItemCell,FyglLendAccountLendDetail
39
+ }
40
+ // 定义 install 方法
41
+ const install = function(Vue) {
42
+ if (install.installed) return
43
+ install.installed = true
44
+ // 遍历并注册全局组件
45
+ Object.keys(components).forEach(key => {
46
+ Vue.component(key, components[key])
47
+ })
48
+ }
49
+
50
+ if (typeof window !== 'undefined' && window.Vue) {
51
+ install(window.Vue)
52
+ }
53
+
54
+ export default {
55
+ // 导出的对象必须具备一个 install 方法
56
+ install,
57
+ // 组件列表
58
+ ...components
59
+ }