2.2.0
|
Before Width: | Height: | Size: 5.3 KiB After Width: | Height: | Size: 5.3 KiB |
|
Before Width: | Height: | Size: 3.0 KiB After Width: | Height: | Size: 3.0 KiB |
|
Before Width: | Height: | Size: 8.2 KiB After Width: | Height: | Size: 8.2 KiB |
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 21 KiB |
|
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 2.9 KiB |
|
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.9 KiB |
|
Before Width: | Height: | Size: 541 B After Width: | Height: | Size: 541 B |
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 787 B After Width: | Height: | Size: 787 B |
|
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.9 KiB |
|
Before Width: | Height: | Size: 65 KiB After Width: | Height: | Size: 65 KiB |
|
Before Width: | Height: | Size: 768 B After Width: | Height: | Size: 768 B |
|
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
|
Before Width: | Height: | Size: 134 KiB After Width: | Height: | Size: 134 KiB |
|
Before Width: | Height: | Size: 900 B After Width: | Height: | Size: 900 B |
|
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 2.4 KiB |
|
Before Width: | Height: | Size: 4.0 KiB After Width: | Height: | Size: 4.0 KiB |
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 3.8 KiB |
|
Before Width: | Height: | Size: 7.3 KiB After Width: | Height: | Size: 7.3 KiB |
|
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 2.4 KiB |
|
Before Width: | Height: | Size: 6.4 KiB After Width: | Height: | Size: 6.4 KiB |
|
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 11 KiB |
|
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 3.2 KiB |
|
Before Width: | Height: | Size: 8.6 KiB After Width: | Height: | Size: 8.6 KiB |
|
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 3.7 KiB |
|
Before Width: | Height: | Size: 9.8 KiB After Width: | Height: | Size: 9.8 KiB |
|
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 11 KiB |
|
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 19 KiB |
|
Before Width: | Height: | Size: 5.3 KiB After Width: | Height: | Size: 5.3 KiB |
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 5.9 KiB After Width: | Height: | Size: 5.9 KiB |
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 68 B After Width: | Height: | Size: 68 B |
|
Before Width: | Height: | Size: 68 B After Width: | Height: | Size: 68 B |
|
Before Width: | Height: | Size: 68 B After Width: | Height: | Size: 68 B |
@@ -11,8 +11,6 @@ class Url {
|
||||
|
||||
static const String getUserInfo = '$baseUrl/GetInfo';
|
||||
|
||||
// static const String testResults = '$baseUrl/TestResults';
|
||||
|
||||
static const String filterItems = '$baseUrl/TestResults/ListFilterItems';
|
||||
|
||||
static const String labelItems = '$baseUrl/GetLabels';
|
||||
@@ -29,9 +27,9 @@ class Url {
|
||||
|
||||
static const String addImage = '$baseUrl/UploadFile';
|
||||
|
||||
// static String getUserMedicalCenterId(int id) {
|
||||
// return '$baseUrl/users?medical_center_id=$id';
|
||||
// }
|
||||
static const String exportItems = '$baseUrl/export/items';
|
||||
|
||||
static const String exportPackages = '$baseUrl/export/packages';
|
||||
|
||||
static String testResults(int id) {
|
||||
return '$baseUrl/TestResults?page=$id';
|
||||
|
||||
@@ -24,7 +24,6 @@ class CycleDetailObject extends Equatable {
|
||||
final String description;
|
||||
final String createDate;
|
||||
final String hospitalName;
|
||||
|
||||
final String date;
|
||||
final String sterileId;
|
||||
final String cycleNumber;
|
||||
|
||||
@@ -8,6 +8,7 @@ class ItemResultObject extends Equatable {
|
||||
final String userName;
|
||||
final int status;
|
||||
final String? batchId;
|
||||
final String? udi;
|
||||
|
||||
ItemResultObject({
|
||||
required this.id,
|
||||
@@ -16,6 +17,7 @@ class ItemResultObject extends Equatable {
|
||||
required this.userName,
|
||||
required this.status,
|
||||
this.batchId,
|
||||
this.udi,
|
||||
});
|
||||
|
||||
@override
|
||||
@@ -26,6 +28,7 @@ class ItemResultObject extends Equatable {
|
||||
userName,
|
||||
status,
|
||||
batchId!,
|
||||
udi!,
|
||||
];
|
||||
|
||||
@override
|
||||
|
||||
@@ -26,7 +26,6 @@ class LabelDetailsObject extends Equatable {
|
||||
final String package;
|
||||
final String packageId;
|
||||
final String hospitalName;
|
||||
|
||||
final String createDate;
|
||||
final String expireDate;
|
||||
final String sterileDate;
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// ignore_for_file: public_member_api_docs, sort_constructors_first
|
||||
import 'package:equatable/equatable.dart';
|
||||
|
||||
class MyItemResultObject extends Equatable {
|
||||
@@ -5,20 +6,14 @@ class MyItemResultObject extends Equatable {
|
||||
final String name;
|
||||
final String size;
|
||||
final String? userName;
|
||||
final String? fromDate;
|
||||
final String? toDate;
|
||||
final String? requestId;
|
||||
final String? userHistory;
|
||||
|
||||
MyItemResultObject({
|
||||
required this.id,
|
||||
required this.name,
|
||||
required this.size,
|
||||
this.userName,
|
||||
this.fromDate,
|
||||
this.toDate,
|
||||
this.requestId,
|
||||
this.userHistory,
|
||||
});
|
||||
|
||||
@override
|
||||
@@ -27,10 +22,7 @@ class MyItemResultObject extends Equatable {
|
||||
name,
|
||||
size,
|
||||
userName!,
|
||||
fromDate!,
|
||||
toDate!,
|
||||
requestId!,
|
||||
userHistory!,
|
||||
];
|
||||
|
||||
@override
|
||||
@@ -66,3 +58,32 @@ class MyItemFilterObject extends Equatable {
|
||||
@override
|
||||
bool get stringify => true;
|
||||
}
|
||||
|
||||
class ItemHistoryObject extends Equatable {
|
||||
final String fromDate;
|
||||
final String toDate;
|
||||
final String userHistoryName;
|
||||
final String userHistoryId;
|
||||
final String userHistoryPhon;
|
||||
ItemHistoryObject({
|
||||
required this.fromDate,
|
||||
required this.toDate,
|
||||
required this.userHistoryName,
|
||||
required this.userHistoryId,
|
||||
required this.userHistoryPhon,
|
||||
});
|
||||
|
||||
@override
|
||||
List<Object> get props {
|
||||
return [
|
||||
fromDate,
|
||||
toDate,
|
||||
userHistoryName,
|
||||
userHistoryId,
|
||||
userHistoryPhon,
|
||||
];
|
||||
}
|
||||
|
||||
@override
|
||||
bool get stringify => true;
|
||||
}
|
||||
|
||||
@@ -5,20 +5,14 @@ class MyPackageResultObject extends Equatable {
|
||||
final String name;
|
||||
final String createdAt;
|
||||
final String? userName;
|
||||
final String? fromDate;
|
||||
final String? toDate;
|
||||
final String? requestId;
|
||||
final String? userHistory;
|
||||
|
||||
MyPackageResultObject({
|
||||
required this.id,
|
||||
required this.name,
|
||||
required this.createdAt,
|
||||
this.userName,
|
||||
this.fromDate,
|
||||
this.toDate,
|
||||
this.requestId,
|
||||
this.userHistory,
|
||||
});
|
||||
|
||||
@override
|
||||
@@ -27,10 +21,7 @@ class MyPackageResultObject extends Equatable {
|
||||
name,
|
||||
createdAt,
|
||||
userName!,
|
||||
fromDate!,
|
||||
toDate!,
|
||||
requestId!,
|
||||
userHistory!,
|
||||
];
|
||||
|
||||
@override
|
||||
@@ -60,3 +51,32 @@ class MyPackageFilterObject extends Equatable {
|
||||
@override
|
||||
bool get stringify => true;
|
||||
}
|
||||
|
||||
class PackageHistoryObject extends Equatable {
|
||||
final String fromDate;
|
||||
final String toDate;
|
||||
final String userHistoryName;
|
||||
final String userHistoryId;
|
||||
final String userHistoryPhon;
|
||||
PackageHistoryObject({
|
||||
required this.fromDate,
|
||||
required this.toDate,
|
||||
required this.userHistoryName,
|
||||
required this.userHistoryId,
|
||||
required this.userHistoryPhon,
|
||||
});
|
||||
|
||||
@override
|
||||
List<Object> get props {
|
||||
return [
|
||||
fromDate,
|
||||
toDate,
|
||||
userHistoryName,
|
||||
userHistoryId,
|
||||
userHistoryPhon,
|
||||
];
|
||||
}
|
||||
|
||||
@override
|
||||
bool get stringify => true;
|
||||
}
|
||||
|
||||
@@ -277,6 +277,10 @@ class _CycleAddScreenState extends State<CycleAddScreen> {
|
||||
initialLabelValue:
|
||||
cycleProvider.initialLabelValue,
|
||||
index: index,
|
||||
hasRemoveButton:
|
||||
cycleProvider.labelValues.length > 1
|
||||
? true
|
||||
: false,
|
||||
),
|
||||
itemCount:
|
||||
cycleProvider.labelValues.length,
|
||||
|
||||