@steedos-labs/content-compliance 0.2.31 → 0.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 (20) hide show
  1. package/dist/index.js +1 -1
  2. package/main/default/dashboards//345/217/221/350/265/267/344/272/272/347/234/213/346/235/277.dashboard.yml +342 -0
  3. package/main/default/dashboards//345/256/241/346/240/270/344/272/272/347/234/213/346/235/277.dashboard.yml +296 -16
  4. package/main/default/objects/pepsico_ai_review/buttons/pepsico_adopt.button.yml +14 -1
  5. package/main/default/objects/pepsico_ai_review/fields/is_adoption.field.yml +6 -0
  6. package/main/default/objects/pepsico_ai_review/permissions/user.permission.yml +2 -2
  7. package/main/default/objects/pepsico_material_approval/buttons/approve_ai.button.yml +2 -1
  8. package/main/default/objects/pepsico_material_approval/buttons/pepsico_terminate.button.yml +2 -1
  9. package/main/default/objects/space_users/fields/last_logon.field.yml +5 -1
  10. package/main/default/objects/space_users/listviews/all_users.listview.yml +1 -1
  11. package/main/default/pages/pepsico_material_detail.page.amis.json +14 -1
  12. package/main/default/questions/CA/345/256/241/346/240/270/351/200/232/350/277/207/347/216/207.question.yml +56 -0
  13. package/main/default/questions/Kids/345/223/201/347/211/214/346/265/201/347/250/213/345/256/241/346/240/270/351/200/232/350/277/207/346/225/260.question.yml +54 -0
  14. package/main/default/questions/Legal/345/256/241/346/240/270/351/200/232/350/277/207/347/216/207.question.yml +56 -0
  15. package/main/default/questions/NS/345/256/241/346/240/270/351/200/232/350/277/207/347/216/207.question.yml +55 -0
  16. package/main/default/questions/kids/345/256/241/346/240/270/347/264/240/346/235/220/347/261/273/345/236/213/347/273/237/350/256/241.question.yml +8 -8
  17. package/main/default/questions/kids/345/256/241/346/240/270/351/200/232/350/277/207/347/216/207.question.yml +55 -0
  18. package/main/default/questions//346/265/201/347/250/213/345/215/225/345/244/232/346/254/241/351/200/232/350/277/207/347/273/237/350/256/241.question.yml +49 -0
  19. package/package.json +1 -1
  20. package/public/content-review/topic.css +4 -0
@@ -34,7 +34,21 @@ cards:
34
34
  col: 11
35
35
  entity_id: 67c66caaa979f30624bf4b6d
36
36
  id: 67c66caaa979f30624bf4b6d
37
- parameter_mappings: []
37
+ parameter_mappings:
38
+ - parameter_id: e66f3620
39
+ card_id: 67c665b4a979f30624bf4b37
40
+ target:
41
+ - dimension
42
+ - - field
43
+ - pepsico_material_data.submit_time
44
+ - null
45
+ - parameter_id: 85b32cd4
46
+ card_id: 67c665b4a979f30624bf4b37
47
+ target:
48
+ - dimension
49
+ - - field
50
+ - pepsico_material_data.brand
51
+ - null
38
52
  row: 4
39
53
  series: []
40
54
  size_x: 7
@@ -44,7 +58,21 @@ cards:
44
58
  col: 0
45
59
  entity_id: 67c66d29a979f30624bf4b6f
46
60
  id: 67c66d29a979f30624bf4b6f
47
- parameter_mappings: []
61
+ parameter_mappings:
62
+ - parameter_id: e66f3620
63
+ card_id: 67c66d24a979f30624bf4b6e
64
+ target:
65
+ - dimension
66
+ - - field
67
+ - pepsico_material_data.submit_time
68
+ - null
69
+ - parameter_id: 85b32cd4
70
+ card_id: 67c66d24a979f30624bf4b6e
71
+ target:
72
+ - dimension
73
+ - - field
74
+ - pepsico_material_data.brand
75
+ - null
48
76
  row: 4
49
77
  series: []
50
78
  size_x: 6
