mirror of
https://git.meshkee.com/cssd/cssd-back.git
synced 2026-10-13 13:41:06 +03:30
Finish production
This commit is contained in:
Vendored
+10
-13
@@ -13,8 +13,8 @@ const urls = {
|
||||
forgotPassword : `/password/phone`,
|
||||
sendVerifyCode : `/password/verifyCode`,
|
||||
changePassword : `/password/reset`,
|
||||
listTestType : function(page) {
|
||||
return "/TestTypes?page=" + page;
|
||||
listTestType : function(filter) {
|
||||
return "/TestTypes" + filter;
|
||||
},
|
||||
TestTypeBarcode : function(id) {
|
||||
return `/TestTypes/Barcode/${id}`;
|
||||
@@ -28,11 +28,8 @@ const urls = {
|
||||
updateTestType : function(id) {
|
||||
return `/TestTypes/${id}`;
|
||||
},
|
||||
listTestResult : function(page, verified = null) {
|
||||
if (verified) {
|
||||
return `/TestResults/?verified=${verified}&page=${page}`;
|
||||
}
|
||||
return "/TestResults?page=" + page;
|
||||
listTestResult : function(filter) {
|
||||
return "/TestResults" + filter;
|
||||
},
|
||||
verifyTestResult : function(id) {
|
||||
return `/TestResults/Verify/${id}`;
|
||||
@@ -49,8 +46,8 @@ const urls = {
|
||||
removeTestResult : function(id) {
|
||||
return `/TestResults/${id}`;
|
||||
},
|
||||
listMedicalCenter : function(page) {
|
||||
return "/MedicalCenters?page=" + page;
|
||||
listMedicalCenter : function(filter) {
|
||||
return "/MedicalCenters" + filter;
|
||||
},
|
||||
updateMedicalCenter : function(id) {
|
||||
return `/MedicalCenters/${id}`;
|
||||
@@ -61,11 +58,11 @@ const urls = {
|
||||
deleteMedicalCenter : function(id) {
|
||||
return `/MedicalCenters/${id}`;
|
||||
},
|
||||
listOpertorMedicalCenter: function(id) {
|
||||
return `/Users/MedicalCenter/${id}`;
|
||||
listOpertorMedicalCenter: function(medical_center_id, filter) {
|
||||
return `/Users/MedicalCenter/${medical_center_id}${filter}`;
|
||||
},
|
||||
listOpertor : function(page) {
|
||||
return "/Users?page=" + page;
|
||||
listOpertor : function(filter) {
|
||||
return "/Users" + filter;
|
||||
},
|
||||
changeStatusUser: function(userId) {
|
||||
return `Users/ChangeStatus/${userId}`;
|
||||
|
||||
Reference in New Issue
Block a user