|
|
@ -9,42 +9,112 @@ |
|
|
|
|
|
|
|
<div class="layout-left-top"> |
|
|
|
<span class="layout-left-top-title">累计订货量</span> |
|
|
|
|
|
|
|
|
|
|
|
<div class="layout-left-top-label"> |
|
|
|
<span >品类</span> |
|
|
|
<span>品类</span> |
|
|
|
<span>数量(单位:公斤/升)</span> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div v-for="(item,index) in ztsj" :index="index" class="layout-left-top-list"> |
|
|
|
|
|
|
|
<div class="layout-left-top-list-item"> |
|
|
|
<span class="layout-left-top-list-name" >{{ item.typeName }}</span> |
|
|
|
<span class="layout-left-top-list-value">{{ item.allData }}</span> |
|
|
|
|
|
|
|
<div v-for="(item,index) in ztsj" :index="index" class="layout-left-top-list"> |
|
|
|
|
|
|
|
<div class="layout-left-top-list-item"> |
|
|
|
<span class="layout-left-top-list-name">{{ item.typeName }}</span> |
|
|
|
<span class="layout-left-top-list-value">{{ item.allData }}</span> |
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<div class="layout-left-contre"> |
|
|
|
|
|
|
|
|
|
|
|
<span class="layout-left-contre-title">上月订货量</span> |
|
|
|
|
|
|
|
<div class="layout-left-contre-label"> |
|
|
|
<span>品类</span> |
|
|
|
<span>数量(单位:公斤/升)</span> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div v-for="(item,index) in ztsj" :index="index" class="layout-left-contre-list"> |
|
|
|
|
|
|
|
<div class="layout-left-contre-list-item"> |
|
|
|
<span class="layout-left-contre-list-name">{{ item.typeName }}</span> |
|
|
|
<span class="layout-left-contre-list-value">{{ item.allMonthPre }}</span> |
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="layout-left-bom"> |
|
|
|
|
|
|
|
|
|
|
|
<span class="layout-left-bom-title">本月订货量</span> |
|
|
|
|
|
|
|
<div class="layout-left-bom-label"> |
|
|
|
<span>品类</span> |
|
|
|
<span>数量(单位:公斤/升)</span> |
|
|
|
<span>增长量</span> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div v-for="(item,index) in ztsj" :index="index" class="layout-left-bom-list"> |
|
|
|
|
|
|
|
<div class="layout-left-bom-list-item"> |
|
|
|
<span class="layout-left-bom-list-name">{{ item.typeName }}</span> |
|
|
|
<span class="layout-left-bom-list-value">{{ item.allMonthPre }}</span> |
|
|
|
<span class="layout-left-bom-list-growth">{{ item.allMonthIncrement }}</span> |
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="layout-contre"> |
|
|
|
|
|
|
|
<div class="layout-contre-top"> |
|
|
|
|
|
|
|
<span>现场视频</span> |
|
|
|
|
|
|
|
<div class="layout-contre-top-title"> |
|
|
|
<span >通道一</span> |
|
|
|
<div class="layout-contre-top-title-show"> |
|
|
|
|
|
|
|
<span @click="cameraType" style="margin-right: 5px;">{{videos?"监控回放":'实时监控'}}</span> |
|
|
|
|
|
|
|
<svg-icon icon-class="huifang" class="el-input__icon" |
|
|
|
style="height: 16px; width: 16px" @click="clivideo" /> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="layout-contre-top_video"> |
|
|
|
<iframe :src="spUrl" width="100%" height="350px" id="ysOpenDevice" allowfullscreen> |
|
|
|
</iframe> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="layout-contre-bom"> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="layout-right"> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="layout-right-contre"> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="layout-right-bom"> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
@ -64,6 +134,7 @@ |
|
|
|
export default { |
|
|
|
data() { |
|
|
|
return { |
|
|
|
videos:false, |
|
|
|
ztsj: [], |
|
|
|
zhpm: [] |
|
|
|
} |
|
|
@ -204,73 +275,216 @@ |
|
|
|
display: flex; |
|
|
|
flex-direction: row; |
|
|
|
padding: 20px; |
|
|
|
|
|
|
|
.layout-left{ |
|
|
|
|
|
|
|
.layout-left { |
|
|
|
width: 25%; |
|
|
|
display: flex; |
|
|
|
flex-direction: column; |
|
|
|
.layout-left-top{ |
|
|
|
|
|
|
|
.layout-left-top { |
|
|
|
background-color: #031249; |
|
|
|
display: flex; |
|
|
|
flex-direction: column; |
|
|
|
padding: 20px; |
|
|
|
.layout-left-top-title{ |
|
|
|
|
|
|
|
.layout-left-top-title { |
|
|
|
font-size: 25px; |
|
|
|
font-weight: 600; |
|
|
|
font-family: sans-serif; |
|
|
|
} |
|
|
|
.layout-left-top-label{ |
|
|
|
|
|
|
|
.layout-left-top-label { |
|
|
|
display: flex; |
|
|
|
flex-direction: row; |
|
|
|
align-items: center; |
|
|
|
justify-content: space-between; |
|
|
|
span{ |
|
|
|
margin-top: 10px; |
|
|
|
|
|
|
|
span { |
|
|
|
margin-top: 20px; |
|
|
|
font-size: 20px; |
|
|
|
font-weight: 600; |
|
|
|
font-family: sans-serif; |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
.layout-left-top-list{ |
|
|
|
|
|
|
|
.layout-left-top-list { |
|
|
|
margin-top: 10px; |
|
|
|
display: flex; |
|
|
|
flex-direction: column; |
|
|
|
.layout-left-top-list-item{ |
|
|
|
|
|
|
|
.layout-left-top-list-item { |
|
|
|
display: flex; |
|
|
|
margin-top: 5px; |
|
|
|
margin-bottom: 5px; |
|
|
|
flex-direction: row; |
|
|
|
align-items: center; |
|
|
|
justify-content: space-between; |
|
|
|
.layout-left-top-list-name{ |
|
|
|
|
|
|
|
} |
|
|
|
.layout-left-top-list-value{ |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
.layout-left-top-list-name {} |
|
|
|
|
|
|
|
.layout-left-top-list-value {} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
.layout-left-contre{ |
|
|
|
margin-top: 15px; |
|
|
|
|
|
|
|
.layout-left-contre { |
|
|
|
margin-top: 20px; |
|
|
|
background-color: #031249; |
|
|
|
display: flex; |
|
|
|
flex-direction: column; |
|
|
|
padding: 20px; |
|
|
|
|
|
|
|
.layout-left-contre-title { |
|
|
|
font-size: 25px; |
|
|
|
font-weight: 600; |
|
|
|
font-family: sans-serif; |
|
|
|
} |
|
|
|
|
|
|
|
.layout-left-contre-label { |
|
|
|
display: flex; |
|
|
|
flex-direction: row; |
|
|
|
align-items: center; |
|
|
|
justify-content: space-between; |
|
|
|
|
|
|
|
span { |
|
|
|
margin-top: 20px; |
|
|
|
font-size: 20px; |
|
|
|
font-weight: 600; |
|
|
|
font-family: sans-serif; |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
.layout-left-contre-list { |
|
|
|
margin-top: 10px; |
|
|
|
display: flex; |
|
|
|
flex-direction: column; |
|
|
|
|
|
|
|
.layout-left-contre-list-item { |
|
|
|
display: flex; |
|
|
|
margin-top: 5px; |
|
|
|
margin-bottom: 5px; |
|
|
|
flex-direction: row; |
|
|
|
align-items: center; |
|
|
|
justify-content: space-between; |
|
|
|
|
|
|
|
.layout-left-contre-list-name {} |
|
|
|
|
|
|
|
.layout-left-contre-list-value {} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
.layout-left-bom{ |
|
|
|
|
|
|
|
.layout-left-bom { |
|
|
|
margin-top: 15px; |
|
|
|
background-color: #031249; |
|
|
|
display: flex; |
|
|
|
flex-direction: column; |
|
|
|
padding: 20px; |
|
|
|
|
|
|
|
.layout-left-bom-title { |
|
|
|
font-size: 25px; |
|
|
|
font-weight: 600; |
|
|
|
font-family: sans-serif; |
|
|
|
} |
|
|
|
|
|
|
|
.layout-left-bom-label { |
|
|
|
display: flex; |
|
|
|
flex-direction: row; |
|
|
|
align-items: center; |
|
|
|
justify-content: space-between; |
|
|
|
|
|
|
|
span { |
|
|
|
margin-top: 20px; |
|
|
|
font-size: 20px; |
|
|
|
font-weight: 600; |
|
|
|
font-family: sans-serif; |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
.layout-left-bom-list { |
|
|
|
margin-top: 10px; |
|
|
|
display: flex; |
|
|
|
flex-direction: column; |
|
|
|
|
|
|
|
.layout-left-bom-list-item { |
|
|
|
display: flex; |
|
|
|
margin-top: 5px; |
|
|
|
margin-bottom: 5px; |
|
|
|
flex-direction: row; |
|
|
|
align-items: center; |
|
|
|
justify-content: space-between; |
|
|
|
|
|
|
|
.layout-left-bom-list-name {} |
|
|
|
|
|
|
|
.layout-left-bom-list-value {} |
|
|
|
|
|
|
|
.layout-left-bom-list-growth {} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
.layout-contre{ |
|
|
|
width: 40%; |
|
|
|
|
|
|
|
.layout-contre { |
|
|
|
width: 45%; |
|
|
|
margin-left: 30px; |
|
|
|
display: flex; |
|
|
|
flex-direction: column; |
|
|
|
|
|
|
|
.layout-contre-top { |
|
|
|
background-color: #031249; |
|
|
|
display: flex; |
|
|
|
flex-direction: column; |
|
|
|
padding: 20px; |
|
|
|
|
|
|
|
span { |
|
|
|
font-size: 25px; |
|
|
|
font-weight: 600; |
|
|
|
font-family: sans-serif; |
|
|
|
} |
|
|
|
.layout-contre-top-title{ |
|
|
|
display: flex; |
|
|
|
margin-top: 10px; |
|
|
|
padding-left: 10px; |
|
|
|
padding-right: 10px; |
|
|
|
flex-direction: row; |
|
|
|
justify-content: space-between; |
|
|
|
|
|
|
|
span { |
|
|
|
font-size: 20px; |
|
|
|
font-weight: 600; |
|
|
|
font-family: sans-serif; |
|
|
|
} |
|
|
|
|
|
|
|
.layout-contre-top-title-show{ |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.layout-contre-top_video { |
|
|
|
margin-top: 20px; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
.layout-contre-bom { |
|
|
|
margin-top: 20px; |
|
|
|
background-color: #031249; |
|
|
|
} |
|
|
|
} |
|
|
|
.layout-right{ |
|
|
|
|
|
|
|
.layout-right { |
|
|
|
width: 25%; |
|
|
|
|
|
|
|
.layout-right-top {} |
|
|
|
|
|
|
|
.layout-right-contre {} |
|
|
|
|
|
|
|
.layout-right-bom {} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
</style> |