@@ -54,7 +82,21 @@ cards:
54
82
  col: 11
55
83
  entity_id: 67c66dada979f30624bf4b72
56
84
  id: 67c66dada979f30624bf4b72
57
- parameter_mappings: []
85
+ parameter_mappings:
86
+ - parameter_id: e66f3620
87
+ card_id: 67c66974a979f30624bf4b5e
88
+ target:
89
+ - dimension
90
+ - - field
91
+ - pepsico_material_approval_data.submit_time
92
+ - null
93
+ - parameter_id: 85b32cd4
94
+ card_id: 67c66974a979f30624bf4b5e
95
+ target:
96
+ - dimension
97
+ - - field
98
+ - pepsico_material_approval_data.peoduct
99
+ - null
58
100
  row: 0
59
101
  series: []
60
102
  size_x: 7
@@ -64,7 +106,49 @@ cards:
64
106
  col: 11
65
107
  entity_id: 67c66f83a979f30624bf4b77
66
108
  id: 67c66f83a979f30624bf4b77
67
- parameter_mappings: []
109
+ parameter_mappings:
110
+ - parameter_id: e66f3620
111
+ card_id: 67c66f7ca979f30624bf4b76
112
+ target:
113
+ - dimension
114
+ - - field
115
+ - pepsico_material_data.submit_time
116
+ - null
117
+ - parameter_id: e66f3620
118
+ card_id: 67c66fb8a979f30624bf4b78
119
+ target:
120
+ - dimension
121
+ - - field
122
+ - pepsico_material_data.submit_time
123
+ - null
124
+ - parameter_id: e66f3620
125
+ card_id: 67caba89e4148a062542de74
126
+ target:
127
+ - dimension
128
+ - - field
129
+ - pepsico_material_data.submit_time
130
+ - null
131
+ - parameter_id: 85b32cd4
132
+ card_id: 67c66f7ca979f30624bf4b76
133
+ target:
134
+ - dimension
135
+ - - field
136
+ - pepsico_material_data.brand
137
+ - null
138
+ - parameter_id: 85b32cd4
139
+ card_id: 67c66fb8a979f30624bf4b78
140
+ target:
141
+ - dimension
142
+ - - field
143
+ - pepsico_material_data.brand
144
+ - null
145
+ - parameter_id: 85b32cd4
146
+ card_id: 67caba89e4148a062542de74
147
+ target:
148
+ - dimension
149
+ - - field
150
+ - pepsico_material_data.brand
151
+ - null
68
152
  row: 8
69
153
  series:
70
154
  - _id: 67c66fb8a979f30624bf4b78
@@ -217,7 +301,49 @@ cards:
217
301
  col: 0
218
302
  entity_id: 67ca585786c63f0625112c43
219
303
  id: 67ca585786c63f0625112c43
220
- parameter_mappings: []
304
+ parameter_mappings:
305
+ - parameter_id: e66f3620
306
+ card_id: 67ca584d86c63f0625112c42
307
+ target:
308
+ - dimension
309
+ - - field
310
+ - pepsico_material_approval_data.submit_time
311
+ - null
312
+ - parameter_id: e66f3620
313
+ card_id: 67ca588b86c63f0625112c44
314
+ target:
315
+ - dimension
316
+ - - field
317
+ - pepsico_material_approval_data.submit_time
318
+ - null
319
+ - parameter_id: e66f3620
320
+ card_id: 67cabcd6e4148a062542de76
321
+ target:
322
+ - dimension
323
+ - - field
324
+ - pepsico_material_approval_data.submit_time
325
+ - null
326
+ - parameter_id: 85b32cd4
327
+ card_id: 67ca584d86c63f0625112c42
328
+ target:
329
+ - dimension
330
+ - - field
331
+ - pepsico_material_approval_data.peoduct
332
+ - null
333
+ - parameter_id: 85b32cd4
334
+ card_id: 67ca588b86c63f0625112c44
335
+ target:
336
+ - dimension
337
+ - - field
338
+ - pepsico_material_approval_data.peoduct
339
+ - null
340
+ - parameter_id: 85b32cd4
341
+ card_id: 67cabcd6e4148a062542de76
342
+ target:
343
+ - dimension
344
+ - - field
345
+ - pepsico_material_approval_data.peoduct
346
+ - null
221
347
  row: 12
