mirror of
https://git.meshkee.com/cssd/cssd-back.git
synced 2026-10-14 03:01:07 +03:30
Structor CSSD
This commit is contained in:
Vendored
+38
@@ -1,7 +1,45 @@
|
||||
const urls = {
|
||||
storeTestType : "/TestTypes",
|
||||
updateInfo : "/UpdateInfo",
|
||||
getInfo : "/GetInfo",
|
||||
login : "/login",
|
||||
logout : "/logout",
|
||||
storeMedicalCenter : "/MedicalCenters",
|
||||
listOpertor : "/Users",
|
||||
listMedicalCenter : function(page) {
|
||||
return "/MedicalCenters?page=" + page;
|
||||
},
|
||||
listTestType : function(page) {
|
||||
return "/TestTypes?page=" + page;
|
||||
},
|
||||
deleteTestType : function(id) {
|
||||
return `/TestTypes/${id}`;
|
||||
},
|
||||
editTestType : function(id) {
|
||||
return `/TestTypes/${id}/edit`;
|
||||
},
|
||||
updateTestType : function(id) {
|
||||
return `/TestTypes/${id}`;
|
||||
},
|
||||
updateMedicalCenter : function(id) {
|
||||
return `/MedicalCenters/${id}`;
|
||||
},
|
||||
deleteMedicalCenter : function(id) {
|
||||
return `/MedicalCenters/${id}`;
|
||||
},
|
||||
listOpertorMedicalCenter: function(id) {
|
||||
return `/Users/MedicalCenter/${id}`;
|
||||
},
|
||||
changeStatusUser: function(userId) {
|
||||
return `Users/ChangeStatus/${userId}`;
|
||||
},
|
||||
changeRoleUser: function(userId) {
|
||||
return `Users/ChangeRole/${userId}`;
|
||||
},
|
||||
deleteUser: function(userId) {
|
||||
return `Users/${userId}`;
|
||||
},
|
||||
|
||||
|
||||
};
|
||||
export {urls};
|
||||
Reference in New Issue
Block a user