Files
cssd-back/resources/js/show/config/urls.js
T
2025-04-03 12:16:54 +03:30

31 lines
742 B
JavaScript
Vendored

const urls = {
showTestResult: function(id) {
return `/ShowTestResult/${id}`;
},
showItem: function(id) {
// return `/ShowItem/${id}`;
return `/show-item/${id}`;
},
showPackage: function(id) {
return `/ShowPackage/${id}`;
},
showLabel: function(id) {
return `/ShowLabel/${id}`;
},
showCycle: function(id) {
return `/ShowCycle/${id}`;
},
Barcode: function(code, type) {
console.log(code, type,'aaa');
return `/BarCode/${code}/${type}`;
},
packageBarcode: function(code) {
return `/Package/Barcode/${code}`;
},
packageQRCode: function(code) {
return `/Package/QRCode/${code}`;
}
};
export { urls };