222
348
  series:
223
349
  - _id: 67ca588b86c63f0625112c44
@@ -370,7 +496,21 @@ cards:
370
496
  col: 6
371
497
  entity_id: 67cab027e4148a062542de67
372
498
  id: 67cab027e4148a062542de67
373
- parameter_mappings: []
499
+ parameter_mappings:
500
+ - parameter_id: e66f3620
501
+ card_id: 67cab014e4148a062542de66
502
+ target:
503
+ - dimension
504
+ - - field
505
+ - pepsico_material_data.submit_time
506
+ - null
507
+ - parameter_id: 85b32cd4
508
+ card_id: 67cab014e4148a062542de66
509
+ target:
510
+ - dimension
511
+ - - field
512
+ - pepsico_material_data.brand
513
+ - null
374
514
  row: 4
375
515
  series: []
376
516
  size_x: 5
@@ -381,7 +521,21 @@ cards:
381
521
  col: 0
382
522
  entity_id: 67cab759e4148a062542de6d
383
523
  id: 67cab759e4148a062542de6d
384
- parameter_mappings: []
524
+ parameter_mappings:
525
+ - parameter_id: e66f3620
526
+ card_id: 67cab749e4148a062542de6c
527
+ target:
528
+ - dimension
529
+ - - field
530
+ - pepsico_material_approval_data.submit_time
531
+ - null
532
+ - parameter_id: 85b32cd4
533
+ card_id: 67cab749e4148a062542de6c
534
+ target:
535
+ - dimension
536
+ - - field
537
+ - pepsico_material_approval_data.peoduct
538
+ - null
385
539
  row: 0
386
540
  series: []
387
541
  size_x: 6
@@ -391,7 +545,21 @@ cards:
391
545
  col: 6
392
546
  entity_id: 67cab7fee4148a062542de6f
393
547
  id: 67cab7fee4148a062542de6f
394
- parameter_mappings: []
548
+ parameter_mappings:
549
+ - parameter_id: e66f3620
550
+ card_id: 67cab7dbe4148a062542de6e
551
+ target:
552
+ - dimension
553
+ - - field
554
+ - pepsico_material_approval_data.submit_time
555
+ - null
556
+ - parameter_id: 85b32cd4
557
+ card_id: 67cab7dbe4148a062542de6e
558
+ target:
559
+ - dimension
560
+ - - field
561
+ - pepsico_material_approval_data.peoduct
562
+ - null
395
563
  row: 0
396
564
  series: []
397
565
  size_x: 5
@@ -401,7 +569,21 @@ cards:
401
569
  col: 0
402
570
  entity_id: 67cab901e4148a062542de71
403
571
  id: 67cab901e4148a062542de71
404
- parameter_mappings: []
572
+ parameter_mappings:
573
+ - parameter_id: e66f3620
574
+ card_id: 67cab8e7e4148a062542de70
575
+ target:
576
+ - dimension
577
+ - - field
578
+ - pepsico_material_data.submit_time
579
+ - null
580
+ - parameter_id: 85b32cd4
581
+ card_id: 67cab8e7e4148a062542de70
582
+ target:
583
+ - dimension
584
+ - - field
585
+ - pepsico_material_data.brand
586
+ - null
405
587
  row: 8
406
588
  series: []
407
589
  size_x: 6
@@ -411,7 +593,21 @@ cards:
411
593
  col: 6
412
594
  entity_id: 67cab93de4148a062542de73
413
595
  id: 67cab93de4148a062542de73
414
- parameter_mappings: []
596
+ parameter_mappings:
597
+ - parameter_id: e66f3620
598
+ card_id: 67cab930e4148a062542de72
599
+ target:
600
+ - dimension
601
+ - - field
602
+ - pepsico_material_data.submit_time
603
+ - null
604
+ - parameter_id: 85b32cd4
605
+ card_id: 67cab930e4148a062542de72
606
+ target:
607
+ - dimension
608
+ - - field
609
+ - pepsico_material_data.brand
610
+ - null
415
611
  row: 8
