|
@@ -38,8 +38,14 @@
|
|
display: flex !important;
|
|
display: flex !important;
|
|
}
|
|
}
|
|
</style>
|
|
</style>
|
|
|
|
+ <script>
|
|
|
|
+ function checkLeave() {
|
|
|
|
+ console.log("quit");
|
|
|
|
+ cl_closeidA4photos();
|
|
|
|
+ }
|
|
|
|
+ </script>
|
|
</head>
|
|
</head>
|
|
-<body>
|
|
|
|
|
|
+<body onbeforeunload="return checkLeave()">
|
|
<div class="wrap">
|
|
<div class="wrap">
|
|
<!-- 头部 -->
|
|
<!-- 头部 -->
|
|
<header>
|
|
<header>
|
|
@@ -277,7 +283,9 @@
|
|
name="legalName"
|
|
name="legalName"
|
|
class="form-control"
|
|
class="form-control"
|
|
type="text"
|
|
type="text"
|
|
|
|
+ id="legalName"
|
|
placeholder="请输入法人代表"
|
|
placeholder="请输入法人代表"
|
|
|
|
+ readonly
|
|
/>
|
|
/>
|
|
</div>
|
|
</div>
|
|
<div
|
|
<div
|
|
@@ -296,6 +304,7 @@
|
|
type="text"
|
|
type="text"
|
|
id="idcard"
|
|
id="idcard"
|
|
placeholder="请输入身份证号"
|
|
placeholder="请输入身份证号"
|
|
|
|
+ readonly
|
|
/>
|
|
/>
|
|
<span id="idcard1" style="color: red;font-size: 10px;display: none">请输入正确的身份证号</span>
|
|
<span id="idcard1" style="color: red;font-size: 10px;display: none">请输入正确的身份证号</span>
|
|
</div>
|
|
</div>
|
|
@@ -472,12 +481,15 @@
|
|
</footer>
|
|
</footer>
|
|
</div>
|
|
</div>
|
|
<th:block th:include="include :: footer" />
|
|
<th:block th:include="include :: footer" />
|
|
-
|
|
|
|
|
|
+<script src="/print/js/cookie.tool.js" type="text/javascript" charset="utf-8"></script>
|
|
<script src="/raio/newjs/qwebchannel.js" type="text/javascript" charset="utf-8"></script>
|
|
<script src="/raio/newjs/qwebchannel.js" type="text/javascript" charset="utf-8"></script>
|
|
<script src="/raio/newjs/app.js" type="text/javascript" charset="utf-8"></script>
|
|
<script src="/raio/newjs/app.js" type="text/javascript" charset="utf-8"></script>
|
|
|
|
+
|
|
<script th:inline="javascript">
|
|
<script th:inline="javascript">
|
|
|
|
+
|
|
$(function () {
|
|
$(function () {
|
|
- $("#idcard").val([[${idcard}]])
|
|
|
|
|
|
+ $("#idcard").val(getCookie("cardno"))
|
|
|
|
+ $("#legalName").val(getCookie("cardname"))
|
|
})
|
|
})
|
|
var prefix = ctx + "rlzy/print"
|
|
var prefix = ctx + "rlzy/print"
|
|
$("#form-file-add").validate({
|
|
$("#form-file-add").validate({
|
|
@@ -516,7 +528,8 @@
|
|
var creditCode = $('#creditCode').val()
|
|
var creditCode = $('#creditCode').val()
|
|
console.log(creditCode)
|
|
console.log(creditCode)
|
|
$.operate.save( prefix+"/add", $('#form-file-add').serialize(),function(){
|
|
$.operate.save( prefix+"/add", $('#form-file-add').serialize(),function(){
|
|
- window.location.href="/rlzy/print/secound/13"
|
|
|
|
|
|
+ cl_closeidA4photos();
|
|
|
|
+ window.location.href="/zhuxiao/index"
|
|
});
|
|
});
|
|
}
|
|
}
|
|
|
|
|