ecinc-cloud-moarsgl 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,70 @@
1
+ //index
2
+ import RsglIndex from './src/index'
3
+ //taskItem
4
+ import RsglTaskItem from './src/taskItem/index'
5
+ //staffCare
6
+ import RsglStaffCare from './src/staffCare/index'
7
+ //rsglRsda
8
+ import RsglRsglRsda from './src/rsglRsda/index'
9
+ import RsglRsglRsdaAddNewInfo from './src/rsglRsda/components/addNewInfo'
10
+ import RsglRsglRsdaBaseDetail from './src/rsglRsda/components/baseDetail'
11
+ import RsglRsglRsdaCellDa from './src/rsglRsda/components/cellDa'
12
+ import RsglRsglRsdaDaEdit from './src/rsglRsda/components/daEdit'
13
+ import RsglRsglRsdaJlDetail from './src/rsglRsda/components/jlDetail'
14
+ import RsglRsglRsdaReglAllRsda from './src/rsglRsda/components/reglAllRsda'
15
+ import RsglRsglRsdaTableCell from './src/rsglRsda/components/tableCell'
16
+ import RsglRsglRsdaTables from './src/rsglRsda/components/tables'
17
+ import RsglRsglRsdaTjIndex from './src/rsglRsda/components/tjIndex'
18
+ import RsglRsglRsdaUploadFile from './src/rsglRsda/components/uploadFile'
19
+ import RsglRsglRsdaViewJl from './src/rsglRsda/components/viewJl'
20
+ import RsglRsglRsdaXqht from './src/rsglRsda/components/xqht'
21
+ import RsglRsglRsdaJlDialog from './src/rsglRsda/components/editDialog/jlDialog'
22
+ import RsglRsglRsdaLzDialog from './src/rsglRsda/components/editDialog/lzDialog'
23
+ import RsglRsglRsdaNumDialog from './src/rsglRsda/components/editDialog/numDialog'
24
+ import RsglRsglRsdaRzDialog from './src/rsglRsda/components/editDialog/rzDialog'
25
+ import RsglRsglRsdaZgDialog from './src/rsglRsda/components/editDialog/zgDialog'
26
+ import RsglRsglRsdaZzDialog from './src/rsglRsda/components/editDialog/zzDialog'
27
+ //rsglMyPay
28
+ import RsglRsglMyPay from './src/rsglMyPay/index'
29
+ import RsglRsglMyPayPayDetail from './src/rsglMyPay/components/payDetail'
30
+ //rsglMyFile
31
+ import RsglRsglMyFileIndex from './src/rsglMyFile/index'
32
+ import RsglRsglMyFileBeforeIndex from './src/rsglMyFile/beforeIndex'
33
+ import RsglRsglMyFileAppointment from './src/rsglMyFile/components/appointment'
34
+ import RsglRsglMyFileBankCard from './src/rsglMyFile/components/bankCard'
35
+ import RsglRsglMyFileCertificate from './src/rsglMyFile/components/certificate'
36
+ import RsglRsglMyFileContract from './src/rsglMyFile/components/contract'
37
+ import RsglRsglMyFileItemCell from './src/rsglMyFile/components/itemCell'
38
+ import RsglRsglMyFileWork from './src/rsglMyFile/components/work'
39
+ //rsglIndex
40
+ import RsglRsglRsglIndex from './src/rsglIndex/index'
41
+ //detailTab
42
+ import RsglDetailTab from './src/detailTab/index'
43
+ // 以对象的结构保存组件,便于遍历
44
+ const components = {
45
+ RsglIndex,RsglTaskItem,RsglStaffCare,RsglRsglRsda,RsglRsglMyPay,RsglRsglMyPayPayDetail,RsglRsglMyFileIndex,RsglRsglMyFileBeforeIndex,
46
+ RsglRsglMyFileAppointment,RsglRsglMyFileBankCard,RsglRsglMyFileCertificate,RsglRsglMyFileContract,RsglRsglMyFileItemCell,RsglRsglMyFileWork,
47
+ RsglRsglRsglIndex,RsglDetailTab,RsglRsglRsdaAddNewInfo,RsglRsglRsdaBaseDetail,RsglRsglRsdaCellDa,RsglRsglRsdaDaEdit,RsglRsglRsdaJlDetail,
48
+ RsglRsglRsdaReglAllRsda,RsglRsglRsdaTableCell,RsglRsglRsdaTables,RsglRsglRsdaTjIndex,RsglRsglRsdaUploadFile,RsglRsglRsdaViewJl,RsglRsglRsdaXqht,
49
+ RsglRsglRsdaJlDialog,RsglRsglRsdaLzDialog,RsglRsglRsdaNumDialog,RsglRsglRsdaRzDialog,RsglRsglRsdaZgDialog,RsglRsglRsdaZzDialog
50
+ }
51
+ // 定义 install 方法
52
+ const install = function(Vue) {
53
+ if (install.installed) return
54
+ install.installed = true
55
+ // 遍历并注册全局组件
56
+ Object.keys(components).forEach(key => {
57
+ Vue.component(key, components[key])
58
+ })
59
+ }
60
+
61
+ if (typeof window !== 'undefined' && window.Vue) {
62
+ install(window.Vue)
63
+ }
64
+
65
+ export default {
66
+ // 导出的对象必须具备一个 install 方法
67
+ install,
68
+ // 组件列表
69
+ ...components
70
+ }