Commit 1280849b authored by 李苏's avatar 李苏 💬

1

parent 23cf2d12
...@@ -132,9 +132,14 @@ ...@@ -132,9 +132,14 @@
let that=t let that=t
gas.post('kmes/gpfk/jyfk',{"fkid":that.fkid, "hgsn":that.xlh}, function(res){ gas.post('kmes/gpfk/jyfk',{"fkid":that.fkid, "hgsn":that.xlh}, function(res){
if(res.data&&res.data.records){ if(res.data&&res.data.records){
debugger
if(type=="ok"){ if(type=="ok"){
taht.isok="OK"
that.hg=res.data.records.hgsl||0; that.hg=res.data.records.hgsl||0;
that.ng=res.data.records.bhgsl||0;
}else if(type=="ng"){ }else if(type=="ng"){
taht.isok="NG"
that.hg=res.data.records.hgsl||0;
that.ng=res.data.records.bhgsl||0; that.ng=res.data.records.bhgsl||0;
} }
} }
...@@ -255,7 +260,7 @@ ...@@ -255,7 +260,7 @@
</div> </div>
</div> </div>
<div class="cardList-wrappers" style="width: 40%;height: 95%;color: white;display: flex;align-items: center;justify-content: center;font-size: 30px;"> <div class="cardList-wrappers" style="width: 40%;height: 95%;color: white;display: flex;align-items: center;justify-content: center;font-size: 30px;">
<b style="font-size: 60px;">ok</b> <b style="font-size: 60px;">{{isok}}</b>
</div> </div>
</div> </div>
</div> </div>
...@@ -334,7 +339,7 @@ ...@@ -334,7 +339,7 @@
<div class="maintab" style="position: relative;"> <div class="maintab" style="position: relative;">
<div class="cpiright" style="width:160px;height: 160px;padding: 10px;position: absolute;right: 10px;top: 20px;"> <div class="cpiright" style="width:160px;height: 160px;padding: 10px;position: absolute;right: 10px;top: 20px;">
<div style="width: 100%;height: 100%;background-color: #1890FF;color: white;display: flex;align-items: center;justify-content: center;font-size: 30px;"> <div style="width: 100%;height: 100%;background-color: #1890FF;color: white;display: flex;align-items: center;justify-content: center;font-size: 30px;">
<b>ok</b> <b>{{isok}}</b>
</div> </div>
</div> </div>
<div style="height: 20px;line-height: 20px;background-color: grey;color: white;text-align: center;"> <div style="height: 20px;line-height: 20px;background-color: grey;color: white;text-align: center;">
...@@ -408,7 +413,7 @@ ...@@ -408,7 +413,7 @@
<div class="maintab" style="position: relative;"> <div class="maintab" style="position: relative;">
<div class="cpiright" style="width:130px;height: 130px;padding: 10px;position: absolute;right: 10px;top: 20px;"> <div class="cpiright" style="width:130px;height: 130px;padding: 10px;position: absolute;right: 10px;top: 20px;">
<div style="width: 100%;height: 100%;background-color: #1890FF;color: white;display: flex;align-items: center;justify-content: center;font-size: 30px;"> <div style="width: 100%;height: 100%;background-color: #1890FF;color: white;display: flex;align-items: center;justify-content: center;font-size: 30px;">
<b>ok</b> <b>{{isok}}</b>
</div> </div>
</div> </div>
<div style="height: 20px;line-height: 20px;background-color: grey;color: white;text-align: center;"> <div style="height: 20px;line-height: 20px;background-color: grey;color: white;text-align: center;">
...@@ -449,6 +454,7 @@ ...@@ -449,6 +454,7 @@
}, },
data:function(){ data:function(){
return{ return{
isok="OK",
username:localStorage.getItem("username"), username:localStorage.getItem("username"),
pm:"", pm:"",
ng:0, ng:0,
...@@ -523,6 +529,7 @@ ...@@ -523,6 +529,7 @@
}, },
data:function(){ data:function(){
return{ return{
isok="OK",
username:localStorage.getItem("username"), username:localStorage.getItem("username"),
pm:"", pm:"",
ng:0, ng:0,
...@@ -592,6 +599,7 @@ ...@@ -592,6 +599,7 @@
}, },
data:function(){ data:function(){
return{ return{
isok="OK",
username:localStorage.getItem("username"), username:localStorage.getItem("username"),
pm:"", pm:"",
ng:0, ng:0,
......
...@@ -133,8 +133,12 @@ ...@@ -133,8 +133,12 @@
gas.post('kmes/gpfk/wxfk',{"fkid":that.fkid, "hgsn":that.xlh}, function(res){ gas.post('kmes/gpfk/wxfk',{"fkid":that.fkid, "hgsn":that.xlh}, function(res){
if(res.data&&res.data.records){ if(res.data&&res.data.records){
if(type=="ok"){ if(type=="ok"){
that.isok="OK"
that.hg=res.data.records.hgsl||0; that.hg=res.data.records.hgsl||0;
that.ng=res.data.records.bhgsl||0;
}else if(type=="ng"){ }else if(type=="ng"){
that.isok="NG"
that.hg=res.data.records.hgsl||0;
that.ng=res.data.records.bhgsl||0; that.ng=res.data.records.bhgsl||0;
} }
} }
...@@ -255,7 +259,7 @@ ...@@ -255,7 +259,7 @@
</div> </div>
</div> </div>
<div class="cardList-wrappers" style="width: 40%;height: 95%;color: white;display: flex;align-items: center;justify-content: center;font-size: 30px;"> <div class="cardList-wrappers" style="width: 40%;height: 95%;color: white;display: flex;align-items: center;justify-content: center;font-size: 30px;">
<b style="font-size: 60px;">ok</b> <b style="font-size: 60px;">{{isok}}</b>
</div> </div>
</div> </div>
</div> </div>
...@@ -334,7 +338,7 @@ ...@@ -334,7 +338,7 @@
<div class="maintab" style="position: relative;"> <div class="maintab" style="position: relative;">
<div class="cpiright" style="width:160px;height: 160px;padding: 10px;position: absolute;right: 10px;top: 20px;"> <div class="cpiright" style="width:160px;height: 160px;padding: 10px;position: absolute;right: 10px;top: 20px;">
<div style="width: 100%;height: 100%;background-color: #1890FF;color: white;display: flex;align-items: center;justify-content: center;font-size: 30px;"> <div style="width: 100%;height: 100%;background-color: #1890FF;color: white;display: flex;align-items: center;justify-content: center;font-size: 30px;">
<b>ok</b> <b>{{isok}}</b>
</div> </div>
</div> </div>
<div style="height: 20px;line-height: 20px;background-color: grey;color: white;text-align: center;"> <div style="height: 20px;line-height: 20px;background-color: grey;color: white;text-align: center;">
...@@ -408,7 +412,7 @@ ...@@ -408,7 +412,7 @@
<div class="maintab" style="position: relative;"> <div class="maintab" style="position: relative;">
<div class="cpiright" style="width:130px;height: 130px;padding: 10px;position: absolute;right: 10px;top: 20px;"> <div class="cpiright" style="width:130px;height: 130px;padding: 10px;position: absolute;right: 10px;top: 20px;">
<div style="width: 100%;height: 100%;background-color: #1890FF;color: white;display: flex;align-items: center;justify-content: center;font-size: 30px;"> <div style="width: 100%;height: 100%;background-color: #1890FF;color: white;display: flex;align-items: center;justify-content: center;font-size: 30px;">
<b>ok</b> <b>{{isok}}</b>
</div> </div>
</div> </div>
<div style="height: 20px;line-height: 20px;background-color: grey;color: white;text-align: center;"> <div style="height: 20px;line-height: 20px;background-color: grey;color: white;text-align: center;">
...@@ -449,6 +453,7 @@ ...@@ -449,6 +453,7 @@
}, },
data:function(){ data:function(){
return{ return{
isok:"ok",
username:localStorage.getItem("username"), username:localStorage.getItem("username"),
pm:"", pm:"",
ng:0, ng:0,
...@@ -523,6 +528,7 @@ ...@@ -523,6 +528,7 @@
}, },
data:function(){ data:function(){
return{ return{
isok:"ok",
username:localStorage.getItem("username"), username:localStorage.getItem("username"),
pm:"", pm:"",
ng:0, ng:0,
...@@ -592,6 +598,7 @@ ...@@ -592,6 +598,7 @@
}, },
data:function(){ data:function(){
return{ return{
isok:"ok",
username:localStorage.getItem("username"), username:localStorage.getItem("username"),
pm:"", pm:"",
ng:0, ng:0,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment