n20-common-lib 1.2.6 → 1.2.9

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.
Files changed (202) hide show
  1. package/README.md +2 -2
  2. package/package.json +87 -87
  3. package/src/_qiankun/index.js +113 -113
  4. package/src/_qiankun/postMessage.js +48 -48
  5. package/src/assets/css/_coreLib.scss +35 -35
  6. package/src/assets/css/cl-anchor.scss +23 -23
  7. package/src/assets/css/cl-approve-card.scss +58 -58
  8. package/src/assets/css/cl-dialog.scss +99 -99
  9. package/src/assets/css/cl-drag-list.scss +22 -22
  10. package/src/assets/css/cl-empty.scss +10 -10
  11. package/src/assets/css/cl-expandable-pane.scss +26 -26
  12. package/src/assets/css/cl-expandable.scss +24 -24
  13. package/src/assets/css/cl-file-upload-table.scss +11 -11
  14. package/src/assets/css/cl-filter.scss +4 -4
  15. package/src/assets/css/cl-flow-step.scss +185 -185
  16. package/src/assets/css/cl-footer-box.scss +10 -10
  17. package/src/assets/css/cl-form-item.scss +454 -454
  18. package/src/assets/css/cl-general-card.scss +11 -11
  19. package/src/assets/css/cl-layout-aside.scss +88 -88
  20. package/src/assets/css/cl-layout-content.scss +16 -16
  21. package/src/assets/css/cl-layout-header.scss +73 -73
  22. package/src/assets/css/cl-layout-tabs.scss +87 -87
  23. package/src/assets/css/cl-layout.scss +97 -97
  24. package/src/assets/css/cl-login-temporary.scss +37 -37
  25. package/src/assets/css/cl-message.scss +75 -75
  26. package/src/assets/css/cl-more-tab.scss +98 -98
  27. package/src/assets/css/cl-nav-menu.scss +5 -5
  28. package/src/assets/css/cl-pagination.scss +65 -65
  29. package/src/assets/css/cl-secondary-tab.scss +39 -39
  30. package/src/assets/css/cl-showcolumn.scss +23 -23
  31. package/src/assets/css/cl-sifting.scss +51 -51
  32. package/src/assets/css/cl-statis.scss +42 -42
  33. package/src/assets/css/cl-step.scss +73 -73
  34. package/src/assets/css/cl-suspend.scss +19 -19
  35. package/src/assets/css/cl-tertiary-tab.scss +9 -9
  36. package/src/assets/css/cl-upload.scss +41 -41
  37. package/src/assets/css/cl-worn-pagination.scss +50 -50
  38. package/src/assets/css/el-button.scss +173 -173
  39. package/src/assets/css/el-table.scss +79 -79
  40. package/src/assets/css/element-variables.scss +1061 -1061
  41. package/src/assets/css/element.dev.scss +21 -21
  42. package/src/assets/css/font-icon.scss +27 -26
  43. package/src/assets/css/index.dev.scss +4 -4
  44. package/src/assets/css/index.scss +11 -11
  45. package/src/assets/css/normalize.scss +726 -726
  46. package/src/assets/css/rootvar.scss +139 -139
  47. package/src/assets/css/select.scss +25 -25
  48. package/src/assets/css/title-pop.scss +4 -4
  49. package/src/assets/getJsonc.js +50 -50
  50. package/src/assets/iconFont/demo.css +539 -0
  51. package/src/assets/iconFont/demo_index.html +1614 -0
  52. package/src/assets/iconFont/iconfont.css +263 -0
  53. package/src/assets/iconFont/iconfont.js +1 -0
  54. package/src/assets/iconFont/iconfont.json +443 -0
  55. package/src/assets/iconFont/iconfont.ttf +0 -0
  56. package/src/assets/iconFont/iconfont.woff +0 -0
  57. package/src/assets/iconFont/iconfont.woff2 +0 -0
  58. package/src/assets/realUrl.js +12 -12
  59. package/src/components/.DS_Store +0 -0
  60. package/src/components/Anchor/AnchorItem.vue +29 -29
  61. package/src/components/Anchor/index.vue +185 -185
  62. package/src/components/ApprovalButtons/index.vue +232 -232
  63. package/src/components/ApprovalCard/index.vue +128 -128
  64. package/src/components/ApprovalRecord/approvalImg.vue +39 -39
  65. package/src/components/ApprovalRecord/index.vue +59 -59
  66. package/src/components/Button/button-group.vue +150 -150
  67. package/src/components/Button/icon-group-button.vue +61 -61
  68. package/src/components/Button/index.vue +56 -56
  69. package/src/components/CascaderArea/index.vue +81 -81
  70. package/src/components/ContentLoading/index.vue +41 -41
  71. package/src/components/ContentNull/index.vue +19 -19
  72. package/src/components/DatePicker/index.vue +27 -27
  73. package/src/components/DatePicker/por.vue +169 -169
  74. package/src/components/Dialog/index.vue +26 -26
  75. package/src/components/Dialog/indexO.vue +116 -116
  76. package/src/components/DragList/index.vue +68 -68
  77. package/src/components/Empty/img/abnormal.svg +108 -108
  78. package/src/components/Empty/img/dispose.svg +71 -71
  79. package/src/components/Empty/img/empty.svg +57 -57
  80. package/src/components/Empty/img/general.svg +58 -58
  81. package/src/components/Empty/img/lock.svg +57 -57
  82. package/src/components/Empty/img/network.svg +59 -59
  83. package/src/components/Empty/img/relevant.svg +68 -68
  84. package/src/components/Empty/img/search.svg +72 -72
  85. package/src/components/Empty/index.vue +92 -92
  86. package/src/components/Expandable/index.vue +49 -49
  87. package/src/components/Expandable/main.vue +52 -52
  88. package/src/components/FileExportAsync/index.vue +174 -0
  89. package/src/components/FileUploadTable/index.vue +484 -484
  90. package/src/components/Filters/index.vue +369 -369
  91. package/src/components/Filters/indexO.vue +104 -104
  92. package/src/components/FlowStep/index.vue +68 -68
  93. package/src/components/FooterBox/index.vue +21 -21
  94. package/src/components/GeneralCard/index.vue +15 -15
  95. package/src/components/InputNumber/index.vue +153 -153
  96. package/src/components/InputNumber/numberRange.vue +47 -47
  97. package/src/components/InputSearch/index.vue +75 -75
  98. package/src/components/Layout/.DS_Store +0 -0
  99. package/src/components/Layout/AsideNav/index.vue +119 -144
  100. package/src/components/Layout/AsideNav/menuItem.vue +34 -0
  101. package/src/components/Layout/AsideNav/submenuTitle.vue +26 -0
  102. package/src/components/Layout/HeaderWrap/changePwd.vue +215 -215
  103. package/src/components/Layout/HeaderWrap/index.vue +348 -333
  104. package/src/components/Layout/HeaderWrap/noticePop.vue +300 -300
  105. package/src/components/Layout/SubContent/index.vue +131 -131
  106. package/src/components/Layout/TabsNav/index.vue +170 -170
  107. package/src/components/Layout/index.vue +529 -529
  108. package/src/components/Layout/utils.js +12 -12
  109. package/src/components/LoginTemporary/form.vue +537 -537
  110. package/src/components/LoginTemporary/index.vue +122 -122
  111. package/src/components/LoginTemporary/qrcode.vue +90 -90
  112. package/src/components/LoginTemporary/retrievePw.vue +28 -28
  113. package/src/components/LoginTemporary/utils.js +73 -73
  114. package/src/components/MicroApp/index.js +67 -67
  115. package/src/components/MicroFrame/index.vue +95 -95
  116. package/src/components/MoreTab/index.vue +232 -232
  117. package/src/components/NavMenu/index.vue +60 -60
  118. package/src/components/NstcG6Components/NstcDialog/NstcDialog.vue +184 -184
  119. package/src/components/PageLayout/page.vue +15 -15
  120. package/src/components/Pagination/index.vue +96 -96
  121. package/src/components/SecondaryTab/index.vue +58 -58
  122. package/src/components/SelectLazy/index.vue +75 -75
  123. package/src/components/SelectTree/SelectTreeLazy.vue +241 -241
  124. package/src/components/SelectTree/index.vue +205 -205
  125. package/src/components/ShowColumn/index.vue +204 -204
  126. package/src/components/Sifting/index.vue +99 -99
  127. package/src/components/Statis/index.vue +97 -97
  128. package/src/components/Statis/statisItem.vue +54 -54
  129. package/src/components/Statis/statisPopover.vue +55 -55
  130. package/src/components/Step/index.vue +38 -38
  131. package/src/components/Suspend/index.vue +72 -72
  132. package/src/components/Table/index.vue +179 -179
  133. package/src/components/Table/indexO.vue +149 -149
  134. package/src/components/Task/index.vue +26 -26
  135. package/src/components/TertiaryTab/index.vue +53 -53
  136. package/src/components/TimePicker/index.vue +28 -28
  137. package/src/components/Upload/index.vue +242 -242
  138. package/src/components/WornPagination/index.vue +73 -73
  139. package/src/directives/VClickOutside/index.js +19 -19
  140. package/src/directives/VHas/index.js +32 -32
  141. package/src/directives/VMove/index.js +42 -42
  142. package/src/directives/VTitle/index.js +64 -56
  143. package/src/directives/VTitle/tooltip.vue +21 -21
  144. package/src/index.js +225 -218
  145. package/src/plugins/CompatibleOld/index.js +57 -57
  146. package/src/plugins/Print/index.js +4 -4
  147. package/src/plugins/Print/print-js/.babelrc +12 -12
  148. package/src/plugins/Print/print-js/LICENSE +21 -21
  149. package/src/plugins/Print/print-js/README.md +98 -98
  150. package/src/plugins/Print/print-js/dist/print.css +96 -96
  151. package/src/plugins/Print/print-js/dist/print.js +990 -990
  152. package/src/plugins/Print/print-js/package.json +60 -60
  153. package/src/plugins/Print/print-js/src/index.d.ts +45 -45
  154. package/src/plugins/Print/print-js/src/index.js +10 -10
  155. package/src/plugins/Print/print-js/src/js/browser.js +33 -33
  156. package/src/plugins/Print/print-js/src/js/functions.js +103 -103
  157. package/src/plugins/Print/print-js/src/js/html.js +70 -70
  158. package/src/plugins/Print/print-js/src/js/image.js +48 -48
  159. package/src/plugins/Print/print-js/src/js/init.js +168 -168
  160. package/src/plugins/Print/print-js/src/js/json.js +109 -109
  161. package/src/plugins/Print/print-js/src/js/modal.js +62 -62
  162. package/src/plugins/Print/print-js/src/js/pdf.js +62 -62
  163. package/src/plugins/Print/print-js/src/js/print.js +102 -102
  164. package/src/plugins/Print/print-js/src/js/raw-html.js +15 -15
  165. package/src/plugins/Print/print-js/src/sass/index.scss +13 -13
  166. package/src/plugins/Print/print-js/src/sass/modules/_colors.scss +9 -9
  167. package/src/plugins/Print/print-js/src/sass/partials/_modal.scss +40 -40
  168. package/src/plugins/Print/print-js/src/sass/partials/_spinner.scss +45 -45
  169. package/src/plugins/Print/print.js +2 -2
  170. package/src/plugins/Print/print.scss +1 -1
  171. package/src/plugins/SetMenuTree/index.vue +41 -41
  172. package/src/plugins/SetMenuTree/logoIcon.vue +37 -37
  173. package/src/plugins/SetMenuTree/setmenutree.vue +427 -427
  174. package/src/plugins/SetMenuTree/utils.js +74 -74
  175. package/src/plugins/Sign/InfosecNetSignCNGAgent.min.js +2000 -2000
  176. package/src/plugins/Sign/index.js +65 -65
  177. package/src/plugins/Sign/sign.js +1 -1
  178. package/src/plugins/setTabsForSub.js +2 -2
  179. package/src/utils/auth.js +53 -53
  180. package/src/utils/axios.js +203 -203
  181. package/src/utils/downloadBlob.js +19 -19
  182. package/src/utils/forEachs.js +16 -16
  183. package/src/utils/getScrollContainer.js +43 -43
  184. package/src/utils/i18n/cn2hk.json +1270 -1270
  185. package/src/utils/i18n/index.js +54 -54
  186. package/src/utils/list2tree.js +36 -36
  187. package/src/utils/msgboxPor.js +26 -26
  188. package/src/utils/print.js +161 -161
  189. package/src/utils/relaNo.js +69 -69
  190. package/src/utils/repairElementUI.js +66 -66
  191. package/src/utils/urlToGo.js +82 -82
  192. package/style/css/normalize.scss +723 -726
  193. package/style/fonts/iconfont.022f36c4.woff2 +0 -0
  194. package/style/fonts/iconfont.4a1b2c93.woff +0 -0
  195. package/style/fonts/iconfont.a9febaa2.ttf +0 -0
  196. package/style/index.css +3 -2
  197. package/style/index.css.map +1 -1
  198. package/style/pageDemo/demo-1.vue +130 -131
  199. package/style/pageDemo/demo-2.vue +35 -35
  200. package/style/pageDemo/demo-3.vue +22 -22
  201. package/style/pageDemo/seeCode.js +20 -20
  202. package/style/server-config.jsonc +663 -596
@@ -1,596 +1,663 @@
1
- /*
2
- * 打包后依然可以根据部署要求修改配置项
3
- * 为什么不在index中直接script引入?
4
- * 直接引入会挂载到window上,更容易被窜改
5
- */
6
- {
7
- // 门户的配置信息
8
- "_layoutData": {
9
- "headerLogoUrl": "/server-assets/headerLogo.png",
10
- "headerLogoWidth": "auto",
11
- "headerLogoHeight": "26px",
12
- "headerTitle": "N20智能资金平台",
13
- "headerUserUrl": "/server-assets/headerUser.png",
14
- // 登录页相关
15
- "loginTypes": ["account", "pthon", "qrcode", "accountPthon"],
16
- "loginBg": "/server-assets/loginBg.jpg",
17
- "loginLogo": "/server-assets/loginLogo.png",
18
- "loginLogoWidth": "60px",
19
- "loginLogoHeight": "auto",
20
- "loginLogoText": "N20智能资金平台"
21
- },
22
- // 加载到主应用的菜单
23
- "_menu": [
24
- {
25
- "title": "安装",
26
- // "iconUrl": "",
27
- "iconClass": "el-icon-menu",
28
- "route": "/index",
29
- "i18n": {
30
- "en": "Install"
31
- }
32
- },
33
- {
34
- "title": "改造文档",
35
- "iconClass": "el-icon-menu",
36
- "route": "/update",
37
- "i18n": {
38
- "en": "Update"
39
- }
40
- },
41
- {
42
- "title": "Git仓库",
43
- "iconUrl": "https://www.baidu.com/favicon.ico",
44
- "href": "https://gitee.com/nstc/dev-corelib/tree/core-master/",
45
- "i18n": {
46
- "en": "Projects"
47
- }
48
- },
49
- {
50
- "title": "ElementUi 文档",
51
- "iconClass": "el-icon-menu",
52
- "children": [
53
- {
54
- "title": "element 上传组件",
55
- "route": "/el-upload"
56
- },
57
- {
58
- "title": "Descriptions 描述列表",
59
- "route": "/descriptions",
60
- "i18n": {
61
- "en": "Descriptions"
62
- }
63
- },
64
- {
65
- "title": "Radio 单选框",
66
- "route": "/radio",
67
- "i18n": {
68
- "en": "Radio"
69
- }
70
- },
71
- {
72
- "title": "Checkbox 多选框",
73
- "route": "/checkbox",
74
- "i18n": {
75
- "en": "Checkbox"
76
- }
77
- },
78
- {
79
- "title": "Badge 徽标",
80
- "route": "/badge",
81
- "i18n": {
82
- "en": "Badge"
83
- }
84
- },
85
- {
86
- "title": "Image 图片",
87
- "route": "/image",
88
- "i18n": {
89
- "en": "Image"
90
- }
91
- },
92
- {
93
- "title": "Toopltip 文字提示",
94
- "route": "/toopltip",
95
- "i18n": {
96
- "en": "Toopltip"
97
- }
98
- },
99
- {
100
- "title": "Progress 进度条",
101
- "route": "/progress",
102
- "i18n": {
103
- "en": "Progress"
104
- }
105
- },
106
- {
107
- "title": "Cascader 级联选择器",
108
- "route": "/cascader",
109
- "i18n": {
110
- "en": "Cascader"
111
- }
112
- },
113
- {
114
- "title": "Switch 开关",
115
- "route": "/switch",
116
- "i18n": {
117
- "en": "Switch"
118
- }
119
- },
120
- {
121
- "title": "Select 选择器",
122
- "route": "/select",
123
- "i18n": {
124
- "en": "Select"
125
- }
126
- },
127
- {
128
- "title": "Timeline 时间轴",
129
- "route": "/timeline",
130
- "i18n": {
131
- "en": "Timeline"
132
- }
133
- },
134
- {
135
- "title": "Transfer 穿梭框",
136
- "route": "/transfer",
137
- "i18n": {
138
- "en": "Transfer"
139
- }
140
- },
141
- {
142
- "title": "PageHeader 页头",
143
- "route": "/page-header",
144
- "i18n": {
145
- "en": "PageHeader"
146
- }
147
- },
148
- {
149
- "title": "Avatar 头像",
150
- "route": "/avatar",
151
- "i18n": {
152
- "en": "Avatar"
153
- }
154
- },
155
- {
156
- "title": "Calender 日历",
157
- "route": "/calender",
158
- "i18n": {
159
- "en": "Calender"
160
- }
161
- },
162
- {
163
- "title": "BackTop 返回头部",
164
- "route": "/backtop",
165
- "i18n": {
166
- "en": "BackTop"
167
- }
168
- },
169
- {
170
- "title": "Card 卡片",
171
- "route": "/card",
172
- "i18n": {
173
- "en": "Card"
174
- }
175
- },
176
- {
177
- "title": "Drawer 抽屉",
178
- "route": "/drawer",
179
- "i18n": {
180
- "en": "Drawer"
181
- }
182
- },
183
- {
184
- "title": "InfiniteScroll 无限滚动",
185
- "route": "/infiniteScroll",
186
- "i18n": {
187
- "en": "InfiniteScroll"
188
- }
189
- },
190
- {
191
- "title": "Divider 分割线",
192
- "route": "/divider",
193
- "i18n": {
194
- "en": "Divider"
195
- }
196
- },
197
- {
198
- "title": "Collapse 折叠面板",
199
- "route": "/Collapse",
200
- "i18n": {
201
- "en": "Collapse"
202
- }
203
- },
204
- {
205
- "title": "Carousel 走马灯",
206
- "route": "/Carousel",
207
- "i18n": {
208
- "en": "Carousel"
209
- }
210
- },
211
- {
212
- "title": "Popconfirm 确认气泡",
213
- "route": "/Popconfirm",
214
- "i18n": {
215
- "en": "Popconfirm"
216
- }
217
- },
218
- {
219
- "title": "Popover 弹出框",
220
- "route": "/Popover",
221
- "i18n": {
222
- "en": "Popover"
223
- }
224
- },
225
- {
226
- "title": "Breadcrumb 面包屑",
227
- "route": "/Breadcrumb",
228
- "i18n": {
229
- "en": "Breadcrumb"
230
- }
231
- }
232
- ]
233
- },
234
- {
235
- "title": "不推荐使用的兼容组件",
236
- "children": [
237
- {
238
- "title": "DialogO 弹窗-旧版",
239
- "route": "/cl-dialog-o"
240
- },
241
- {
242
- "title": "TableO 表格-旧版",
243
- "route": "/cl-table-o"
244
- },
245
- {
246
- "title": "筛选按钮-旧版",
247
- "route": "/cl-filter-o",
248
- "i18n": {
249
- "en": "FiltersO"
250
- }
251
- }
252
- ]
253
- },
254
- {
255
- "title": "G6组件集成",
256
- "children": [
257
- {
258
- "title": "弹窗",
259
- "route": "/nstc-dialog",
260
- "i18n": {
261
- "en": "NstcDialog"
262
- }
263
- }
264
- ]
265
- },
266
- {
267
- "title": "I18n 国际化",
268
- "iconClass": "el-icon-menu",
269
- "route": "/i18n",
270
- "i18n": {
271
- "en": "I18n"
272
- }
273
- },
274
- {
275
- "title": "Layout 框架",
276
- "iconClass": "el-icon-menu",
277
- "route": "/cl-layout",
278
- "i18n": {
279
- "en": "Layout"
280
- }
281
- },
282
- {
283
- "title": "Page 页面布局",
284
- "iconClass": "el-icon-s-grid",
285
- "route": "/page",
286
- "i18n": {
287
- "en": "Page Layout"
288
- }
289
- },
290
- {
291
- "title": "Color 色彩",
292
- "iconClass": "el-icon-menu",
293
- "route": "/color",
294
- "i18n": {
295
- "en": "Color"
296
- }
297
- },
298
- {
299
- "title": "normalizeCss 样式",
300
- "iconClass": "el-icon-menu",
301
- "route": "/normalize-css",
302
- "i18n": {
303
- "en": "Normalize Style"
304
- }
305
- },
306
- {
307
- "title": "Button 按钮",
308
- "iconClass": "el-icon-menu",
309
- "route": "/cl-button",
310
- "i18n": {
311
- "en": "Button"
312
- }
313
- },
314
- {
315
- "title": "权限控制",
316
- "iconClass": "el-icon-setting",
317
- "route": "/v-has",
318
- "i18n": {
319
- "en": "Permission Control"
320
- }
321
- },
322
- {
323
- "title": "锚点定位",
324
- "iconClass": "el-icon-menu",
325
- "route": "/anchor",
326
- "i18n": {
327
- "en": "Anchorl"
328
- }
329
- },
330
- {
331
- "title": "From 表单",
332
- "iconClass": "el-icon-menu",
333
- "route": "/from-input"
334
- },
335
- {
336
- "title": "下拉选择树",
337
- "iconClass": "el-icon-menu",
338
- "route": "/select-tree"
339
- },
340
- {
341
- "title": "省市区级联",
342
- "iconClass": "el-icon-menu",
343
- "route": "/cascader-area"
344
- },
345
- {
346
- "title": "上传组件",
347
- "iconClass": "el-icon-menu",
348
- "route": "/cl-upload"
349
- },
350
- {
351
- "title": "附件上传表格",
352
- "iconClass": "el-icon-menu",
353
- "route": "/cl-upload-table"
354
- },
355
- {
356
- "title": "信息展示组件",
357
- "iconClass": "el-icon-menu",
358
- "route": "/cl-expandable"
359
- },
360
- {
361
- "title": "表单页面Demo",
362
- "iconClass": "el-icon-menu",
363
- "route": "/from-page"
364
- },
365
- {
366
- "title": "筛选按钮",
367
- "iconClass": "el-icon-menu",
368
- "route": "/cl-filter",
369
- "i18n": {
370
- "en": "Filters"
371
- }
372
- },
373
-
374
- {
375
- "title": "显示列",
376
- "iconClass": "el-icon-menu",
377
- "route": "/cl-column",
378
- "i18n": {
379
- "en": "ShowColumn"
380
- }
381
- },
382
- {
383
- "title": "二级Tab",
384
- "iconClass": "el-icon-menu",
385
- "route": "/cl-secondarytab"
386
- },
387
- {
388
- "title": "三级Tab",
389
- "iconClass": "el-icon-menu",
390
- "route": "/cl-tertiarytab"
391
- },
392
- {
393
- "title": "步骤条",
394
- "iconClass": "el-icon-menu",
395
- "route": "/cl-step"
396
- },
397
- {
398
- "title": "Table 表格",
399
- "iconClass": "el-icon-menu",
400
- "route": "/cl-table"
401
- },
402
-
403
- {
404
- "title": "DragList 拖拽列表",
405
- "iconClass": "el-icon-menu",
406
- "route": "/cl-draglist"
407
- },
408
- {
409
- "title": "Statis 统计条",
410
- "iconClass": "el-icon-menu",
411
- "route": "/cl-statis"
412
- },
413
- {
414
- "title": "Pagination 分页",
415
- "iconClass": "el-icon-menu",
416
- "route": "/cl-pagination"
417
- },
418
- {
419
- "title": "Dialog 弹窗",
420
- "iconClass": "el-icon-menu",
421
- "route": "/cl-dialog"
422
- },
423
-
424
- {
425
- "title": "Msg 消息提醒/警告",
426
- "iconClass": "el-icon-menu",
427
- "route": "/message"
428
- },
429
- {
430
- "title": "Task 消息提示",
431
- "iconClass": "el-icon-menu",
432
- "route": "/task"
433
- },
434
- {
435
- "title": "标签",
436
- "iconClass": "el-icon-menu",
437
- "route": "/cl-tag"
438
- },
439
- {
440
- "title": "异常页面",
441
- "iconClass": "el-icon-menu",
442
- "route": "/cl-empty"
443
- },
444
- {
445
- "title": "悬浮按钮",
446
- "iconClass": "el-icon-s-grid",
447
- "route": "/cl-suspend"
448
- },
449
- {
450
- "title": "审批/查看流程",
451
- "iconClass": "el-icon-s-grid",
452
- "route": "/cl-approval-card"
453
- },
454
- {
455
- "title": "审批记录",
456
- "iconClass": "el-icon-s-grid",
457
- "route": "/cl-approval-record?processInstanceId=cfe36561f57b4d368f3c312b548b935b"
458
- },
459
- {
460
- "title": "审批按钮组",
461
- "iconClass": "el-icon-s-grid",
462
- "route": "/cl-approval-buttons?taskId=9a4b438573aa4c45b5b681d7bee521dc"
463
- },
464
- {
465
- "title": "Axios 数据请求",
466
- "iconClass": "el-icon-loading",
467
- "route": "/axios"
468
- },
469
- {
470
- "title": "Directive 指令",
471
- "iconClass": "el-icon-menu",
472
- "children": [
473
- {
474
- "title": "v-title 文字提示",
475
- "iconClass": "el-icon-s-grid",
476
- "route": "/v-title"
477
- },
478
- {
479
- "title": "v-drag 弹窗拖拽",
480
- "iconClass": "el-icon-s-grid",
481
- "route": "/v-drag"
482
- },
483
- {
484
- "title": "v-move 位置拖拽",
485
- "iconClass": "el-icon-s-grid",
486
- "route": "/v-move"
487
- },
488
- {
489
- "title": "v-has 权限控制",
490
- "iconClass": "el-icon-setting",
491
- "route": "/v-has"
492
- }
493
- ]
494
- },
495
- {
496
- "title": "Function 方法",
497
- "iconClass": "el-icon-menu",
498
- "children": [
499
- {
500
- "title": "Print 打印",
501
- "iconClass": "el-icon-s-grid",
502
- "route": "/print"
503
- },
504
- {
505
- "title": "流文件下载",
506
- "iconClass": "el-icon-s-grid",
507
- "route": "/download—blob"
508
- },
509
- {
510
- "title": "跳转到其他应用",
511
- "iconClass": "el-icon-s-grid",
512
- "route": "/push-link"
513
- },
514
- {
515
- "title": "操作Tab页签",
516
- "iconClass": "el-icon-s-grid",
517
- "route": "/set-tab"
518
- },
519
- {
520
- "title": "Sign 签名",
521
- "iconClass": "el-icon-s-grid",
522
- "route": "/sign"
523
- }
524
- ]
525
- },
526
- {
527
- "title": "Utils 额外方法",
528
- "iconClass": "el-icon-s-grid",
529
- "route": "/utils",
530
- "i18n": {
531
- "en": "utils"
532
- }
533
- },
534
- {
535
- "title": "Layout 布局",
536
- "iconClass": "el-icon-menu",
537
- "route": "/col",
538
- "i18n": {
539
- "en": "col"
540
- }
541
- },
542
- {
543
- "title": "Shadow 投影",
544
- "iconClass": "el-icon-menu",
545
- "route": "/box-shadow",
546
- "i18n": {
547
- "en": "boxShadow"
548
- }
549
- },
550
- {
551
- "title": "ScrollBar 滚动条",
552
- "iconClass": "el-icon-menu",
553
- "route": "/scroll-bar",
554
- "i18n": {
555
- "en": "scrollBar"
556
- }
557
- },
558
- {
559
- "title": "Icon 图标",
560
- "iconClass": "el-icon-menu",
561
- "route": "/icon",
562
- "i18n": {
563
- "en": "Icon"
564
- }
565
- },
566
- {
567
- "title": "Link 文字链接",
568
- "iconClass": "el-icon-menu",
569
- "route": "/link",
570
- "i18n": {
571
- "en": "Link"
572
- }
573
- },
574
- {
575
- "title": "内置动画",
576
- "iconClass": "el-icon-menu",
577
- "route": "/animation",
578
- "i18n": {
579
- "en": "Animation"
580
- }
581
- },
582
- {
583
- "title": "Font 字体",
584
- "iconClass": "el-icon-menu",
585
- "route": "/font",
586
- "i18n": {
587
- "en": "Font"
588
- }
589
- },
590
- {
591
- "title": "DEMO",
592
- "iconClass": "el-icon-edit-outline",
593
- "route": "/demo"
594
- }
595
- ]
596
- }
1
+ /*
2
+ * 打包后依然可以根据部署要求修改配置项
3
+ * 为什么不在index中直接script引入?
4
+ * 直接引入会挂载到window上,更容易被窜改
5
+ */
6
+ {
7
+ // 门户的配置信息
8
+ "_layoutData": {
9
+ "headerLogoUrl": "/server-assets/headerLogo.png",
10
+ "headerLogoWidth": "auto",
11
+ "headerLogoHeight": "26px",
12
+ "headerTitle": "N20智能资金平台",
13
+ "headerUserUrl": "/server-assets/headerUser.png",
14
+ // 登录页相关
15
+ "loginTypes": ["account", "pthon", "qrcode", "accountPthon"],
16
+ "loginBg": "/server-assets/loginBg.jpg",
17
+ "loginLogo": "/server-assets/loginLogo.png",
18
+ "loginLogoWidth": "60px",
19
+ "loginLogoHeight": "auto",
20
+ "loginLogoText": "N20智能资金平台"
21
+ },
22
+ // 加载到主应用的菜单
23
+ "_menu": [
24
+ {
25
+ "title": "安装",
26
+ // "iconUrl": "",
27
+ "iconClass": "el-icon-menu",
28
+ "route": "/index",
29
+ "i18n": {
30
+ "en": "Install"
31
+ }
32
+ },
33
+ {
34
+ "title": "改造文档",
35
+ "iconClass": "el-icon-menu",
36
+ "route": "/update",
37
+ "i18n": {
38
+ "en": "Update"
39
+ }
40
+ },
41
+ {
42
+ "title": "Git仓库",
43
+ "iconUrl": "https://www.baidu.com/favicon.ico",
44
+ "href": "https://gitee.com/nstc/dev-corelib/tree/core-master/",
45
+ "i18n": {
46
+ "en": "Projects"
47
+ }
48
+ },
49
+ {
50
+ "title": "ElementUi 文档",
51
+ "iconClass": "el-icon-menu",
52
+ "children": [
53
+ {
54
+ "title": "element 上传组件",
55
+ "route": "/el-upload"
56
+ },
57
+ {
58
+ "title": "Descriptions 描述列表",
59
+ "route": "/descriptions",
60
+ "i18n": {
61
+ "en": "Descriptions"
62
+ }
63
+ },
64
+ {
65
+ "title": "Radio 单选框",
66
+ "route": "/radio",
67
+ "i18n": {
68
+ "en": "Radio"
69
+ }
70
+ },
71
+ {
72
+ "title": "Checkbox 多选框",
73
+ "route": "/checkbox",
74
+ "i18n": {
75
+ "en": "Checkbox"
76
+ }
77
+ },
78
+ {
79
+ "title": "Badge 徽标",
80
+ "route": "/badge",
81
+ "i18n": {
82
+ "en": "Badge"
83
+ }
84
+ },
85
+ {
86
+ "title": "Image 图片",
87
+ "route": "/image",
88
+ "i18n": {
89
+ "en": "Image"
90
+ }
91
+ },
92
+ {
93
+ "title": "Toopltip 文字提示",
94
+ "route": "/toopltip",
95
+ "i18n": {
96
+ "en": "Toopltip"
97
+ }
98
+ },
99
+ {
100
+ "title": "Progress 进度条",
101
+ "route": "/progress",
102
+ "i18n": {
103
+ "en": "Progress"
104
+ }
105
+ },
106
+ {
107
+ "title": "Cascader 级联选择器",
108
+ "route": "/cascader",
109
+ "i18n": {
110
+ "en": "Cascader"
111
+ }
112
+ },
113
+ {
114
+ "title": "Switch 开关",
115
+ "route": "/switch",
116
+ "i18n": {
117
+ "en": "Switch"
118
+ }
119
+ },
120
+ {
121
+ "title": "Timeline 时间轴",
122
+ "route": "/timeline",
123
+ "i18n": {
124
+ "en": "Timeline"
125
+ }
126
+ },
127
+ {
128
+ "title": "Transfer 穿梭框",
129
+ "route": "/transfer",
130
+ "i18n": {
131
+ "en": "Transfer"
132
+ }
133
+ },
134
+ {
135
+ "title": "Select 选择器",
136
+ "route": "/select",
137
+ "i18n": {
138
+ "en": "Select"
139
+ }
140
+ },
141
+ {
142
+ "title": "PageHeader 页头",
143
+ "route": "/page-header",
144
+ "i18n": {
145
+ "en": "PageHeader"
146
+ }
147
+ },
148
+ {
149
+ "title": "Avatar 头像",
150
+ "route": "/avatar",
151
+ "i18n": {
152
+ "en": "Avatar"
153
+ }
154
+ },
155
+ {
156
+ "title": "Calender 日历",
157
+ "route": "/calender",
158
+ "i18n": {
159
+ "en": "Calender"
160
+ }
161
+ },
162
+ {
163
+ "title": "BackTop 返回头部",
164
+ "route": "/backtop",
165
+ "i18n": {
166
+ "en": "BackTop"
167
+ }
168
+ },
169
+ {
170
+ "title": "Card 卡片",
171
+ "route": "/card",
172
+ "i18n": {
173
+ "en": "Card"
174
+ }
175
+ },
176
+ {
177
+ "title": "Cascader 级联选择器",
178
+ "route": "/cascader",
179
+ "i18n": {
180
+ "en": "Cascader"
181
+ }
182
+ },
183
+ {
184
+ "title": "Switch 开关",
185
+ "route": "/switch",
186
+ "i18n": {
187
+ "en": "Switch"
188
+ }
189
+ },
190
+ {
191
+ "title": "Timeline 时间轴",
192
+ "route": "/timeline",
193
+ "i18n": {
194
+ "en": "Timeline"
195
+ }
196
+ },
197
+ {
198
+ "title": "Transfer 穿梭框",
199
+ "route": "/transfer",
200
+ "i18n": {
201
+ "en": "Transfer"
202
+ }
203
+ },
204
+ {
205
+ "title": "Select 选择器",
206
+ "route": "/select",
207
+ "i18n": {
208
+ "en": "Select"
209
+ }
210
+ },
211
+
212
+
213
+ {
214
+ "title": "PageHeader 页头",
215
+ "route": "/page-header",
216
+ "i18n": {
217
+ "en": "PageHeader"
218
+ }
219
+ },
220
+ {
221
+ "title": "Avatar 头像",
222
+ "route": "/avatar",
223
+ "i18n": {
224
+ "en": "Avatar"
225
+ }
226
+ },
227
+ {
228
+ "title": "Calender 日历",
229
+ "route": "/calender",
230
+ "i18n": {
231
+ "en": "Calender"
232
+ }
233
+ },
234
+ {
235
+ "title": "BackTop 返回头部",
236
+ "route": "/backtop",
237
+ "i18n": {
238
+ "en": "BackTop"
239
+ }
240
+ },
241
+ {
242
+ "title": "Card 卡片",
243
+ "route": "/card",
244
+ "i18n": {
245
+ "en": "Card"
246
+ }
247
+ },
248
+ {
249
+ "title": "Drawer 抽屉",
250
+ "route": "/drawer",
251
+ "i18n": {
252
+ "en": "Drawer"
253
+ }
254
+ },
255
+ {
256
+ "title": "InfiniteScroll 无限滚动",
257
+ "route": "/infiniteScroll",
258
+ "i18n": {
259
+ "en": "InfiniteScroll"
260
+ }
261
+ },
262
+ {
263
+ "title": "Divider 分割线",
264
+ "route": "/divider",
265
+ "i18n": {
266
+ "en": "Divider"
267
+ }
268
+ },
269
+ {
270
+ "title": "Collapse 折叠面板",
271
+ "route": "/Collapse",
272
+ "i18n": {
273
+ "en": "Collapse"
274
+ }
275
+ },
276
+ {
277
+ "title": "Carousel 走马灯",
278
+ "route": "/Carousel",
279
+ "i18n": {
280
+ "en": "Carousel"
281
+ }
282
+ },
283
+ {
284
+ "title": "Popconfirm 确认气泡",
285
+ "route": "/Popconfirm",
286
+ "i18n": {
287
+ "en": "Popconfirm"
288
+ }
289
+ },
290
+ {
291
+ "title": "Popover 弹出框",
292
+ "route": "/Popover",
293
+ "i18n": {
294
+ "en": "Popover"
295
+ }
296
+ },
297
+ {
298
+ "title": "Breadcrumb 面包屑",
299
+ "route": "/Breadcrumb",
300
+ "i18n": {
301
+ "en": "Breadcrumb"
302
+ }
303
+ }
304
+ ]
305
+ },
306
+ {
307
+ "title": "不推荐使用的兼容组件",
308
+ "children": [
309
+ {
310
+ "title": "DialogO 弹窗-旧版",
311
+ "route": "/cl-dialog-o"
312
+ },
313
+ {
314
+ "title": "TableO 表格-旧版",
315
+ "route": "/cl-table-o"
316
+ },
317
+ {
318
+ "title": "筛选按钮-旧版",
319
+ "route": "/cl-filter-o",
320
+ "i18n": {
321
+ "en": "FiltersO"
322
+ }
323
+ }
324
+ ]
325
+ },
326
+ {
327
+ "title": "G6组件集成",
328
+ "children": [
329
+ {
330
+ "title": "弹窗",
331
+ "route": "/nstc-dialog",
332
+ "i18n": {
333
+ "en": "NstcDialog"
334
+ }
335
+ }
336
+ ]
337
+ },
338
+ {
339
+ "title": "I18n 国际化",
340
+ "iconClass": "el-icon-menu",
341
+ "route": "/i18n",
342
+ "i18n": {
343
+ "en": "I18n"
344
+ }
345
+ },
346
+ {
347
+ "title": "Layout 框架",
348
+ "iconClass": "el-icon-menu",
349
+ "route": "/cl-layout",
350
+ "i18n": {
351
+ "en": "Layout"
352
+ }
353
+ },
354
+ {
355
+ "title": "Page 页面布局",
356
+ "iconClass": "el-icon-s-grid",
357
+ "route": "/page",
358
+ "i18n": {
359
+ "en": "Page Layout"
360
+ }
361
+ },
362
+ {
363
+ "title": "Color 色彩",
364
+ "iconClass": "el-icon-menu",
365
+ "route": "/color",
366
+ "i18n": {
367
+ "en": "Color"
368
+ }
369
+ },
370
+ {
371
+ "title": "normalizeCss 样式",
372
+ "iconClass": "el-icon-menu",
373
+ "route": "/normalize-css",
374
+ "i18n": {
375
+ "en": "Normalize Style"
376
+ }
377
+ },
378
+ {
379
+ "title": "Button 按钮",
380
+ "iconClass": "el-icon-menu",
381
+ "route": "/cl-button",
382
+ "i18n": {
383
+ "en": "Button"
384
+ }
385
+ },
386
+ {
387
+ "title": "权限控制",
388
+ "iconClass": "el-icon-setting",
389
+ "route": "/v-has",
390
+ "i18n": {
391
+ "en": "Permission Control"
392
+ }
393
+ },
394
+ {
395
+ "title": "锚点定位",
396
+ "iconClass": "el-icon-menu",
397
+ "route": "/anchor",
398
+ "i18n": {
399
+ "en": "Anchorl"
400
+ }
401
+ },
402
+ {
403
+ "title": "From 表单",
404
+ "iconClass": "el-icon-menu",
405
+ "route": "/from-input"
406
+ },
407
+ {
408
+ "title": "下拉选择树",
409
+ "iconClass": "el-icon-menu",
410
+ "route": "/select-tree"
411
+ },
412
+ {
413
+ "title": "上传组件",
414
+ "iconClass": "el-icon-menu",
415
+ "route": "/cl-upload"
416
+ },
417
+ {
418
+ "title": "附件上传表格",
419
+ "iconClass": "el-icon-menu",
420
+ "route": "/cl-upload-table"
421
+ },
422
+ {
423
+ "title": "信息展示组件",
424
+ "iconClass": "el-icon-menu",
425
+ "route": "/cl-expandable"
426
+ },
427
+ {
428
+ "title": "表单页面Demo",
429
+ "iconClass": "el-icon-menu",
430
+ "route": "/from-page"
431
+ },
432
+ {
433
+ "title": "筛选按钮",
434
+ "iconClass": "el-icon-menu",
435
+ "route": "/cl-filter",
436
+ "i18n": {
437
+ "en": "Filters"
438
+ }
439
+ },
440
+
441
+ {
442
+ "title": "显示列",
443
+ "iconClass": "el-icon-menu",
444
+ "route": "/cl-column",
445
+ "i18n": {
446
+ "en": "ShowColumn"
447
+ }
448
+ },
449
+ {
450
+ "title": "二级Tab",
451
+ "iconClass": "el-icon-menu",
452
+ "route": "/cl-secondarytab"
453
+ },
454
+ {
455
+ "title": "三级Tab",
456
+ "iconClass": "el-icon-menu",
457
+ "route": "/cl-tertiarytab"
458
+ },
459
+ {
460
+ "title": "步骤条",
461
+ "iconClass": "el-icon-menu",
462
+ "route": "/cl-step"
463
+ },
464
+ {
465
+ "title": "Table 表格",
466
+ "iconClass": "el-icon-menu",
467
+ "route": "/cl-table"
468
+ },
469
+
470
+ {
471
+ "title": "DragList 拖拽列表",
472
+ "iconClass": "el-icon-menu",
473
+ "route": "/cl-draglist"
474
+ },
475
+ {
476
+ "title": "Statis 统计条",
477
+ "iconClass": "el-icon-menu",
478
+ "route": "/cl-statis"
479
+ },
480
+ {
481
+ "title": "Pagination 分页",
482
+ "iconClass": "el-icon-menu",
483
+ "route": "/cl-pagination"
484
+ },
485
+ {
486
+ "title": "Dialog 弹窗",
487
+ "iconClass": "el-icon-menu",
488
+ "route": "/cl-dialog"
489
+ },
490
+
491
+ {
492
+ "title": "Msg 消息提醒/警告",
493
+ "iconClass": "el-icon-menu",
494
+ "route": "/message"
495
+ },
496
+ {
497
+ "title": "Task 消息提示",
498
+ "iconClass": "el-icon-menu",
499
+ "route": "/task"
500
+ },
501
+ {
502
+ "title": "标签",
503
+ "iconClass": "el-icon-menu",
504
+ "route": "/cl-tag"
505
+ },
506
+ {
507
+ "title": "异常页面",
508
+ "iconClass": "el-icon-menu",
509
+ "route": "/cl-empty"
510
+ },
511
+ {
512
+ "title": "悬浮按钮",
513
+ "iconClass": "el-icon-s-grid",
514
+ "route": "/cl-suspend"
515
+ },
516
+ {
517
+ "title": "审批/查看流程",
518
+ "iconClass": "el-icon-s-grid",
519
+ "route": "/cl-approval-card"
520
+ },
521
+ {
522
+ "title": "审批记录",
523
+ "iconClass": "el-icon-s-grid",
524
+ "route": "/cl-approval-record?processInstanceId=cfe36561f57b4d368f3c312b548b935b"
525
+ },
526
+ {
527
+ "title": "审批按钮组",
528
+ "iconClass": "el-icon-s-grid",
529
+ "route": "/cl-approval-buttons?taskId=9a4b438573aa4c45b5b681d7bee521dc"
530
+ },
531
+ {
532
+ "title": "Axios 数据请求",
533
+ "iconClass": "el-icon-loading",
534
+ "route": "/axios"
535
+ },
536
+ {
537
+ "title": "Directive 指令",
538
+ "iconClass": "el-icon-menu",
539
+ "children": [
540
+ {
541
+ "title": "v-title 文字提示",
542
+ "iconClass": "el-icon-s-grid",
543
+ "route": "/v-title"
544
+ },
545
+ {
546
+ "title": "v-drag 弹窗拖拽",
547
+ "iconClass": "el-icon-s-grid",
548
+ "route": "/v-drag"
549
+ },
550
+ {
551
+ "title": "v-move 位置拖拽",
552
+ "iconClass": "el-icon-s-grid",
553
+ "route": "/v-move"
554
+ },
555
+ {
556
+ "title": "v-has 权限控制",
557
+ "iconClass": "el-icon-setting",
558
+ "route": "/v-has"
559
+ }
560
+ ]
561
+ },
562
+ {
563
+ "title": "Function 方法",
564
+ "iconClass": "el-icon-menu",
565
+ "children": [
566
+ {
567
+ "title": "Print 打印",
568
+ "iconClass": "el-icon-s-grid",
569
+ "route": "/print"
570
+ },
571
+ {
572
+ "title": "流文件下载",
573
+ "iconClass": "el-icon-s-grid",
574
+ "route": "/download—blob"
575
+ },
576
+ {
577
+ "title": "跳转到其他应用",
578
+ "iconClass": "el-icon-s-grid",
579
+ "route": "/push-link"
580
+ },
581
+ {
582
+ "title": "操作Tab页签",
583
+ "iconClass": "el-icon-s-grid",
584
+ "route": "/set-tab"
585
+ },
586
+ {
587
+ "title": "Sign 签名",
588
+ "iconClass": "el-icon-s-grid",
589
+ "route": "/sign"
590
+ }
591
+ ]
592
+ },
593
+ {
594
+ "title": "Utils 额外方法",
595
+ "iconClass": "el-icon-s-grid",
596
+ "route": "/utils",
597
+ "i18n": {
598
+ "en": "utils"
599
+ }
600
+ },
601
+ {
602
+ "title": "Layout 布局",
603
+ "iconClass": "el-icon-menu",
604
+ "route": "/col",
605
+ "i18n": {
606
+ "en": "col"
607
+ }
608
+ },
609
+ {
610
+ "title": "Shadow 投影",
611
+ "iconClass": "el-icon-menu",
612
+ "route": "/box-shadow",
613
+ "i18n": {
614
+ "en": "boxShadow"
615
+ }
616
+ },
617
+ {
618
+ "title": "ScrollBar 滚动条",
619
+ "iconClass": "el-icon-menu",
620
+ "route": "/scroll-bar",
621
+ "i18n": {
622
+ "en": "scrollBar"
623
+ }
624
+ },
625
+ {
626
+ "title": "Icon 图标",
627
+ "iconClass": "el-icon-menu",
628
+ "route": "/icon",
629
+ "i18n": {
630
+ "en": "Icon"
631
+ }
632
+ },
633
+ {
634
+ "title": "Link 文字链接",
635
+ "iconClass": "el-icon-menu",
636
+ "route": "/link",
637
+ "i18n": {
638
+ "en": "Link"
639
+ }
640
+ },
641
+ {
642
+ "title": "内置动画",
643
+ "iconClass": "el-icon-menu",
644
+ "route": "/animation",
645
+ "i18n": {
646
+ "en": "Animation"
647
+ }
648
+ },
649
+ {
650
+ "title": "Font 字体",
651
+ "iconClass": "el-icon-menu",
652
+ "route": "/font",
653
+ "i18n": {
654
+ "en": "Font"
655
+ }
656
+ },
657
+ {
658
+ "title": "DEMO",
659
+ "iconClass": "el-icon-edit-outline",
660
+ "route": "/demo"
661
+ }
662
+ ]
663
+ }