416
612
  series: []
417
613
  size_x: 5
@@ -421,7 +617,21 @@ cards:
421
617
  col: 0
422
618
  entity_id: 67ce89ab2ce69a0625fc35b5
423
619
  id: 67ce89ab2ce69a0625fc35b5
424
- parameter_mappings: []
620
+ parameter_mappings:
621
+ - parameter_id: e66f3620
622
+ card_id: 67c66bcba979f30624bf4b66
623
+ target:
624
+ - dimension
625
+ - - field
626
+ - pepsico_material_approval_data.submit_time
627
+ - null
628
+ - parameter_id: 85b32cd4
629
+ card_id: 67c66bcba979f30624bf4b66
630
+ target:
631
+ - dimension
632
+ - - field
633
+ - pepsico_material_approval_data.peoduct
634
+ - null
425
635
  row: 22
426
636
  series: []
427
637
  size_x: 6
@@ -431,7 +641,21 @@ cards:
431
641
  col: 6
432
642
  entity_id: 67ce89ab2ce69a0625fc35b6
433
643
  id: 67ce89ab2ce69a0625fc35b6
434
- parameter_mappings: []
644
+ parameter_mappings:
645
+ - parameter_id: e66f3620
646
+ card_id: 67c66b65a979f30624bf4b64
647
+ target:
648
+ - dimension
649
+ - - field
650
+ - pepsico_material_approval_data.submit_time
651
+ - null
652
+ - parameter_id: 85b32cd4
653
+ card_id: 67c66b65a979f30624bf4b64
654
+ target:
655
+ - dimension
656
+ - - field
657
+ - pepsico_material_approval_data.peoduct
658
+ - null
435
659
  row: 18
436
660
  series: []
437
661
  size_x: 6
@@ -441,7 +665,21 @@ cards:
441
665
  col: 0
442
666
  entity_id: 67ce89ab2ce69a0625fc35b7
443
667
  id: 67ce89ab2ce69a0625fc35b7
444
- parameter_mappings: []
668
+ parameter_mappings:
669
+ - parameter_id: e66f3620
670
+ card_id: 67c66ae5a979f30624bf4b62
671
+ target:
672
+ - dimension
673
+ - - field
674
+ - pepsico_material_approval_data.submit_time
675
+ - null
676
+ - parameter_id: 85b32cd4
677
+ card_id: 67c66ae5a979f30624bf4b62
678
+ target:
679
+ - dimension
680
+ - - field
681
+ - pepsico_material_approval_data.peoduct
682
+ - null
445
683
  row: 18
446
684
  series: []
447
685
  size_x: 6
@@ -451,7 +689,21 @@ cards:
451
689
  col: 6
452
690
  entity_id: 67ce89ab2ce69a0625fc35b8
453
691
  id: 67ce89ab2ce69a0625fc35b8
454
- parameter_mappings: []
692
+ parameter_mappings:
693
+ - parameter_id: e66f3620
694
+ card_id: 67c66c0fa979f30624bf4b68
695
+ target:
696
+ - dimension
697
+ - - field
698
+ - pepsico_material_approval_data.submit_time
699
+ - null
700
+ - parameter_id: 85b32cd4
701
+ card_id: 67c66c0fa979f30624bf4b68
702
+ target:
703
+ - dimension
704
+ - - field
705
+ - pepsico_material_approval_data.peoduct
706
+ - null
455
707
  row: 22
456
708
  series: []
457
709
  size_x: 6
@@ -461,7 +713,21 @@ cards:
461
713
  col: 12
462
714
  entity_id: 67ce89ab2ce69a0625fc35b9
463
715
  id: 67ce89ab2ce69a0625fc35b9
