| xqd
@@ -92,10 +92,17 @@
|
|
|
margin-left: 52px;
|
|
|
margin-top: 10px;
|
|
|
}
|
|
|
+ .tanbox .b2 button{
|
|
|
+ width: 80px;
|
|
|
+ margin-left: 10px;
|
|
|
+ margin-top: 10px;
|
|
|
+ }
|
|
|
</style>
|
|
|
</head>
|
|
|
<body>
|
|
|
<script type="text/javascript">
|
|
|
+ var url = '';
|
|
|
+ var downurl = '';
|
|
|
var yan = 0;
|
|
|
var countdown = 60;
|
|
|
var sending = false;
|
| xqd
@@ -117,6 +124,7 @@
|
|
|
settime(obj);
|
|
|
}, 1000)
|
|
|
}
|
|
|
+
|
|
|
function submits(){
|
|
|
$.ajax({
|
|
|
url:"{{ url('/web/Index/index') }}",
|
| xqd
@@ -145,7 +153,8 @@
|
|
|
});
|
|
|
}
|
|
|
|
|
|
- function tijiao(status){
|
|
|
+ function tijiao(status,redirect_url,pdf_url){
|
|
|
+ window.url = '';
|
|
|
var tanc=document.getElementById("tanchuang")
|
|
|
tanc.style="display:auto;"
|
|
|
// var status = 0
|
| xqd
@@ -165,17 +174,20 @@
|
|
|
tbox[2].style="display:auto;"
|
|
|
}
|
|
|
}
|
|
|
- function close(e){
|
|
|
+ function thebtn(e){
|
|
|
var id = e.id;
|
|
|
console.log(id)
|
|
|
if(id=='fail'){
|
|
|
closebox();
|
|
|
}else if(id=='yeah'){
|
|
|
- var tanc=document.getElementById("tanchuang")
|
|
|
- tanc.style="display:none;"
|
|
|
+ window.location.href=url
|
|
|
}else if(id=='download'){
|
|
|
- var tanc=document.getElementById("tanchuang")
|
|
|
- tanc.style="display:none;"
|
|
|
+ var elemIF = document.createElement("iframe");
|
|
|
+ elemIF.src = downurl;
|
|
|
+ elemIF.style.display = "none";
|
|
|
+ document.body.appendChild(elemIF);
|
|
|
+ }else{
|
|
|
+ window.location.href=url
|
|
|
}
|
|
|
}
|
|
|
function closebox(){
|
| xqd
@@ -310,11 +322,12 @@
|
|
|
</div>
|
|
|
<div class="status b1">
|
|
|
<text class="title">提交成功!!</text>
|
|
|
- <button class="btn btn-default" id="yeah" type="button" onclick="close(this)">下一页!</button>
|
|
|
+ <button class="btn btn-default" id="yeah" type="button" onclick="thebtn(this)">下一页!</button>
|
|
|
</div>
|
|
|
<div class="status b2">
|
|
|
<text class="title">下载****!!</text>
|
|
|
- <button class="btn btn-default" id="download" type="button" onclick="close(this)">下载!</button>
|
|
|
+ <button class="btn btn-default" id="next" type="button" onclick="thebtn(this)">下一页!</button>
|
|
|
+ <button class="btn btn-default" id="download" type="button" onclick="thebtn(this)">下载!</button>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|