n20-common-lib 2.9.13 → 2.9.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/nstc-g6/components/NstcCharts/NstcCharts.vue +16 -8
- package/package.json +8 -5
- package/src/assets/css/approve-card.scss +1 -1
- package/src/assets/css/date-quarter.scss +8 -0
- package/src/assets/css/expandable-pane.scss +7 -0
- package/src/assets/css/file-upload-table.scss +2 -3
- package/src/assets/css/font-icon.scss +3 -1
- package/src/assets/css/message.scss +6 -6
- package/src/assets/css/normalize.scss +4 -1
- package/src/assets/css/table.scss +16 -11
- package/src/assets/iconFont/SIMSUN.ttf +0 -0
- package/src/assets/iconFont/font.css +4 -0
- package/src/components/AIButton/index.vue +101 -0
- package/src/components/AdvancedFilter/formItemRender.vue +7 -4
- package/src/components/AdvancedFilter/index.vue +6 -7
- package/src/components/Anchor/index.vue +1 -0
- package/src/components/ApprovalButtons/index.vue +404 -82
- package/src/components/ApprovalButtons/indexApp.vue +1102 -0
- package/src/components/ApprovalButtons/selectSpr.vue +128 -0
- package/src/components/ApprovalButtons/setCarboncopyProp.vue +1 -1
- package/src/components/ApprovalButtons/setRejectToProp.vue +45 -5
- package/src/components/ApprovalButtons/showAppOpi.vue +265 -8
- package/src/components/ApprovalButtons/showOtherAttrNew.vue +161 -0
- package/src/components/ApprovalCard/index.vue +190 -44
- package/src/components/ApprovalCard/indexApp.vue +592 -0
- package/src/components/ApprovalRecord/approvalImgPro/child.vue +1 -1
- package/src/components/ApprovalRecord/approvalImgPro/index.vue +42 -5
- package/src/components/ApprovalRecord/index.vue +23 -6
- package/src/components/ApprovalRecord/indexApp.vue +79 -0
- package/src/components/AttachmentPass/index.vue +286 -0
- package/src/components/Button/button-group.vue +3 -1
- package/src/components/CascaderArea/index.vue +5 -6
- package/src/components/DatePicker/por.vue +31 -1
- package/src/components/DateSelect/quarterDatePicker.vue +23 -1
- package/src/components/Descriptions/index.vue +7 -3
- package/src/components/Dialog/index.vue +4 -0
- package/src/components/Diff/index.vue +4 -2
- package/src/components/DynamicField/DynamicField.vue +29 -6
- package/src/components/DynamicField/DynamicFieldMixin.js +13 -5
- package/src/components/DynamicField/DynamicFieldOptions.vue +135 -62
- package/src/components/DynamicField/DynamicTable.vue +11 -1
- package/src/components/DynamicField/contentPop.vue +110 -0
- package/src/components/DynamicField/tableList.vue +5 -1
- package/src/components/DynamicField/tableView.vue +143 -0
- package/src/components/ECharts/index.vue +15 -9
- package/src/components/Expandable/main.vue +17 -2
- package/src/components/FileImport/index.vue +4 -5
- package/src/components/FileUploadTable/FileUploadTableV3.vue +937 -0
- package/src/components/FileUploadTable/aiCheckDialog.vue +139 -0
- package/src/components/FileUploadTable/index.vue +251 -33
- package/src/components/FileUploadTable/jytg.svg +6 -0
- package/src/components/FileUploadTable/wsc.svg +3 -0
- package/src/components/FileUploadTable/ysc.svg +3 -0
- package/src/components/HandlingAdvice/index.vue +191 -0
- package/src/components/InputAccount/index.vue +105 -0
- package/src/components/InputNumber/index.vue +16 -4
- package/src/components/InputNumber/numberRange.vue +14 -0
- package/src/components/InputSearch/index.vue +8 -0
- package/src/components/Layout/HeaderWrap/changePwd.vue +50 -23
- package/src/components/Layout/HeaderWrap/index.vue +2 -2
- package/src/components/Layout/HeaderWrap/indexN.vue +296 -119
- package/src/components/Layout/SubContent/index.vue +45 -14
- package/src/components/Layout/indexN.vue +26 -5
- package/src/components/LoginTemporary/form.vue +126 -34
- package/src/components/LoginTemporary/index.vue +14 -3
- package/src/components/LoginTemporary/indexN.vue +35 -13
- package/src/components/Preview/index.vue +199 -0
- package/src/components/SelectDatePickerPro/customDatePicker.vue +7 -0
- package/src/components/SelectDatePickerPro/halfYearPicker.vue +165 -0
- package/src/components/SelectDatePickerPro/index.vue +44 -4
- package/src/components/SelectDatePickerPro/quarterDatePicker.vue +32 -10
- package/src/components/SelectTree/index.vue +10 -4
- package/src/components/SelectTree/pro.vue +3 -0
- package/src/components/ShowColumn/index copy 2.vue +545 -0
- package/src/components/ShowColumn/index copy.vue +566 -0
- package/src/components/ShowColumn/index.vue +11 -7
- package/src/components/Statis/statisItem.vue +8 -7
- package/src/components/Table/filters.js +13 -0
- package/src/components/Table/index.vue +4 -4
- package/src/components/TablePro/filterContent.vue +18 -8
- package/src/components/TablePro/index.js +41 -1
- package/src/components/TablePro/index.vue +117 -6
- package/src/components/TableProOperateColumn/OperateBtns.vue +11 -53
- package/src/components/TableProOperateColumn/OperateBtns_copy.vue +141 -0
- package/src/components/TableProOperateColumn/childrenOperateBtn.vue +108 -0
- package/src/components/TableProOperateColumn/index.vue +3 -6
- package/src/components/TableSetSize/index.vue +1 -1
- package/src/components/Tree/index.vue +21 -5
- package/src/components/Upload/index.vue +25 -10
- package/src/components/Upload/uploadMsg.vue +30 -25
- package/src/components/operatingStatus/index.vue +3 -4
- package/src/directives/VTitle/index.js +15 -5
- package/src/directives/watermark/index.js +140 -56
- package/src/i18n.json +146 -18
- package/src/index.js +31 -3
- package/src/plugins/Sign/CaMap.js +47 -8
- package/src/plugins/Sign/Itrus/index.js +1 -1
- package/src/plugins/Sign/Itrus/sign_3720.js +2 -1
- package/src/plugins/Sign/NetSM3/index.js +20 -11
- package/src/plugins/Sign/NetV3/index.js +163 -22
- package/src/plugins/Sign/SkfSign/index.js +55 -52
- package/src/plugins/Sign/bjca/index.js +229 -9
- package/src/plugins/Sign/hnca/index.js +5064 -0
- package/src/plugins/Sign/index.js +155 -103
- package/src/plugins/Sign/kySign/base64.js +160 -0
- package/src/plugins/Sign/kySign/hex.js +92 -0
- package/src/plugins/Sign/kySign/index.js +186 -0
- package/src/plugins/Sign/kySign/skf.js +937 -0
- package/src/plugins/Sign/kySign/test.html +463 -0
- package/src/plugins/Sign/sdca/index.js +73 -0
- package/src/plugins/Sign/sign.js +72 -52
- package/src/plugins/Sign/signV3/InfosecNetSignCNGAgent.min.js +1 -0
- package/src/plugins/Sign/signV3/sign.js +187 -0
- package/src/plugins/Sign/sign_back.js +172 -0
- package/src/utils/accountFormat.js +7 -0
- package/src/utils/asyncGetRelaNos.js +79 -46
- package/src/utils/axios.js +3 -5
- package/src/utils/i18n/index.js +1 -1
- package/src/utils/importGlobal.js +23 -12
- package/style/fonts/SIMSUN.5e0c362c.ttf +0 -0
- package/style/index.css +2 -2
- package/theme/blue.css +2 -2
- package/theme/cctcRed.css +2 -2
- package/theme/fonts/SIMSUN.5e0c362c.ttf +0 -0
- package/theme/green.css +2 -2
- package/theme/lightBlue.css +2 -2
- package/theme/orange.css +2 -2
- package/theme/purple.css +2 -2
- package/theme/red.css +2 -2
- package/theme/yellow.css +2 -2
package/src/i18n.json
CHANGED
|
@@ -1,4 +1,84 @@
|
|
|
1
1
|
{
|
|
2
|
+
"输入关键字进行过滤": {
|
|
3
|
+
"en": "Enter keywords to filter",
|
|
4
|
+
"th": "กรอกคีย์เวิร์ดเพื่อกรอง",
|
|
5
|
+
"vi": "Nhập từ khóa để lọc"
|
|
6
|
+
},
|
|
7
|
+
"并审批下一条": {
|
|
8
|
+
"en": "And approve the next one",
|
|
9
|
+
"th": "และอนุมัติคำสั่งต่อไป",
|
|
10
|
+
"vi": "Và phê duyệt tiếp theo"
|
|
11
|
+
},
|
|
12
|
+
"至": {
|
|
13
|
+
"en": "to",
|
|
14
|
+
"th": "ถึง",
|
|
15
|
+
"vi": "đến"
|
|
16
|
+
},
|
|
17
|
+
"此处只可设置个人自定义常用审批意见,全局需到工作流审批意见设置中设置": {
|
|
18
|
+
"en": "You can only set personal custom common phrases here. The global setting needs to be set in the workflow approval opinion setting.",
|
|
19
|
+
"th": "คุณสามารถตั้งค่าคำพูดที่กำหนดเองสำหรับบุคคลเท่านั้น การตั้งค่าระบบต้องทำในการตั้งค่าคำอธิบายการอนุมัติของไลน์ทำงาน",
|
|
20
|
+
"vi": "Bạn chỉ có thể thiết lập cụm từ tùy chỉnh cá nhân tại đây. Cài đặt toàn cầu cần được thiết lập trong cài đặt ý kiến phê duyệt của luồng công việc."
|
|
21
|
+
},
|
|
22
|
+
"常用审批意见,选择后将自动填充至下方输入框,您可在此基础上修改": {
|
|
23
|
+
"en": "Common approval opinions, select to automatically fill in the input box below, you can modify it on this basis",
|
|
24
|
+
"th": "คำอธิบายการอนุมัติที่ใช้บ่อย คุณสามารถเลือกเพื่อใส่ในช่องกรอกข้อความ คุณสามารถแก้ไขข้อความตามต้องการ",
|
|
25
|
+
"vi": "Ý kiến phê duyệt thường dùng, chọn để tự động điền vào hộp nhập liệu bên dưới, bạn có thể sửa đổi nó trên cơ sở này"
|
|
26
|
+
},
|
|
27
|
+
"全局": {
|
|
28
|
+
"en": "System",
|
|
29
|
+
"th": "ระบบ",
|
|
30
|
+
"vi": "Hệ thống"
|
|
31
|
+
},
|
|
32
|
+
"保存为常用审批意见": {
|
|
33
|
+
"en": "Save as a common phrase",
|
|
34
|
+
"th": "บันทึกเป็นคำพูดที่ใช้บ่อย",
|
|
35
|
+
"vi": "Lưu làm cụm từ thường dùng"
|
|
36
|
+
},
|
|
37
|
+
"常用审批意见": {
|
|
38
|
+
"en": "Common phrase",
|
|
39
|
+
"th": "คำพูดที่ใช้บ่อย",
|
|
40
|
+
"vi": "Cụm từ thường dùng"
|
|
41
|
+
},
|
|
42
|
+
"设置自定义审批意见": {
|
|
43
|
+
"en": "Set custom common phrase",
|
|
44
|
+
"th": "ตั้งค่าคำพูดที่ใช้บ่อยที่กำหนดเอง",
|
|
45
|
+
"vi": "Thiết lập cụm từ thường dùng tùy chỉnh"
|
|
46
|
+
},
|
|
47
|
+
"最近三年": {
|
|
48
|
+
"en": "Recent 3 years",
|
|
49
|
+
"th": "3ปีที่ผ่านมา",
|
|
50
|
+
"vi": "3 năm gần đây"
|
|
51
|
+
},
|
|
52
|
+
"请先上传附件": {
|
|
53
|
+
"en": "Please upload the attachment first",
|
|
54
|
+
"th": "กรุณาอัปโหลดไฟล์แนบก่อน",
|
|
55
|
+
"vi": "Vui lòng tải lên tệp đính kèm trước"
|
|
56
|
+
},
|
|
57
|
+
"证书颁发": {
|
|
58
|
+
"en": "Certificate Issuance",
|
|
59
|
+
"th": "การออกใบรับรอง",
|
|
60
|
+
"vi": "Cấp chứng chỉ"
|
|
61
|
+
},
|
|
62
|
+
"风险指令": {
|
|
63
|
+
"en": "Risk Instruction",
|
|
64
|
+
"th": "คำสั่งควบคุมความเสี่ยง",
|
|
65
|
+
"vi": "Hướng dẫn về Rủi ro"
|
|
66
|
+
},
|
|
67
|
+
"异常指令": {
|
|
68
|
+
"en": "Abnormal Instruction",
|
|
69
|
+
"th": "คำสั่งผิดปกติ",
|
|
70
|
+
"vi": "Hướng dẫn về Tình huống bất thường"
|
|
71
|
+
},
|
|
72
|
+
"核实无误": {
|
|
73
|
+
"en": "Verify",
|
|
74
|
+
"th": "ตรวจสอบ",
|
|
75
|
+
"vi": "Xác minh"
|
|
76
|
+
},
|
|
77
|
+
"*点击【核实无误】将提交校验通过和待确认数据,未通过数据需要到待审核详情页处理。": {
|
|
78
|
+
"en": "Click on the button to submit the data that has been verified and confirmed. The data that has not been verified needs to be processed in the details page.",
|
|
79
|
+
"th": "คลิกที่ปุ่มเพื่อส่งข้อมูลที่ได้รับการตรวจสอบและยืนยัน ข้อมูลที่ไม่ได้รับการตรวจสอบต้องทำการประมวลผลในหน้ารายละเอียด",
|
|
80
|
+
"vi": "Nhấp vào nút để gửi dữ liệu đã được xác minh và xác nhận. Dữ liệu chưa được xác minh cần được xử lý trong trang chi tiết."
|
|
81
|
+
},
|
|
2
82
|
"财司综合业务系统": {
|
|
3
83
|
"en": "Corporate Finance System",
|
|
4
84
|
"th": "ระบบการเงินองค์กร",
|
|
@@ -49,6 +129,11 @@
|
|
|
49
129
|
"th": "ระบบการจัดการเงินสำหรับกลุ่ม",
|
|
50
130
|
"vi": "Hệ thống Quản lý Tài chính Công ty"
|
|
51
131
|
},
|
|
132
|
+
"云服务平台": {
|
|
133
|
+
"en": "Corporate Finance System",
|
|
134
|
+
"th": "ระบบการเงินธุรกิจ",
|
|
135
|
+
"vi": "Hệ thống Quản lý Tài chính Công ty"
|
|
136
|
+
},
|
|
52
137
|
"筛选": {
|
|
53
138
|
"en": "Filter",
|
|
54
139
|
"th": "กรอง",
|
|
@@ -215,7 +300,7 @@
|
|
|
215
300
|
"vi": "Không"
|
|
216
301
|
},
|
|
217
302
|
"请选择": {
|
|
218
|
-
"en": "
|
|
303
|
+
"en": "PleaseSelect",
|
|
219
304
|
"th": "โปรดเลือก",
|
|
220
305
|
"vi": "Vui lòng chọn"
|
|
221
306
|
},
|
|
@@ -385,7 +470,7 @@
|
|
|
385
470
|
"vi": "Trang"
|
|
386
471
|
},
|
|
387
472
|
"请输入": {
|
|
388
|
-
"en": "Please
|
|
473
|
+
"en": "Please Enter",
|
|
389
474
|
"th": "โปรดป้อน",
|
|
390
475
|
"vi": "Vui lòng nhập"
|
|
391
476
|
},
|
|
@@ -835,7 +920,7 @@
|
|
|
835
920
|
"vi": "Chào mừng đăng nhập"
|
|
836
921
|
},
|
|
837
922
|
"清空": {
|
|
838
|
-
"en": "
|
|
923
|
+
"en": "Clear",
|
|
839
924
|
"th": "ล้าง",
|
|
840
925
|
"vi": "Trống"
|
|
841
926
|
},
|
|
@@ -1075,7 +1160,7 @@
|
|
|
1075
1160
|
"vi": "Một cột hiển thị cột"
|
|
1076
1161
|
},
|
|
1077
1162
|
"最近一月": {
|
|
1078
|
-
"en": "Last
|
|
1163
|
+
"en": "Last month",
|
|
1079
1164
|
"th": "เดือนมกราคมที่แล้ว",
|
|
1080
1165
|
"vi": "Tháng 1 vừa qua"
|
|
1081
1166
|
},
|
|
@@ -1545,7 +1630,7 @@
|
|
|
1545
1630
|
"vi": "Từ chối"
|
|
1546
1631
|
},
|
|
1547
1632
|
"最近三月": {
|
|
1548
|
-
"en": "Last
|
|
1633
|
+
"en": "Last three",
|
|
1549
1634
|
"th": "เดือนมีนาคมที่แล้ว",
|
|
1550
1635
|
"vi": "Tháng ba vừa qua"
|
|
1551
1636
|
},
|
|
@@ -1664,6 +1749,11 @@
|
|
|
1664
1749
|
"th": "ดูแผนภาพกระบวนการ",
|
|
1665
1750
|
"vi": "Xem biểu đồ luồng"
|
|
1666
1751
|
},
|
|
1752
|
+
"查看详情": {
|
|
1753
|
+
"en": "View details",
|
|
1754
|
+
"th": "ดูรายละเอียด",
|
|
1755
|
+
"vi": "Xem chi tiết"
|
|
1756
|
+
},
|
|
1667
1757
|
"请输入应用[": {
|
|
1668
1758
|
"en": "Please enter an application [",
|
|
1669
1759
|
"th": "โปรดป้อนแอปพลิเคชัน [",
|
|
@@ -2155,7 +2245,7 @@
|
|
|
2155
2245
|
"vi": "Kiểu thường dùng"
|
|
2156
2246
|
},
|
|
2157
2247
|
"最近六月": {
|
|
2158
|
-
"en": "Last
|
|
2248
|
+
"en": "Last six",
|
|
2159
2249
|
"th": "เมื่อเดือนมิถุนายนล่าสุด",
|
|
2160
2250
|
"vi": "Tháng 6 gần đây nhất"
|
|
2161
2251
|
},
|
|
@@ -2850,14 +2940,14 @@
|
|
|
2850
2940
|
"vi": "Tên"
|
|
2851
2941
|
},
|
|
2852
2942
|
"请输入用户姓名": {
|
|
2853
|
-
"en": "
|
|
2854
|
-
"th": "
|
|
2943
|
+
"en": "Please enter the user name",
|
|
2944
|
+
"th": "โปรดป้อนชื่อผู้ใช้",
|
|
2855
2945
|
"vi": "Vui lòng nhập tên người dùng"
|
|
2856
2946
|
},
|
|
2857
2947
|
"单位名称": {
|
|
2858
|
-
"en": "
|
|
2859
|
-
"th": "
|
|
2860
|
-
"vi": "
|
|
2948
|
+
"en": "Company name",
|
|
2949
|
+
"th": "ชื่อบริษัท",
|
|
2950
|
+
"vi": "Tên công ty"
|
|
2861
2951
|
},
|
|
2862
2952
|
"请输入单位名称": {
|
|
2863
2953
|
"en": "Please enter the company name",
|
|
@@ -2865,9 +2955,14 @@
|
|
|
2865
2955
|
"vi": "Vui lòng nhập tên công ty"
|
|
2866
2956
|
},
|
|
2867
2957
|
"角色名称": {
|
|
2868
|
-
"en": "
|
|
2869
|
-
"th": "
|
|
2870
|
-
"vi": "
|
|
2958
|
+
"en": "Role name",
|
|
2959
|
+
"th": "ชื่อหน่วยงาน",
|
|
2960
|
+
"vi": "Tên vai trò"
|
|
2961
|
+
},
|
|
2962
|
+
"人员名称": {
|
|
2963
|
+
"en": "User name",
|
|
2964
|
+
"th": "ชื่อผู้ใช้",
|
|
2965
|
+
"vi": "Tên người dùng"
|
|
2871
2966
|
},
|
|
2872
2967
|
"请输入角色名称": {
|
|
2873
2968
|
"en": "Please enter the role name",
|
|
@@ -2929,9 +3024,7 @@
|
|
|
2929
3024
|
"th": "โปรดเลือกความคิดเห็นการอนุมัติ",
|
|
2930
3025
|
"vi": "Vui lòng chọn ý kiến phê duyệt"
|
|
2931
3026
|
},
|
|
2932
|
-
"删除执行": {
|
|
2933
|
-
|
|
2934
|
-
},
|
|
3027
|
+
"删除执行": {},
|
|
2935
3028
|
"抄送人:": {
|
|
2936
3029
|
"en": "Cc:",
|
|
2937
3030
|
"th": "สำเนา:",
|
|
@@ -3436,5 +3529,40 @@
|
|
|
3436
3529
|
"en": "within (up to) characters",
|
|
3437
3530
|
"th": "ใน (ไม่เกิน) ตัวอักษร",
|
|
3438
3531
|
"vi": "trong (tối đa) ký tự"
|
|
3532
|
+
},
|
|
3533
|
+
"PC端审批": {
|
|
3534
|
+
"en": "PC approval",
|
|
3535
|
+
"th": "การอนุมัติบน PC",
|
|
3536
|
+
"vi": "Phe duyệt bằng PC"
|
|
3537
|
+
},
|
|
3538
|
+
"App端审批": {
|
|
3539
|
+
"en": "App approval",
|
|
3540
|
+
"th": "การอนุมัติบน App",
|
|
3541
|
+
"vi": "Phe duyệt bằng App"
|
|
3542
|
+
},
|
|
3543
|
+
"重走流程": {
|
|
3544
|
+
"en": "Re-run the process",
|
|
3545
|
+
"th": "ทำการรีรันด้วยขั้นตอนเดิม",
|
|
3546
|
+
"vi": "Làm lại quy trình"
|
|
3547
|
+
},
|
|
3548
|
+
"不重走流程": {
|
|
3549
|
+
"en": "Do not re-run the process",
|
|
3550
|
+
"th": "ไม่ทำการรีรันด้วยขั้นตอนเดิม",
|
|
3551
|
+
"vi": "Không làm lại quy trình"
|
|
3552
|
+
},
|
|
3553
|
+
"此模式下被回退节点提交后将绕过中间已办节点,造成流程不严谨,谨慎使用!": {
|
|
3554
|
+
"en": "This mode will bypass the middle nodes that have been completed after the node is returned, causing the process to be non-standard. Use with caution!",
|
|
3555
|
+
"th": "เมื่อมีการย้อนกลับไปยังโครงการที่มีการเสร็จสิ้นแล้ว จะทำให้โครงการไม่สมบูรณ์ โปรดใช้ด้วยระวัง!",
|
|
3556
|
+
"vi": "Trong chế độ này, sau khi trả lại, các bước đã hoàn thành sẽ bị bỏ qua, làm cho quy trình không chuẩn xác. Sử dụng với cẩn thận!"
|
|
3557
|
+
},
|
|
3558
|
+
"提交意见": {
|
|
3559
|
+
"en": "Submit opinion",
|
|
3560
|
+
"th": "ส่งข้อเสนอ",
|
|
3561
|
+
"vi": "Gửi ý kiến"
|
|
3562
|
+
},
|
|
3563
|
+
"流程处理": {
|
|
3564
|
+
"en": "Process handling",
|
|
3565
|
+
"th": "การจัดการกระบวนการ",
|
|
3566
|
+
"vi": "Xử lý quy trình"
|
|
3439
3567
|
}
|
|
3440
|
-
}
|
|
3568
|
+
}
|
package/src/index.js
CHANGED
|
@@ -30,10 +30,12 @@ import ExpandablePane from './components/Expandable/main.vue'
|
|
|
30
30
|
import FileExportAsync from './components/FileExportAsync/index.vue'
|
|
31
31
|
import FileImport from './components/FileImport/index.vue'
|
|
32
32
|
import FileUploadTable from './components/FileUploadTable/index.vue'
|
|
33
|
+
import FileUploadTableV3 from './components/FileUploadTable/FileUploadTableV3.vue'
|
|
33
34
|
import Filters from './components/Filters/index.vue'
|
|
34
35
|
import FlowStep from './components/FlowStep/index.vue'
|
|
35
36
|
import FooterBox from './components/FooterBox/index.vue'
|
|
36
37
|
import InputNumber from './components/InputNumber/index.vue'
|
|
38
|
+
import InputAccount from './components/InputAccount/index.vue'
|
|
37
39
|
import InputNumberRange from './components/InputNumber/numberRange.vue'
|
|
38
40
|
import InputSearch from './components/InputSearch/index.vue'
|
|
39
41
|
import NavMenu from './components/NavMenu/index.vue'
|
|
@@ -64,14 +66,19 @@ import Upload from './components/Upload/index.vue'
|
|
|
64
66
|
import WornPagination from './components/WornPagination/index.vue'
|
|
65
67
|
|
|
66
68
|
import AdvancedFilter from './components/AdvancedFilter/index.vue'
|
|
69
|
+
import AttachmentPass from './components/AttachmentPass/index.vue'
|
|
70
|
+
import AIButton from './components/AIButton/index.vue'
|
|
67
71
|
import DateChoose from './components/DateChoose/index.vue'
|
|
68
72
|
import ElectronicArchive from './components/ElectronicArchive/index.vue'
|
|
73
|
+
import HandlingAdvice from './components/HandlingAdvice/index.vue'
|
|
74
|
+
import Preview from './components/Preview/index.vue'
|
|
69
75
|
import SelectTreePro from './components/SelectTree/pro.vue'
|
|
70
76
|
import Tree from './components/Tree/index.vue'
|
|
71
77
|
|
|
72
78
|
// 新版日期选择框
|
|
73
79
|
import BusiDatePicker from './components/DateSelect/busiDate.vue'
|
|
74
80
|
import QuarterDatePicker from './components/DateSelect/quarterDatePicker.vue'
|
|
81
|
+
import HalfYearPicker from './components/SelectDatePickerPro/halfYearPicker.vue'
|
|
75
82
|
import SelectDatePickerPro from './components/SelectDatePickerPro/index.vue'
|
|
76
83
|
import TableTransfer from './components/TableTransfer/index.vue'
|
|
77
84
|
import UploadMsg from './components/Upload/uploadMsg.vue'
|
|
@@ -127,6 +134,7 @@ import list2tree from './utils/list2tree'
|
|
|
127
134
|
import { msgPor, msgboxPor } from './utils/msgboxPor.js'
|
|
128
135
|
import N from './utils/numberPor.js' // 扩展Number
|
|
129
136
|
import { closeTab, linkGo, linkPush } from './utils/urlToGo'
|
|
137
|
+
import { accountFormat } from './utils/accountFormat'
|
|
130
138
|
|
|
131
139
|
import { dayjs, relativeDate, relativeNowDate } from './utils/date.js'
|
|
132
140
|
|
|
@@ -153,6 +161,7 @@ const components = [
|
|
|
153
161
|
ContentNull,
|
|
154
162
|
NavMenu,
|
|
155
163
|
InputSearch,
|
|
164
|
+
InputAccount,
|
|
156
165
|
InputNumber,
|
|
157
166
|
InputNumberRange,
|
|
158
167
|
TimePicker,
|
|
@@ -182,6 +191,7 @@ const components = [
|
|
|
182
191
|
DragList,
|
|
183
192
|
Sifting,
|
|
184
193
|
FileUploadTable,
|
|
194
|
+
FileUploadTableV3,
|
|
185
195
|
FooterBox,
|
|
186
196
|
Filters,
|
|
187
197
|
Table,
|
|
@@ -212,6 +222,7 @@ const components = [
|
|
|
212
222
|
Diff,
|
|
213
223
|
SelectDatePicker,
|
|
214
224
|
SelectDatePickerPro,
|
|
225
|
+
HalfYearPicker,
|
|
215
226
|
QuarterDatePicker,
|
|
216
227
|
BusiDatePicker,
|
|
217
228
|
TableTransfer,
|
|
@@ -222,6 +233,10 @@ const components = [
|
|
|
222
233
|
SelectTreePro,
|
|
223
234
|
AdvancedFilter,
|
|
224
235
|
ElectronicArchive,
|
|
236
|
+
Preview,
|
|
237
|
+
AttachmentPass,
|
|
238
|
+
AIButton,
|
|
239
|
+
HandlingAdvice,
|
|
225
240
|
/* old */
|
|
226
241
|
TableO,
|
|
227
242
|
FiltersO,
|
|
@@ -236,10 +251,14 @@ const components = [
|
|
|
236
251
|
const install = function (Vue, opts = { prefix: 'Cl', i18nConfig: {} }) {
|
|
237
252
|
components.forEach((component) => {
|
|
238
253
|
let name = component.name
|
|
254
|
+
let clName = component.name
|
|
239
255
|
if (!name) return console.error('必须设置组件名称:', component)
|
|
240
|
-
|
|
241
256
|
name = opts.prefix + name.replace(name[0], name[0].toUpperCase())
|
|
242
257
|
Vue.component(name, component)
|
|
258
|
+
if (opts.prefix !== 'Cl') {
|
|
259
|
+
clName = 'Cl' + name.replace(name[0], name[0].toUpperCase())
|
|
260
|
+
Vue.component(clName, component)
|
|
261
|
+
}
|
|
243
262
|
})
|
|
244
263
|
|
|
245
264
|
Object.keys(fitlers).forEach((key) => {
|
|
@@ -255,7 +274,7 @@ const install = function (Vue, opts = { prefix: 'Cl', i18nConfig: {} }) {
|
|
|
255
274
|
Vue.use(VHas)
|
|
256
275
|
Vue.use(VTableLoading)
|
|
257
276
|
Vue.use(VErrorMessage)
|
|
258
|
-
Vue.use(watermark)
|
|
277
|
+
// Vue.use(watermark)
|
|
259
278
|
|
|
260
279
|
Vue.use(i18n, opts.i18nConfig)
|
|
261
280
|
Vue.prototype.$axios = axios
|
|
@@ -291,6 +310,8 @@ export {
|
|
|
291
310
|
ApprovalRecordZjk,
|
|
292
311
|
ApproveCard,
|
|
293
312
|
ApproveCardZjk,
|
|
313
|
+
AttachmentPass,
|
|
314
|
+
AIButton,
|
|
294
315
|
BusiDatePicker,
|
|
295
316
|
Button,
|
|
296
317
|
ButtonGroup,
|
|
@@ -314,11 +335,15 @@ export {
|
|
|
314
335
|
FileExportAsync,
|
|
315
336
|
FileImport,
|
|
316
337
|
FileUploadTable,
|
|
338
|
+
FileUploadTableV3,
|
|
317
339
|
Filters,
|
|
318
340
|
FlowDialog,
|
|
319
341
|
FlowStep,
|
|
320
342
|
FooterBox,
|
|
343
|
+
HalfYearPicker,
|
|
344
|
+
HandlingAdvice,
|
|
321
345
|
IconGroupButton,
|
|
346
|
+
InputAccount,
|
|
322
347
|
InputNumber,
|
|
323
348
|
InputNumberRange,
|
|
324
349
|
InputSearch,
|
|
@@ -327,6 +352,7 @@ export {
|
|
|
327
352
|
Page,
|
|
328
353
|
PageHeader,
|
|
329
354
|
Pagination,
|
|
355
|
+
Preview,
|
|
330
356
|
QuarterDatePicker,
|
|
331
357
|
SecondaryTab,
|
|
332
358
|
SelectDatePicker,
|
|
@@ -390,5 +416,7 @@ export {
|
|
|
390
416
|
// 页签/路由
|
|
391
417
|
setTabs,
|
|
392
418
|
type,
|
|
393
|
-
version
|
|
419
|
+
version,
|
|
420
|
+
watermark,
|
|
421
|
+
accountFormat
|
|
394
422
|
}
|
|
@@ -2,41 +2,80 @@
|
|
|
2
2
|
export default {
|
|
3
3
|
null: {
|
|
4
4
|
name: '信安CA',
|
|
5
|
-
|
|
5
|
+
path: './sign.js',
|
|
6
|
+
type: 'inetSign',
|
|
7
|
+
needAvailable: true
|
|
8
|
+
},
|
|
9
|
+
kySign: {
|
|
10
|
+
name: '科友CA',
|
|
11
|
+
type: 'kySign',
|
|
12
|
+
supplier: 'kySign',
|
|
13
|
+
path: './kySign/index.js',
|
|
14
|
+
needAvailable: true
|
|
6
15
|
},
|
|
7
16
|
inetSign: {
|
|
8
17
|
name: '信安CA',
|
|
9
18
|
type: 'inetSign',
|
|
10
|
-
supplier: 'inetSign'
|
|
19
|
+
supplier: 'inetSign',
|
|
20
|
+
path: './sign.js',
|
|
21
|
+
needAvailable: true
|
|
22
|
+
},
|
|
23
|
+
// 信安3.0sdk
|
|
24
|
+
signV3: {
|
|
25
|
+
name: '信安CA',
|
|
26
|
+
type: 'inetSign',
|
|
27
|
+
supplier: 'inetSign',
|
|
28
|
+
path: './signV3/sign.js',
|
|
29
|
+
needAvailable: true
|
|
11
30
|
},
|
|
12
31
|
bjcaSign: {
|
|
13
32
|
name: '北京CA',
|
|
14
33
|
type: 'bjcaSign',
|
|
15
|
-
supplier: 'bjca'
|
|
34
|
+
supplier: 'bjca',
|
|
35
|
+
path: './bjca/index.js'
|
|
16
36
|
},
|
|
17
37
|
ItrusSign: {
|
|
18
38
|
name: '天威CA',
|
|
19
39
|
type: 'ItrusSign',
|
|
20
|
-
supplier: 'Itrus'
|
|
40
|
+
supplier: 'Itrus',
|
|
41
|
+
path: (p3) => (p3 === '3720' ? './Itrus/sign_3720.js' : './Itrus/index.js')
|
|
21
42
|
},
|
|
22
43
|
SkfSign: {
|
|
23
44
|
name: '信安国密',
|
|
24
45
|
type: 'SkfSign',
|
|
25
|
-
supplier: 'NetServerSkf'
|
|
46
|
+
supplier: 'NetServerSkf',
|
|
47
|
+
path: './SkfSign/index.js',
|
|
48
|
+
needAvailable: true
|
|
26
49
|
},
|
|
27
50
|
netcaSign: {
|
|
28
51
|
name: '网证通',
|
|
29
52
|
type: 'netcaSign',
|
|
30
|
-
supplier: 'netca'
|
|
53
|
+
supplier: 'netca',
|
|
54
|
+
path: './netca/index.js'
|
|
31
55
|
},
|
|
32
56
|
NetSM3: {
|
|
33
57
|
name: '信安国密软签',
|
|
34
58
|
type: 'NetSM3',
|
|
35
|
-
supplier: 'NetSM3'
|
|
59
|
+
supplier: 'NetSM3',
|
|
60
|
+
path: './NetSM3/index.js',
|
|
61
|
+
needAvailable: true
|
|
36
62
|
},
|
|
37
63
|
cfcaSign: {
|
|
38
64
|
name: 'CFCA',
|
|
39
65
|
type: 'cfcaSign',
|
|
40
|
-
supplier: 'cfca'
|
|
66
|
+
supplier: 'cfca',
|
|
67
|
+
path: './cfca/index.js'
|
|
68
|
+
},
|
|
69
|
+
sdcaSign: {
|
|
70
|
+
name: '山地CA',
|
|
71
|
+
type: 'sdcaSign',
|
|
72
|
+
supplier: 'sdca',
|
|
73
|
+
path: './sdca/index.js'
|
|
74
|
+
},
|
|
75
|
+
hncaSign: {
|
|
76
|
+
name: '湖南CA',
|
|
77
|
+
type: 'hncaSign',
|
|
78
|
+
supplier: 'hnca',
|
|
79
|
+
path: './hnca/index.js'
|
|
41
80
|
}
|
|
42
81
|
}
|
|
@@ -1804,6 +1804,7 @@ function getDN() {
|
|
|
1804
1804
|
|
|
1805
1805
|
// 签名方法
|
|
1806
1806
|
export function getSign(plain, dn) {
|
|
1807
|
+
let plainText = undefined
|
|
1807
1808
|
if (typeof plain === 'object') {
|
|
1808
1809
|
plainText = JSON.stringify(plain)
|
|
1809
1810
|
} else {
|
|
@@ -1829,7 +1830,7 @@ export function getSign(plain, dn) {
|
|
|
1829
1830
|
}
|
|
1830
1831
|
}
|
|
1831
1832
|
if (sginCert) {
|
|
1832
|
-
return sginCert.signMessage(
|
|
1833
|
+
return sginCert.signMessage(plainText, false)
|
|
1833
1834
|
} else {
|
|
1834
1835
|
Message.warning('没有匹配到证书!')
|
|
1835
1836
|
}
|
|
@@ -134,19 +134,28 @@ export async function getSign(plain, dn) {
|
|
|
134
134
|
|
|
135
135
|
export async function getCertInfo(dn) {
|
|
136
136
|
return new Promise((resolve, reject) => {
|
|
137
|
+
let arg
|
|
138
|
+
if (
|
|
139
|
+
navigator.platform.toLowerCase().includes('linux') ||
|
|
140
|
+
navigator.userAgent.toLowerCase().includes('linux') ||
|
|
141
|
+
// 检查是否为银河麒麟特有的环境变量或特征
|
|
142
|
+
typeof window.KylinOS !== 'undefined' ||
|
|
143
|
+
document.documentElement.dataset.osType === 'kylin'
|
|
144
|
+
) {
|
|
145
|
+
arg = window.VUE_APP_NetSign_ARG_Linux
|
|
146
|
+
} else {
|
|
147
|
+
arg = process.env.VUE_APP_NetSign_ARG || window.VUE_APP_NetSign_ARG || 'ShuttleCsp11_3000GM.dll'
|
|
148
|
+
}
|
|
137
149
|
// 获取证书列表
|
|
138
|
-
IWSASkfGetCertList(
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
const checkRes = verifyDn(CertListData, dn)
|
|
146
|
-
resolve(checkRes)
|
|
147
|
-
}
|
|
150
|
+
IWSASkfGetCertList(arg, (CertListData, errorCode) => {
|
|
151
|
+
if (errorCode) {
|
|
152
|
+
Message.error(codeDate[errorCode] || errorCode)
|
|
153
|
+
reject()
|
|
154
|
+
} else {
|
|
155
|
+
const checkRes = verifyDn(CertListData, dn)
|
|
156
|
+
resolve(checkRes)
|
|
148
157
|
}
|
|
149
|
-
)
|
|
158
|
+
})
|
|
150
159
|
})
|
|
151
160
|
}
|
|
152
161
|
|