n20-common-lib 1.3.2 → 1.3.5

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