fix: 폐기관리 메뉴 반영

dev
Jonguk. Lim 6 months ago
parent c8b02a4fdd
commit 28e36a3dcd

@ -18,6 +18,11 @@ public class TestController extends AbstractController {
@Value("${app.api.host:}") @Value("${app.api.host:}")
private String apiHost; private String apiHost;
/**
* url
* http://localhost:9077/adds/nims/barcodeForm.do
* @return
*/
@RequestMapping( @RequestMapping(
name = "Nims 바코드 리더", name = "Nims 바코드 리더",
value = {"/barcodeForm.do"} value = {"/barcodeForm.do"}

@ -5,15 +5,9 @@
<title>QR code reading</title> <title>QR code reading</title>
<link rel="stylesheet" rel="preload" as="style" onload="this.rel='stylesheet';this.onload=null"
href="https://fonts.googleapis.com/css?family=Roboto:300,300italic,700,700italic">
<link rel="stylesheet" rel="preload" as="style" onload="this.rel='stylesheet';this.onload=null"
href="https://unpkg.com/normalize.css@8.0.0/normalize.css">
<link rel="stylesheet" rel="preload" as="style" onload="this.rel='stylesheet';this.onload=null" <link rel="stylesheet" rel="preload" as="style" onload="this.rel='stylesheet';this.onload=null"
href="https://unpkg.com/milligram@1.3.0/dist/milligram.min.css"> href="https://unpkg.com/milligram@1.3.0/dist/milligram.min.css">
<script src="<c:url value="/resources/3rd-party/sneat/libs/jquery/jquery.js"/>"></script>
<script src="<c:url value="/resources/js/base/base.js?${ver}"/>"></script>
<main class="wrapper" style="padding-top:2em"> <main class="wrapper" style="padding-top:2em">
<section class="container" id="demo-content"> <section class="container" id="demo-content">
@ -61,12 +55,14 @@
</main> </main>
<!--<script type="text/javascript" src="https://unpkg.com/@zxing/library@latest/umd/index.min.js"></script>--> <!--<script type="text/javascript" src="https://unpkg.com/@zxing/library@latest/umd/index.min.js"></script>-->
<script src="<c:url value='/resources/js/zxing-library-0.20.0.min.js' />"></script> <%--<script src="<c:url value="/resources/js/base/base.js?${ver}"/>" defer></script>--%>
<script src="<c:url value='/resources/js/zxing-library-0.20.0.min.js' />" defer></script>
<script type="text/javascript"> <script type="text/javascript">
window.addEventListener('load', function () { window.addEventListener('load', function () {
let selectedDeviceId; let selectedDeviceId;
let isScan = false; let isScan = false;
const codeReader = new ZXing.BrowserMultiFormatReader() const codeReader = new ZXing.BrowserMultiFormatReader();
console.log('ZXing code reader initialized')
console.log('ZXing code reader initialized') console.log('ZXing code reader initialized')
codeReader.listVideoInputDevices() codeReader.listVideoInputDevices()
.then((videoInputDevices) => { .then((videoInputDevices) => {
@ -238,7 +234,7 @@
console.error(err) console.error(err)
}) })
}) }, {passive: true})
function isValid(data) { function isValid(data) {

@ -5,15 +5,9 @@
<title>폐기 신청서 접수</title> <title>폐기 신청서 접수</title>
<link rel="stylesheet" rel="preload" as="style" onload="this.rel='stylesheet';this.onload=null"
href="https://fonts.googleapis.com/css?family=Roboto:300,300italic,700,700italic">
<link rel="stylesheet" rel="preload" as="style" onload="this.rel='stylesheet';this.onload=null"
href="https://unpkg.com/normalize.css@8.0.0/normalize.css">
<link rel="stylesheet" rel="preload" as="style" onload="this.rel='stylesheet';this.onload=null" <link rel="stylesheet" rel="preload" as="style" onload="this.rel='stylesheet';this.onload=null"
href="https://unpkg.com/milligram@1.3.0/dist/milligram.min.css"> href="https://unpkg.com/milligram@1.3.0/dist/milligram.min.css">
<script src="<c:url value="/resources/3rd-party/sneat/libs/jquery/jquery.js"/>"></script>
<script src="<c:url value="/resources/js/base/base.js?${ver}"/>"></script>
<main class="wrapper" style="padding-top:2em"> <main class="wrapper" style="padding-top:2em">
<input type="file" id="img1" name="img" accept="image/*"><br> <input type="file" id="img1" name="img" accept="image/*"><br>
@ -86,5 +80,5 @@
} }
} }
}); });
}); }, {passive: true});
</script> </script>

@ -5,15 +5,9 @@
<title>폐기 통보[결과] 처리</title> <title>폐기 통보[결과] 처리</title>
<link rel="stylesheet" rel="preload" as="style" onload="this.rel='stylesheet';this.onload=null"
href="https://fonts.googleapis.com/css?family=Roboto:300,300italic,700,700italic">
<link rel="stylesheet" rel="preload" as="style" onload="this.rel='stylesheet';this.onload=null"
href="https://unpkg.com/normalize.css@8.0.0/normalize.css">
<link rel="stylesheet" rel="preload" as="style" onload="this.rel='stylesheet';this.onload=null" <link rel="stylesheet" rel="preload" as="style" onload="this.rel='stylesheet';this.onload=null"
href="https://unpkg.com/milligram@1.3.0/dist/milligram.min.css"> href="https://unpkg.com/milligram@1.3.0/dist/milligram.min.css">
<script src="<c:url value="/resources/3rd-party/sneat/libs/jquery/jquery.js"/>"></script>
<script src="<c:url value="/resources/js/base/base.js?${ver}"/>"></script>
<main class="wrapper" style="padding-top:2em"> <main class="wrapper" style="padding-top:2em">
<input type="file" id="img1" name="img" accept="image/*"><br> <input type="file" id="img1" name="img" accept="image/*"><br>
@ -66,5 +60,5 @@
} }
} }
}); });
}); }, {passive: true});
</script> </script>

Loading…
Cancel
Save