|
@@ -1,5 +1,4 @@
|
|
|
import 'package:fis_jsonrpc/rpc.dart';
|
|
|
-import 'package:fis_jsonrpc/services/patient.m.dart';
|
|
|
import 'package:flutter/material.dart';
|
|
|
import 'package:get/get.dart';
|
|
|
import 'package:vitalapp/architecture/utils/datetime.dart';
|
|
@@ -52,9 +51,10 @@ class FaceResultDialog extends StatelessWidget {
|
|
|
children: [
|
|
|
_buildRow("姓名", data.patientName!),
|
|
|
_buildRow("性别", RpcEnumLabels.gender[data.patientGender]!),
|
|
|
- // _buildRow("出生日期", DateFormat('yyyy-MM-dd').format(data.birthday!)),
|
|
|
_buildRow("年龄", DataTimeUtils.calculateAge(data.birthday!)),
|
|
|
_buildRow("身份证", data.cardNo!),
|
|
|
+ if (hasCreateRecord!) _buildRow("建档机构", data.createdOrgName ?? ''),
|
|
|
+ if (hasCreateRecord!) _buildRow("建档医生", data.createdDoctorName ?? ''),
|
|
|
],
|
|
|
),
|
|
|
);
|