n20-common-lib 1.2.36 → 1.2.37

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 (193) 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 +39 -39
  56. package/src/components/ApprovalRecord/index.vue +59 -59
  57. package/src/components/Button/button-group.vue +150 -150
  58. package/src/components/Button/icon-group-button.vue +61 -61
  59. package/src/components/Button/index.vue +56 -56
  60. package/src/components/CascaderArea/index.vue +103 -103
  61. package/src/components/ContentLoading/index.vue +41 -41
  62. package/src/components/ContentNull/index.vue +19 -19
  63. package/src/components/DatePicker/index.vue +27 -27
  64. package/src/components/DatePicker/por.vue +169 -169
  65. package/src/components/Dialog/index.vue +26 -26
  66. package/src/components/Dialog/indexO.vue +116 -116
  67. package/src/components/DragList/index.vue +75 -75
  68. package/src/components/Empty/img/abnormal.svg +108 -108
  69. package/src/components/Empty/img/dispose.svg +71 -71
  70. package/src/components/Empty/img/empty.svg +57 -57
  71. package/src/components/Empty/img/general.svg +58 -58
  72. package/src/components/Empty/img/lock.svg +57 -57
  73. package/src/components/Empty/img/network.svg +59 -59
  74. package/src/components/Empty/img/relevant.svg +68 -68
  75. package/src/components/Empty/img/search.svg +72 -72
  76. package/src/components/Empty/index.vue +92 -92
  77. package/src/components/Expandable/index.vue +49 -49
  78. package/src/components/Expandable/main.vue +52 -52
  79. package/src/components/FileExportAsync/index.vue +178 -178
  80. package/src/components/FileUploadTable/index.vue +484 -484
  81. package/src/components/Filters/index.vue +371 -371
  82. package/src/components/Filters/indexO.vue +104 -104
  83. package/src/components/FlowStep/index.vue +68 -68
  84. package/src/components/FooterBox/index.vue +21 -21
  85. package/src/components/GeneralCard/index.vue +15 -15
  86. package/src/components/InputNumber/index.vue +169 -169
  87. package/src/components/InputNumber/numberRange.vue +47 -47
  88. package/src/components/InputSearch/index.vue +75 -75
  89. package/src/components/Layout/AsideNav/index.vue +119 -119
  90. package/src/components/Layout/AsideNav/menuItem.vue +34 -34
  91. package/src/components/Layout/AsideNav/submenuTitle.vue +26 -26
  92. package/src/components/Layout/HeaderWrap/changePwd.vue +215 -215
  93. package/src/components/Layout/HeaderWrap/index.vue +371 -371
  94. package/src/components/Layout/HeaderWrap/noticePop.vue +315 -300
  95. package/src/components/Layout/SubContent/index.vue +127 -127
  96. package/src/components/Layout/TabsNav/index.vue +170 -170
  97. package/src/components/Layout/index.vue +518 -518
  98. package/src/components/Layout/utils.js +12 -12
  99. package/src/components/LoginTemporary/form.vue +570 -570
  100. package/src/components/LoginTemporary/index.vue +139 -139
  101. package/src/components/LoginTemporary/qrcode.vue +90 -90
  102. package/src/components/LoginTemporary/retrievePw.vue +372 -372
  103. package/src/components/LoginTemporary/utils.js +73 -73
  104. package/src/components/MicroApp/index.js +67 -67
  105. package/src/components/MicroFrame/index.vue +95 -95
  106. package/src/components/MoreTab/index.vue +232 -232
  107. package/src/components/NavMenu/index.vue +60 -60
  108. package/src/components/NstcG6Components/NstcDialog/NstcDialog.vue +184 -184
  109. package/src/components/PageLayout/page.vue +15 -15
  110. package/src/components/Pagination/index.vue +165 -165
  111. package/src/components/SecondaryTab/index.vue +58 -58
  112. package/src/components/SelectLazy/index.vue +75 -75
  113. package/src/components/SelectTree/SelectTreeLazy.vue +241 -241
  114. package/src/components/SelectTree/index.vue +205 -205
  115. package/src/components/ShowColumn/index.vue +213 -213
  116. package/src/components/Sifting/index.vue +99 -99
  117. package/src/components/Statis/index.vue +97 -97
  118. package/src/components/Statis/statisItem.vue +54 -54
  119. package/src/components/Statis/statisPopover.vue +55 -55
  120. package/src/components/Step/index.vue +38 -38
  121. package/src/components/Suspend/index.vue +72 -72
  122. package/src/components/Table/index.vue +209 -209
  123. package/src/components/Table/indexO.vue +149 -149
  124. package/src/components/Task/index.vue +26 -26
  125. package/src/components/TertiaryTab/index.vue +63 -63
  126. package/src/components/TimePicker/index.vue +28 -28
  127. package/src/components/Upload/index.vue +242 -242
  128. package/src/components/WornPagination/index.vue +73 -73
  129. package/src/directives/VClickOutside/index.js +19 -19
  130. package/src/directives/VHas/index.js +58 -58
  131. package/src/directives/VMove/index.js +42 -42
  132. package/src/directives/VTitle/index.js +69 -69
  133. package/src/directives/VTitle/tooltip.vue +21 -21
  134. package/src/index.js +229 -229
  135. package/src/plugins/CompatibleOld/index.js +57 -57
  136. package/src/plugins/Print/index.js +4 -4
  137. package/src/plugins/Print/print-js/.babelrc +12 -12
  138. package/src/plugins/Print/print-js/LICENSE +21 -21
  139. package/src/plugins/Print/print-js/README.md +98 -98
  140. package/src/plugins/Print/print-js/dist/print.css +96 -96
  141. package/src/plugins/Print/print-js/dist/print.js +990 -990
  142. package/src/plugins/Print/print-js/package.json +60 -60
  143. package/src/plugins/Print/print-js/src/index.d.ts +45 -45
  144. package/src/plugins/Print/print-js/src/index.js +10 -10
  145. package/src/plugins/Print/print-js/src/js/browser.js +33 -33
  146. package/src/plugins/Print/print-js/src/js/functions.js +103 -103
  147. package/src/plugins/Print/print-js/src/js/html.js +70 -70
  148. package/src/plugins/Print/print-js/src/js/image.js +48 -48
  149. package/src/plugins/Print/print-js/src/js/init.js +168 -168
  150. package/src/plugins/Print/print-js/src/js/json.js +109 -109
  151. package/src/plugins/Print/print-js/src/js/modal.js +62 -62
  152. package/src/plugins/Print/print-js/src/js/pdf.js +62 -62
  153. package/src/plugins/Print/print-js/src/js/print.js +102 -102
  154. package/src/plugins/Print/print-js/src/js/raw-html.js +15 -15
  155. package/src/plugins/Print/print-js/src/sass/index.scss +13 -13
  156. package/src/plugins/Print/print-js/src/sass/modules/_colors.scss +9 -9
  157. package/src/plugins/Print/print-js/src/sass/partials/_modal.scss +40 -40
  158. package/src/plugins/Print/print-js/src/sass/partials/_spinner.scss +45 -45
  159. package/src/plugins/Print/print.js +2 -2
  160. package/src/plugins/Print/print.scss +1 -1
  161. package/src/plugins/SetMenuTree/index.vue +41 -41
  162. package/src/plugins/SetMenuTree/logoIcon.vue +37 -37
  163. package/src/plugins/SetMenuTree/setmenutree.vue +427 -427
  164. package/src/plugins/SetMenuTree/utils.js +74 -74
  165. package/src/plugins/Sign/InfosecNetSignCNGAgent.min.js +2000 -2000
  166. package/src/plugins/Sign/index.js +65 -65
  167. package/src/plugins/Sign/sign.js +1 -1
  168. package/src/plugins/setTabsForSub.js +2 -2
  169. package/src/utils/auth.js +53 -53
  170. package/src/utils/axios.js +203 -203
  171. package/src/utils/downloadBlob.js +19 -19
  172. package/src/utils/forEachs.js +16 -16
  173. package/src/utils/getScrollContainer.js +43 -43
  174. package/src/utils/i18n/cn2hk.json +1270 -1270
  175. package/src/utils/i18n/index.js +50 -50
  176. package/src/utils/list2tree.js +36 -36
  177. package/src/utils/msgboxPor.js +26 -26
  178. package/src/utils/print.js +161 -161
  179. package/src/utils/relaNo.js +72 -72
  180. package/src/utils/repairElementUI.js +66 -66
  181. package/src/utils/urlToGo.js +82 -82
  182. package/style/css/normalize.scss +726 -726
  183. package/style/index.css +3 -3
  184. package/style/pageDemo/demo-1.vue +131 -131
  185. package/style/pageDemo/demo-2.vue +35 -35
  186. package/style/pageDemo/demo-3.vue +22 -22
  187. package/style/pageDemo/seeCode.js +20 -20
  188. package/style/server-config.jsonc +606 -717
  189. package/src/components/.DS_Store +0 -0
  190. package/src/components/Empty/.DS_Store +0 -0
  191. package/src/components/Empty/img/.DS_Store +0 -0
  192. package/src/components/Layout/.DS_Store +0 -0
  193. package/src/components/NstcG6Components/.DS_Store +0 -0
