lxp 1 year ago
parent
commit
3ce296f75e

+ 2 - 1
yinet-admin/src/main/resources/templates/rlzy/apply/edit.html

@@ -128,6 +128,7 @@
                     </div>
                 </div>
             </div>
+            <hr>
             <div class="row">
                 <div class="col-sm-6">
                     <div class="form-group">
@@ -152,7 +153,7 @@
                         <label class="col-sm-4 control-label">发证日期:</label>
                         <div class="col-sm-8">
                             <div class="input-group date">
-                                <input name="openingDate" th:value="${#dates.format(rlzyApply.openingDate, 'yyyy-MM-dd')}" class="form-control" placeholder="yyyy-MM-dd" type="text" readonly>
+                                <input name="openingDate" th:value="${#dates.format(rlzyApply.openingDate, 'yyyy-MM-dd')}" class="form-control" placeholder="yyyy-MM-dd" type="text" >
                                 <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
                             </div>
                         </div>

+ 17 - 4
yinet-admin/src/main/resources/templates/rlzy/print/apply.html

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

+ 1 - 1
yinet-admin/src/main/resources/templates/rlzy/print/applyShua.html

@@ -19,7 +19,7 @@
     <body class="bluebg">
 		<header>
 			<img class="logo fl" src="/print/img/logo_03.png" />
-			<div class="anniu"><a href="/apply/print/index" class="button"><img src="/print/img/index.png"/></a>
+			<div class="anniu"><a href="/zhuxiao/index" class="button"><img src="/print/img/index.png"/></a>
 			<a class="button" onclick="goBack()"><img src="/print/img/fh.png"/></a></div>
 		</header>
         <audio style="display: none"  autoplay="autoplay" id="myaudio" controls>

+ 2 - 1
yinet-admin/src/main/resources/templates/rlzy/print/dylist.html

@@ -12,7 +12,8 @@
         <link rel="stylesheet" type="text/css" href="/print/css/style.css">
         <link rel="stylesheet" type="text/css" href="/print/css/bootstrap.min.css">
 	</head>
-	<body class="bluebg">
+
+	<body  class="bluebg">
 		<header>
 			<img class="fl" style="width: 800px;padding: 20px 90px;" src="/print/img/logo_03.png" />
 			<div class="anniu"><a class="button"  href="/zhuxiao/index"><img src="/print/img/index.png"/></a>

+ 1 - 1
yinet-admin/src/main/resources/templates/rlzy/print/printShua.html

@@ -19,7 +19,7 @@
     <body class="bluebg">
 		<header>
 			<img class="logo fl" src="/print/img/logo_03.png" />
-			<div class="anniu"><a href="/apply/print/index" class="button"><img src="/print/img/index.png"/></a>
+			<div class="anniu"><a href="/zhuxiao/index" class="button"><img src="/print/img/index.png"/></a>
 			<a class="button" onclick="goBack()"><img src="/print/img/fh.png"/></a></div>
 		</header>
         <audio style="display: none"  autoplay="autoplay" id="myaudio" controls>