|
|
@@ -2,7 +2,7 @@ |
|
|
|
* @Author: zwq |
|
|
|
* @Date: 2021-07-19 15:18:30 |
|
|
|
* @LastEditors: zhp |
|
|
|
* @LastEditTime: 2024-04-26 08:32:02 |
|
|
|
* @LastEditTime: 2024-04-26 09:50:21 |
|
|
|
* @Description: |
|
|
|
--> |
|
|
|
<template> |
|
|
@@ -44,18 +44,18 @@ |
|
|
|
<!-- <div style="height: 34px;"> --> |
|
|
|
<span style="display: inline-block;width: 400px;height: 10px;"> |
|
|
|
<span class="now-secondary-title" style="font-size: 14px;opacity: calc(.6);">{{ op.name }}</span> |
|
|
|
<el-divider class="split" v-if="op.name" direction="vertical"></el-divider> |
|
|
|
<el-divider v-if="op.specifications" class="split" v-if="op.name" direction="vertical"></el-divider> |
|
|
|
<!-- <span v-if="op.size" class="split"></span> --> |
|
|
|
<span v-if="op.specifications" class="orderSize" style="font-size: 14px;opacity: calc(.6);">{{ |
|
|
|
<span class="orderSize" style="font-size: 14px;opacity: calc(.6);">{{ |
|
|
|
op.specifications }}</span> |
|
|
|
<el-divider class="split" v-if="op.specifications" direction="vertical"></el-divider> |
|
|
|
<span v-if="op.planQuantity" class="orderPlan" style="font-size: 14px;opacity: calc(.6);">{{ |
|
|
|
<el-divider class="split" v-if="op.planQuantity" direction="vertical"></el-divider> |
|
|
|
<span class="orderPlan" style="font-size: 14px;opacity: calc(.6);">{{ |
|
|
|
op.planQuantity }}</span> |
|
|
|
<span v-if="op.planQuantity" class="orderFinishTwo" |
|
|
|
style="font-size: 14px;opacity: calc(.6);">片</span> |
|
|
|
</span> |
|
|
|
<!-- <span style="overflow: hidden;"> --> |
|
|
|
<span v-if="op.actualQuantity" class="orderFinish" style="font-size: 14px;margin-left: 40px;">{{ |
|
|
|
<span class="orderFinish" style="font-size: 14px;margin-left: 40px;">{{ |
|
|
|
op.actualQuantity |
|
|
|
}}</span> |
|
|
|
<span v-if="op.actualQuantity" class="orderFinishTwo" style="font-size: 14px">片</span> |
|
|
@@ -746,7 +746,7 @@ export default { |
|
|
|
name: this.getStr(String(ele.name), 8), |
|
|
|
progressRate: parseFloat((ele.progressRate * 100).toFixed(0)), |
|
|
|
specifications: ele.specifications ? '规格' + ele.specifications : '', |
|
|
|
planQuantity: ele.plan ? '计划' + this.getStr(String(ele.plan),6) : '', |
|
|
|
planQuantity: ele.planQuantity ? '计划' + this.getStr(String(ele.planQuantity),6) : '', |
|
|
|
actualQuantity: ele.actualQuantity ? this.getStr(String(ele.actualQuantity), 6) : '', |
|
|
|
}; |
|
|
|
} |
|
|
@@ -756,11 +756,11 @@ export default { |
|
|
|
let eqArr = this.SJGWsData.detData.map((item, index) => [ |
|
|
|
`<span style="color:rgba(255,255,255,0.5)" >${index + 1 || ''} |
|
|
|
</span>`, |
|
|
|
`<span style="color:rgba(255,255,255,0.5)">${item.lineName || '' |
|
|
|
}</span>`, |
|
|
|
`<span style="color:rgba(255,255,255,0.5)" >${item.name || ''} |
|
|
|
</span>`, |
|
|
|
`<span style="color:rgba(255,255,255,0.5)">${ |
|
|
|
item.lineName || '' |
|
|
|
}</span>`, |
|
|
|
|
|
|
|
`<span style="color:rgba(255,255,255,0.5)"><div style="${item.status == '运行' ? 'box-shadow: 0px 0px 2px 1px #2760FF;width:6px;height:6px;border-radius: 50%;background-color: #2760FF;float:left;margin:13px 10px 0 0' : item.status == '停机' ? 'box-shadow: 0px 0px 2px 1px #FFBD02;width:6px;height:6px;border-radius: 50%;background-color: #FFBD02;float:left;margin:13px 10px 0 0 ' : 'box-shadow: 0px 0px 2px 1px red;width:6px;height:6px;border-radius: 50%; background-color: red;float:left;margin:13px 10px 0 0'}"></div> ${item.status || ''}</span>`, |
|
|
|
// `<span style="color:rgba(255,255,255,0.5)"><div style="${item.error == false ? 'box-shadow: 0px 0px 2px 1px #2760FF;width:6px;height:6px;border-radius: 50%;background-color: #2760FF;float:left;margin:10px 10px 0 0 ' : 'box-shadow: 0px 0px 2px 1px red;width:6px;height:6px;border-radius: 50%; background-color: red;float:left;margin:10px 10px 0 0 '}"></div> ${item.error == true ?'是' :'否' || ''}</span>`, |
|
|
|
]); |
|
|
|