464
- parameter_mappings: []
716
+ parameter_mappings:
717
+ - parameter_id: e66f3620
718
+ card_id: 67c66c5fa979f30624bf4b6a
719
+ target:
720
+ - dimension
721
+ - - field
722
+ - pepsico_material_approval_data.submit_time
723
+ - null
724
+ - parameter_id: 85b32cd4
725
+ card_id: 67c66c5fa979f30624bf4b6a
726
+ target:
727
+ - dimension
728
+ - - field
729
+ - pepsico_material_approval_data.peoduct
730
+ - null
465
731
  row: 18
466
732
  series: []
467
733
  size_x: 6
@@ -471,7 +737,21 @@ cards:
471
737
  col: 12
472
738
  entity_id: 67ce89ab2ce69a0625fc35ba
473
739
  id: 67ce89ab2ce69a0625fc35ba
474
- parameter_mappings: []
740
+ parameter_mappings:
741
+ - parameter_id: e66f3620
742
+ card_id: 67c66d71a979f30624bf4b70
743
+ target:
744
+ - dimension
745
+ - - field
746
+ - pepsico_material_approval_data.submit_time
747
+ - null
748
+ - parameter_id: 85b32cd4
749
+ card_id: 67c66d71a979f30624bf4b70
750
+ target:
751
+ - dimension
752
+ - - field
753
+ - pepsico_material_approval_data.peoduct
754
+ - null
475
755
  row: 22
476
756
  series: []
477
757
  size_x: 6
@@ -21,7 +21,20 @@ amis_schema: |-
21
21
  "api": {
22
22
  "url": "${window:__meteor_runtime_config__.ROOT_URL}/v2/c/rooms/objects:pepsico_material:${pepsico_material}/threads",
23
23
  "method": "post",
24
- "requestAdaptor": "api.data = {'id': Amis.uuidv4(),'comment':{'id':Amis.uuidv4(),'body':{'version':1,'content':[{'type':'paragraph','children':[{'text':'违规类型: ' + (context.rule_category || '') + ';'}]},{'type':'paragraph','children':[{'text':'违规原因: ' + (context.reason || '') + ';'}]},{'type':'paragraph','children':[{'text':'违规内容: ' + (context.name || '') + ';'}]},{'type':'paragraph','children':[{'text':'规则内容: ' + (context.rule_content || '') + ';'}]}]},'attachmentIds': context.record._display.evidence_image_file ? [context.record._display.evidence_image_file.value] : []}}; return api;",
24
+ "requestAdaptor": "api.data = {'id': Amis.uuidv4(), 'is_ai_review': true, 'ai_review_id': context._id, 'comment':{'id':Amis.uuidv4(),'body':{'version':1,'content':[{'type':'paragraph','children':[{'text':'违规类型: ' + (context.rule_category || '') + ';'}]},{'type':'paragraph','children':[{'text':'违规原因: ' + (context.reason || '') + ';'}]},{'type':'paragraph','children':[{'text':'违规内容: ' + (context.name || '') + ';'}]},{'type':'paragraph','children':[{'text':'规则内容: ' + (context.rule_content || '') + ';'}]}]},'attachmentIds': context.record._display.evidence_image_file ? [context.record._display.evidence_image_file.value] : []}}; return api;",
25
+ "adaptor": "",
26
+ "messages": {}
27
+ }
28
+ },
29
+ {
30
+ "ignoreError": true,
31
+ "actionType": "ajax",
32
+ "outputVar": "responseResult2",
33
+ "options": {},
34
+ "api": {
35
+ "url": "${window:__meteor_runtime_config__.ROOT_URL}/api/v1/pepsico_ai_review/${recordId}",
36
+ "method": "put",
37
+ "requestAdaptor": "api.data = {doc: {is_adoption: true}}; return api;",
25
38
  "adaptor": "",
26
39
  "messages": {}
27
40
  }
@@ -0,0 +1,6 @@
1
+ name: is_adoption
2
+ label: 已采纳
3
+ type: boolean
4
+ defaultValue: false
5
+ static: true
6
+ sort_no: 450
@@ -4,11 +4,11 @@ allowCreateFiles: true
4
4
  allowCreateListViews: true
5
5
  allowDelete: false
6
6
  allowDeleteFiles: true
7
- allowEdit: false
7
+ allowEdit: true
8
8
  allowEditFiles: true
9
9
  allowRead: true
10
10
  allowReadFiles: true
11
- modifyAllRecords: false
11
+ modifyAllRecords: true
12
12
  permission_set_id: user
13
13
  viewAllFiles: true
14
14
  viewAllRecords: true
@@ -48,7 +48,8 @@ amis_schema: |-
48
48
  }
