gcs-ui-lib 1.2.34 → 1.2.35

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 (34) hide show
  1. package/lib/gcs-ui-lib.common.js +3493 -4211
  2. package/lib/gcs-ui-lib.css +1 -1
  3. package/lib/gcs-ui-lib.umd.js +3493 -4211
  4. package/lib/gcs-ui-lib.umd.min.js +85 -85
  5. package/package.json +2 -9
  6. package/packages/AutoFillDetail/src/main.vue +4 -4
  7. package/packages/AutoFillDetection/src/components/SelectEntries.vue +1 -1
  8. package/packages/AutoFillDetection/src/components/THIRD_ACCOUNT.vue +1 -1
  9. package/packages/AutoFillDetection/src/components/config.js +68 -68
  10. package/packages/AutoFillDetection/src/main.vue +1 -1
  11. package/packages/AutoFillList/src/components/config.js +11 -11
  12. package/packages/AutoFillList/src/main.vue +2 -2
  13. package/packages/AutoFillRuleHistory/src/components/config.js +14 -14
  14. package/packages/AutoFillRuleHistory/src/main.vue +1 -1
  15. package/packages/AutoFillService/src/components/ConditionGroup.vue +18 -18
  16. package/packages/AutoFillService/src/components/basic.vue +2 -2
  17. package/packages/AutoFillService/src/components/config.js +1 -1
  18. package/packages/AutoFillService/src/components/fillDetail.vue +8 -8
  19. package/packages/AutoFillService/src/components/fillRules.vue +5 -5
  20. package/packages/AutoFillService/src/components/paymentCategory.vue +1 -1
  21. package/packages/MergeAutoFill/merge/merageBasic.vue +3 -3
  22. package/packages/MergeAutoFill/merge/merageFillService.vue +2 -2
  23. package/packages/MergeAutoFill/merge/merageHistoryRules.vue +1 -1
  24. package/packages/MergeAutoFill/merge/mergeFillDetail.vue +4 -4
  25. package/packages/StreamRefill/src/main.vue +1 -1
  26. package/packages/Trade/src/components/i18n.json +3337 -3337
  27. package/src/index.js +8 -1
  28. package/src/lang/i18n.json +1184 -0
  29. package/src/lang/mergeI18n.js +27 -0
  30. package/src/preview/router.js +0 -5
  31. package/src/utils/exportPageSnapshot.js +728 -1037
  32. package/packages/ExportPageSnapshot/index.js +0 -7
  33. package/packages/ExportPageSnapshot/src/demo/index.vue +0 -352
  34. package/packages/ExportPageSnapshot/src/main.vue +0 -108
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gcs-ui-lib",
3
- "version": "1.2.34",
3
+ "version": "1.2.35",
4
4
  "private": false,
5
5
  "main": "./lib/gcs-ui-lib.common.js",
6
6
  "scripts": {
@@ -13,19 +13,12 @@
13
13
  "async": "cnpm sync gcs-ui-lib",
14
14
  "pro": "npm run lib && npm publish --registry https://registry.npmjs.org && npm run async",
15
15
  "publish:tag": "npm publish && npm run tag",
16
+ "publish": "npm publish",
16
17
  "tag": "git tag -a v%npm_package_version% -m \"Release v%npm_package_version%\" && git push origin v%npm_package_version%"
17
18
  },
18
19
  "dependencies": {
19
20
  "core-js": "^3.6.5",
20
21
  "fflate": "^0.8.2",
21
- "html2canvas": "^1.4.1",
22
- "jspdf": "^2.5.1",
23
- "canvg": "^3.0.10",
24
- "dompurify": "^2.5.8",
25
- "raf": "^3.4.1",
26
- "rgbcolor": "^1.0.1",
27
- "stackblur-canvas": "^2.6.0",
28
- "svg-pathdata": "^6.0.3",
29
22
  "js-cookie": "^3.0.1",
30
23
  "moment": "^2.30.1",
31
24
  "qs": "^6.14.0",
@@ -145,19 +145,19 @@ export default {
145
145
  // 1:收款补填规则 2:付款补填规则
146
146
  },
147
147
  },
