add package

This commit is contained in:
saeid_01
2019-06-15 19:05:17 +04:30
parent d26188d274
commit 7e8dd3c8e4
54 changed files with 946 additions and 65 deletions
+22 -1
View File
@@ -8,6 +8,7 @@ const urls = {
listFilterItemsTestResult : `/TestResults/ListFilterItems`,
statistics : `/TestResults/chart`,
storeTestType : "/TestTypes",
storePackage : "/Packages",
listTestTypeName : "/TestTypes/ListNames",
getInputs : `/GetInputs`,
forgotPassword : `/password/phone`,
@@ -73,7 +74,27 @@ const urls = {
deleteUser: function(userId) {
return `Users/${userId}`;
},
listPackage : function(filter) {
return "/Packages" + filter;
},
showPackage : function(id) {
return `/Packages/${id}` ;
},
editPackage : function(id) {
return `/Packages/${id}/edit`;
},
updatePackage : function(id) {
return `/Packages/${id}`;
},
removePackage: function(id) {
return `Packages/${id}`;
},
verifyPackage : function(id) {
return `/Package/Verify/${id}`;
},
Barcode : function(code) {
return `/BarCode/${code}`;
},
};
export {urls};