49
49
  },
50
50
  "editorState": "default",
51
- "visibleOn": "${current_step == 'ai_review'&& context.user.profile == 'admin'}"
51
+ "visibleOn": "${current_step == 'ai_review'&& context.user.profile == 'admin'}",
52
+ "level": "danger"
52
53
  }
53
54
  ],
54
55
  "regions": [
@@ -132,7 +132,8 @@ amis_schema: |-
132
132
  }
133
133
  ]
134
134
  }
135
- }
135
+ },
136
+ "level": "danger"
136
137
  }
137
138
  ],
138
139
  "regions": [
@@ -8,4 +8,8 @@ inlineHelpText: ''
8
8
  label: 最近登陆
9
9
  sort_no: 1700
10
10
  type: date
11
- visible_on: '{{global.user.is_space_admin}}'
11
+ visible_on: '{{global.user.is_space_admin}}'
12
+ hidden: false
13
+ omit: false
14
+ static: true
15
+ is_wide: true
@@ -7,7 +7,7 @@ columns:
7
7
  - field: login_expired
8
8
  - field: last_logon
9
9
  - field: created
10
- - field: remark
10
+ - field: comment
11
11
  width: '500'
12
12
  wrap: true
13
13
  crud_mode: table
@@ -148,7 +148,20 @@
148
148
  "api": {
149
149
  "url": "${window:__meteor_runtime_config__.ROOT_URL}/v2/c/rooms/objects:pepsico_material:${recordId}/threads",
150
150
  "method": "post",
151
- "requestAdaptor": "api.data = {'id': Amis.uuidv4(),'comment':{'id':Amis.uuidv4(),'body':{'version':1,'content':[{'type':'paragraph','children':[{'text':'违规类型: ' + (context.rule_category || '') + ';'}]},{'type':'paragraph','children':[{'text':'违规原因: ' + (context.reason || '') + ';'}]},{'type':'paragraph','children':[{'text':'违规内容: ' + (context.name || '') + ';'}]},{'type':'paragraph','children':[{'text':'规则内容: ' + (context.rule_content || '') + ';'}]}]},'attachmentIds': context._display.evidence_image_file ? [context._display.evidence_image_file.value] : []}}; return api;",
151
+ "requestAdaptor": "api.data = {'id': Amis.uuidv4(), 'is_ai_review': true, 'ai_review_id': context._id, 'comment':{'id':Amis.uuidv4(),'body':{'version':1,'content':[{'type':'paragraph','children':[{'text':'违规类型: ' + (context.rule_category || '') + ';'}]},{'type':'paragraph','children':[{'text':'违规原因: ' + (context.reason || '') + ';'}]},{'type':'paragraph','children':[{'text':'违规内容: ' + (context.name || '') + ';'}]},{'type':'paragraph','children':[{'text':'规则内容: ' + (context.rule_content || '') + ';'}]}]},'attachmentIds': context._display.evidence_image_file ? [context._display.evidence_image_file.value] : []}}; return api;",
152
+ "adaptor": "return {}",
153
+ "messages": {}
154
+ }
155
+ },
156
+ {
157
+ "ignoreError": true,
158
+ "actionType": "ajax",
159
+ "outputVar": "responseResult2",
160
+ "options": {},
161
+ "api": {
162
+ "url": "${window:__meteor_runtime_config__.ROOT_URL}/api/v1/pepsico_ai_review/${_id}",
163
+ "method": "put",
164
+ "requestAdaptor": "debugger; api.data = {doc: {is_adoption: true}}; return api;",
152
165
  "adaptor": "",
153
166
  "messages": {}
154
167
  }
@@ -0,0 +1,56 @@
1
+ name: CA审核通过率
2
+ created_at: 2025-03-04T02:52:21.891Z
3
+ creator_id: 67c65f5da979f30624bf4b09
4
+ database_id: 1
5
+ dataset_query:
6
+ database: 1
7
+ type: query
8
+ query:
9
+ source-table: pepsico_material_approval_data
10
+ filter:
11
+ - '='
12
+ - - field
13
+ - pepsico_material_approval_data.ca_pass
14
+ - null
15
+ - true
16
+ aggregation:
17
+ - - count
18
+ breakout:
19
+ - - field
20
+ - pepsico_material_approval_data.ca_approve_times
21
+ - null
22
+ display: pie
23
+ enable_embedding: false
24
+ entity_id: 67c66ae5a979f30624bf4b62
25
+ id: 67c66ae5a979f30624bf4b62
26
+ parameter_mappings: []
27
+ parameters: []
28
+ query_type: query
29
+ result_metadata:
30
+ - id: ca_approve_times
31
+ name: ca_approve_times
32
+ unit: null
33
+ display_name: CA审核次数
34
+ base_type: type/Text
35
+ effective_type: type/Text
36
+ semantic_type: null
37
+ source: breakout
38
+ visibility_type: normal
39
+ table_id: pepsico_material_approval_data
40
+ field_ref:
41
+ - field
42
+ - pepsico_material_approval_data.ca_approve_times
43
+ - null
44
+ - base_type: type/BigInteger
45
+ display_name: 计数
46
+ effective_type: type/BigInteger
47
+ field_ref:
48
+ - aggregation
49
+ - 0
50
+ name: count
51
+ semantic_type: type/Quantity
52
+ source: aggregation
53
+ table_id: pepsico_material_approval_data
54
+ updated_at: 2025-03-04T02:52:21.891Z
55
+ visualization_settings: >-
56
+ {"table.pivot_column":"ca_approve_times","table.cell_column":"count","pivot_table.column_split":{"rows":[["field","pepsico_material_approval_data.ca_approve_times",null]],"columns":[],"values":[["aggregation",0]]},"graph.dimensions":["ca_approve_times"],"graph.metrics":["count"]}
@@ -0,0 +1,54 @@
1
+ name: Kids品牌流程审核通过数
2
+ created_at: 2025-03-07T09:31:02.224Z
3
+ creator_id: 67c65f5da979f30624bf4b09
4
+ database_id: 1
5
+ dataset_query:
6
+ database: 1
7
+ type: query
8
+ query:
9
+ source-table: pepsico_material_approval_data
10
+ filter:
11
+ - '='
12
+ - - field
13
+ - pepsico_material_approval_data.kids
14
+ - null
15
+ - true
16
+ breakout:
17
+ - - field
18
+ - pepsico_material_approval_data.peoduct
19
+ - null
20
+ aggregation:
21
+ - - count
22
+ display: bar
23
+ entity_id: 67cabcd6e4148a062542de76
24
+ id: 67cabcd6e4148a062542de76
25
+ parameter_mappings: []
26
+ parameters: []
27
+ query_type: query
28
+ result_metadata:
29
+ - id: peoduct
30
+ name: peoduct
31
+ unit: null
32
+ display_name: 品牌
33
+ base_type: type/Text
34
+ effective_type: type/Text
35
+ semantic_type: null
36
+ source: breakout
37
+ visibility_type: normal
38
+ table_id: pepsico_material_approval_data
39
+ field_ref:
40
+ - field
41
+ - pepsico_material_approval_data.peoduct
42
+ - null
43
+ - base_type: type/BigInteger
44
+ display_name: 计数
45
+ effective_type: type/BigInteger
46
+ field_ref:
47
+ - aggregation
48
+ - 0
49
+ name: count
50
+ semantic_type: type/Quantity
51
+ source: aggregation
52
+ table_id: pepsico_material_approval_data
53
+ updated_at: 2025-03-07T09:31:02.224Z
54
+ visualization_settings: '{"graph.dimensions":["peoduct"],"graph.metrics":["count"]}'