|
@@ -172,38 +172,33 @@ class CheckForm extends GetView<MedicalController> {
|
|
|
}
|
|
|
|
|
|
Widget _buildSaveButton() {
|
|
|
- return Obx(() {
|
|
|
- if (Store.user.currentSelectPatientInfo == null) {
|
|
|
- return const SizedBox();
|
|
|
- }
|
|
|
- return VButton(
|
|
|
- // backgroundColor: Theme.of(context).primaryColor,
|
|
|
- onTap: () {
|
|
|
- advanceDebounce(
|
|
|
- () => controller.createCheckup(
|
|
|
- Store.user.currentSelectRegisterPersonInfo?.physicalExamNumber ??
|
|
|
- '',
|
|
|
- 'HEIBasic',
|
|
|
- ),
|
|
|
- "createBasicCheckup",
|
|
|
- 1500,
|
|
|
- );
|
|
|
- },
|
|
|
- child: const SizedBox(
|
|
|
- width: 240,
|
|
|
- height: 60,
|
|
|
- child: Center(
|
|
|
- child: Text(
|
|
|
- '提交',
|
|
|
- style: TextStyle(
|
|
|
- fontSize: 26,
|
|
|
- color: Colors.white,
|
|
|
- ),
|
|
|
+ return VButton(
|
|
|
+ // backgroundColor: Theme.of(context).primaryColor,
|
|
|
+ onTap: () {
|
|
|
+ advanceDebounce(
|
|
|
+ () => controller.createCheckup(
|
|
|
+ Store.user.currentSelectRegisterPersonInfo?.physicalExamNumber ??
|
|
|
+ '',
|
|
|
+ 'HEIBasic',
|
|
|
+ ),
|
|
|
+ "createBasicCheckup",
|
|
|
+ 1500,
|
|
|
+ );
|
|
|
+ },
|
|
|
+ child: const SizedBox(
|
|
|
+ width: 240,
|
|
|
+ height: 60,
|
|
|
+ child: Center(
|
|
|
+ child: Text(
|
|
|
+ '提交',
|
|
|
+ style: TextStyle(
|
|
|
+ fontSize: 26,
|
|
|
+ color: Colors.white,
|
|
|
),
|
|
|
),
|
|
|
),
|
|
|
- );
|
|
|
- });
|
|
|
+ ),
|
|
|
+ );
|
|
|
}
|
|
|
|
|
|
Widget _buildContent() {
|