|
@@ -114,7 +114,11 @@
|
|
<!-- 查询码 -->
|
|
<!-- 查询码 -->
|
|
<div v-if="nextflag&&form.queryMode==2">
|
|
<div v-if="nextflag&&form.queryMode==2">
|
|
<div class="pb_w520 pb_searchnum" style="padding-bottom: 20px;">
|
|
<div class="pb_w520 pb_searchnum" style="padding-bottom: 20px;">
|
|
- <div class="pb_searchtit" style="margin-bottom: 30px;">查询码:</div>
|
|
|
|
|
|
+ <div class="pflexc" style="margin-bottom: 30px;">
|
|
|
|
+ <div class="pb_searchtit pflex1" >查询码:<span class="pb_searchtita">(*有效期10分钟)</span></div>
|
|
|
|
+ <div class="pflex2 pb_searchtitb">{{detailtime}}s</div>
|
|
|
|
+ </div>
|
|
|
|
+
|
|
<div class="pflexc pb_searnum">
|
|
<div class="pflexc pb_searnum">
|
|
<input maxlength="1" v-model="queryinput[0]" @keyup="nextFocusNum($event,0)"/>
|
|
<input maxlength="1" v-model="queryinput[0]" @keyup="nextFocusNum($event,0)"/>
|
|
<input maxlength="1" v-model="queryinput[1]" @keyup="nextFocusNum($event,1)"/>
|
|
<input maxlength="1" v-model="queryinput[1]" @keyup="nextFocusNum($event,1)"/>
|
|
@@ -212,8 +216,15 @@
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
- <div class="pb_searchbtn pb_searchbtna" v-if="form.queryMode==2&&!nextflag" @click="getNext">下一步</div>
|
|
|
|
- <div class="pb_searchbtn pb_searchbtna" v-else @click="getSerch">查询</div>
|
|
|
|
|
|
+ <div v-if="form.queryMode==2&&!nextflag" style="margin-top: 60px;">
|
|
|
|
+ <p class="pw_tit" style="text-align: left;font-size: 15px;">* 详细查询需提前联系管理员,否则无法获取详细查询码进行详细查询,若需详细查询请联系管理员或拨打电话:0556-5728197 0556-5728199进行咨询</p>
|
|
|
|
+ <div class="pb_searchbtn pb_searchbtna" style="margin-top: 10px;" @click="getNext">下一步</div>
|
|
|
|
+ </div>
|
|
|
|
+ <div v-else style="margin-top: 60px;">
|
|
|
|
+ <p class="pw_tit" v-if="form.queryMode==2&&nextflag" style="font-size: 15px;">* 等待期间请勿关闭此页面以防重复获取查询码</p>
|
|
|
|
+ <div class="pb_searchbtn pb_searchbtna" style="margin-top: 15px;" @click="getSerch">查询</div>
|
|
|
|
+ </div>
|
|
|
|
+
|
|
<div class="pb_searchtxt" v-if="form.queryMode==2&&nextflag" @click="getPre">返回上一步</div>
|
|
<div class="pb_searchtxt" v-if="form.queryMode==2&&nextflag" @click="getPre">返回上一步</div>
|
|
</form>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
@@ -247,6 +258,10 @@
|
|
<div class="pb_resultt">是否合格: </div>
|
|
<div class="pb_resultt">是否合格: </div>
|
|
<p>{{resdata.isQualify=='Y'?'合格':'不合格'}}</p>
|
|
<p>{{resdata.isQualify=='Y'?'合格':'不合格'}}</p>
|
|
</div>
|
|
</div>
|
|
|
|
+ <div class="pb_resultw fl">
|
|
|
|
+ <div class="pb_resultt">签发日期 :</div>
|
|
|
|
+ <p>{{resdata.issueTime}}</p>
|
|
|
|
+ </div>
|
|
</div>
|
|
</div>
|
|
<!-- 详细结果 -->
|
|
<!-- 详细结果 -->
|
|
<div class="pb_resulta cf pb_resultb" v-if="resdata.reportUrl">
|
|
<div class="pb_resulta cf pb_resultb" v-if="resdata.reportUrl">
|
|
@@ -321,6 +336,8 @@
|
|
timefalg:false,//时间
|
|
timefalg:false,//时间
|
|
time:60,
|
|
time:60,
|
|
timer:'',
|
|
timer:'',
|
|
|
|
+ detailtime:600,
|
|
|
|
+ detailtimer:'',
|
|
uploadImgUrl: "https://jyzx.qs163.cn/prod-api/gateway/query/common/upload", // 上传的图片服务器地址,
|
|
uploadImgUrl: "https://jyzx.qs163.cn/prod-api/gateway/query/common/upload", // 上传的图片服务器地址,
|
|
// uploadImgUrl: "http://192.168.101.11:8090/gateway/query/common/upload", // 上传的图片服务器地址,
|
|
// uploadImgUrl: "http://192.168.101.11:8090/gateway/query/common/upload", // 上传的图片服务器地址,
|
|
resultlist:[{},{},{}],
|
|
resultlist:[{},{},{}],
|
|
@@ -388,6 +405,20 @@
|
|
}
|
|
}
|
|
|
|
|
|
},
|
|
},
|
|
|
|
+ // 详情码倒计时
|
|
|
|
+ setTimeDetail(){
|
|
|
|
+ var that=this;
|
|
|
|
+ clearInterval(that.detailtimer)
|
|
|
|
+ that.detailtimer=setInterval(()=>{
|
|
|
|
+ if(that.detailtime<=1){
|
|
|
|
+ that.detailtime=0;
|
|
|
|
+ clearInterval(that.detailtimer);
|
|
|
|
+ return
|
|
|
|
+ }
|
|
|
|
+ that.detailtime=that.detailtime-1;
|
|
|
|
+ },1000)
|
|
|
|
+ },
|
|
|
|
+ // 验证码倒计时
|
|
setTimein(){
|
|
setTimein(){
|
|
var that=this;
|
|
var that=this;
|
|
clearInterval(that.timer)
|
|
clearInterval(that.timer)
|
|
@@ -499,7 +530,6 @@
|
|
}
|
|
}
|
|
params.qrImage='';
|
|
params.qrImage='';
|
|
}
|
|
}
|
|
- that.nextflag=true;
|
|
|
|
params.queryNum='';
|
|
params.queryNum='';
|
|
// console.log(params,12)
|
|
// console.log(params,12)
|
|
// 获取查询码
|
|
// 获取查询码
|
|
@@ -511,7 +541,9 @@
|
|
success: function(res) {
|
|
success: function(res) {
|
|
if (res.code == 200) {
|
|
if (res.code == 200) {
|
|
that.$message.success(res.msg);
|
|
that.$message.success(res.msg);
|
|
-
|
|
|
|
|
|
+ that.nextflag=true;
|
|
|
|
+ that.detailtime=600;
|
|
|
|
+ that.setTimeDetail();
|
|
// that.setTimein()
|
|
// that.setTimein()
|
|
} else {
|
|
} else {
|
|
that.$message({
|
|
that.$message({
|