|
@@ -163,8 +163,11 @@ class _followUpRecordCard extends StatelessWidget {
|
|
|
fontSize: 18,
|
|
|
),
|
|
|
),
|
|
|
- const SizedBox(
|
|
|
- width: 20,
|
|
|
+ RecordCommonItem(
|
|
|
+ itemName: '随访类型',
|
|
|
+ itemValue:
|
|
|
+ controller.getFollowUpMode(dataDto.followUpMode),
|
|
|
+ fontSize: 18,
|
|
|
),
|
|
|
],
|
|
|
),
|
|
@@ -172,6 +175,9 @@ class _followUpRecordCard extends StatelessWidget {
|
|
|
height: 20,
|
|
|
),
|
|
|
Wrap(
|
|
|
+ alignment: WrapAlignment.start,
|
|
|
+ spacing: 20,
|
|
|
+ runSpacing: 8,
|
|
|
children: [
|
|
|
SizedBox(
|
|
|
width: 300,
|
|
@@ -183,7 +189,10 @@ class _followUpRecordCard extends StatelessWidget {
|
|
|
),
|
|
|
RecordCommonItem(
|
|
|
itemName: '随访时间',
|
|
|
- itemValue: dto.followUpTime != null
|
|
|
+ itemValue: dataDto.followUpTime != null &&
|
|
|
+ !dataDto.followUpTime
|
|
|
+ .toString()
|
|
|
+ .contains('0001-01-01')
|
|
|
? DateFormat("yyyy-MM-dd")
|
|
|
.format(dto.followUpTime!.toLocal())
|
|
|
: "",
|