148
- data() {
148
+ data(vm) {
149
149
  return {
150
150
  options: [],
151
151
  dayjs,
152
152
  tableData: [],
153
153
  list: [
154
154
  {
155
- name: "匹配规则",
155
+ name: vm.$l("匹配规则"),
156
156
  value: "ConditionGroup",
157
157
  },
158
- { name: "补填信息", value: "FillDetail" },
158
+ { name: vm.$l("补填信息"), value: "FillDetail" },
159
159
  ],
160
- activeName: "匹配规则",
160
+ activeName: vm.$l("匹配规则"),
161
161
  activeValue: "ConditionGroup",
162
162
  detail: {
163
163
  matchingFillDimensions: [],
@@ -127,7 +127,7 @@ export default {
127
127
  });
128
128
  },
129
129
  handleSubmit() {
130
- if (!this.selectRow) return this.$message.error("请选择流水");
130
+ if (!this.selectRow) return this.$message.error(this.$l("请选择流水"));
131
131
  this.$emit("handleSubmit", this.selectRow);
132
132
  },
133
133
  makeParams() {
@@ -141,7 +141,7 @@ export default {
141
141
  return this.tableData.length;
142
142
  },
143
143
  handleSubmit() {
144
- if (!this.selectRow) return this.$message.error("请选择流水");
144
+ if (!this.selectRow) return this.$message.error(this.$l("请选择流水"));
145
145
  this.$emit("handleSubmit", this.selectRow);
146
146
  },
147
147
  makeParams() {
@@ -3,21 +3,21 @@ import { $l } from "n20-common-lib/src/utils/i18n";
3
3
  export const filterList = [
4
4
 
5
5
  {
6
- label: "明细ID",
6
+ label: $l("明细ID"),
7
7
  value: "recordId",
8
8
  type: "text",
9
9
  isDefault: true,
10
10
  id: "recordId",
11
11
  },
12
12
  {
13
- label: "本方账号",
13
+ label: $l("本方账号"),
14
14
  value: "accountNo",
15
15
  type: "text",
16
16
  isDefault: true,
17
17
  id: "accountNo",
18
18
  },
19
19
  {
20
- label: "摘要",
20
+ label: $l("摘要"),
21
21
  value: "explain",
22
22
  type: "text",
23
23
  isDefault: true,
@@ -25,28 +25,28 @@ export const filterList = [
25
25
  },
26
26
  {
27
27
  id: "startRecordDate",
28
- label: "业务日期",
28
+ label: $l("业务日期"),
29
29
  type: "daterange",
30
30
  isDefault: true,
31
31
  startDate: "startRecordDate",
32
32
  endDate: "endRecordDate",
33
33
  },
34
34
  {
35
- label: "对方账号",
35
+ label: $l("对方账号"),
36
36
  value: "opAccountNo",
37
37
  type: "text",
38
38
  isDefault: true,
39
39
  id: "opAccountNo",
40
40
  },
41
41
  {
42
- label: "备注",
42
+ label: $l("备注"),
43
43
  value: "remark",
44
44
  type: "text",
45
45
  id: "remark",
46
46
  isDefault: true,
47
47
  },
48
48
  {
49
- label: "附言",
49
+ label: $l("附言"),
50
50
  value: "postScript",
51
51
  type: "text",
52
52
  isDefault: true,
@@ -55,14 +55,14 @@ export const filterList = [
55
55
  ];
56
56
  export const third_filterList = [
57
57
  {
58
- label: "明细ID",
58
+ label: $l("明细ID"),
59
59
  value: "recordId",
60
60
  type: "text",
61
61
  isDefault: true,
62
62
  id: "recordId",
63
63
  },
64
64
  {
65
- label: "本方账号",
65
+ label: $l("本方账号"),
66
66
  value: "accountNo",
67
67
  type: "text",
68
68
  isDefault: true,
@@ -70,28 +70,28 @@ export const third_filterList = [
70
70
  },
71
71
  {
72
72
  id: "startRecordDate",
73
- label: "业务日期",
73
+ label: $l("业务日期"),
74
74
  type: "daterange",
75
75
  isDefault: true,
76
76
  startDate: "startRecordDate",
77
77
  endDate: "endRecordDate",
78
78
  },
79
79
  {
80
- label: "对方账号",
80
+ label: $l("对方账号"),
81
81
  value: "opAccountNo",
82
82
  type: "text",
83
83
  isDefault: true,
84
84
  id: "opAccountNo",
85
85
  },
86
86
  {
87
- label: "动账原因",
87
+ label: $l("动账原因"),
88
88
  value: "postScript",
89
89
  type: "text",
90
90
  id: "postScript",
91
91
  isDefault: true,
92
92
  },
93
93
  {
94
- label: "备注",
94
+ label: $l("备注"),
95
95
  value: "remark",
96
96
  type: "text",
97
97
  id: "remark",
@@ -107,55 +107,55 @@ export const tableHeader = [
107
107
  },
108
108
  {
109
109
  type: "seq",
110
- label: "序号",
110
+ label: $l("序号"),
111
111
  width: "56",
112
112
  fixed: "left",
113
113
  align: "center",
114
114
  },
115
115
  {
116
- label: "明细ID",
116
+ label: $l("明细ID"),
117
117
  prop: "recordId",
118
118
  align: "center",
119
119
  minWidth: "144",
120
120
  "show-overflow-tooltip": true,
121
121
  },
122
122
  {
123
- label: "单位编号",
123
+ label: $l("单位编号"),
124
124
  prop: "unitNo",
125
125
  align: "center",
126
126
  minWidth: "144",
127
127
  "show-overflow-tooltip": true,
128
128
  },
129
129
  {
130
- label: "单位名称",
130
+ label: $l("单位名称"),
131
131
  prop: "unitName",
132
132
  width: "230",
133
133
  "show-overflow-tooltip": true,
134
134
  align: "left",
135
135
  },
136
136
  {
137
- label: "本方开户行",
137
+ label: $l("本方开户行"),
138
138
  prop: "branchBankName",
139
139
  align: "left",
140
140
  width: "268",
141
141
  "show-overflow-tooltip": true,
142
142
  },
143
143
  {
144
- label: "本方账号",
144
+ label: $l("本方账号"),
145
145
  prop: "accountNo",
146
146
  align: "center",
147
147
  width: "190",
148
148
  "show-overflow-tooltip": true,
149
149
  },
150
150
  {
151
- label: "本方户名",
151
+ label: $l("本方户名"),
152
152
  prop: "accountName",
153
153
  align: "left",
154
154
  width: "240",
155
155
  "show-overflow-tooltip": true,
156
156
  },
157
157
  {
158
- label: "日期",
158
+ label: $l("日期"),
159
159
  prop: "recordDate",
160
160
  align: "center",
161
161
  width: "120",
@@ -163,21 +163,21 @@ export const tableHeader = [
163
163
  "show-overflow-tooltip": true,
164
164
  },
165
165
  {
166
- label: "币种",
166
+ label: $l("币种"),
167
167
  prop: "currencyName",
168
168
  align: "center",
169
169
  width: "114",
170
170
  "show-overflow-tooltip": true,
171
171
  },
172
172
  {
173
- label: "收支方向",
173
+ label: $l("收支方向"),
174
174
  prop: "balanceDirName",
175
175
  align: "center",
176
176
  width: "114",
177
177
  "show-overflow-tooltip": true,
178
178
  },
179
179
  {
180
- label: "金额",
180
+ label: $l("金额"),
181
181
  prop: "amount",
182
182
  align: "right",
183
183
  width: "190",
@@ -186,56 +186,56 @@ export const tableHeader = [
186
186
  "show-overflow-tooltip": true,
187
187
  },
188
188
  {
189
- label: "对方账号",
189
+ label: $l("对方账号"),
190
190
  prop: "opAccountNo",
191
191
  align: "center",
192
192
  width: "190",
193
193
  "show-overflow-tooltip": true,
194
194
  },
195
195
  {
196
- label: "对方户名",
196
+ label: $l("对方户名"),
197
197
  prop: "opAccountName",
198
198
  align: "left",
199
199
  width: "240",
200
200
  "show-overflow-tooltip": true,
201
201
  },
202
202
  {
203
- label: "对方开户行",
203
+ label: $l("对方开户行"),
204
204
  prop: "opBranchBankName",
205
205
  align: "left",
206
206
  width: "268",
207
207
  "show-overflow-tooltip": true,
208
208
  },
209
209
  {
210
- label: "摘要",
210
+ label: $l("摘要"),
211
211
  prop: "summary",
212
212
  align: "left",
213
213
  width: "170",
214
214
  "show-overflow-tooltip": true,
215
215
  },
216
216
  {
217
- label: "附言",
217
+ label: $l("附言"),
218
218
  prop: "postScript",
219
219
  align: "left",
220
220
  width: "170",
221
221
  "show-overflow-tooltip": true,
222
222
  },
223
223
  {
224
- label: "备注",
224
+ label: $l("备注"),
225
225
  prop: "remark",
226
226
  align: "left",
227
227
  width: "170",
228
228
  "show-overflow-tooltip": true,
229
229
  },
230
230
  {
231
- label: "银行流水号",
231
+ label: $l("银行流水号"),
232
232
  prop: "hostId",
233
233
  align: "center",
234
234
  width: "170",
235
235
  "show-overflow-tooltip": true,
236
236
  },
237
237
  {
238
- label: "银行单据号",
238
+ label: $l("银行单据号"),
239
239
  prop: "ticketNumber",
240
240
  align: "center",
241
241
  width: "170",
@@ -251,62 +251,62 @@ export const third_tableHeader = [
251
251
  },
252
252
  {
253
253
  type: "seq",
254
- label: "序号",
254
+ label: $l("序号"),
255
255
  width: "56",
256
256
  fixed: "left",
257
257
  align: "center",
258
258
  },
259
259
  {
260
- label: "明细ID",
260
+ label: $l("明细ID"),
261
261
  prop: "recordId",
262
262
  align: "center",
263
263
  minWidth: "144",
264
264
  "show-overflow-tooltip": true,
265
265
  },
266
266
  {
267
- label: "单位编号",
267
+ label: $l("单位编号"),
268
268
  prop: "unitNo",
269
269
  align: "center",
270
270
  minWidth: "144",
271
271
  "show-overflow-tooltip": true,
272
272
  },
273
273
  {
274
- label: "单位名称",
274
+ label: $l("单位名称"),
275
275
  prop: "unitName",
276
276
  width: "230",
277
277
  "show-overflow-tooltip": true,
278
278
  align: "left",
279
279
  },
280
280
  // {
281
- // label: "本方开户行",
281
+ // label: $l("本方开户行"),
282
282
  // prop: "branchBankName",
283
283
  // align: "left",
284
284
  // width: "268",
285
285
  // "show-overflow-tooltip": true,
286
286
  // },
287
287
  {
288
- label: "本方账号",
288
+ label: $l("本方账号"),
289
289
  prop: "accountNo",
290
290
  align: "center",
291
291
  width: "190",
292
292
  "show-overflow-tooltip": true,
293
293
  },
294
294
  {
295
- label: "本方户名",
295
+ label: $l("本方户名"),
296
296
  prop: "accountName",
297
297
  align: "left",
298
298
  width: "240",
299
299
  "show-overflow-tooltip": true,
300
300
  },
301
301
  {
302
- label: "币种",
302
+ label: $l("币种"),
303
303
  prop: "currencyName",
304
304
  align: "center",
305
305
  width: "114",
306
306
  "show-overflow-tooltip": true,
307
307
  },
308
308
  {
309
- label: "业务日期",
309
+ label: $l("业务日期"),
310
310
  prop: "recordDate",
311
311
  align: "center",
312
312
  width: "120",
@@ -314,7 +314,7 @@ export const third_tableHeader = [
314
314
  "show-overflow-tooltip": true,
315
315
  },
316
316
  {
317
- label: "金融机构",
317
+ label: $l("金融机构"),
318
318
  prop: "bankName",
319
319
  align: "center",
320
320
  width: "180",
@@ -323,7 +323,7 @@ export const third_tableHeader = [
323
323
 
324
324
 
325
325
  {
326
- label: "金额",
326
+ label: $l("金额"),
327
327
  prop: "amount",
328
328
  align: "right",
329
329
  width: "190",
@@ -332,49 +332,49 @@ export const third_tableHeader = [
332
332
  "show-overflow-tooltip": true,
333
333
  },
334
334
  {
335
- label: "对方账号",
335
+ label: $l("对方账号"),
336
336
  prop: "opAccountNo",
337
337
  align: "center",
338
338
  width: "190",
339
339
  "show-overflow-tooltip": true,
340
340
  },
341
341
  {
342
- label: "动账原因",
342
+ label: $l("动账原因"),
343
343
  prop: "postScript",
344
344
  align: "center",
345
345
  width: "170",
346
346
  "show-overflow-tooltip": true,
347
347
  },
348
348
  {
349
- label: "商户代码",
349
+ label: $l("商户代码"),
350
350
  prop: "merchantCode",
351
351
  align: "center",
352
352
  width: "144",
353
353
  "show-overflow-tooltip": true,
354
354
  },
355
355
  {
356
- label: "商户名称",
356
+ label: $l("商户名称"),
357
357
  prop: "merchantName",
358
358
  align: "center",
359
359
  width: "180",
360
360
  "show-overflow-tooltip": true,
361
361
  },
362
362
  {
363
- label: "支付交易号",
363
+ label: $l("支付交易号"),
364
364
  prop: "paymentTransactionNumber",
365
365
  align: "center",
366
366
  width: "160",
367
367
  "show-overflow-tooltip": true,
368
368
  },
369
369
  {
370
- label: "平台订单号",
370
+ label: $l("平台订单号"),
371
371
  prop: "platformOrderNumber",
372
372
  align: "center",
373
373
  width: "160",
374
374
  "show-overflow-tooltip": true,
375
375
  },
376
376
  {
377
- label: "收付渠道",
377
+ label: $l("收付渠道"),
378
378
  prop: "tradeChannel",
379
379
  align: "center",
380
380
  width: "180",
@@ -382,14 +382,14 @@ export const third_tableHeader = [
382
382
  },
383
383
 
384
384
  {
385
- label: "备注",
385
+ label: $l("备注"),
386
386
  prop: "remark",
387
387
  align: "left",
388
388
  width: "170",
389
389
  "show-overflow-tooltip": true,
390
390
  },
391
391
  {
392
- label: "描述",
392
+ label: $l("描述"),
393
393
  prop: "description",
394
394
  align: "left",
395
395
  width: "170",
@@ -399,13 +399,13 @@ export const third_tableHeader = [
399
399
  export const ruleHitTableHeader = [
400
400
  {
401
401
  type: "index",
402
- label: "序号",
402
+ label: $l("序号"),
403
403
  width: "56",
404
404
  fixed: "left",
405
405
  align: "center",
406
406
  },
407
407
  {
408
- label: "规则编号",
408
+ label: $l("规则编号"),
409
409
  prop: "matchingId",
410
410
  align: "center",
411
411
  minWidth: "144",
@@ -413,7 +413,7 @@ export const ruleHitTableHeader = [
413
413
  "show-overflow-tooltip": true,
414
414
  },
415
415
  {
416
- label: "补填依据",
416
+ label: $l("补填依据"),
417
417
  prop: "refillBasis",
418
418
  align: "center",
419
419
  minWidth: "230",
@@ -427,14 +427,14 @@ export const ruleHitTableHeader = [
427
427
  },
428
428
  },
429
429
  {
430
- label: "规则名称",
430
+ label: $l("规则名称"),
431
431
  prop: "matchingRuleName",
432
432
  align: "center",
433
433
  minWidth: "230",
434
434
  "show-overflow-tooltip": true,
435
435
  },
436
436
  {
437
- label: "规则类型",
437
+ label: $l("规则类型"),
438
438
  prop: "matchingRuleType",
439
439
  align: "center",
440
440
  minWidth: "140",
@@ -448,7 +448,7 @@ export const ruleHitTableHeader = [
448
448
  },
449
449
  },
450
450
  // {
451
- // label: "适用范围",
451
+ // label: $l("适用范围"),
452
452
  // prop: "usedScope",
453
453
  // align: "center",
454
454
  // width: "200",
@@ -462,14 +462,14 @@ export const ruleHitTableHeader = [
462
462
  // },
463
463
  // },
464
464
  // {
465
- // label: "适用单位",
465
+ // label: $l("适用单位"),
466
466
  // prop: "usedUnit",
467
467
  // slotName: "usedUnit",
468
468
  // align: "center",
469
469
  // width: "200",
470
470
  // },
471
471
  // {
472
- // label: "适用业务",
472
+ // label: $l("适用业务"),
473
473
  // prop: "usedBusiness",
474
474
  // align: "center",
475
475
  // width: "200",
@@ -481,14 +481,14 @@ export const ruleHitTableHeader = [
481
481
  // },
482
482
  // },
483
483
  {
484
- label: "匹配优先级",
484
+ label: $l("匹配优先级"),
485
485
  prop: "matchingPriority",
486
486
  align: "center",
487
487
  minWidth: "114",
488
488
  "show-overflow-tooltip": true,
489
489
  },
490
490
  {
491
- label: "补填信息",
491
+ label: $l("补填信息"),
492
492
  prop: "fillGroup",
493
493
  align: "center",
494
494
  minWidth: "144",
@@ -496,14 +496,14 @@ export const ruleHitTableHeader = [
496
496
  "show-overflow-tooltip": true,
497
497
  },
498
498
  {
499
- label: "生效时间",
499
+ label: $l("生效时间"),
500
500
  prop: "updateTime",
501
501
  align: "center",
502
502
  minWidth: "180",
503
503
  "show-overflow-tooltip": true,
504
504
  },
505
505
  {
506
- label: "操作人",
506
+ label: $l("操作人"),
507
507
  prop: "updator",
508
508
  align: "center",
509
509
  minWidth: "144",
@@ -514,20 +514,20 @@ export const ruleHitTableHeader = [
514
514
  export const FillInfoTableHeader = [
515
515
  {
516
516
  type: "index",
517
- label: "序号",
517
+ label: $l("序号"),
518
518
  width: "56",
519
519
  fixed: "left",
520
520
  align: "center",
521
521
  },
522
522
  {
523
- label: "补填字段",
523
+ label: $l("补填字段"),
524
524
  prop: "fillFieldName",
525
525
  align: "center",
526
526
  minWidth: "144",
527
527
  "show-overflow-tooltip": true,
528
528
  },
529
529
  {
530
- label: "补填内容取值",
530
+ label: $l("补填内容取值"),
531
531
  prop: "matchingValueType",
532
532
  align: "center",
533
533
  minWidth: "140",
@@ -541,7 +541,7 @@ export const FillInfoTableHeader = [
541
541
  },
542
542
  },
543
543
  {
544
- label: "补填内容",
544
+ label: $l("补填内容"),
545
545
  prop: "fillValue",
546
546
  align: "center",
547
547
  minWidth: "230",
@@ -6,7 +6,7 @@
6
6
  class="m-b-s"
7
7
  :content="$l('补填规则检测')"
8
8
  />
9
- <el-form class="label-width-8em description-b-s" label-width="5em">
9
+ <el-form class="label-width-8em description-b-s" :label-width="'8em'">
10
10
  <el-form-item :label="$l('数据来源')" prop="description">
11
11
  <el-radio-group v-model="searchData.radio" @change="handleRadio">
12
12
  <el-radio :label="'SelectEntries'">{{ $l("选择流水") }}</el-radio>