@steedos-labs/content-compliance 0.8.10 → 0.8.12
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/dist/index.js +1 -1
- package/lib/methods/__tests__/plsReview.test.js +102 -12
- package/lib/methods/__tests__/plsReview.test.js.map +1 -1
- package/lib/methods/pls.js +25 -9
- package/lib/methods/pls.js.map +1 -1
- package/lib/pages/__tests__/plsReviewPage.test.js +40 -1
- package/lib/pages/__tests__/plsReviewPage.test.js.map +1 -1
- package/main/default/pages/pepsico_material_detail.page.amis.json +16 -4
- package/main/default/pages/pepsico_material_detail_mobile.page.amis.json +8 -2
- package/package.json +1 -1
- package/public/content-review/amis.css +21 -2
|
@@ -352,8 +352,14 @@
|
|
|
352
352
|
"filters": [
|
|
353
353
|
[
|
|
354
354
|
"is_active",
|
|
355
|
-
"
|
|
356
|
-
|
|
355
|
+
"=",
|
|
356
|
+
true
|
|
357
|
+
],
|
|
358
|
+
"or",
|
|
359
|
+
[
|
|
360
|
+
"is_active",
|
|
361
|
+
"=",
|
|
362
|
+
null
|
|
357
363
|
]
|
|
358
364
|
],
|
|
359
365
|
"required": false,
|
|
@@ -901,8 +907,14 @@
|
|
|
901
907
|
"filters": [
|
|
902
908
|
[
|
|
903
909
|
"is_active",
|
|
904
|
-
"
|
|
905
|
-
|
|
910
|
+
"=",
|
|
911
|
+
true
|
|
912
|
+
],
|
|
913
|
+
"or",
|
|
914
|
+
[
|
|
915
|
+
"is_active",
|
|
916
|
+
"=",
|
|
917
|
+
null
|
|
906
918
|
]
|
|
907
919
|
],
|
|
908
920
|
"required": false,
|
package/package.json
CHANGED
|
@@ -21,8 +21,21 @@
|
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
|
|
24
|
-
|
|
25
|
-
|
|
24
|
+
/* 页签内容区占满卡片里页签栏之外的剩余高度。页签栏实际高度约 41px,会随窗口宽度换行变化,
|
|
25
|
+
固定扣减值算不准会让内容区超出卡片底部(PLS 意见等内部滚动的页签底部被截断),改用 flex 分配剩余空间。 */
|
|
26
|
+
.steedos-material-content .steedos-record-service .steedos-record-tabs{
|
|
27
|
+
display: flex;
|
|
28
|
+
flex-direction: column;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.steedos-material-content .steedos-record-service .steedos-record-tabs>.antd-Tabs-linksContainer-wrapper{
|
|
32
|
+
flex: 0 0 auto;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.steedos-material-content .steedos-record-service .steedos-record-tabs>.antd-Tabs-content{
|
|
36
|
+
flex: 1 1 auto;
|
|
37
|
+
min-height: 0;
|
|
38
|
+
height: auto;
|
|
26
39
|
}
|
|
27
40
|
|
|
28
41
|
|
|
@@ -437,6 +450,12 @@ tbody .color-priority-postponed *{
|
|
|
437
450
|
color: #999 !important;
|
|
438
451
|
}
|
|
439
452
|
|
|
453
|
+
/* PLS 意见较多时在页签内容区独立滚动,不撑高整个材料详情页。 */
|
|
454
|
+
.pepsico-pls-review-tab-content {
|
|
455
|
+
height: 100%;
|
|
456
|
+
overflow-y: auto;
|
|
457
|
+
}
|
|
458
|
+
|
|
440
459
|
/* PLS 意见按关联文件分组,卡片布局与 AI 审核意见保持一致。 */
|
|
441
460
|
.pepsico-pls-review-group {
|
|
442
461
|
border: 1px solid #d8e2ea;
|