n20-common-lib 1.2.41 → 1.2.42

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