mirror of
https://git.meshkee.com/cssd/cssd-back.git
synced 2026-10-10 19:11:07 +03:30
30 lines
712 B
JavaScript
Vendored
30 lines
712 B
JavaScript
Vendored
const urls = {
|
|
showTestResult: function(id) {
|
|
return `/ShowTestResult/${id}`;
|
|
},
|
|
showItem: function(id) {
|
|
// return `/ShowItem/${id}`;
|
|
return `/api/show-item/${id}`;
|
|
|
|
},
|
|
showPackage: function(id) {
|
|
return `/api/show-package/${id}`;
|
|
},
|
|
showLabel: function(id) {
|
|
return `/ShowLabel/${id}`;
|
|
},
|
|
showCycle: function(id) {
|
|
return `/ShowCycle/${id}`;
|
|
},
|
|
Barcode: function(code, type) {
|
|
return `/BarCode/${code}/${type}`;
|
|
},
|
|
packageBarcode: function(code) {
|
|
return `/Package/Barcode/${code}`;
|
|
},
|
|
packageQRCode: function(code) {
|
|
return `/Package/QRCode/${code}`;
|
|
}
|
|
};
|
|
export { urls };
|