|
@@ -58,8 +58,6 @@ class PatientInfomationPage extends GetView<PatientInfomationController> {
|
|
|
content: controller.state.name,
|
|
|
isRequired: isRequiredName,
|
|
|
onTap: () async {
|
|
|
- Get.lazyPut(() => PatientInfomationController());
|
|
|
- // controller=Get.find<PatientInfomationController>();
|
|
|
final result = await VDialogInput(
|
|
|
title: "姓名",
|
|
|
initialValue: controller.state.name,
|
|
@@ -80,7 +78,6 @@ class PatientInfomationPage extends GetView<PatientInfomationController> {
|
|
|
onTap: () async {
|
|
|
if (isCanEditId) {
|
|
|
print("点击修改证件号");
|
|
|
- Get.lazyPut(() => PatientInfomationController());
|
|
|
final result = await VDialogInput(
|
|
|
title: "证件号",
|
|
|
initialValue: controller.state.cardNo,
|
|
@@ -114,7 +111,6 @@ class PatientInfomationPage extends GetView<PatientInfomationController> {
|
|
|
label: "人群分类",
|
|
|
content: controller.state.labels.join("、"),
|
|
|
onTap: () async {
|
|
|
- Get.lazyPut(() => PatientInfomationController());
|
|
|
var allLabels = await Get.find<ILabelManager>().getAllLabels();
|
|
|
final result = await Get.dialog(
|
|
|
VDialogLabelSelect(
|
|
@@ -134,7 +130,6 @@ class PatientInfomationPage extends GetView<PatientInfomationController> {
|
|
|
label: "联系电话",
|
|
|
content: controller.state.phoneNo,
|
|
|
onTap: () async {
|
|
|
- Get.lazyPut(() => PatientInfomationController());
|
|
|
final result = await VDialogInput(
|
|
|
title: "联系电话",
|
|
|
initialValue: controller.state.phoneNo,
|
|
@@ -161,7 +156,6 @@ class PatientInfomationPage extends GetView<PatientInfomationController> {
|
|
|
label: "联系人姓名",
|
|
|
content: controller.state.emergencyName,
|
|
|
onTap: () async {
|
|
|
- Get.lazyPut(() => PatientInfomationController());
|
|
|
final result = await VDialogInput(
|
|
|
title: "联系人姓名",
|
|
|
initialValue: controller.state.emergencyName,
|
|
@@ -179,7 +173,6 @@ class PatientInfomationPage extends GetView<PatientInfomationController> {
|
|
|
label: "联系人电话",
|
|
|
content: controller.state.emergencyPhone,
|
|
|
onTap: () async {
|
|
|
- Get.lazyPut(() => PatientInfomationController());
|
|
|
final result = await VDialogInput(
|
|
|
title: "联系人电话",
|
|
|
initialValue: controller.state.emergencyPhone,
|
|
@@ -206,7 +199,6 @@ class PatientInfomationPage extends GetView<PatientInfomationController> {
|
|
|
label: "性别",
|
|
|
content: RpcEnumLabels.gender[state.gender],
|
|
|
onTap: () async {
|
|
|
- Get.lazyPut(() => PatientInfomationController());
|
|
|
final result = await VDialogSelect<GenderEnum, GenderEnum>(
|
|
|
title: "选择性别",
|
|
|
source: const [
|
|
@@ -231,7 +223,6 @@ class PatientInfomationPage extends GetView<PatientInfomationController> {
|
|
|
label: "民族",
|
|
|
content: state.nation,
|
|
|
onTap: () async {
|
|
|
- Get.lazyPut(() => PatientInfomationController());
|
|
|
final result = await VDialogSelect<String, String>(
|
|
|
title: "选择民族",
|
|
|
source: Nations.china,
|
|
@@ -255,7 +246,6 @@ class PatientInfomationPage extends GetView<PatientInfomationController> {
|
|
|
? DataTimeUtils.formatDateString(controller.state.birthday!)
|
|
|
: "",
|
|
|
onTap: () async {
|
|
|
- Get.lazyPut(() => PatientInfomationController());
|
|
|
bool _isLocalStation = AppParameters.data.isLocalStation;
|
|
|
DateTime? result;
|
|
|
if (kIsWeb || _isLocalStation) {
|
|
@@ -307,7 +297,6 @@ class PatientInfomationPage extends GetView<PatientInfomationController> {
|
|
|
label: "户籍地址",
|
|
|
content: controller.state.permanentResidenceAddress,
|
|
|
onTap: () async {
|
|
|
- Get.lazyPut(() => PatientInfomationController());
|
|
|
final result = await VDialogInput(
|
|
|
title: "户籍地址",
|
|
|
initialValue: controller.state.permanentResidenceAddress,
|
|
@@ -325,7 +314,6 @@ class PatientInfomationPage extends GetView<PatientInfomationController> {
|
|
|
label: "现住地址",
|
|
|
content: controller.state.address,
|
|
|
onTap: () async {
|
|
|
- Get.lazyPut(() => PatientInfomationController());
|
|
|
final result = await VDialogInput(
|
|
|
title: "现住地址",
|
|
|
initialValue: controller.state.address,
|