|
@@ -35,29 +35,35 @@
|
|
|
</div>
|
|
</div>
|
|
|
<dv-decoration-10 />
|
|
<dv-decoration-10 />
|
|
|
<div class="bottomCard">
|
|
<div class="bottomCard">
|
|
|
- <div class="bottomCardLeft0">
|
|
|
|
|
- <middleCard v-if="weiHuSheBeiData.data.length" :info="weiHuSheBeiData" ref="sheBeiWeiHuRef"/>
|
|
|
|
|
|
|
+ <div style="width:30%;display:flex;margin-left: 30px;">
|
|
|
|
|
+ <div class="bottomCardLeft0">
|
|
|
|
|
+ <middleCard v-if="weiHuSheBeiData.data.length" :info="weiHuSheBeiData" ref="sheBeiWeiHuRef"/>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div style="padding-left: 10px;">
|
|
|
|
|
+ <zhuzhuangtu v-if="sheBeiweiHuData.data.length" :info="sheBeiweiHuData" ref="sheBeiWeiHuDataref"/>
|
|
|
|
|
+ </div>
|
|
|
</div>
|
|
</div>
|
|
|
<dv-decoration-2 :reverse="true" style="width:5px;height:330px;margin-left: 15px;" />
|
|
<dv-decoration-2 :reverse="true" style="width:5px;height:330px;margin-left: 15px;" />
|
|
|
- <div class="bottomCardCenter0">
|
|
|
|
|
- <zhuzhuangtu v-if="sheBeiweiHuData.data.length" :info="sheBeiweiHuData" ref="sheBeiWeiHuDataref"/>
|
|
|
|
|
|
|
+ <div style="width:30%;display:flex;margin-left: 15px;">
|
|
|
|
|
+ <div class="bottomCardLeft">
|
|
|
|
|
+ <middleCard v-if="sheBeiHeChaData.data.length" :info="sheBeiHeChaData" ref="sheBeiHeChaRef"/>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div class="bottomCardCenter">
|
|
|
|
|
+ <zhuzhuangtu v-if="zhuantaiEData.data.length" :info="zhuantaiEData" ref="zhuantaiEDataref"/>
|
|
|
|
|
+ </div>
|
|
|
</div>
|
|
</div>
|
|
|
<dv-decoration-2 :reverse="true" style="width:5px;height:330px;margin-left: 15px;" />
|
|
<dv-decoration-2 :reverse="true" style="width:5px;height:330px;margin-left: 15px;" />
|
|
|
- <div class="bottomCardLeft">
|
|
|
|
|
- <middleCard v-if="sheBeiHeChaData.data.length" :info="sheBeiHeChaData" ref="sheBeiHeChaRef"/>
|
|
|
|
|
- </div>
|
|
|
|
|
- <dv-decoration-2 :reverse="true" style="width:5px;height:330px;margin-left: 15px;" />
|
|
|
|
|
- <div class="bottomCardCenter">
|
|
|
|
|
- <zhuzhuangtu v-if="zhuantaiEData.data.length" :info="zhuantaiEData" ref="zhuantaiEDataref"/>
|
|
|
|
|
- </div>
|
|
|
|
|
- <dv-decoration-2 :reverse="true" style="width:5px;height:330px;margin-left: 15px;" />
|
|
|
|
|
- <div class="bottomCardright">
|
|
|
|
|
- <middleCard v-if="jianDingjiaoZhunSheBeiData.data.length" :info="jianDingjiaoZhunSheBeiData" ref="jiandingRef"/>
|
|
|
|
|
- </div>
|
|
|
|
|
- <dv-decoration-2 :reverse="true" style="width:5px;height:330px;margin-left: 25px;" />
|
|
|
|
|
- <div class="bottomCardright2">
|
|
|
|
|
- <zhuzhuangtu v-if="bottomData.data.length" :info="bottomData" ref="bottomCardLeft"/>
|
|
|
|
|
|
|
+ <div style="width:30%;display:flex;margin-left: 15px;">
|
|
|
|
|
+ <div class="bottomCardright">
|
|
|
|
|
+ <middleCard v-if="jianDingjiaoZhunSheBeiData.data.length" :info="jianDingjiaoZhunSheBeiData" ref="jiandingRef"/>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div class="bottomCardright2">
|
|
|
|
|
+ <zhuzhuangtu v-if="bottomData.data.length" :info="bottomData" ref="bottomCardLeft"/>
|
|
|
|
|
+ </div>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
</div>
|
|
</div>
|
|
|
</dv-border-box-1>
|
|
</dv-border-box-1>
|
|
|
</dv-full-screen-container>
|
|
</dv-full-screen-container>
|
|
@@ -157,6 +163,7 @@ export default {
|
|
|
await curdPost("sql",sql).then(res=>{
|
|
await curdPost("sql",sql).then(res=>{
|
|
|
const data = res.variables.data
|
|
const data = res.variables.data
|
|
|
let eIntactnessRate = Number(((data[0].goodEquipments/data[0].Equipments).toFixed(3)+"").slice(2,4));
|
|
let eIntactnessRate = Number(((data[0].goodEquipments/data[0].Equipments).toFixed(3)+"").slice(2,4));
|
|
|
|
|
+ let eBadRate = 100 - parseInt(eIntactnessRate);
|
|
|
let obj ={};
|
|
let obj ={};
|
|
|
obj.value = data[0].goodEquipments;
|
|
obj.value = data[0].goodEquipments;
|
|
|
obj.name = "正常设备";
|
|
obj.name = "正常设备";
|
|
@@ -262,6 +269,11 @@ export default {
|
|
|
value: eIntactnessRate,
|
|
value: eIntactnessRate,
|
|
|
danwei:'%'
|
|
danwei:'%'
|
|
|
},
|
|
},
|
|
|
|
|
+ {
|
|
|
|
|
+ label: '设备损坏率',
|
|
|
|
|
+ value: eBadRate,
|
|
|
|
|
+ danwei:'%'
|
|
|
|
|
+ },
|
|
|
{
|
|
{
|
|
|
label: '设备总值',
|
|
label: '设备总值',
|
|
|
value:100,
|
|
value:100,
|
|
@@ -276,11 +288,11 @@ export default {
|
|
|
this_.bottomData.data.push(data[0].checkEquipments);
|
|
this_.bottomData.data.push(data[0].checkEquipments);
|
|
|
this_.bottomData.config.title ="核查设备数量";
|
|
this_.bottomData.config.title ="核查设备数量";
|
|
|
this_.bottomData.config.idSelector ="main4";
|
|
this_.bottomData.config.idSelector ="main4";
|
|
|
- this_.$nextTick(()=>{
|
|
|
|
|
- setTimeout(() => {
|
|
|
|
|
- this_.$refs.zhuantaiEDataref.getMiddleLeft()// hhhh xxxx
|
|
|
|
|
- }, 1000)
|
|
|
|
|
- })
|
|
|
|
|
|
|
+ // this_.$nextTick(()=>{
|
|
|
|
|
+ // setTimeout(() => {
|
|
|
|
|
+
|
|
|
|
|
+ // }, 1000)
|
|
|
|
|
+ // })
|
|
|
this_.zhuantaiEData.xData =["计划检定/校准设备数","已完成检定/校准设备数",];
|
|
this_.zhuantaiEData.xData =["计划检定/校准设备数","已完成检定/校准设备数",];
|
|
|
this_.zhuantaiEData.data.push(data[0].testNoEquipments);
|
|
this_.zhuantaiEData.data.push(data[0].testNoEquipments);
|
|
|
this_.zhuantaiEData.data.push(data[0].testEquipments);
|
|
this_.zhuantaiEData.data.push(data[0].testEquipments);
|
|
@@ -294,11 +306,12 @@ export default {
|
|
|
this_.sheBeiweiHuData.config.idSelector ="mainWeiHuZ";
|
|
this_.sheBeiweiHuData.config.idSelector ="mainWeiHuZ";
|
|
|
this_.$nextTick(()=>{
|
|
this_.$nextTick(()=>{
|
|
|
setTimeout(() => {
|
|
setTimeout(() => {
|
|
|
|
|
+ this_.$refs.zhuantaiEDataref.getMiddleLeft()// hhhh xxxx
|
|
|
this_.$refs.bottomCardLeft.getMiddleLeft()// hhhh xxxx
|
|
this_.$refs.bottomCardLeft.getMiddleLeft()// hhhh xxxx
|
|
|
this_.$refs.sheBeiWeiHuDataref.getMiddleLeft();
|
|
this_.$refs.sheBeiWeiHuDataref.getMiddleLeft();
|
|
|
}, 1000)
|
|
}, 1000)
|
|
|
})
|
|
})
|
|
|
- let eBadRate = 100 - parseInt(eIntactnessRate);
|
|
|
|
|
|
|
+
|
|
|
let objRate = {};
|
|
let objRate = {};
|
|
|
objRate.name ="设备完好率";
|
|
objRate.name ="设备完好率";
|
|
|
objRate.value = eIntactnessRate;
|
|
objRate.value = eIntactnessRate;
|
|
@@ -499,31 +512,31 @@ export default {
|
|
|
padding: 10px;
|
|
padding: 10px;
|
|
|
}
|
|
}
|
|
|
.bottomCard{
|
|
.bottomCard{
|
|
|
|
|
+ display: flex;
|
|
|
div{
|
|
div{
|
|
|
display: inline-block;
|
|
display: inline-block;
|
|
|
}
|
|
}
|
|
|
- .bottomCardLeft0{
|
|
|
|
|
- width:15%;
|
|
|
|
|
- }
|
|
|
|
|
- .bottomCardCenter0{
|
|
|
|
|
- width:15%;
|
|
|
|
|
- }
|
|
|
|
|
- .bottomCardLeft{
|
|
|
|
|
- width:15%;
|
|
|
|
|
- margin-left: 30px;
|
|
|
|
|
- }
|
|
|
|
|
- .bottomCardCenter{
|
|
|
|
|
- width:15%;
|
|
|
|
|
- margin-left: 15px;
|
|
|
|
|
- }
|
|
|
|
|
- .bottomCardright{
|
|
|
|
|
- width:15%;
|
|
|
|
|
- margin-left: 15px;
|
|
|
|
|
- }
|
|
|
|
|
- .bottomCardright2{
|
|
|
|
|
- width:15%;
|
|
|
|
|
- margin-left: 15px;
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ // .bottomCardLeft0{
|
|
|
|
|
+
|
|
|
|
|
+ // }
|
|
|
|
|
+ // .bottomCardCenter0{
|
|
|
|
|
+
|
|
|
|
|
+ // }
|
|
|
|
|
+ // .bottomCardLeft{
|
|
|
|
|
+
|
|
|
|
|
+ // margin-left: 30px;
|
|
|
|
|
+ // }
|
|
|
|
|
+ // .bottomCardCenter{
|
|
|
|
|
+ // margin-left: 15px;
|
|
|
|
|
+ // }
|
|
|
|
|
+ // .bottomCardright{
|
|
|
|
|
+
|
|
|
|
|
+ // margin-left: 15px;
|
|
|
|
|
+ // }
|
|
|
|
|
+ // .bottomCardright2{
|
|
|
|
|
+
|
|
|
|
|
+ // margin-left: 15px;
|
|
|
|
|
+ // }
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
.dv-decoration-10 {
|
|
.dv-decoration-10 {
|