change pack to label

This commit is contained in:
Fayyazi
2019-10-28 14:16:18 +03:30
parent 7c94a30254
commit dbd0ddc1d4
16 changed files with 254 additions and 112 deletions
+13 -13
View File
@@ -9,7 +9,7 @@ const urls = {
statistics: `/TestResults/chart`,
storeTestType: "/TestTypes",
storePackage: "/Packages",
storePack: "/Packs",
storeLabel: "/Labels",
storeCycle: "/Cycles",
storeItem: "/Items",
listTestTypeName: "/TestTypes/ListNames",
@@ -111,20 +111,20 @@ const urls = {
verifyPackage: function(id) {
return `/Package/Verify/${id}`;
},
listPack: function(filter) {
return "/Packs" + filter;
listLabel: function(filter) {
return "/Labels" + filter;
},
showPack: function(id) {
return `/Packs/${id}`;
showLabel: function(id) {
return `/Labels/${id}`;
},
editPack: function(id) {
return `/Packs/${id}/edit`;
editLabel: function(id) {
return `/Labels/${id}/edit`;
},
updatePack: function(id) {
return `/Packs/${id}`;
updateLabel: function(id) {
return `/Labels/${id}`;
},
removePack: function(id) {
return `Packs/${id}`;
removeLabel: function(id) {
return `Labels/${id}`;
},
listCycle: function(filter) {
return "/Cycles" + filter;
@@ -153,8 +153,8 @@ const urls = {
listAllPackage: function() {
return "/GetPackages";
},
listAllPack: function() {
return "/GetPacks";
listAllLabel: function() {
return "/GetLabels";
},
showItem: function(id) {
return `/Items/${id}`;