@ebiz/designer-components 0.1.124 → 0.1.125
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/README.md +29 -29
- package/dist/designer-components.css +1 -1
- package/dist/index.mjs +35847 -33799
- package/dist/{pdf-C9oIcL2N.js → pdf-KomaE0u5.js} +891 -891
- package/package.json +1 -1
- package/src/App.vue +26 -26
- package/src/apiService/SIMPLE_DATA_SERVICE.md +284 -284
- package/src/apiService/mockDataService.js +115 -115
- package/src/apiService/simpleDataService.js +312 -312
- package/src/assets/base.css +86 -86
- package/src/assets/logo.svg +1 -1
- package/src/components/Button.vue +149 -149
- package/src/components/DataContainer.vue +40 -40
- package/src/components/EbizApproval.vue +366 -366
- package/src/components/EbizApprovalDetail.vue +169 -169
- package/src/components/EbizApprovalForm.vue +534 -534
- package/src/components/EbizApprovalV2.vue +713 -713
- package/src/components/EbizAutoForm.vue +596 -596
- package/src/components/EbizAvatar.vue +115 -115
- package/src/components/EbizCheckbox.vue +93 -93
- package/src/components/EbizCheckboxGroup.vue +69 -69
- package/src/components/EbizDepartmentSelector.vue +148 -148
- package/src/components/EbizDescriptions.vue +340 -340
- package/src/components/EbizDescriptionsItem.vue +47 -47
- package/src/components/EbizDetailBlock.vue +81 -81
- package/src/components/EbizDetailItem.vue +559 -559
- package/src/components/EbizDetailView.md +438 -438
- package/src/components/EbizDetailView.vue +355 -355
- package/src/components/EbizDialog.vue +260 -260
- package/src/components/EbizDictionarySelect.vue +229 -229
- package/src/components/EbizDiv.vue +40 -40
- package/src/components/EbizDivider.vue +96 -96
- package/src/components/EbizDormDashboard.vue +314 -314
- package/src/components/EbizDropdown.vue +135 -135
- package/src/components/EbizDropdownItem.vue +85 -85
- package/src/components/EbizEmployeeInfo.vue +144 -144
- package/src/components/EbizEmployeeSelector.vue +1160 -1160
- package/src/components/EbizFileList.vue +502 -502
- package/src/components/EbizMap.vue +541 -541
- package/src/components/EbizMeetingRoomSelector.vue +1149 -1149
- package/src/components/EbizMobileMeetingRoomSelector.vue +727 -727
- package/src/components/EbizOkrTree.vue +99 -99
- package/src/components/EbizPageHeader.vue +98 -98
- package/src/components/EbizPagination.vue +162 -162
- package/src/components/EbizParkingDashboard.vue +152 -152
- package/src/components/EbizPdfViewer.vue +540 -540
- package/src/components/EbizPopconfirm.vue +47 -47
- package/src/components/EbizQrCode.vue +167 -167
- package/src/components/EbizRadio.vue +86 -86
- package/src/components/EbizRadioGroup.vue +83 -83
- package/src/components/EbizRemoteSelect.vue +232 -232
- package/src/components/EbizRichTextEditor.vue +338 -338
- package/src/components/EbizRouteBreadcrumb.vue +46 -46
- package/src/components/EbizSApprovalProcess.vue +1456 -1426
- package/src/components/EbizSelect.vue +85 -85
- package/src/components/EbizSpace.vue +100 -100
- package/src/components/EbizStatistic.vue +149 -149
- package/src/components/EbizStatsCard.vue +113 -113
- package/src/components/EbizSwiper.vue +113 -113
- package/src/components/EbizSwiperItem.vue +13 -13
- package/src/components/EbizSwitch.vue +85 -85
- package/src/components/EbizTabHeader.vue +132 -132
- package/src/components/EbizTabPanel.vue +22 -22
- package/src/components/EbizTable.vue +469 -469
- package/src/components/EbizTableColumn.vue +116 -116
- package/src/components/EbizTableSort.vue +179 -179
- package/src/components/EbizTabs.vue +142 -142
- package/src/components/EbizTdesignButtonDialog.vue +332 -332
- package/src/components/EbizTdesignLoading.vue +107 -107
- package/src/components/EbizTimePicker.vue +143 -143
- package/src/components/EbizTitle.vue +91 -91
- package/src/components/EbizTree.vue +141 -141
- package/src/components/EbizTreeMergeTable.vue +1494 -1494
- package/src/components/EbizTreeSelector.vue +469 -469
- package/src/components/EbizVideo.vue +553 -553
- package/src/components/EbizVxeTable.vue +290 -290
- package/src/components/Form.vue +28 -28
- package/src/components/Home.vue +7 -7
- package/src/components/LaunchInterview.vue +526 -526
- package/src/components/MyComponent.vue +39 -39
- package/src/components/Table.vue +45 -45
- package/src/components/TdesignAlert.vue +115 -115
- package/src/components/TdesignButton.vue +135 -135
- package/src/components/TdesignCalendar/index.vue +145 -145
- package/src/components/TdesignCard.vue +195 -195
- package/src/components/TdesignCol.vue +101 -101
- package/src/components/TdesignCollapse.vue +142 -142
- package/src/components/TdesignCollapsePanel.vue +79 -79
- package/src/components/TdesignDatePicker.vue +124 -124
- package/src/components/TdesignDescriptions.vue +74 -74
- package/src/components/TdesignDescriptionsItem.vue +50 -50
- package/src/components/TdesignDialog.vue +225 -225
- package/src/components/TdesignForm.vue +138 -138
- package/src/components/TdesignFormItem.vue +105 -105
- package/src/components/TdesignGrid.vue +55 -55
- package/src/components/TdesignIcon.vue +67 -67
- package/src/components/TdesignImage.vue +162 -162
- package/src/components/TdesignImageViewer.vue +200 -200
- package/src/components/TdesignInput.vue +242 -242
- package/src/components/TdesignSelect.vue +446 -446
- package/src/components/TdesignTag.vue +117 -117
- package/src/components/TdesignTextarea.vue +142 -142
- package/src/components/TdesignTimeline.vue +58 -58
- package/src/components/TdesignTimelineItem.vue +71 -71
- package/src/components/TdesignUpload.vue +414 -414
- package/src/components/TdesignWatermark.vue +107 -107
- package/src/components/ebiz-form/components/cascader.vue +61 -61
- package/src/components/ebiz-form/components/checkbox.vue +37 -37
- package/src/components/ebiz-form/components/city.vue +137 -137
- package/src/components/ebiz-form/components/date-panel.vue +52 -52
- package/src/components/ebiz-form/components/date-range-panel.vue +52 -52
- package/src/components/ebiz-form/components/date-range.vue +56 -56
- package/src/components/ebiz-form/components/date.vue +52 -52
- package/src/components/ebiz-form/components/editor-multi-language.vue +47 -47
- package/src/components/ebiz-form/components/editor.vue +78 -78
- package/src/components/ebiz-form/components/file-multi-language.vue +52 -52
- package/src/components/ebiz-form/components/file.vue +149 -149
- package/src/components/ebiz-form/components/images-multi-language.vue +52 -52
- package/src/components/ebiz-form/components/images.vue +129 -129
- package/src/components/ebiz-form/components/img-multi-language.vue +51 -51
- package/src/components/ebiz-form/components/img.vue +129 -129
- package/src/components/ebiz-form/components/number.vue +50 -50
- package/src/components/ebiz-form/components/radio.vue +28 -28
- package/src/components/ebiz-form/components/select.vue +119 -119
- package/src/components/ebiz-form/components/switch.vue +23 -23
- package/src/components/ebiz-form/components/text-multi-language.vue +47 -47
- package/src/components/ebiz-form/components/text.vue +52 -52
- package/src/components/ebiz-form/components/textarea-multi-language.vue +48 -48
- package/src/components/ebiz-form/components/textarea.vue +29 -29
- package/src/components/ebiz-form/components/video-multi-language.vue +51 -51
- package/src/components/ebiz-form/components/video.vue +97 -97
- package/src/components/ebiz-form/index.vue +157 -157
- package/src/components/examples/PopconfirmExample.vue +149 -149
- package/src/components/icons/IconCommunity.vue +7 -7
- package/src/components/icons/IconDocumentation.vue +7 -7
- package/src/components/icons/IconEcosystem.vue +7 -7
- package/src/components/icons/IconSupport.vue +7 -7
- package/src/components/icons/IconTooling.vue +19 -19
- package/src/components/mItems/UserInfo.vue +349 -349
- package/src/components/senior/EbizApprovalList/ApprovalList.vue +127 -127
- package/src/components/senior/EbizSData/index.vue +280 -280
- package/src/components/senior/EbizSDialog/index.vue +776 -776
- package/src/components/senior/EbizSForm/README.md +157 -157
- package/src/components/senior/EbizSForm/index.vue +667 -667
- package/src/components/senior/EbizSForm/item.vue +1011 -1011
- package/src/components/senior/EbizSForm/mItems/DateTimePicker.vue +51 -51
- package/src/components/senior/EbizSForm/mItems/Picker.vue +63 -63
- package/src/index.js +327 -327
- package/src/main.js +55 -55
- package/src/router/index.js +436 -436
- package/src/utils/formatCode.js +24 -24
- package/src/utils/generateImportStatement.js +52 -52
- package/src/utils/hasJsx.js +25 -25
- package/src/utils/index.js +166 -166
- package/src/utils/mergeOptions.js +29 -29
- package/src/utils/parseRequiredBlocks.js +18 -18
- package/src/utils/vue-sfc-validator.js +155 -155
- package/src/views/Button.vue +23 -23
- package/src/views/CheckboxDemo.vue +104 -104
- package/src/views/DataContainer.vue +19 -19
- package/src/views/DialogDemo.vue +125 -125
- package/src/views/EbizApprovalDemo.vue +87 -87
- package/src/views/EbizApprovalFormDemo.vue +207 -207
- package/src/views/EbizAutoFormDemo.vue +129 -129
- package/src/views/EbizAvatar.vue +223 -223
- package/src/views/EbizDepartmentSelectorDemo.vue +169 -169
- package/src/views/EbizDetailBlockDemo.vue +30 -30
- package/src/views/EbizDetailViewDemo.vue +412 -412
- package/src/views/EbizDormDashboardDemo.vue +87 -87
- package/src/views/EbizEmployeeInfo.vue +249 -249
- package/src/views/EbizEmployeeSelector.vue +85 -85
- package/src/views/EbizFileListDemo.vue +339 -339
- package/src/views/EbizMap.vue +201 -201
- package/src/views/EbizMeetingRoomSelectorDemo.vue +293 -293
- package/src/views/EbizMobileMeetingRoomSelectorDemo.vue +566 -566
- package/src/views/EbizParkingDashboardDemo.vue +28 -28
- package/src/views/EbizRadioDemo.vue +151 -151
- package/src/views/EbizSDataDemo.vue +136 -136
- package/src/views/EbizSDialogDemo.vue +303 -303
- package/src/views/EbizSForm/index.vue +352 -352
- package/src/views/EbizSFormDemo.vue +420 -420
- package/src/views/EbizSpace.vue +185 -185
- package/src/views/EbizSwiper.vue +157 -157
- package/src/views/EbizTdesignButtonDialogExample.vue +437 -437
- package/src/views/Form.vue +19 -19
- package/src/views/GridDemo.vue +238 -238
- package/src/views/Home.vue +156 -156
- package/src/views/LaunchInterviewDemo.vue +111 -111
- package/src/views/Mindmap.vue +17 -17
- package/src/views/MyComponent.vue +19 -19
- package/src/views/OkrTree.vue +19 -19
- package/src/views/PageHeaderDemo.vue +104 -104
- package/src/views/PaginationDemo.vue +96 -96
- package/src/views/PdfViewerDemo.vue +433 -433
- package/src/views/PermissionBoxDemo.vue +85 -85
- package/src/views/PopconfirmDemo.vue +80 -80
- package/src/views/RemoteSelect.vue +350 -350
- package/src/views/StatisticDemo.vue +190 -190
- package/src/views/SwitchDemo.vue +79 -79
- package/src/views/Table.vue +19 -19
- package/src/views/TableDemo.vue +334 -334
- package/src/views/TableSortDemo.vue +143 -143
- package/src/views/TableView.vue +68 -68
- package/src/views/TabsDemo.vue +282 -282
- package/src/views/TagDemo.vue +101 -101
- package/src/views/TdesignAlert.vue +98 -98
- package/src/views/TdesignButton.vue +190 -190
- package/src/views/TdesignCalendar.vue +94 -94
- package/src/views/TdesignCard.vue +296 -296
- package/src/views/TdesignCollapse.vue +293 -293
- package/src/views/TdesignDatePicker.vue +187 -187
- package/src/views/TdesignDescriptions.vue +101 -101
- package/src/views/TdesignForm.vue +248 -248
- package/src/views/TdesignIcon.vue +203 -203
- package/src/views/TdesignImage.vue +215 -215
- package/src/views/TdesignImageViewer.vue +198 -198
- package/src/views/TdesignInput.vue +252 -252
- package/src/views/TdesignSelect.vue +473 -473
- package/src/views/TdesignSwiper.vue +157 -157
- package/src/views/TextareaDemo.vue +93 -93
- package/src/views/TimePickerDemo.vue +146 -146
- package/src/views/TimelineDemo.vue +160 -160
- package/src/views/Title.vue +19 -19
- package/src/views/TreeDemo.vue +254 -254
- package/src/views/TreeMergeTableDemo.vue +239 -239
- package/src/views/TreeSelectorDemo.vue +245 -245
- package/src/views/UploadDemo.vue +128 -128
- package/src/views/VideoDemo.vue +245 -245
- package/src/views/VxeTableDemo.vue +279 -279
- package/src/views/WatermarkDemo.vue +85 -85
package/src/views/Home.vue
CHANGED
|
@@ -1,157 +1,157 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="home">
|
|
3
|
-
<h1>Ebiz 组件库</h1>
|
|
4
|
-
<div class="component-list">
|
|
5
|
-
<div v-for="(item, index) in components" :key="index" class="component-item">
|
|
6
|
-
<router-link :to="item.path" class="component-link">
|
|
7
|
-
{{ item.title }}
|
|
8
|
-
</router-link>
|
|
9
|
-
</div>
|
|
10
|
-
|
|
11
|
-
<router-link to="/tree-demo" class="component-item">
|
|
12
|
-
<div class="component-title">树组件</div>
|
|
13
|
-
<div class="component-desc">用于展示层级结构和操作的组件</div>
|
|
14
|
-
</router-link>
|
|
15
|
-
|
|
16
|
-
<router-link to="/tree-selector-demo" class="component-item">
|
|
17
|
-
<div class="component-title">树形选择器</div>
|
|
18
|
-
<div class="component-desc">基于树组件的选择器,支持搜索和多选</div>
|
|
19
|
-
</router-link>
|
|
20
|
-
|
|
21
|
-
<router-link to="/tree-merge-table-demo" class="component-item">
|
|
22
|
-
<div class="component-title">树形合并表格</div>
|
|
23
|
-
<div class="component-desc">支持树形展示和单元格合并的表格组件</div>
|
|
24
|
-
</router-link>
|
|
25
|
-
|
|
26
|
-
<router-link to="/permission-box" class="component-item">
|
|
27
|
-
<div class="component-title">权限盒子组件示例</div>
|
|
28
|
-
<div class="component-desc">用于展示权限控制的组件示例</div>
|
|
29
|
-
</router-link>
|
|
30
|
-
</div>
|
|
31
|
-
</div>
|
|
32
|
-
</template>
|
|
33
|
-
|
|
34
|
-
<script>
|
|
35
|
-
export default {
|
|
36
|
-
name: 'Home',
|
|
37
|
-
setup() {
|
|
38
|
-
const components = [
|
|
39
|
-
{ path: '/my-component', title: '基础组件示例' },
|
|
40
|
-
{ path: '/table', title: '表格组件示例' },
|
|
41
|
-
{ path: '/form', title: '表单组件示例' },
|
|
42
|
-
{ path: '/button', title: '按钮组件示例' },
|
|
43
|
-
{ path: '/tdesign-button', title: 'TDesign按钮组件示例' },
|
|
44
|
-
{ path: '/tdesign-icon', title: 'TDesign图标组件示例' },
|
|
45
|
-
{ path: '/tdesign-input', title: 'TDesign输入框组件示例' },
|
|
46
|
-
{ path: '/tdesign-select', title: 'TDesign选择器组件示例' },
|
|
47
|
-
{ path: '/tdesign-form', title: 'TDesign表单组件示例' },
|
|
48
|
-
{ path: '/tdesign-card', title: 'TDesign卡片组件示例' },
|
|
49
|
-
{ path: '/tdesign-date-picker', title: 'TDesign日期选择器示例' },
|
|
50
|
-
{ path: '/tdesign-image', title: 'TDesign图片组件示例' },
|
|
51
|
-
{ path: '/tdesign-image-viewer', title: 'TDesign图片查看器组件示例' },
|
|
52
|
-
{ path: '/data-container', title: '数据容器示例' },
|
|
53
|
-
{ path: '/title', title: '标题组件示例' },
|
|
54
|
-
{ path: '/okr-tree', title: 'OKR树形图示例' },
|
|
55
|
-
{ path: '/remote-select', title: '远程选择器示例' },
|
|
56
|
-
{ path: '/mindmap', title: '思维导图示例' },
|
|
57
|
-
{ path: '/tdesign-calendar', title: 'TDesign日历组件示例' },
|
|
58
|
-
{ path: '/tdesign-collapse', title: 'TDesign折叠面板组件示例' },
|
|
59
|
-
{ path: '/tdesign-tag', title: 'TDesign标签组件示例' },
|
|
60
|
-
{ path: '/ebiz-swiper', title: 'Ebiz轮播框组件示例' },
|
|
61
|
-
{ path: '/ebiz-space', title: 'Ebiz间距组件示例' },
|
|
62
|
-
{ path: '/pagination', title: 'EbizPagination分页组件示例' },
|
|
63
|
-
{ path: '/checkbox', title: 'Ebiz多选框组件示例' },
|
|
64
|
-
{ path: '/radio', title: 'Ebiz单选框组件示例' },
|
|
65
|
-
{ path: '/switch', title: 'Ebiz开关组件示例' },
|
|
66
|
-
{ path: '/textarea', title: 'Ebiz多行文本框组件示例' },
|
|
67
|
-
{ path: '/upload', title: 'TDesign上传组件示例' },
|
|
68
|
-
{ path: '/grid', title: 'TDesign栅格组件示例' },
|
|
69
|
-
{ path: '/tabs', title: 'Ebiz选项卡组件示例' },
|
|
70
|
-
{ path: '/statistic', title: 'Ebiz统计数值组件示例' },
|
|
71
|
-
{ path: '/timeline', title: 'Ebiz时间轴组件示例' },
|
|
72
|
-
{ path: '/watermark', title: 'TDesign水印组件示例' },
|
|
73
|
-
{ path: '/ebiz-avatar', title: 'Ebiz头像组件示例' },
|
|
74
|
-
{ path: '/ebiz-employee-info', title: 'Ebiz员工信息组件示例' },
|
|
75
|
-
{ path: '/ebiz-employee-selector', title: 'Ebiz员工选择器组件示例' },
|
|
76
|
-
{ path: '/tdesign-alert', title: 'TDesign提示组件示例' },
|
|
77
|
-
{ path: '/tdesign-dialog', title: 'TDesign对话框组件示例' },
|
|
78
|
-
{ path: '/page-header', title: 'Ebiz页面头部组件示例' },
|
|
79
|
-
{ path: '/table-demo', title: 'Ebiz表格组件示例' },
|
|
80
|
-
{ path: '/detail-block', title: 'Ebiz详情块组件示例' },
|
|
81
|
-
{ path: '/table-column', title: 'Ebiz表格列组件示例' },
|
|
82
|
-
{ path: '/table-sort', title: 'Ebiz表格排序组件示例' },
|
|
83
|
-
{ path: '/time-picker', title: 'Ebiz时间选择器组件示例' },
|
|
84
|
-
{ path: '/tdesign-descriptions', title: 'Ebiz描述列表组件示例' },
|
|
85
|
-
{ path: '/popconfirm', title: 'Ebiz气泡确认框组件示例' },
|
|
86
|
-
{ path: '/tree-merge-table-demo', title: '树形合并表格组件示例' },
|
|
87
|
-
{ path: '/auto-form-demo', title: 'Ebiz自动表单组件示例' },
|
|
88
|
-
{ path: '/ebiz-department-selector', title: 'Ebiz部门选择器组件示例' },
|
|
89
|
-
{ path: '/ebiz-tdesign-button-dialog', title: '弹窗按钮组件示例' },
|
|
90
|
-
{ path: '/ebiz-s-form', title: 'PC端表单组件示例' },
|
|
91
|
-
{ path: '/ebiz-map', title: '地图经纬度选择器组件示例' },
|
|
92
|
-
{ path: '/ebiz-s-data', title: 'Ebiz数据组件示例' },
|
|
93
|
-
{ path: '/ebiz-s-dialog', title: 'Ebiz高级弹窗组件示例' },
|
|
94
|
-
{ path: '/approval', title: 'Ebiz审批组件示例' },
|
|
95
|
-
{ path: '/approval-form', title: 'Ebiz审批表单组件示例' },
|
|
96
|
-
{ path: '/vxe-table', title: 'EbizVxeTable示例' },
|
|
97
|
-
{ path: '/meeting-room-selector', title: 'Ebiz会议室选择器组件示例' },
|
|
98
|
-
{ path: '/mobile-meeting-room-selector', title: 'Ebiz移动端会议室选择器组件示例' },
|
|
99
|
-
{ path: '/file-list-demo', title: '文件列表demo' },
|
|
100
|
-
{ path: '/detail-view-demo', title: 'Ebiz详情页组件示例' },
|
|
101
|
-
{ path: '/pdf-viewer-demo', title: 'EbizPdfViewer PDF预览器示例' },
|
|
102
|
-
{ path: '/video-demo', title: 'Ebiz视频播放器组件示例' },
|
|
103
|
-
{ path: '/launch-interview', title: 'Ebiz访谈组件示例' },
|
|
104
|
-
{ path: '/dorm-dashboard-demo', title: 'Ebiz宿舍看板组件示例' },
|
|
105
|
-
{ path: '/parking-dashboard-demo', title: 'Ebiz停车位看板组件示例' },
|
|
106
|
-
]
|
|
107
|
-
|
|
108
|
-
return {
|
|
109
|
-
components
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
</script>
|
|
114
|
-
|
|
115
|
-
<style scoped>
|
|
116
|
-
.home {
|
|
117
|
-
padding: 20px;
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
.component-list {
|
|
121
|
-
display: grid;
|
|
122
|
-
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
|
|
123
|
-
gap: 20px;
|
|
124
|
-
margin-top: 20px;
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
.component-item {
|
|
128
|
-
background: #f5f5f5;
|
|
129
|
-
padding: 20px;
|
|
130
|
-
border-radius: 8px;
|
|
131
|
-
text-align: center;
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
.component-link {
|
|
135
|
-
color: #333;
|
|
136
|
-
text-decoration: none;
|
|
137
|
-
font-size: 16px;
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
.component-link:hover {
|
|
141
|
-
color: #1890ff;
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
.component-title {
|
|
145
|
-
font-size: 16px;
|
|
146
|
-
font-weight: bold;
|
|
147
|
-
margin-bottom: 10px;
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
.component-desc {
|
|
151
|
-
font-size: 14px;
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
.component-item:hover {
|
|
155
|
-
background-color: #e6e6e6;
|
|
156
|
-
}
|
|
1
|
+
<template>
|
|
2
|
+
<div class="home">
|
|
3
|
+
<h1>Ebiz 组件库</h1>
|
|
4
|
+
<div class="component-list">
|
|
5
|
+
<div v-for="(item, index) in components" :key="index" class="component-item">
|
|
6
|
+
<router-link :to="item.path" class="component-link">
|
|
7
|
+
{{ item.title }}
|
|
8
|
+
</router-link>
|
|
9
|
+
</div>
|
|
10
|
+
|
|
11
|
+
<router-link to="/tree-demo" class="component-item">
|
|
12
|
+
<div class="component-title">树组件</div>
|
|
13
|
+
<div class="component-desc">用于展示层级结构和操作的组件</div>
|
|
14
|
+
</router-link>
|
|
15
|
+
|
|
16
|
+
<router-link to="/tree-selector-demo" class="component-item">
|
|
17
|
+
<div class="component-title">树形选择器</div>
|
|
18
|
+
<div class="component-desc">基于树组件的选择器,支持搜索和多选</div>
|
|
19
|
+
</router-link>
|
|
20
|
+
|
|
21
|
+
<router-link to="/tree-merge-table-demo" class="component-item">
|
|
22
|
+
<div class="component-title">树形合并表格</div>
|
|
23
|
+
<div class="component-desc">支持树形展示和单元格合并的表格组件</div>
|
|
24
|
+
</router-link>
|
|
25
|
+
|
|
26
|
+
<router-link to="/permission-box" class="component-item">
|
|
27
|
+
<div class="component-title">权限盒子组件示例</div>
|
|
28
|
+
<div class="component-desc">用于展示权限控制的组件示例</div>
|
|
29
|
+
</router-link>
|
|
30
|
+
</div>
|
|
31
|
+
</div>
|
|
32
|
+
</template>
|
|
33
|
+
|
|
34
|
+
<script>
|
|
35
|
+
export default {
|
|
36
|
+
name: 'Home',
|
|
37
|
+
setup() {
|
|
38
|
+
const components = [
|
|
39
|
+
{ path: '/my-component', title: '基础组件示例' },
|
|
40
|
+
{ path: '/table', title: '表格组件示例' },
|
|
41
|
+
{ path: '/form', title: '表单组件示例' },
|
|
42
|
+
{ path: '/button', title: '按钮组件示例' },
|
|
43
|
+
{ path: '/tdesign-button', title: 'TDesign按钮组件示例' },
|
|
44
|
+
{ path: '/tdesign-icon', title: 'TDesign图标组件示例' },
|
|
45
|
+
{ path: '/tdesign-input', title: 'TDesign输入框组件示例' },
|
|
46
|
+
{ path: '/tdesign-select', title: 'TDesign选择器组件示例' },
|
|
47
|
+
{ path: '/tdesign-form', title: 'TDesign表单组件示例' },
|
|
48
|
+
{ path: '/tdesign-card', title: 'TDesign卡片组件示例' },
|
|
49
|
+
{ path: '/tdesign-date-picker', title: 'TDesign日期选择器示例' },
|
|
50
|
+
{ path: '/tdesign-image', title: 'TDesign图片组件示例' },
|
|
51
|
+
{ path: '/tdesign-image-viewer', title: 'TDesign图片查看器组件示例' },
|
|
52
|
+
{ path: '/data-container', title: '数据容器示例' },
|
|
53
|
+
{ path: '/title', title: '标题组件示例' },
|
|
54
|
+
{ path: '/okr-tree', title: 'OKR树形图示例' },
|
|
55
|
+
{ path: '/remote-select', title: '远程选择器示例' },
|
|
56
|
+
{ path: '/mindmap', title: '思维导图示例' },
|
|
57
|
+
{ path: '/tdesign-calendar', title: 'TDesign日历组件示例' },
|
|
58
|
+
{ path: '/tdesign-collapse', title: 'TDesign折叠面板组件示例' },
|
|
59
|
+
{ path: '/tdesign-tag', title: 'TDesign标签组件示例' },
|
|
60
|
+
{ path: '/ebiz-swiper', title: 'Ebiz轮播框组件示例' },
|
|
61
|
+
{ path: '/ebiz-space', title: 'Ebiz间距组件示例' },
|
|
62
|
+
{ path: '/pagination', title: 'EbizPagination分页组件示例' },
|
|
63
|
+
{ path: '/checkbox', title: 'Ebiz多选框组件示例' },
|
|
64
|
+
{ path: '/radio', title: 'Ebiz单选框组件示例' },
|
|
65
|
+
{ path: '/switch', title: 'Ebiz开关组件示例' },
|
|
66
|
+
{ path: '/textarea', title: 'Ebiz多行文本框组件示例' },
|
|
67
|
+
{ path: '/upload', title: 'TDesign上传组件示例' },
|
|
68
|
+
{ path: '/grid', title: 'TDesign栅格组件示例' },
|
|
69
|
+
{ path: '/tabs', title: 'Ebiz选项卡组件示例' },
|
|
70
|
+
{ path: '/statistic', title: 'Ebiz统计数值组件示例' },
|
|
71
|
+
{ path: '/timeline', title: 'Ebiz时间轴组件示例' },
|
|
72
|
+
{ path: '/watermark', title: 'TDesign水印组件示例' },
|
|
73
|
+
{ path: '/ebiz-avatar', title: 'Ebiz头像组件示例' },
|
|
74
|
+
{ path: '/ebiz-employee-info', title: 'Ebiz员工信息组件示例' },
|
|
75
|
+
{ path: '/ebiz-employee-selector', title: 'Ebiz员工选择器组件示例' },
|
|
76
|
+
{ path: '/tdesign-alert', title: 'TDesign提示组件示例' },
|
|
77
|
+
{ path: '/tdesign-dialog', title: 'TDesign对话框组件示例' },
|
|
78
|
+
{ path: '/page-header', title: 'Ebiz页面头部组件示例' },
|
|
79
|
+
{ path: '/table-demo', title: 'Ebiz表格组件示例' },
|
|
80
|
+
{ path: '/detail-block', title: 'Ebiz详情块组件示例' },
|
|
81
|
+
{ path: '/table-column', title: 'Ebiz表格列组件示例' },
|
|
82
|
+
{ path: '/table-sort', title: 'Ebiz表格排序组件示例' },
|
|
83
|
+
{ path: '/time-picker', title: 'Ebiz时间选择器组件示例' },
|
|
84
|
+
{ path: '/tdesign-descriptions', title: 'Ebiz描述列表组件示例' },
|
|
85
|
+
{ path: '/popconfirm', title: 'Ebiz气泡确认框组件示例' },
|
|
86
|
+
{ path: '/tree-merge-table-demo', title: '树形合并表格组件示例' },
|
|
87
|
+
{ path: '/auto-form-demo', title: 'Ebiz自动表单组件示例' },
|
|
88
|
+
{ path: '/ebiz-department-selector', title: 'Ebiz部门选择器组件示例' },
|
|
89
|
+
{ path: '/ebiz-tdesign-button-dialog', title: '弹窗按钮组件示例' },
|
|
90
|
+
{ path: '/ebiz-s-form', title: 'PC端表单组件示例' },
|
|
91
|
+
{ path: '/ebiz-map', title: '地图经纬度选择器组件示例' },
|
|
92
|
+
{ path: '/ebiz-s-data', title: 'Ebiz数据组件示例' },
|
|
93
|
+
{ path: '/ebiz-s-dialog', title: 'Ebiz高级弹窗组件示例' },
|
|
94
|
+
{ path: '/approval', title: 'Ebiz审批组件示例' },
|
|
95
|
+
{ path: '/approval-form', title: 'Ebiz审批表单组件示例' },
|
|
96
|
+
{ path: '/vxe-table', title: 'EbizVxeTable示例' },
|
|
97
|
+
{ path: '/meeting-room-selector', title: 'Ebiz会议室选择器组件示例' },
|
|
98
|
+
{ path: '/mobile-meeting-room-selector', title: 'Ebiz移动端会议室选择器组件示例' },
|
|
99
|
+
{ path: '/file-list-demo', title: '文件列表demo' },
|
|
100
|
+
{ path: '/detail-view-demo', title: 'Ebiz详情页组件示例' },
|
|
101
|
+
{ path: '/pdf-viewer-demo', title: 'EbizPdfViewer PDF预览器示例' },
|
|
102
|
+
{ path: '/video-demo', title: 'Ebiz视频播放器组件示例' },
|
|
103
|
+
{ path: '/launch-interview', title: 'Ebiz访谈组件示例' },
|
|
104
|
+
{ path: '/dorm-dashboard-demo', title: 'Ebiz宿舍看板组件示例' },
|
|
105
|
+
{ path: '/parking-dashboard-demo', title: 'Ebiz停车位看板组件示例' },
|
|
106
|
+
]
|
|
107
|
+
|
|
108
|
+
return {
|
|
109
|
+
components
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
</script>
|
|
114
|
+
|
|
115
|
+
<style scoped>
|
|
116
|
+
.home {
|
|
117
|
+
padding: 20px;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.component-list {
|
|
121
|
+
display: grid;
|
|
122
|
+
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
|
|
123
|
+
gap: 20px;
|
|
124
|
+
margin-top: 20px;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.component-item {
|
|
128
|
+
background: #f5f5f5;
|
|
129
|
+
padding: 20px;
|
|
130
|
+
border-radius: 8px;
|
|
131
|
+
text-align: center;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.component-link {
|
|
135
|
+
color: #333;
|
|
136
|
+
text-decoration: none;
|
|
137
|
+
font-size: 16px;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.component-link:hover {
|
|
141
|
+
color: #1890ff;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.component-title {
|
|
145
|
+
font-size: 16px;
|
|
146
|
+
font-weight: bold;
|
|
147
|
+
margin-bottom: 10px;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.component-desc {
|
|
151
|
+
font-size: 14px;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
.component-item:hover {
|
|
155
|
+
background-color: #e6e6e6;
|
|
156
|
+
}
|
|
157
157
|
</style>
|
|
@@ -1,112 +1,112 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="demo-container">
|
|
3
|
-
<h1>发起访谈组件演示</h1>
|
|
4
|
-
|
|
5
|
-
<div class="demo-section">
|
|
6
|
-
<h2>基本用法</h2>
|
|
7
|
-
<p>最基本的发起访谈组件用法:</p>
|
|
8
|
-
<LaunchInterview :employeeId="1336" :btnText="'发起员工访谈'" :kind="'DAILY'" @api-success="handleApiSuccess" />
|
|
9
|
-
</div>
|
|
10
|
-
|
|
11
|
-
<div class="demo-section">
|
|
12
|
-
<h2>自定义参数</h2>
|
|
13
|
-
<p>设置不同的员工ID和按钮文本:</p>
|
|
14
|
-
<div class="form-group">
|
|
15
|
-
<label>员工ID:</label>
|
|
16
|
-
<input type="number" v-model.number="customEmployeeId" placeholder="请输入员工ID" />
|
|
17
|
-
</div>
|
|
18
|
-
<div class="form-group">
|
|
19
|
-
<label>员工编号:</label>
|
|
20
|
-
<input type="text" v-model="customEmployeeNo" placeholder="请输入员工编号" />
|
|
21
|
-
</div>
|
|
22
|
-
<div class="form-group">
|
|
23
|
-
<label>按钮文本:</label>
|
|
24
|
-
<input type="text" v-model="customBtnText" placeholder="请输入按钮文本" />
|
|
25
|
-
</div>
|
|
26
|
-
<div class="form-group">
|
|
27
|
-
<label>访谈类型:</label>
|
|
28
|
-
<select v-model="customKind">
|
|
29
|
-
<option value="DAILY">日常访谈</option>
|
|
30
|
-
<option value="OTHER">其他访谈</option>
|
|
31
|
-
</select>
|
|
32
|
-
</div>
|
|
33
|
-
<LaunchInterview :employeeId="customEmployeeId" :no="customEmployeeNo" :btnText="customBtnText"
|
|
34
|
-
:kind="customKind" @api-success="handleApiSuccess" />
|
|
35
|
-
</div>
|
|
36
|
-
|
|
37
|
-
<div class="demo-section">
|
|
38
|
-
<h2>事件监听</h2>
|
|
39
|
-
<p>监听API调用成功事件:</p>
|
|
40
|
-
<div v-if="apiSuccessMessage" class="success-message">
|
|
41
|
-
{{ apiSuccessMessage }}
|
|
42
|
-
</div>
|
|
43
|
-
</div>
|
|
44
|
-
</div>
|
|
45
|
-
</template>
|
|
46
|
-
|
|
47
|
-
<script setup>
|
|
48
|
-
import { ref } from 'vue';
|
|
49
|
-
import { LaunchInterview } from '../index.js';
|
|
50
|
-
|
|
51
|
-
// 自定义配置
|
|
52
|
-
const customEmployeeId = ref(1002);
|
|
53
|
-
const customEmployeeNo = ref('EMP1002');
|
|
54
|
-
const customBtnText = ref('开始访谈');
|
|
55
|
-
const customKind = ref('DAILY');
|
|
56
|
-
|
|
57
|
-
// 事件处理
|
|
58
|
-
const apiSuccessMessage = ref('');
|
|
59
|
-
|
|
60
|
-
const handleApiSuccess = () => {
|
|
61
|
-
apiSuccessMessage.value = '访谈数据提交成功!';
|
|
62
|
-
setTimeout(() => {
|
|
63
|
-
apiSuccessMessage.value = '';
|
|
64
|
-
}, 3000);
|
|
65
|
-
};
|
|
66
|
-
</script>
|
|
67
|
-
|
|
68
|
-
<style scoped>
|
|
69
|
-
.demo-container {
|
|
70
|
-
padding: 20px;
|
|
71
|
-
max-width: 1200px;
|
|
72
|
-
margin: 0 auto;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
.demo-section {
|
|
76
|
-
margin-bottom: 40px;
|
|
77
|
-
padding: 20px;
|
|
78
|
-
background-color: #f9f9f9;
|
|
79
|
-
border-radius: 8px;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
h1,
|
|
83
|
-
h2 {
|
|
84
|
-
color: #333;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
.form-group {
|
|
88
|
-
margin-bottom: 15px;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
.form-group label {
|
|
92
|
-
display: inline-block;
|
|
93
|
-
width: 120px;
|
|
94
|
-
font-weight: bold;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
.form-group input,
|
|
98
|
-
.form-group select {
|
|
99
|
-
padding: 8px 12px;
|
|
100
|
-
border: 1px solid #ddd;
|
|
101
|
-
border-radius: 4px;
|
|
102
|
-
width: 200px;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
.success-message {
|
|
106
|
-
background-color: #e6f7ff;
|
|
107
|
-
color: #1890ff;
|
|
108
|
-
padding: 10px 15px;
|
|
109
|
-
border-radius: 4px;
|
|
110
|
-
margin-top: 10px;
|
|
111
|
-
}
|
|
1
|
+
<template>
|
|
2
|
+
<div class="demo-container">
|
|
3
|
+
<h1>发起访谈组件演示</h1>
|
|
4
|
+
|
|
5
|
+
<div class="demo-section">
|
|
6
|
+
<h2>基本用法</h2>
|
|
7
|
+
<p>最基本的发起访谈组件用法:</p>
|
|
8
|
+
<LaunchInterview :employeeId="1336" :btnText="'发起员工访谈'" :kind="'DAILY'" @api-success="handleApiSuccess" />
|
|
9
|
+
</div>
|
|
10
|
+
|
|
11
|
+
<div class="demo-section">
|
|
12
|
+
<h2>自定义参数</h2>
|
|
13
|
+
<p>设置不同的员工ID和按钮文本:</p>
|
|
14
|
+
<div class="form-group">
|
|
15
|
+
<label>员工ID:</label>
|
|
16
|
+
<input type="number" v-model.number="customEmployeeId" placeholder="请输入员工ID" />
|
|
17
|
+
</div>
|
|
18
|
+
<div class="form-group">
|
|
19
|
+
<label>员工编号:</label>
|
|
20
|
+
<input type="text" v-model="customEmployeeNo" placeholder="请输入员工编号" />
|
|
21
|
+
</div>
|
|
22
|
+
<div class="form-group">
|
|
23
|
+
<label>按钮文本:</label>
|
|
24
|
+
<input type="text" v-model="customBtnText" placeholder="请输入按钮文本" />
|
|
25
|
+
</div>
|
|
26
|
+
<div class="form-group">
|
|
27
|
+
<label>访谈类型:</label>
|
|
28
|
+
<select v-model="customKind">
|
|
29
|
+
<option value="DAILY">日常访谈</option>
|
|
30
|
+
<option value="OTHER">其他访谈</option>
|
|
31
|
+
</select>
|
|
32
|
+
</div>
|
|
33
|
+
<LaunchInterview :employeeId="customEmployeeId" :no="customEmployeeNo" :btnText="customBtnText"
|
|
34
|
+
:kind="customKind" @api-success="handleApiSuccess" />
|
|
35
|
+
</div>
|
|
36
|
+
|
|
37
|
+
<div class="demo-section">
|
|
38
|
+
<h2>事件监听</h2>
|
|
39
|
+
<p>监听API调用成功事件:</p>
|
|
40
|
+
<div v-if="apiSuccessMessage" class="success-message">
|
|
41
|
+
{{ apiSuccessMessage }}
|
|
42
|
+
</div>
|
|
43
|
+
</div>
|
|
44
|
+
</div>
|
|
45
|
+
</template>
|
|
46
|
+
|
|
47
|
+
<script setup>
|
|
48
|
+
import { ref } from 'vue';
|
|
49
|
+
import { LaunchInterview } from '../index.js';
|
|
50
|
+
|
|
51
|
+
// 自定义配置
|
|
52
|
+
const customEmployeeId = ref(1002);
|
|
53
|
+
const customEmployeeNo = ref('EMP1002');
|
|
54
|
+
const customBtnText = ref('开始访谈');
|
|
55
|
+
const customKind = ref('DAILY');
|
|
56
|
+
|
|
57
|
+
// 事件处理
|
|
58
|
+
const apiSuccessMessage = ref('');
|
|
59
|
+
|
|
60
|
+
const handleApiSuccess = () => {
|
|
61
|
+
apiSuccessMessage.value = '访谈数据提交成功!';
|
|
62
|
+
setTimeout(() => {
|
|
63
|
+
apiSuccessMessage.value = '';
|
|
64
|
+
}, 3000);
|
|
65
|
+
};
|
|
66
|
+
</script>
|
|
67
|
+
|
|
68
|
+
<style scoped>
|
|
69
|
+
.demo-container {
|
|
70
|
+
padding: 20px;
|
|
71
|
+
max-width: 1200px;
|
|
72
|
+
margin: 0 auto;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.demo-section {
|
|
76
|
+
margin-bottom: 40px;
|
|
77
|
+
padding: 20px;
|
|
78
|
+
background-color: #f9f9f9;
|
|
79
|
+
border-radius: 8px;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
h1,
|
|
83
|
+
h2 {
|
|
84
|
+
color: #333;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.form-group {
|
|
88
|
+
margin-bottom: 15px;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.form-group label {
|
|
92
|
+
display: inline-block;
|
|
93
|
+
width: 120px;
|
|
94
|
+
font-weight: bold;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.form-group input,
|
|
98
|
+
.form-group select {
|
|
99
|
+
padding: 8px 12px;
|
|
100
|
+
border: 1px solid #ddd;
|
|
101
|
+
border-radius: 4px;
|
|
102
|
+
width: 200px;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.success-message {
|
|
106
|
+
background-color: #e6f7ff;
|
|
107
|
+
color: #1890ff;
|
|
108
|
+
padding: 10px 15px;
|
|
109
|
+
border-radius: 4px;
|
|
110
|
+
margin-top: 10px;
|
|
111
|
+
}
|
|
112
112
|
</style>
|
package/src/views/Mindmap.vue
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div>
|
|
3
|
-
<ebiz-route-breadcrumb />
|
|
4
|
-
<!-- <ebiz-mindmap /> -->
|
|
5
|
-
</div>
|
|
6
|
-
</template>
|
|
7
|
-
|
|
8
|
-
<script>
|
|
9
|
-
|
|
10
|
-
export default {
|
|
11
|
-
name: 'MindmapDemo',
|
|
12
|
-
components: {
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
</script>
|
|
16
|
-
|
|
17
|
-
<style scoped>
|
|
1
|
+
<template>
|
|
2
|
+
<div>
|
|
3
|
+
<ebiz-route-breadcrumb />
|
|
4
|
+
<!-- <ebiz-mindmap /> -->
|
|
5
|
+
</div>
|
|
6
|
+
</template>
|
|
7
|
+
|
|
8
|
+
<script>
|
|
9
|
+
|
|
10
|
+
export default {
|
|
11
|
+
name: 'MindmapDemo',
|
|
12
|
+
components: {
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
</script>
|
|
16
|
+
|
|
17
|
+
<style scoped>
|
|
18
18
|
</style>
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div>
|
|
3
|
-
<ebiz-route-breadcrumb />
|
|
4
|
-
<my-component />
|
|
5
|
-
</div>
|
|
6
|
-
</template>
|
|
7
|
-
|
|
8
|
-
<script>
|
|
9
|
-
import { MyComponent } from '@/index.js'
|
|
10
|
-
|
|
11
|
-
export default {
|
|
12
|
-
name: 'MyComponentDemo',
|
|
13
|
-
components: {
|
|
14
|
-
MyComponent
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
</script>
|
|
18
|
-
|
|
19
|
-
<style scoped>
|
|
1
|
+
<template>
|
|
2
|
+
<div>
|
|
3
|
+
<ebiz-route-breadcrumb />
|
|
4
|
+
<my-component />
|
|
5
|
+
</div>
|
|
6
|
+
</template>
|
|
7
|
+
|
|
8
|
+
<script>
|
|
9
|
+
import { MyComponent } from '@/index.js'
|
|
10
|
+
|
|
11
|
+
export default {
|
|
12
|
+
name: 'MyComponentDemo',
|
|
13
|
+
components: {
|
|
14
|
+
MyComponent
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
</script>
|
|
18
|
+
|
|
19
|
+
<style scoped>
|
|
20
20
|
</style>
|
package/src/views/OkrTree.vue
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div>
|
|
3
|
-
<ebiz-route-breadcrumb />
|
|
4
|
-
<ebiz-okr-tree />
|
|
5
|
-
</div>
|
|
6
|
-
</template>
|
|
7
|
-
|
|
8
|
-
<script>
|
|
9
|
-
import { EbizOkrTree } from '@/index.js'
|
|
10
|
-
|
|
11
|
-
export default {
|
|
12
|
-
name: 'OkrTreeDemo',
|
|
13
|
-
components: {
|
|
14
|
-
EbizOkrTree
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
</script>
|
|
18
|
-
|
|
19
|
-
<style scoped>
|
|
1
|
+
<template>
|
|
2
|
+
<div>
|
|
3
|
+
<ebiz-route-breadcrumb />
|
|
4
|
+
<ebiz-okr-tree />
|
|
5
|
+
</div>
|
|
6
|
+
</template>
|
|
7
|
+
|
|
8
|
+
<script>
|
|
9
|
+
import { EbizOkrTree } from '@/index.js'
|
|
10
|
+
|
|
11
|
+
export default {
|
|
12
|
+
name: 'OkrTreeDemo',
|
|
13
|
+
components: {
|
|
14
|
+
EbizOkrTree
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
</script>
|
|
18
|
+
|
|
19
|
+
<style scoped>
|
|
20
20
|
</style>
|