|
@@ -419,6 +419,11 @@
|
|
name="file"
|
|
name="file"
|
|
type="hidden"
|
|
type="hidden"
|
|
/>
|
|
/>
|
|
|
|
+ <input
|
|
|
|
+ id="chengnuoshu"
|
|
|
|
+ name="file"
|
|
|
|
+ type="hidden"
|
|
|
|
+ />
|
|
|
|
|
|
</form>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
@@ -433,7 +438,7 @@
|
|
<div style="height:810px;overflow:auto">
|
|
<div style="height:810px;overflow:auto">
|
|
<table class="table table-bordered">
|
|
<table class="table table-bordered">
|
|
<tbody>
|
|
<tbody>
|
|
- <tr class="info" >
|
|
|
|
|
|
+ <tr class="info" data-id="yyzz" onclick="selTr(this)">
|
|
<td>
|
|
<td>
|
|
1
|
|
1
|
|
</td>
|
|
</td>
|
|
@@ -441,6 +446,14 @@
|
|
<a class="list">营业执照</a>
|
|
<a class="list">营业执照</a>
|
|
</td>
|
|
</td>
|
|
</tr>
|
|
</tr>
|
|
|
|
+ <tr class="info" data-id="sqcn" onclick="selTr(this)">
|
|
|
|
+ <td>
|
|
|
|
+ 2
|
|
|
|
+ </td>
|
|
|
|
+ <td>
|
|
|
|
+ <a class="list">申请人承诺</a>
|
|
|
|
+ </td>
|
|
|
|
+ </tr>
|
|
|
|
|
|
</tbody>
|
|
</tbody>
|
|
</table>
|
|
</table>
|
|
@@ -465,9 +478,12 @@
|
|
<div class="col-md-3" style="height:100%">
|
|
<div class="col-md-3" style="height:100%">
|
|
<h3 class="title" style="text-align:center">—— 预览 ——</h3>
|
|
<h3 class="title" style="text-align:center">—— 预览 ——</h3>
|
|
<div id="ylDivList" style="height:810px;overflow:auto" >
|
|
<div id="ylDivList" style="height:810px;overflow:auto" >
|
|
- <div class="col-md-12 yllist" >
|
|
|
|
|
|
+ <div class="col-md-12 yllist" id="yyzz" >
|
|
<a id="imgBase64"> </a>
|
|
<a id="imgBase64"> </a>
|
|
</div>
|
|
</div>
|
|
|
|
+ <div class="col-md-12 yllist" id="sqcn" style="display:none">
|
|
|
|
+ <a > </a>
|
|
|
|
+ </div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@@ -734,7 +750,19 @@
|
|
formData.append("file", fileOfBlob);
|
|
formData.append("file", fileOfBlob);
|
|
return formData
|
|
return formData
|
|
}
|
|
}
|
|
|
|
+var nowfile=""
|
|
|
|
+ function selTr(e) {
|
|
|
|
+ nowfile=$(e).attr("data-id")
|
|
|
|
+ if(nowfile=="yyzz"){
|
|
|
|
+ $("#yyzz").show()
|
|
|
|
+ $("#sqcn").hide()
|
|
|
|
+ }else{
|
|
|
|
+ $("#yyzz").hide()
|
|
|
|
+ $("#sqcn").show()
|
|
|
|
+ }
|
|
|
|
|
|
|
|
+
|
|
|
|
+ }
|
|
function goBack() {
|
|
function goBack() {
|
|
history.go(-2);
|
|
history.go(-2);
|
|
}
|
|
}
|
|
@@ -747,13 +775,23 @@
|
|
|
|
|
|
function addImage(base64) {
|
|
function addImage(base64) {
|
|
var base64 = "data:image/jpeg;base64," + base64;
|
|
var base64 = "data:image/jpeg;base64," + base64;
|
|
- if($("#baseFile").val()!=""&&$("#baseFile").val()!=undefined){
|
|
|
|
- alert("请勿重复拍照")
|
|
|
|
- return ;
|
|
|
|
|
|
+ if(nowfile=="yyzz"){
|
|
|
|
+ if($("#baseFile").val()!=""&&$("#baseFile").val()!=undefined){
|
|
|
|
+ alert("请勿重复拍照")
|
|
|
|
+ return ;
|
|
|
|
+ }
|
|
|
|
+ $("#baseFile").val(base64);
|
|
|
|
+ }else{
|
|
|
|
+ if($("#chengnuoshu").val()!=""&&$("#chengnuoshu").val()!=undefined){
|
|
|
|
+ alert("请勿重复拍照")
|
|
|
|
+ return ;
|
|
|
|
+ }
|
|
|
|
+ $("#chengnuoshu").val(base64);
|
|
}
|
|
}
|
|
- $("#baseFile").val(base64);
|
|
|
|
|
|
+
|
|
var imghtml='<li ><i class="iconfont icon-guanbi" onClick="delImage(this)"></i><img src="'+base64+'" style="width:100%;height:200px;z-index:100;"/></li>'
|
|
var imghtml='<li ><i class="iconfont icon-guanbi" onClick="delImage(this)"></i><img src="'+base64+'" style="width:100%;height:200px;z-index:100;"/></li>'
|
|
- $(".yllist").append(imghtml);
|
|
|
|
|
|
+ $("#"+nowfile).append(imghtml);
|
|
|
|
+
|
|
}
|
|
}
|
|
</script>
|
|
</script>
|
|
</body>
|
|
</body>
|