@@ -1,717 +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": "/updateLog",
30
- "i18n": {
31
- "en": "updateLog"
32
- }
33
- },
34
- {
35
- "title": "安装",
36
- // "iconUrl": "",
37
- "route": "/index",
38
- "i18n": {
39
- "en": "Install"
40
- }
41
- },
42
- {
43
- "title": "其他周边",
44
- "children": [
45
- {
46
- "title": "Gitee",
47
- "href": "https://gitee.com/nstc/dev-corelib/tree/n20-common-lib-1.3.0/"
48
- },
49
- {
50
- "title": "I18n 国际化",
51
- "route": "/i18n",
52
- "i18n": {
53
- "en": "I18n"
54
- }
55
- },
56
- {
57
- "title": "ElementUi",
58
- "href": "https://element.eleme.cn/#/zh-CN/component/installation"
59
- },
60
- {
61
- "title": "normalizeCss 样式",
62
- "route": "/normalize-css",
63
- "i18n": {
64
- "en": "Normalize Style"
65
- }
66
- },
67
- {
68
- "title": "改造文档",
69
- "route": "/update",
70
- "i18n": {
71
- "en": "Update"
72
- }
73
- },
74
- {
75
- "title": "Directive 指令",
76
- "children": [
77
- {
78
- "title": "v-title 文字提示",
79
- "route": "/v-title"
80
- },
81
- {
82
- "title": "v-drag 弹窗拖拽",
83
- "route": "/v-drag"
84
- },
85
- {
86
- "title": "v-move 位置拖拽",
87
- "route": "/v-move"
88
- },
89
- {
90
- "title": "v-has 权限控制",
91
- "route": "/v-has"
92
- }
93
- ]
94
- },
95
- {
96
- "title": "Function 方法",
97
- "children": [
98
- {
99
- "title": "Print 打印",
100
- "route": "/print"
101
- },
102
- {
103
- "title": "流文件下载",
104
- "route": "/download—blob"
105
- },
106
- {
107
- "title": "跳转到其他应用",
108
- "route": "/push-link"
109
- },
110
- {
111
- "title": "操作Tab页签",
112
- "route": "/set-tab"
113
- },
114
- {
115
- "title": "Sign 签名",
116
- "route": "/sign"
117
- },
118
- {
119
- "title": "Utils 公用方法",
120
- "route": "/utils?t"
121
- },
122
- {
123
- "title": "Axios 数据请求",
124
- "route": "/axios"
125
- }
126
- ]
127
- },
128
- {
129
- "title": "动画",
130
- "route": "/animation",
131
- "i18n": {
132
- "en": "Animation"
133
- }
134
- },
135
- {
136
- "title": "Icon 图标",
137
- "route": "/icon",
138
- "i18n": {
139
- "en": "Icon"
140
- }
141
- }
142
- ]
143
- },
144
- {
145
- "title": "Color 颜色",
146
- "route": "/color",
147
- "i18n": {
148
- "en": "Color"
149
- }
150
- },
151
- {
152
- "title": "Font 字体",
153
- "route": "/font",
154
- "i18n": {
155
- "en": "Font"
156
- }
157
- },
158
- {
159
- "title": "Button 按钮",
160
- "route": "/button",
161
- "i18n": {
162
- "en": "Button"
163
- }
164
- },
165
- {
166
- "title": "Date input 信息输入",
167
- "children": [
168
- {
169
- "title": "Input 输入框",
170
- "route": "/input",
171
- "i18n": {
172
- "en": "Input"
173
- }
174
- },
175
- {
176
- "title": "Select 选择器",
177
- "route": "/select",
178
- "i18n": {
179
- "en": "Select"
180
- }
181
- },
182
- {
183
- "title": "Search 搜索框",
184
- "route": "/search",
185
- "i18n": {
186
- "en": "Search"
187
- }
188
- },
189
- {
190
- "title": "Date 日期选择框",
191
- "route": "/date",
192
- "i18n": {
193
- "en": "Date"
194
- }
195
- },
196
- {
197
- "title": "Upload 文件上传",
198
- "route": "/upload",
199
- "i18n": {
200
- "en": "Upload"
201
- }
202
- },
203
- {
204
- "title": "FileImport 文件导入",
205
- "route": "/file-import",
206
- "i18n": {
207
- "en": "FileImport"
208
- }
209
- },
210
- {
211
- "title": "Switch 开关",
212
- "route": "/switch",
213
- "i18n": {
214
- "en": "Switch"
215
- }
216
- }
217
- ]
218
- },
219
- {
220
- "title": "Information 信息展示",
221
- "children": [
222
- {
223
- "title": "Table 表格",
224
- "route": "/table",
225
- "i18n": {
226
- "en": "Table"
227
- }
228
- },
229
- {
230
- "title": "TableCard 表格卡片",
231
- "route": "/table-card",
232
- "i18n": {
233
- "en": "TableCard"
234
- }
235
- },
236
- {
237
- "title": "filter 筛选",
238
- "route": "/filter",
239
- "i18n": {
240
- "en": "Filters"
241
- }
242
- },
243
- {
244
- "title": "column 显示列",
245
- "route": "/column",
246
- "i18n": {
247
- "en": "ShowColumn"
248
- }
249
- },
250
- {
251
- "title": "ExportColumn 导出",
252
- "route": "/export-column",
253
- "i18n": {
254
- "en": "ExportColumn"
255
- }
256
- },
257
- {
258
- "title": "Information 纯文本展示",
259
- "route": "/Information",
260
- "i18n": {
261
- "en": "Information"
262
- }
263
- },
264
- {
265
- "title": "Tips 提示信息",
266
- "route": "/Tips",
267
- "i18n": {
268
- "en": "Tips"
269
- }
270
- },
271
- {
272
- "title": "Tag 标签",
273
- "route": "/tag",
274
- "i18n": {
275
- "en": "Tag"
276
- }
277
- },
278
- {
279
- "title": "Shadow 阴影",
280
- "route": "/box-shadow",
281
- "i18n": {
282
- "en": "boxShadow"
283
- }
284
- }
285
- ]
286
- },
287
- {
288
- "title": "Feedback 反馈",
289
- "children": [
290
- {
291
- "title": "Alert 警告提示",
292
- "route": "/Alert",
293
- "i18n": {
294
- "en": "Alert"
295
- }
296
- },
297
- {
298
- "title": "Message 消息",
299
- "route": "/message",
300
- "i18n": {
301
- "en": "Message"
302
- }
303
- },
304
- {
305
- "title": "MessageBox 消息弹窗",
306
- "route": "/message-box",
307
- "i18n": {
308
- "en": "MessageBox"
309
- }
310
- },
311
- {
312
- "title": "Dialog 弹窗",
313
- "route": "/dialog",
314
- "i18n": {
315
- "en": "Dialog"
316
- }
317
- },
318
- {
319
- "title": "BusinessDialog 业务弹窗",
320
- "route": "/dialog-a",
321
- "i18n": {
322
- "en": "BusinessDialog"
323
- }
324
- },
325
- {
326
- "title": "Loading 加载",
327
- "route": "/loadingc",
328
- "i18n": {
329
- "en": "Loading"
330
- }
331
- },
332
- {
333
- "title": "Abnormal 异常页",
334
- "route": "/empty",
335
- "i18n": {
336
- "en": "Empty"
337
- }
338
- }
339
- ]
340
- },
341
- {
342
- "title": "Navigation 导航",
343
- "children": [
344
- {
345
- "title": "Tabs 导航",
346
- "route": "/tabs",
347
- "i18n": {
348
- "en": "Tabs"
349
- }
350
- },
351
- {
352
- "title": "Dropdown 下拉菜单",
353
- "route": "/dropdown",
354
- "i18n": {
355
- "en": "Dropdown"
356
- }
357
- },
358
- {
359
- "title": "PageHeader 页头",
360
- "route": "/page-header",
361
- "i18n": {
362
- "en": "PageHeader"
363
- }
364
- },
365
- {
366
- "title": "Pagination 分页",
367
- "route": "/pagination",
368
- "i18n": {
369
- "en": "Pagination"
370
- }
371
- },
372
- {
373
- "title": "Expandable 折叠面板",
374
- "route": "/expandable",
375
- "i18n": {
376
- "en": "Expandable"
377
- }
378
- },
379
- {
380
- "title": "ScrollBar 滚动条",
381
- "route": "/scroll-bar",
382
- "i18n": {
383
- "en": "scrollBar"
384
- }
385
- },
386
- {
387
- "title": "Statis 数据统计",
388
- "route": "/statis",
389
- "i18n": {
390
- "en": "Statis"
391
- }
392
- },
393
- {
394
- "title": "Process 流程",
395
- "route": "/step",
396
- "i18n": {
397
- "en": "step"
398
- }
399
- },
400
- {
401
- "title": "Anchor 定位器",
402
- "route": "/anchor",
403
- "i18n": {
404
- "en": "Anchor"
405
- }
406
- },
407
- {
408
- "title": "Backlog 全局浮层待办",
409
- "route": "/suspend"
410
- }
411
-
412
- ]
413
- },
414
- {
415
- "title": "G6组件集成",
416
- "children": [
417
- {
418
- "title": "弹窗",
419
- "route": "/nstc-dialog",
420
- "i18n": {
421
- "en": "NstcDialog"
422
- }
423
- },
424
- {
425
- "title": "返回顶部",
426
- "route": "/nstc-back-to-tap",
427
- "i18n": {
428
- "en": "NstcBackToTop"
429
- }
430
- },
431
- {
432
- "title": "银行下拉懒加载",
433
- "route": "/nstc-branch-lazy-load",
434
- "i18n": {
435
- "en": "NstcBranchLazyLoad"
436
- }
437
- },
438
- {
439
- "title": "ECharts图表",
440
- "route": "/nstc-charts",
441
- "i18n": {
442
- "en": "NstcCharts"
443
- }
444
- },
445
- {
446
- "title": "ConfirmTip提示框",
447
- "route": "/confirm-tip",
448
- "i18n": {
449
- "en": "ConfirmTip"
450
- }
451
- },
452
- {
453
- "title": "NstcApprovel 审批组件",
454
- "route": "/nstc-approvel",
455
- "i18n": {
456
- "en": "NstcApprovel"
457
- }
458
- },
459
- {
460
- "title": "NstcWorkBench 工作台",
461
- "route": "/workbench",
462
- "i18n": {
463
- "en": "NstcWorkBench"
464
- }
465
- },
466
- {
467
- "title": "ThemePicker 切换主题色",
468
- "route": "/ThemePicker",
469
- "i18n": {
470
- "en": "NstcThemePicker"
471
- }
472
- },
473
- {
474
- "title": "TabWithBadge tab徽标",
475
- "route": "/NstcTabWithBadge",
476
- "i18n": {
477
- "en": "NstcTabWithBadge"
478
- }
479
- },
480
- {
481
- "title": "NstcTableSet 显示列",
482
- "route": "/table-set",
483
- "i18n": {
484
- "en": "NstcTableSet"
485
- }
486
- },
487
- {
488
- "title": "NstcDropdown 下拉菜单",
489
- "route": "/NstcDropdown",
490
- "i18n": {
491
- "en": "NstcDropdown"
492
- }
493
- },
494
- {
495
- "title": "NstcPagination 分页",
496
- "route": "/NstcPagination",
497
- "i18n": {
498
- "en": "NstcPagination"
499
- }
500
- },
501
- {
502
- "title": "NstcTable 表格",
503
- "route": "/NstcTable",
504
- "i18n": {
505
- "en": "NstcTable"
506
- }
507
- },
508
- {
509
- "title": "NstcTab tab栏",
510
- "route": "/NstcTab",
511
- "i18n": {
512
- "en": "NstcTab"
513
- }
514
- },
515
- {
516
- "title": "NstcSvgIcon svg图片加载",
517
- "route": "/NstcSvgIcon",
518
- "i18n": {
519
- "en": "NstcSvgIcon"
520
- }
521
- },
522
- {
523
- "title": "NstcSticky 位置固定",
524
- "route": "/NstcSticky",
525
- "i18n": {
526
- "en": "NstcSticky"
527
- }
528
- },
529
- {
530
- "title": "NstcSelectTreeList 下拉树",
531
- "route": "/NstcSelectTreeList",
532
- "i18n": {
533
- "en": "NstcSelectTreeList"
534
- }
535
- },
536
- {
537
- "title": "InputTag 标签输入框",
538
- "route": "/InputTag",
539
- "i18n": {
540
- "en": "InputTag"
541
- }
542
- },
543
- {
544
- "title": "NstcSelectTree 下拉树",
545
- "route": "/NstcSelectTree",
546
- "i18n": {
547
- "en": "NstcSelectTree"
548
- }
549
- },
550
- {
551
- "title": "NstcScreenFull 浏览器全屏",
552
- "route": "/NstcScreenFull",
553
- "i18n": {
554
- "en": "NstcScreenFull"
555
- }
556
- },
557
- {
558
- "title": "NstcExpandCollapse 折叠栏",
559
- "route": "/NstcExpandCollapse",
560
- "i18n": {
561
- "en": "NstcExpandCollapse"
562
- }
563
- },
564
- {
565
- "title": "NstcFileUpload 附件下载",
566
- "route": "/NstcFileUpload",
567
- "i18n": {
568
- "en": "NstcFileUpload"
569
- }
570
- },
571
- {
572
- "title": "NstcExcelImportN 附件导入",
573
- "route": "/NstcExcelImportN",
574
- "i18n": {
575
- "en": "NstcExcelImportN"
576
- }
577
- },
578
- {
579
- "title": "NstcUploadExcel excel导入",
580
- "route": "/NstcUploadExcel",
581
- "i18n": {
582
- "en": "NstcUploadExcel"
583
- }
584
- },
585
- {
586
- "title": "NstcExcelImport excel导入",
587
- "route": "/NstcExcelImport",
588
- "i18n": {
589
- "en": "NstcExcelImport"
590
- }
591
- },
592
- {
593
- "title": "NstcExcelExport excel导入",
594
- "route": "/NstcExcelExport",
595
- "i18n": {
596
- "en": "NstcExcelExport"
597
- }
598
- },
599
- {
600
- "title": "NstcExcelCustomImport excel导入",
601
- "route": "/NstcExcelCustomImport",
602
- "i18n": {
603
- "en": "NstcExcelCustomImport"
604
- }
605
- },
606
- {
607
- "title": "NstcElectronicFile 附件列表",
608
- "route": "/NstcElectronicFile",
609
- "i18n": {
610
- "en": "NstcElectronicFile"
611
- }
612
- },
613
- {
614
- "title": "NstcDropdownTree 下拉树",
615
- "route": "/NstcDropdownTree",
616
- "i18n": {
617
- "en": "NstcDropdownTree"
618
- }
619
- },
620
- {
621
- "title": "NstcDialogTable 表格弹窗",
622
- "route": "/NstcDialogTable",
623
- "i18n": {
624
- "en": "NstcDialogTable"
625
- }
626
- },
627
- {
628
- "title": "NstcForm 表单",
629
- "route": "/NstcForm",
630
- "i18n": {
631
- "en": "NstcForm"
632
- }
633
- },
634
- {
635
- "title": "NstcSearch 搜索",
636
- "route": "/NstcSearch",
637
- "i18n": {
638
- "en": "NstcSearch"
639
- }
640
- }
641
- ]
642
- },
643
- {
644
- "title": "G6指令集成",
645
- "children": [
646
- {
647
- "title": "VClipboard 复制指令",
648
- "route": "/v-clipboard",
649
- "i18n": {
650
- "en": "VClipboard"
651
- }
652
- }
653
- ]
654
- },
655
- {
656
- "title": "Layout 框架",
657
- "iconClass": "el-icon-menu",
658
- "route": "/cl-layout",
659
- "i18n": {
660
- "en": "Layout"
661
- }
662
- },
663
- {
664
- "title": "Page 页面布局",
665
- "iconClass": "el-icon-s-grid",
666
- "route": "/page",
667
- "i18n": {
668
- "en": "Page Layout"
669
- }
670
- },
671
- {
672
- "title": "省市区级联",
673
- "iconClass": "el-icon-menu",
674
- "route": "/cascader-area"
675
- },
676
-
677
- {
678
- "title": "表单页面Demo",
679
- "iconClass": "el-icon-menu",
680
- "route": "/from-page"
681
- },
682
-
683
- {
684
- "title": "DragList 拖拽列表",
685
- "iconClass": "el-icon-menu",
686
- "route": "/cl-draglist"
687
- },
688
- {
689
- "title": "审批/查看流程",
690
- "iconClass": "el-icon-s-grid",
691
- "route": "/cl-approval-card"
692
- },
693
- {
694
- "title": "审批记录",
695
- "iconClass": "el-icon-s-grid",
696
- "route": "/cl-approval-record?processInstanceId=cfe36561f57b4d368f3c312b548b935b"
697
- },
698
- {
699
- "title": "审批按钮组",
700
- "iconClass": "el-icon-s-grid",
701
- "route": "/cl-approval-buttons?taskId=9a4b438573aa4c45b5b681d7bee521dc"
702
- },
703
- {
704
- "title": "Layout 布局",
705
- "iconClass": "el-icon-menu",
706
- "route": "/col",
707
- "i18n": {
708
- "en": "col"
709
- }
710
- },
711
- {
712
- "title": "DEMO",
713
- "iconClass": "el-icon-edit-outline",
714
- "route": "/demo"
715
- }
716
- ]
717
- }
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
+ }