Showing
1 changed file
with
9 additions
and
1 deletions
| @@ -35,7 +35,12 @@ export struct HorizontalStrokeCardThreeTwoRadioForOneComponent { | @@ -35,7 +35,12 @@ export struct HorizontalStrokeCardThreeTwoRadioForOneComponent { | ||
| 35 | .width(14) | 35 | .width(14) |
| 36 | .height(14) | 36 | .height(14) |
| 37 | } | 37 | } |
| 38 | - }.justifyContent(FlexAlign.SpaceBetween) | 38 | + .visibility(this.showMore() ? Visibility.Visible : Visibility.None) |
| 39 | + .onClick(() => { | ||
| 40 | + ProcessUtils.compJumpPage(this.compDTO) | ||
| 41 | + }) | ||
| 42 | + } | ||
| 43 | + .justifyContent(FlexAlign.SpaceBetween) | ||
| 39 | .margin({ top: 8, bottom: 8 }) | 44 | .margin({ top: 8, bottom: 8 }) |
| 40 | .width('100%') | 45 | .width('100%') |
| 41 | 46 | ||
| @@ -73,5 +78,8 @@ export struct HorizontalStrokeCardThreeTwoRadioForOneComponent { | @@ -73,5 +78,8 @@ export struct HorizontalStrokeCardThreeTwoRadioForOneComponent { | ||
| 73 | }) | 78 | }) |
| 74 | } | 79 | } |
| 75 | 80 | ||
| 81 | + showMore() { | ||
| 82 | + return (!!this.compDTO.dataSourceType && this.compDTO.dataSourceType !== 'OBJECT_POS') || !(this.compDTO?.objectType === '0' || this.compDTO?.objectType === '') | ||
| 83 | + } | ||
| 76 | 84 | ||
| 77 | } | 85 | } |
-
Please register or login to post a comment